rustdesk

package
v0.0.0-...-65a4bde Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the rustdesk type in the database.
	Label = "rustdesk"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCustomRendezvousServer holds the string denoting the custom_rendezvous_server field in the database.
	FieldCustomRendezvousServer = "custom_rendezvous_server"
	// FieldRelayServer holds the string denoting the relay_server field in the database.
	FieldRelayServer = "relay_server"
	// FieldAPIServer holds the string denoting the api_server field in the database.
	FieldAPIServer = "api_server"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldUsePermanentPassword holds the string denoting the use_permanent_password field in the database.
	FieldUsePermanentPassword = "use_permanent_password"
	// FieldWhitelist holds the string denoting the whitelist field in the database.
	FieldWhitelist = "whitelist"
	// FieldDirectIPAccess holds the string denoting the direct_ip_access field in the database.
	FieldDirectIPAccess = "direct_ip_access"
	// FieldVerificationMethod holds the string denoting the verification_method field in the database.
	FieldVerificationMethod = "verification_method"
	// FieldTemporaryPasswordLength holds the string denoting the temporary_password_length field in the database.
	FieldTemporaryPasswordLength = "temporary_password_length"
	// EdgeTenant holds the string denoting the tenant edge name in mutations.
	EdgeTenant = "tenant"
	// Table holds the table name of the rustdesk in the database.
	Table = "rustdesks"
	// TenantTable is the table that holds the tenant relation/edge. The primary key declared below.
	TenantTable = "tenant_rustdesk"
	// 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"
)
View Source
const DefaultVerificationMethod = VerificationMethodUseBothPasswords

VerificationMethodUseBothPasswords is the default value of the VerificationMethod enum.

Variables

View Source
var (
	// DefaultCustomRendezvousServer holds the default value on creation for the "custom_rendezvous_server" field.
	DefaultCustomRendezvousServer string
	// DefaultRelayServer holds the default value on creation for the "relay_server" field.
	DefaultRelayServer string
	// DefaultAPIServer holds the default value on creation for the "api_server" field.
	DefaultAPIServer string
	// DefaultKey holds the default value on creation for the "key" field.
	DefaultKey string
	// DefaultUsePermanentPassword holds the default value on creation for the "use_permanent_password" field.
	DefaultUsePermanentPassword bool
	// DefaultWhitelist holds the default value on creation for the "whitelist" field.
	DefaultWhitelist string
	// DefaultDirectIPAccess holds the default value on creation for the "direct_ip_access" field.
	DefaultDirectIPAccess bool
	// DefaultTemporaryPasswordLength holds the default value on creation for the "temporary_password_length" field.
	DefaultTemporaryPasswordLength int
)

Columns holds all SQL columns for rustdesk fields.

View Source
var (
	// TenantPrimaryKey and TenantColumn2 are the table columns denoting the
	// primary key for the tenant relation (M2M).
	TenantPrimaryKey = []string{"tenant_id", "rustdesk_id"}
)

Functions

func APIServer

func APIServer(v string) predicate.Rustdesk

APIServer applies equality check predicate on the "api_server" field. It's identical to APIServerEQ.

func APIServerContains

func APIServerContains(v string) predicate.Rustdesk

APIServerContains applies the Contains predicate on the "api_server" field.

func APIServerContainsFold

func APIServerContainsFold(v string) predicate.Rustdesk

APIServerContainsFold applies the ContainsFold predicate on the "api_server" field.

func APIServerEQ

func APIServerEQ(v string) predicate.Rustdesk

APIServerEQ applies the EQ predicate on the "api_server" field.

func APIServerEqualFold

func APIServerEqualFold(v string) predicate.Rustdesk

APIServerEqualFold applies the EqualFold predicate on the "api_server" field.

func APIServerGT

func APIServerGT(v string) predicate.Rustdesk

APIServerGT applies the GT predicate on the "api_server" field.

func APIServerGTE

func APIServerGTE(v string) predicate.Rustdesk

APIServerGTE applies the GTE predicate on the "api_server" field.

func APIServerHasPrefix

func APIServerHasPrefix(v string) predicate.Rustdesk

APIServerHasPrefix applies the HasPrefix predicate on the "api_server" field.

