netlinkresource

package
v2.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the netlinkresource type in the database.
	Label = "netlink_resource"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldResourceID holds the string denoting the resource_id field in the database.
	FieldResourceID = "resource_id"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDesiredState holds the string denoting the desired_state field in the database.
	FieldDesiredState = "desired_state"
	// FieldCurrentState holds the string denoting the current_state field in the database.
	FieldCurrentState = "current_state"
	// FieldProviderStatus holds the string denoting the provider_status field in the database.
	FieldProviderStatus = "provider_status"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// EdgeSrc holds the string denoting the src edge name in mutations.
	EdgeSrc = "src"
	// EdgeDst holds the string denoting the dst edge name in mutations.
	EdgeDst = "dst"
	// Table holds the table name of the netlinkresource in the database.
	Table = "netlink_resources"
	// SrcTable is the table that holds the src relation/edge.
	SrcTable = "netlink_resources"
	// SrcInverseTable is the table name for the EndpointResource entity.
	// It exists in this package in order to avoid circular dependency with the "endpointresource" package.
	SrcInverseTable = "endpoint_resources"
	// SrcColumn is the table column denoting the src relation/edge.
	SrcColumn = "netlink_resource_src"
	// DstTable is the table that holds the dst relation/edge.
	DstTable = "netlink_resources"
	// DstInverseTable is the table name for the EndpointResource entity.
	// It exists in this package in order to avoid circular dependency with the "endpointresource" package.
	DstInverseTable = "endpoint_resources"
	// DstColumn is the table column denoting the dst relation/edge.
	DstColumn = "netlink_resource_dst"
)

Variables

Columns holds all SQL columns for netlinkresource fields.

View Source
var ForeignKeys = []string{
	"netlink_resource_src",
	"netlink_resource_dst",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "netlink_resources" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v string) predicate.NetlinkResource

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtContains

func CreatedAtContains(v string) predicate.NetlinkResource

CreatedAtContains applies the Contains predicate on the "created_at" field.

func CreatedAtContainsFold

func CreatedAtContainsFold(v string) predicate.NetlinkResource

CreatedAtContainsFold applies the ContainsFold predicate on the "created_at" field.

func CreatedAtEQ

func CreatedAtEQ(v string) predicate.NetlinkResource

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtEqualFold

func CreatedAtEqualFold(v string) predicate.NetlinkResource

CreatedAtEqualFold applies the EqualFold predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v string) predicate.NetlinkResource

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v string) predicate.NetlinkResource

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtHasPrefix

func CreatedAtHasPrefix(v string) predicate.NetlinkResource

CreatedAtHasPrefix applies the HasPrefix predicate on the "created_at" field.

func CreatedAtHasSuffix

func CreatedAtHasSuffix(v string) predicate.NetlinkResource

CreatedAtHasSuffix applies the HasSuffix predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...string) predicate.NetlinkResource

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v string) predicate.NetlinkResource

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v string) predicate.NetlinkResource

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v string) predicate.NetlinkResource

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...string) predicate.NetlinkResource

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CurrentStateEQ

func CurrentStateEQ(v CurrentState) predicate.NetlinkResource

CurrentStateEQ applies the EQ predicate on the "current_state" field.

func CurrentStateIn

func CurrentStateIn(vs ...CurrentState) predicate.NetlinkResource

CurrentStateIn applies the In predicate on the "current_state" field.

func CurrentStateIsNil

func CurrentStateIsNil() predicate.NetlinkResource

CurrentStateIsNil applies the IsNil predicate on the "current_state" field.

func CurrentStateNEQ

func CurrentStateNEQ(v CurrentState) predicate.NetlinkResource

CurrentStateNEQ applies the NEQ predicate on the "current_state" field.

func CurrentStateNotIn

func CurrentStateNotIn(vs ...CurrentState) predicate.NetlinkResource

CurrentStateNotIn applies the NotIn predicate on the "current_state" field.

func CurrentStateNotNil

func CurrentStateNotNil() predicate.NetlinkResource

CurrentStateNotNil applies the NotNil predicate on the "current_state" field.

func CurrentStateValidator

func CurrentStateValidator(cs CurrentState) error

CurrentStateValidator is a validator for the "current_state" field enum values. It is called by the builders before save.

func DesiredStateEQ

func DesiredStateEQ(v DesiredState) predicate.NetlinkResource

DesiredStateEQ applies the EQ predicate on the "desired_state" field.

func DesiredStateIn

