netbirdsettings

package
v0.0.0-...-d4cf3a4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the netbirdsettings type in the database.
	Label = "netbird_settings"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldManagementURL holds the string denoting the management_url field in the database.
	FieldManagementURL = "management_url"
	// FieldAccessToken holds the string denoting the access_token field in the database.
	FieldAccessToken = "access_token"
	// EdgeTenant holds the string denoting the tenant edge name in mutations.
	EdgeTenant = "tenant"
	// Table holds the table name of the netbirdsettings in the database.
	Table = "netbird_settings"
	// TenantTable is the table that holds the tenant relation/edge.
	TenantTable = "tenants"
	// TenantInverseTable is the table name for the Tenant entity.
	// It exists in this package in order to avoid circular dependency with the "tenant" package.
	TenantInverseTable = "tenants"
	// TenantColumn is the table column denoting the tenant relation/edge.
	TenantColumn = "tenant_netbird"
)

Variables

View Source
var (
	// DefaultManagementURL holds the default value on creation for the "management_url" field.
	DefaultManagementURL string
	// DefaultAccessToken holds the default value on creation for the "access_token" field.
	DefaultAccessToken string
)

Columns holds all SQL columns for netbirdsettings fields.

Functions

func AccessToken

func AccessToken(v string) predicate.NetbirdSettings

AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.

func AccessTokenContains

func AccessTokenContains(v string) predicate.NetbirdSettings

AccessTokenContains applies the Contains predicate on the "access_token" field.

func AccessTokenContainsFold

func AccessTokenContainsFold(v string) predicate.NetbirdSettings

AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.

func AccessTokenEQ

func AccessTokenEQ(v string) predicate.NetbirdSettings

AccessTokenEQ applies the EQ predicate on the "access_token" field.

func AccessTokenEqualFold

func AccessTokenEqualFold(v string) predicate.NetbirdSettings

AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.

func AccessTokenGT

func AccessTokenGT(v string) predicate.NetbirdSettings

AccessTokenGT applies the GT predicate on the "access_token" field.

func AccessTokenGTE

func AccessTokenGTE(v string) predicate.NetbirdSettings

AccessTokenGTE applies the GTE predicate on the "access_token" field.

func AccessTokenHasPrefix

func AccessTokenHasPrefix(v string) predicate.NetbirdSettings

AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.

func AccessTokenHasSuffix

func AccessTokenHasSuffix(v string) predicate.NetbirdSettings

AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.

func AccessTokenIn

func AccessTokenIn(vs ...string) predicate.NetbirdSettings

AccessTokenIn applies the In predicate on the "access_token" field.

func AccessTokenIsNil

func AccessTokenIsNil() predicate.NetbirdSettings

AccessTokenIsNil applies the IsNil predicate on the "access_token" field.

func AccessTokenLT

func AccessTokenLT(v string) predicate.NetbirdSettings

AccessTokenLT applies the LT predicate on the "access_token" field.

func AccessTokenLTE

func AccessTokenLTE(v string) predicate.NetbirdSettings

AccessTokenLTE applies the LTE predicate on the "access_token" field.

func AccessTokenNEQ

func AccessTokenNEQ(v string) predicate.NetbirdSettings

AccessTokenNEQ applies the NEQ predicate on the "access_token" field.

func AccessTokenNotIn

func AccessTokenNotIn(vs ...string) predicate.NetbirdSettings

AccessTokenNotIn applies the NotIn predicate on the "access_token" field.

func AccessTokenNotNil

func AccessTokenNotNil() predicate.NetbirdSettings

AccessTokenNotNil applies the NotNil predicate on the "access_token" field.

func And

And groups predicates with the AND operator between them.

func HasTenant

func HasTenant() predicate.NetbirdSettings

HasTenant applies the HasEdge predicate on the "tenant" edge.

func HasTenantWith

func HasTenantWith(preds ...predicate.Tenant) predicate.NetbirdSettings

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.NetbirdSettings

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.NetbirdSettings

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.NetbirdSettings

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.NetbirdSettings

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.NetbirdSettings

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.NetbirdSettings

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ManagementURL

func ManagementURL(v string) predicate.NetbirdSettings

ManagementURL applies equality check predicate on the "management_url" field. It's identical to ManagementURLEQ.

func ManagementURLContains

func ManagementURLContains(v string) predicate.NetbirdSettings

ManagementURLContains applies the Contains predicate on the "management_url" field.

func ManagementURLContainsFold

func ManagementURLContainsFold(v string) predicate.NetbirdSettings

ManagementURLContainsFold applies the ContainsFold predicate on the "management_url" field.

func ManagementURLEQ

func ManagementURLEQ(v string) predicate.NetbirdSettings

ManagementURLEQ applies the EQ predicate on the "management_url" field.

func ManagementURLEqualFold

func ManagementURLEqualFold(v string) predicate.NetbirdSettings

ManagementURLEqualFold applies the EqualFold predicate on the "management_url" field.

func ManagementURLGT

func ManagementURLGT(v string) predicate.NetbirdSettings

ManagementURLGT applies the GT predicate on the "management_url" field.

func ManagementURLGTE

func ManagementURLGTE(v string) predicate.NetbirdSettings

ManagementURLGTE applies the GTE predicate on the "management_url" field.

func ManagementURLHasPrefix

func ManagementURLHasPrefix(v string) predicate.NetbirdSettings

ManagementURLHasPrefix applies the HasPrefix predicate on the "management_url" field.

func ManagementURLHasSuffix

func ManagementURLHasSuffix(v string) predicate.NetbirdSettings

ManagementURLHasSuffix applies the HasSuffix predicate on the "management_url" field.

func ManagementURLIn

func ManagementURLIn(vs ...string) predicate.NetbirdSettings

ManagementURLIn applies the In predicate on the "management_url" field.

func ManagementURLIsNil

func ManagementURLIsNil() predicate.NetbirdSettings

ManagementURLIsNil applies the IsNil predicate on the "management_url" field.

func ManagementURLLT

func ManagementURLLT(v string) predicate.NetbirdSettings

ManagementURLLT applies the LT predicate on the "management_url" field.

func ManagementURLLTE

func ManagementURLLTE(v string) predicate.NetbirdSettings

ManagementURLLTE applies the LTE predicate on the "management_url" field.

func ManagementURLNEQ

func ManagementURLNEQ(v string) predicate.NetbirdSettings

ManagementURLNEQ applies the NEQ predicate on the "management_url" field.

func ManagementURLNotIn

func ManagementURLNotIn(vs ...string) predicate.NetbirdSettings

ManagementURLNotIn applies the NotIn predicate on the "management_url" field.

func ManagementURLNotNil

func ManagementURLNotNil() predicate.NetbirdSettings

ManagementURLNotNil applies the NotNil predicate on the "management_url" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the NetbirdSettings queries.

func ByAccessToken

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

ByAccessToken orders the results by the access_token field.

func ByID

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

ByID orders the results by the id field.

func ByManagementURL

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

ByManagementURL orders the results by the management_url field.

func ByTenant

func ByTenant(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTenant orders the results by tenant terms.

func ByTenantCount

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

ByTenantCount orders the results by tenant count.

Jump to

Keyboard shortcuts

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