func APIServerHasSuffix

func APIServerHasSuffix(v string) predicate.Rustdesk

APIServerHasSuffix applies the HasSuffix predicate on the "api_server" field.

func APIServerIn

func APIServerIn(vs ...string) predicate.Rustdesk

APIServerIn applies the In predicate on the "api_server" field.

func APIServerIsNil

func APIServerIsNil() predicate.Rustdesk

APIServerIsNil applies the IsNil predicate on the "api_server" field.

func APIServerLT

func APIServerLT(v string) predicate.Rustdesk

APIServerLT applies the LT predicate on the "api_server" field.

func APIServerLTE

func APIServerLTE(v string) predicate.Rustdesk

APIServerLTE applies the LTE predicate on the "api_server" field.

func APIServerNEQ

func APIServerNEQ(v string) predicate.Rustdesk

APIServerNEQ applies the NEQ predicate on the "api_server" field.

func APIServerNotIn

func APIServerNotIn(vs ...string) predicate.Rustdesk

APIServerNotIn applies the NotIn predicate on the "api_server" field.

func APIServerNotNil

func APIServerNotNil() predicate.Rustdesk

APIServerNotNil applies the NotNil predicate on the "api_server" field.

func And

func And(predicates ...predicate.Rustdesk) predicate.Rustdesk

And groups predicates with the AND operator between them.

func CustomRendezvousServer

func CustomRendezvousServer(v string) predicate.Rustdesk

CustomRendezvousServer applies equality check predicate on the "custom_rendezvous_server" field. It's identical to CustomRendezvousServerEQ.

func CustomRendezvousServerContains

func CustomRendezvousServerContains(v string) predicate.Rustdesk

CustomRendezvousServerContains applies the Contains predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerContainsFold

func CustomRendezvousServerContainsFold(v string) predicate.Rustdesk

CustomRendezvousServerContainsFold applies the ContainsFold predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerEQ

func CustomRendezvousServerEQ(v string) predicate.Rustdesk

CustomRendezvousServerEQ applies the EQ predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerEqualFold

func CustomRendezvousServerEqualFold(v string) predicate.Rustdesk

CustomRendezvousServerEqualFold applies the EqualFold predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerGT

func CustomRendezvousServerGT(v string) predicate.Rustdesk

CustomRendezvousServerGT applies the GT predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerGTE

func CustomRendezvousServerGTE(v string) predicate.Rustdesk

CustomRendezvousServerGTE applies the GTE predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerHasPrefix

func CustomRendezvousServerHasPrefix(v string) predicate.Rustdesk

CustomRendezvousServerHasPrefix applies the HasPrefix predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerHasSuffix

func CustomRendezvousServerHasSuffix(v string) predicate.Rustdesk

CustomRendezvousServerHasSuffix applies the HasSuffix predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerIn

func CustomRendezvousServerIn(vs ...string) predicate.Rustdesk

CustomRendezvousServerIn applies the In predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerIsNil

func CustomRendezvousServerIsNil() predicate.Rustdesk

CustomRendezvousServerIsNil applies the IsNil predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerLT

func CustomRendezvousServerLT(v string) predicate.Rustdesk

CustomRendezvousServerLT applies the LT predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerLTE

func CustomRendezvousServerLTE(v string) predicate.Rustdesk

CustomRendezvousServerLTE applies the LTE predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerNEQ

func CustomRendezvousServerNEQ(v string) predicate.Rustdesk

CustomRendezvousServerNEQ applies the NEQ predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerNotIn

func CustomRendezvousServerNotIn(vs ...string) predicate.Rustdesk

CustomRendezvousServerNotIn applies the NotIn predicate on the "custom_rendezvous_server" field.

func CustomRendezvousServerNotNil

func CustomRendezvousServerNotNil() predicate.Rustdesk

CustomRendezvousServerNotNil applies the NotNil predicate on the "custom_rendezvous_server" field.

func DirectIPAccess

func DirectIPAccess(v bool) predicate.Rustdesk

DirectIPAccess applies equality check predicate on the "direct_ip_access" field. It's identical to DirectIPAccessEQ.

func DirectIPAccessEQ

func DirectIPAccessEQ(v bool) predicate.Rustdesk

DirectIPAccessEQ applies the EQ predicate on the "direct_ip_access" field.

func DirectIPAccessIsNil

func DirectIPAccessIsNil() predicate.Rustdesk

DirectIPAccessIsNil applies the IsNil predicate on the "direct_ip_access" field.

func DirectIPAccessNEQ

func DirectIPAccessNEQ(v bool) predicate.Rustdesk

DirectIPAccessNEQ applies the NEQ predicate on the "direct_ip_access" field.

func DirectIPAccessNotNil

func DirectIPAccessNotNil() predicate.Rustdesk

DirectIPAccessNotNil applies the NotNil predicate on the "direct_ip_access" field.

func HasTenant

func HasTenant() predicate.Rustdesk

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

func HasTenantWith

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

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

func ID

func ID(id int) predicate.Rustdesk

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Rustdesk

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Rustdesk

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Rustdesk

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Rustdesk

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Rustdesk

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Rustdesk

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Key

func Key(v string) predicate.Rustdesk

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.Rustdesk

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.Rustdesk

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

func KeyEQ(v string) predicate.Rustdesk

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.Rustdesk

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

func KeyGT(v string) predicate.Rustdesk

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.Rustdesk

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.Rustdesk

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.Rustdesk

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.Rustdesk

KeyIn applies the In predicate on the "key" field.

func KeyIsNil

func KeyIsNil() predicate.Rustdesk

KeyIsNil applies the IsNil predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.Rustdesk

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.Rustdesk

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.Rustdesk

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.Rustdesk

KeyNotIn applies the NotIn predicate on the "key" field.

func KeyNotNil

func KeyNotNil() predicate.Rustdesk

KeyNotNil applies the NotNil predicate on the "key" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Rustdesk) predicate.Rustdesk

Or groups predicates with the OR operator between them.

func RelayServer

func RelayServer(v string) predicate.Rustdesk

RelayServer applies equality check predicate on the "relay_server" field. It's identical to RelayServerEQ.

func RelayServerContains

func RelayServerContains(v string) predicate.Rustdesk

RelayServerContains applies the Contains predicate on the "relay_server" field.

func RelayServerContainsFold

func RelayServerContainsFold(v string) predicate.Rustdesk

RelayServerContainsFold applies the ContainsFold predicate on the "relay_server" field.

func RelayServerEQ

func RelayServerEQ(v string) predicate.Rustdesk

RelayServerEQ applies the EQ predicate on the "relay_server" field.

func RelayServerEqualFold

func RelayServerEqualFold(v string) predicate.Rustdesk

RelayServerEqualFold applies the EqualFold predicate on the "relay_server" field.

func RelayServerGT

func RelayServerGT(v string) predicate.Rustdesk

RelayServerGT applies the GT predicate on the "relay_server" field.

func RelayServerGTE

func RelayServerGTE(v string) predicate.Rustdesk

RelayServerGTE applies the GTE predicate on the "relay_server" field.

func RelayServerHasPrefix

func RelayServerHasPrefix(v string) predicate.Rustdesk

RelayServerHasPrefix applies the HasPrefix predicate on the "relay_server" field.

func RelayServerHasSuffix

func RelayServerHasSuffix(v string) predicate.Rustdesk

RelayServerHasSuffix applies the HasSuffix predicate on the "relay_server" field.

func RelayServerIn

func RelayServerIn(vs ...string) predicate.Rustdesk

RelayServerIn applies the In predicate on the "relay_server" field.

func RelayServerIsNil

func RelayServerIsNil() predicate.Rustdesk

RelayServerIsNil applies the IsNil predicate on the "relay_server" field.

func RelayServerLT

func RelayServerLT(v string) predicate.Rustdesk

RelayServerLT applies the LT predicate on the "relay_server" field.

func RelayServerLTE

func RelayServerLTE(v string) predicate.Rustdesk

RelayServerLTE applies the LTE predicate on the "relay_server" field.

func RelayServerNEQ

func RelayServerNEQ(v string) predicate.Rustdesk

RelayServerNEQ applies the NEQ predicate on the "relay_server" field.

func RelayServerNotIn

func RelayServerNotIn(vs ...string) predicate.Rustdesk

RelayServerNotIn applies the NotIn predicate on the "relay_server" field.

func RelayServerNotNil

func RelayServerNotNil() predicate.Rustdesk

RelayServerNotNil applies the NotNil predicate on the "relay_server" field.

func TemporaryPasswordLength

func TemporaryPasswordLength(v int) predicate.Rustdesk

TemporaryPasswordLength applies equality check predicate on the "temporary_password_length" field. It's identical to TemporaryPasswordLengthEQ.

func TemporaryPasswordLengthEQ

func TemporaryPasswordLengthEQ(v int) predicate.Rustdesk

TemporaryPasswordLengthEQ applies the EQ predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthGT

func TemporaryPasswordLengthGT(v int) predicate.Rustdesk

TemporaryPasswordLengthGT applies the GT predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthGTE

func TemporaryPasswordLengthGTE(v int) predicate.Rustdesk

TemporaryPasswordLengthGTE applies the GTE predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthIn

func TemporaryPasswordLengthIn(vs ...int) predicate.Rustdesk

TemporaryPasswordLengthIn applies the In predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthIsNil

func TemporaryPasswordLengthIsNil() predicate.Rustdesk

TemporaryPasswordLengthIsNil applies the IsNil predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthLT

func TemporaryPasswordLengthLT(v int) predicate.Rustdesk

TemporaryPasswordLengthLT applies the LT predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthLTE

func TemporaryPasswordLengthLTE(v int) predicate.Rustdesk

TemporaryPasswordLengthLTE applies the LTE predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthNEQ

func TemporaryPasswordLengthNEQ(v int) predicate.Rustdesk

TemporaryPasswordLengthNEQ applies the NEQ predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthNotIn

func TemporaryPasswordLengthNotIn(vs ...int) predicate.Rustdesk

TemporaryPasswordLengthNotIn applies the NotIn predicate on the "temporary_password_length" field.

func TemporaryPasswordLengthNotNil

func TemporaryPasswordLengthNotNil() predicate.Rustdesk

TemporaryPasswordLengthNotNil applies the NotNil predicate on the "temporary_password_length" field.

func UsePermanentPassword

func UsePermanentPassword(v bool) predicate.Rustdesk

UsePermanentPassword applies equality check predicate on the "use_permanent_password" field. It's identical to UsePermanentPasswordEQ.

func UsePermanentPasswordEQ

func UsePermanentPasswordEQ(v bool) predicate.Rustdesk

UsePermanentPasswordEQ applies the EQ predicate on the "use_permanent_password" field.

func UsePermanentPasswordIsNil

func UsePermanentPasswordIsNil() predicate.Rustdesk

UsePermanentPasswordIsNil applies the IsNil predicate on the "use_permanent_password" field.

func UsePermanentPasswordNEQ

func UsePermanentPasswordNEQ(v bool) predicate.Rustdesk

UsePermanentPasswordNEQ applies the NEQ predicate on the "use_permanent_password" field.

func UsePermanentPasswordNotNil

func UsePermanentPasswordNotNil() predicate.Rustdesk

UsePermanentPasswordNotNil applies the NotNil predicate on the "use_permanent_password" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VerificationMethodEQ

func VerificationMethodEQ(v VerificationMethod) predicate.Rustdesk

VerificationMethodEQ applies the EQ predicate on the "verification_method" field.

func VerificationMethodIn

func VerificationMethodIn(vs ...VerificationMethod) predicate.Rustdesk

VerificationMethodIn applies the In predicate on the "verification_method" field.

func VerificationMethodIsNil

func VerificationMethodIsNil() predicate.Rustdesk

VerificationMethodIsNil applies the IsNil predicate on the "verification_method" field.

func VerificationMethodNEQ

func VerificationMethodNEQ(v VerificationMethod) predicate.Rustdesk

VerificationMethodNEQ applies the NEQ predicate on the "verification_method" field.

func VerificationMethodNotIn

func VerificationMethodNotIn(vs ...VerificationMethod) predicate.Rustdesk

VerificationMethodNotIn applies the NotIn predicate on the "verification_method" field.

func VerificationMethodNotNil

func VerificationMethodNotNil() predicate.Rustdesk