func DesiredStateIn(vs ...DesiredState) predicate.NetlinkResource

DesiredStateIn applies the In predicate on the "desired_state" field.

func DesiredStateNEQ

func DesiredStateNEQ(v DesiredState) predicate.NetlinkResource

DesiredStateNEQ applies the NEQ predicate on the "desired_state" field.

func DesiredStateNotIn

func DesiredStateNotIn(vs ...DesiredState) predicate.NetlinkResource

DesiredStateNotIn applies the NotIn predicate on the "desired_state" field.

func DesiredStateValidator

func DesiredStateValidator(ds DesiredState) error

DesiredStateValidator is a validator for the "desired_state" field enum values. It is called by the builders before save.

func HasDst

func HasDst() predicate.NetlinkResource

HasDst applies the HasEdge predicate on the "dst" edge.

func HasDstWith

HasDstWith applies the HasEdge predicate on the "dst" edge with a given conditions (other predicates).

func HasSrc

func HasSrc() predicate.NetlinkResource

HasSrc applies the HasEdge predicate on the "src" edge.

func HasSrcWith

HasSrcWith applies the HasEdge predicate on the "src" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.NetlinkResource

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.NetlinkResource

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.NetlinkResource

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.NetlinkResource

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.NetlinkResource

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.NetlinkResource

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.NetlinkResource

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.NetlinkResource

IDNotIn applies the NotIn predicate on the ID field.

func Kind

Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.

func KindContains

func KindContains(v string) predicate.NetlinkResource

KindContains applies the Contains predicate on the "kind" field.

func KindContainsFold

func KindContainsFold(v string) predicate.NetlinkResource

KindContainsFold applies the ContainsFold predicate on the "kind" field.

func KindEQ

KindEQ applies the EQ predicate on the "kind" field.

func KindEqualFold

func KindEqualFold(v string) predicate.NetlinkResource

KindEqualFold applies the EqualFold predicate on the "kind" field.

func KindGT

KindGT applies the GT predicate on the "kind" field.

func KindGTE

func KindGTE(v string) predicate.NetlinkResource

KindGTE applies the GTE predicate on the "kind" field.

func KindHasPrefix

func KindHasPrefix(v string) predicate.NetlinkResource

KindHasPrefix applies the HasPrefix predicate on the "kind" field.

func KindHasSuffix

func KindHasSuffix(v string) predicate.NetlinkResource

KindHasSuffix applies the HasSuffix predicate on the "kind" field.

func KindIn

func KindIn(vs ...string) predicate.NetlinkResource

KindIn applies the In predicate on the "kind" field.

func KindIsNil

func KindIsNil() predicate.NetlinkResource

KindIsNil applies the IsNil predicate on the "kind" field.

func KindLT

KindLT applies the LT predicate on the "kind" field.

func KindLTE

func KindLTE(v string) predicate.NetlinkResource

KindLTE applies the LTE predicate on the "kind" field.

func KindNEQ

func KindNEQ(v string) predicate.NetlinkResource

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...string) predicate.NetlinkResource

KindNotIn applies the NotIn predicate on the "kind" field.

func KindNotNil

func KindNotNil() predicate.NetlinkResource

KindNotNil applies the NotNil predicate on the "kind" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.NetlinkResource

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.NetlinkResource

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.NetlinkResource

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.NetlinkResource

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.NetlinkResource

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.NetlinkResource

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.NetlinkResource

NameIn applies the In predicate on the "name" field.

func NameIsNil

func NameIsNil() predicate.NetlinkResource

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.NetlinkResource

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.NetlinkResource

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.NetlinkResource

NameNotIn applies the NotIn predicate on the "name" field.

func NameNotNil

func NameNotNil() predicate.NetlinkResource

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProviderStatus

func ProviderStatus(v string) predicate.NetlinkResource

ProviderStatus applies equality check predicate on the "provider_status" field. It's identical to ProviderStatusEQ.

func ProviderStatusContains

func ProviderStatusContains(v string) predicate.NetlinkResource

ProviderStatusContains applies the Contains predicate on the "provider_status" field.

func ProviderStatusContainsFold

func ProviderStatusContainsFold(v string) predicate.NetlinkResource

ProviderStatusContainsFold applies the ContainsFold predicate on the "provider_status" field.

func ProviderStatusEQ

func ProviderStatusEQ(v string) predicate.NetlinkResource

ProviderStatusEQ applies the EQ predicate on the "provider_status" field.

func ProviderStatusEqualFold

func ProviderStatusEqualFold(v string) predicate.NetlinkResource