VerificationMethodNotNil applies the NotNil predicate on the "verification_method" field.

func VerificationMethodValidator

func VerificationMethodValidator(vm VerificationMethod) error

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

func Whitelist

func Whitelist(v string) predicate.Rustdesk

Whitelist applies equality check predicate on the "whitelist" field. It's identical to WhitelistEQ.

func WhitelistContains

func WhitelistContains(v string) predicate.Rustdesk

WhitelistContains applies the Contains predicate on the "whitelist" field.

func WhitelistContainsFold

func WhitelistContainsFold(v string) predicate.Rustdesk

WhitelistContainsFold applies the ContainsFold predicate on the "whitelist" field.

func WhitelistEQ

func WhitelistEQ(v string) predicate.Rustdesk

WhitelistEQ applies the EQ predicate on the "whitelist" field.

func WhitelistEqualFold

func WhitelistEqualFold(v string) predicate.Rustdesk

WhitelistEqualFold applies the EqualFold predicate on the "whitelist" field.

func WhitelistGT

func WhitelistGT(v string) predicate.Rustdesk

WhitelistGT applies the GT predicate on the "whitelist" field.

func WhitelistGTE

func WhitelistGTE(v string) predicate.Rustdesk

WhitelistGTE applies the GTE predicate on the "whitelist" field.

func WhitelistHasPrefix

func WhitelistHasPrefix(v string) predicate.Rustdesk

WhitelistHasPrefix applies the HasPrefix predicate on the "whitelist" field.

func WhitelistHasSuffix

func WhitelistHasSuffix(v string) predicate.Rustdesk

WhitelistHasSuffix applies the HasSuffix predicate on the "whitelist" field.

func WhitelistIn

func WhitelistIn(vs ...string) predicate.Rustdesk

WhitelistIn applies the In predicate on the "whitelist" field.

func WhitelistIsNil

func WhitelistIsNil() predicate.Rustdesk

WhitelistIsNil applies the IsNil predicate on the "whitelist" field.

func WhitelistLT

func WhitelistLT(v string) predicate.Rustdesk

WhitelistLT applies the LT predicate on the "whitelist" field.

func WhitelistLTE

func WhitelistLTE(v string) predicate.Rustdesk

WhitelistLTE applies the LTE predicate on the "whitelist" field.

func WhitelistNEQ

func WhitelistNEQ(v string) predicate.Rustdesk

WhitelistNEQ applies the NEQ predicate on the "whitelist" field.

func WhitelistNotIn

func WhitelistNotIn(vs ...string) predicate.Rustdesk

WhitelistNotIn applies the NotIn predicate on the "whitelist" field.

func WhitelistNotNil

func WhitelistNotNil() predicate.Rustdesk

WhitelistNotNil applies the NotNil predicate on the "whitelist" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Rustdesk queries.

func ByAPIServer

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

ByAPIServer orders the results by the api_server field.

func ByCustomRendezvousServer

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

ByCustomRendezvousServer orders the results by the custom_rendezvous_server field.

func ByDirectIPAccess

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

ByDirectIPAccess orders the results by the direct_ip_access field.

func ByID

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

ByID orders the results by the id field.

func ByKey

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

ByKey orders the results by the key field.

func ByRelayServer

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

ByRelayServer orders the results by the relay_server field.

func ByTemporaryPasswordLength

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

ByTemporaryPasswordLength orders the results by the temporary_password_length 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.

func ByUsePermanentPassword

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

ByUsePermanentPassword orders the results by the use_permanent_password field.

func ByVerificationMethod

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

ByVerificationMethod orders the results by the verification_method field.

func ByWhitelist

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

ByWhitelist orders the results by the whitelist field.

type VerificationMethod

type VerificationMethod string

VerificationMethod defines the type for the "verification_method" enum field.

const (
	VerificationMethodUseTemporaryPassword VerificationMethod = "use-temporary-password"
	VerificationMethodUsePermanentPassword VerificationMethod = "use-permanent-password"
	VerificationMethodUseBothPasswords     VerificationMethod = "use-both-passwords"
)

VerificationMethod values.

func (VerificationMethod) String

func (vm VerificationMethod) String() string

Jump to

Keyboard shortcuts

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