ProviderStatusEqualFold applies the EqualFold predicate on the "provider_status" field.

func ProviderStatusGT

func ProviderStatusGT(v string) predicate.NetlinkResource

ProviderStatusGT applies the GT predicate on the "provider_status" field.

func ProviderStatusGTE

func ProviderStatusGTE(v string) predicate.NetlinkResource

ProviderStatusGTE applies the GTE predicate on the "provider_status" field.

func ProviderStatusHasPrefix

func ProviderStatusHasPrefix(v string) predicate.NetlinkResource

ProviderStatusHasPrefix applies the HasPrefix predicate on the "provider_status" field.

func ProviderStatusHasSuffix

func ProviderStatusHasSuffix(v string) predicate.NetlinkResource

ProviderStatusHasSuffix applies the HasSuffix predicate on the "provider_status" field.

func ProviderStatusIn

func ProviderStatusIn(vs ...string) predicate.NetlinkResource

ProviderStatusIn applies the In predicate on the "provider_status" field.

func ProviderStatusIsNil

func ProviderStatusIsNil() predicate.NetlinkResource

ProviderStatusIsNil applies the IsNil predicate on the "provider_status" field.

func ProviderStatusLT

func ProviderStatusLT(v string) predicate.NetlinkResource

ProviderStatusLT applies the LT predicate on the "provider_status" field.

func ProviderStatusLTE

func ProviderStatusLTE(v string) predicate.NetlinkResource

ProviderStatusLTE applies the LTE predicate on the "provider_status" field.

func ProviderStatusNEQ

func ProviderStatusNEQ(v string) predicate.NetlinkResource

ProviderStatusNEQ applies the NEQ predicate on the "provider_status" field.

func ProviderStatusNotIn

func ProviderStatusNotIn(vs ...string) predicate.NetlinkResource

ProviderStatusNotIn applies the NotIn predicate on the "provider_status" field.

func ProviderStatusNotNil

func ProviderStatusNotNil() predicate.NetlinkResource

ProviderStatusNotNil applies the NotNil predicate on the "provider_status" field.

func ResourceID

func ResourceID(v string) predicate.NetlinkResource

ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.

func ResourceIDContains

func ResourceIDContains(v string) predicate.NetlinkResource

ResourceIDContains applies the Contains predicate on the "resource_id" field.

func ResourceIDContainsFold

func ResourceIDContainsFold(v string) predicate.NetlinkResource

ResourceIDContainsFold applies the ContainsFold predicate on the "resource_id" field.

func ResourceIDEQ

func ResourceIDEQ(v string) predicate.NetlinkResource

ResourceIDEQ applies the EQ predicate on the "resource_id" field.

func ResourceIDEqualFold

func ResourceIDEqualFold(v string) predicate.NetlinkResource

ResourceIDEqualFold applies the EqualFold predicate on the "resource_id" field.

func ResourceIDGT

func ResourceIDGT(v string) predicate.NetlinkResource

ResourceIDGT applies the GT predicate on the "resource_id" field.

func ResourceIDGTE

func ResourceIDGTE(v string) predicate.NetlinkResource

ResourceIDGTE applies the GTE predicate on the "resource_id" field.

func ResourceIDHasPrefix

func ResourceIDHasPrefix(v string) predicate.NetlinkResource

ResourceIDHasPrefix applies the HasPrefix predicate on the "resource_id" field.

func ResourceIDHasSuffix

func ResourceIDHasSuffix(v string) predicate.NetlinkResource

ResourceIDHasSuffix applies the HasSuffix predicate on the "resource_id" field.

func ResourceIDIn

func ResourceIDIn(vs ...string) predicate.NetlinkResource

ResourceIDIn applies the In predicate on the "resource_id" field.

func ResourceIDLT

func ResourceIDLT(v string) predicate.NetlinkResource

ResourceIDLT applies the LT predicate on the "resource_id" field.

func ResourceIDLTE

func ResourceIDLTE(v string) predicate.NetlinkResource

ResourceIDLTE applies the LTE predicate on the "resource_id" field.

func ResourceIDNEQ

func ResourceIDNEQ(v string) predicate.NetlinkResource

ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.

func ResourceIDNotIn

func ResourceIDNotIn(vs ...string) predicate.NetlinkResource

ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.

func TenantID

func TenantID(v string) predicate.NetlinkResource

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDContains

func TenantIDContains(v string) predicate.NetlinkResource

TenantIDContains applies the Contains predicate on the "tenant_id" field.

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.NetlinkResource

TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.

func TenantIDEQ

func TenantIDEQ(v string) predicate.NetlinkResource

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.NetlinkResource

TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v string) predicate.NetlinkResource

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v string) predicate.NetlinkResource

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.NetlinkResource

TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.NetlinkResource

TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...string) predicate.NetlinkResource

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v string) predicate.NetlinkResource

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v string) predicate.NetlinkResource

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.NetlinkResource

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...string) predicate.NetlinkResource

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

func UpdatedAt(v string) predicate.NetlinkResource

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtContains

func UpdatedAtContains(v string) predicate.NetlinkResource

UpdatedAtContains applies the Contains predicate on the "updated_at" field.

func UpdatedAtContainsFold

func UpdatedAtContainsFold(v string) predicate.NetlinkResource

UpdatedAtContainsFold applies the ContainsFold predicate on the "updated_at" field.

func UpdatedAtEQ

func UpdatedAtEQ(v string) predicate.NetlinkResource

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtEqualFold

func UpdatedAtEqualFold(v string) predicate.NetlinkResource

UpdatedAtEqualFold applies the EqualFold predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v string) predicate.NetlinkResource

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v string) predicate.NetlinkResource

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtHasPrefix

func UpdatedAtHasPrefix(v string) predicate.NetlinkResource

UpdatedAtHasPrefix applies the HasPrefix predicate on the "updated_at" field.

func UpdatedAtHasSuffix

func UpdatedAtHasSuffix(v string) predicate.NetlinkResource

UpdatedAtHasSuffix applies the HasSuffix predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...string) predicate.NetlinkResource

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v string) predicate.NetlinkResource

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v string) predicate.NetlinkResource

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v string) predicate.NetlinkResource

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...string) predicate.NetlinkResource

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type CurrentState

type CurrentState string

CurrentState defines the type for the "current_state" enum field.

const (
	CurrentStateNETLINK_STATE_UNSPECIFIED CurrentState = "NETLINK_STATE_UNSPECIFIED"
	CurrentStateNETLINK_STATE_DELETED     CurrentState = "NETLINK_STATE_DELETED"
	CurrentStateNETLINK_STATE_ONLINE      CurrentState = "NETLINK_STATE_ONLINE"
	CurrentStateNETLINK_STATE_OFFLINE     CurrentState = "NETLINK_STATE_OFFLINE"
	CurrentStateNETLINK_STATE_ERROR       CurrentState = "NETLINK_STATE_ERROR"
)

CurrentState values.

func (CurrentState) String

func (cs CurrentState) String() string

type DesiredState

type DesiredState string

DesiredState defines the type for the "desired_state" enum field.

const (
	DesiredStateNETLINK_STATE_UNSPECIFIED DesiredState = "NETLINK_STATE_UNSPECIFIED"
	DesiredStateNETLINK_STATE_DELETED     DesiredState = "NETLINK_STATE_DELETED"
	DesiredStateNETLINK_STATE_ONLINE      DesiredState = "NETLINK_STATE_ONLINE"
	DesiredStateNETLINK_STATE_OFFLINE     DesiredState = "NETLINK_STATE_OFFLINE"
	DesiredStateNETLINK_STATE_ERROR       DesiredState = "NETLINK_STATE_ERROR"
)

DesiredState values.

func (DesiredState) String

func (ds DesiredState) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the NetlinkResource queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCurrentState

func ByCurrentState(opts ...sql.OrderTermOption) OrderOption

ByCurrentState orders the results by the current_state field.

func ByDesiredState

func ByDesiredState(opts ...sql.OrderTermOption) OrderOption

ByDesiredState orders the results by the desired_state field.

func ByDstField

func ByDstField(field string, opts ...sql.OrderTermOption) OrderOption

ByDstField orders the results by dst field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByKind

func ByKind(opts ...sql.OrderTermOption) OrderOption

ByKind orders the results by the kind field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByProviderStatus

func ByProviderStatus(opts ...sql.OrderTermOption) OrderOption

ByProviderStatus orders the results by the provider_status field.

func ByResourceID

func ByResourceID(opts ...sql.OrderTermOption) OrderOption

ByResourceID orders the results by the resource_id field.

func BySrcField

func BySrcField(field string, opts ...sql.OrderTermOption) OrderOption

BySrcField orders the results by src field.

func ByTenantID

func ByTenantID(opts ...sql.OrderTermOption) OrderOption

ByTenantID orders the results by the tenant_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL