Documentation
¶
Index ¶
- Constants
- Variables
- func APIServer(v string) predicate.Rustdesk
- func APIServerContains(v string) predicate.Rustdesk
- func APIServerContainsFold(v string) predicate.Rustdesk
- func APIServerEQ(v string) predicate.Rustdesk
- func APIServerEqualFold(v string) predicate.Rustdesk
- func APIServerGT(v string) predicate.Rustdesk
- func APIServerGTE(v string) predicate.Rustdesk
- func APIServerHasPrefix(v string) predicate.Rustdesk
- func APIServerHasSuffix(v string) predicate.Rustdesk
- func APIServerIn(vs ...string) predicate.Rustdesk
- func APIServerIsNil() predicate.Rustdesk
- func APIServerLT(v string) predicate.Rustdesk
- func APIServerLTE(v string) predicate.Rustdesk
- func APIServerNEQ(v string) predicate.Rustdesk
- func APIServerNotIn(vs ...string) predicate.Rustdesk
- func APIServerNotNil() predicate.Rustdesk
- func And(predicates ...predicate.Rustdesk) predicate.Rustdesk
- func CustomRendezvousServer(v string) predicate.Rustdesk
- func CustomRendezvousServerContains(v string) predicate.Rustdesk
- func CustomRendezvousServerContainsFold(v string) predicate.Rustdesk
- func CustomRendezvousServerEQ(v string) predicate.Rustdesk
- func CustomRendezvousServerEqualFold(v string) predicate.Rustdesk
- func CustomRendezvousServerGT(v string) predicate.Rustdesk
- func CustomRendezvousServerGTE(v string) predicate.Rustdesk
- func CustomRendezvousServerHasPrefix(v string) predicate.Rustdesk
- func CustomRendezvousServerHasSuffix(v string) predicate.Rustdesk
- func CustomRendezvousServerIn(vs ...string) predicate.Rustdesk
- func CustomRendezvousServerIsNil() predicate.Rustdesk
- func CustomRendezvousServerLT(v string) predicate.Rustdesk
- func CustomRendezvousServerLTE(v string) predicate.Rustdesk
- func CustomRendezvousServerNEQ(v string) predicate.Rustdesk
- func CustomRendezvousServerNotIn(vs ...string) predicate.Rustdesk
- func CustomRendezvousServerNotNil() predicate.Rustdesk
- func DirectIPAccess(v bool) predicate.Rustdesk
- func DirectIPAccessEQ(v bool) predicate.Rustdesk
- func DirectIPAccessIsNil() predicate.Rustdesk
- func DirectIPAccessNEQ(v bool) predicate.Rustdesk
- func DirectIPAccessNotNil() predicate.Rustdesk
- func HasTenant() predicate.Rustdesk
- func HasTenantWith(preds ...predicate.Tenant) predicate.Rustdesk
- func ID(id int) predicate.Rustdesk
- func IDEQ(id int) predicate.Rustdesk
- func IDGT(id int) predicate.Rustdesk
- func IDGTE(id int) predicate.Rustdesk
- func IDIn(ids ...int) predicate.Rustdesk
- func IDLT(id int) predicate.Rustdesk
- func IDLTE(id int) predicate.Rustdesk
- func IDNEQ(id int) predicate.Rustdesk
- func IDNotIn(ids ...int) predicate.Rustdesk
- func Key(v string) predicate.Rustdesk
- func KeyContains(v string) predicate.Rustdesk
- func KeyContainsFold(v string) predicate.Rustdesk
- func KeyEQ(v string) predicate.Rustdesk
- func KeyEqualFold(v string) predicate.Rustdesk
- func KeyGT(v string) predicate.Rustdesk
- func KeyGTE(v string) predicate.Rustdesk
- func KeyHasPrefix(v string) predicate.Rustdesk
- func KeyHasSuffix(v string) predicate.Rustdesk
- func KeyIn(vs ...string) predicate.Rustdesk
- func KeyIsNil() predicate.Rustdesk
- func KeyLT(v string) predicate.Rustdesk
- func KeyLTE(v string) predicate.Rustdesk
- func KeyNEQ(v string) predicate.Rustdesk
- func KeyNotIn(vs ...string) predicate.Rustdesk
- func KeyNotNil() predicate.Rustdesk
- func Not(p predicate.Rustdesk) predicate.Rustdesk
- func Or(predicates ...predicate.Rustdesk) predicate.Rustdesk
- func RelayServer(v string) predicate.Rustdesk
- func RelayServerContains(v string) predicate.Rustdesk
- func RelayServerContainsFold(v string) predicate.Rustdesk
- func RelayServerEQ(v string) predicate.Rustdesk
- func RelayServerEqualFold(v string) predicate.Rustdesk
- func RelayServerGT(v string) predicate.Rustdesk
- func RelayServerGTE(v string) predicate.Rustdesk
- func RelayServerHasPrefix(v string) predicate.Rustdesk
- func RelayServerHasSuffix(v string) predicate.Rustdesk
- func RelayServerIn(vs ...string) predicate.Rustdesk
- func RelayServerIsNil() predicate.Rustdesk
- func RelayServerLT(v string) predicate.Rustdesk
- func RelayServerLTE(v string) predicate.Rustdesk
- func RelayServerNEQ(v string) predicate.Rustdesk
- func RelayServerNotIn(vs ...string) predicate.Rustdesk
- func RelayServerNotNil() predicate.Rustdesk
- func TemporaryPasswordLength(v int) predicate.Rustdesk
- func TemporaryPasswordLengthEQ(v int) predicate.Rustdesk
- func TemporaryPasswordLengthGT(v int) predicate.Rustdesk
- func TemporaryPasswordLengthGTE(v int) predicate.Rustdesk
- func TemporaryPasswordLengthIn(vs ...int) predicate.Rustdesk
- func TemporaryPasswordLengthIsNil() predicate.Rustdesk
- func TemporaryPasswordLengthLT(v int) predicate.Rustdesk
- func TemporaryPasswordLengthLTE(v int) predicate.Rustdesk
- func TemporaryPasswordLengthNEQ(v int) predicate.Rustdesk
- func TemporaryPasswordLengthNotIn(vs ...int) predicate.Rustdesk
- func TemporaryPasswordLengthNotNil() predicate.Rustdesk
- func UsePermanentPassword(v bool) predicate.Rustdesk
- func UsePermanentPasswordEQ(v bool) predicate.Rustdesk
- func UsePermanentPasswordIsNil() predicate.Rustdesk
- func UsePermanentPasswordNEQ(v bool) predicate.Rustdesk
- func UsePermanentPasswordNotNil() predicate.Rustdesk
- func ValidColumn(column string) bool
- func VerificationMethodEQ(v VerificationMethod) predicate.Rustdesk
- func VerificationMethodIn(vs ...VerificationMethod) predicate.Rustdesk
- func VerificationMethodIsNil() predicate.Rustdesk
- func VerificationMethodNEQ(v VerificationMethod) predicate.Rustdesk
- func VerificationMethodNotIn(vs ...VerificationMethod) predicate.Rustdesk
- func VerificationMethodNotNil() predicate.Rustdesk
- func VerificationMethodValidator(vm VerificationMethod) error
- func Whitelist(v string) predicate.Rustdesk
- func WhitelistContains(v string) predicate.Rustdesk
- func WhitelistContainsFold(v string) predicate.Rustdesk
- func WhitelistEQ(v string) predicate.Rustdesk
- func WhitelistEqualFold(v string) predicate.Rustdesk
- func WhitelistGT(v string) predicate.Rustdesk
- func WhitelistGTE(v string) predicate.Rustdesk
- func WhitelistHasPrefix(v string) predicate.Rustdesk
- func WhitelistHasSuffix(v string) predicate.Rustdesk
- func WhitelistIn(vs ...string) predicate.Rustdesk
- func WhitelistIsNil() predicate.Rustdesk
- func WhitelistLT(v string) predicate.Rustdesk
- func WhitelistLTE(v string) predicate.Rustdesk
- func WhitelistNEQ(v string) predicate.Rustdesk
- func WhitelistNotIn(vs ...string) predicate.Rustdesk
- func WhitelistNotNil() predicate.Rustdesk
- type OrderOption
- func ByAPIServer(opts ...sql.OrderTermOption) OrderOption
- func ByCustomRendezvousServer(opts ...sql.OrderTermOption) OrderOption
- func ByDirectIPAccess(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByRelayServer(opts ...sql.OrderTermOption) OrderOption
- func ByTemporaryPasswordLength(opts ...sql.OrderTermOption) OrderOption
- func ByTenant(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTenantCount(opts ...sql.OrderTermOption) OrderOption
- func ByUsePermanentPassword(opts ...sql.OrderTermOption) OrderOption
- func ByVerificationMethod(opts ...sql.OrderTermOption) OrderOption
- func ByWhitelist(opts ...sql.OrderTermOption) OrderOption
- type VerificationMethod
Constants ¶
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" )
const DefaultVerificationMethod = VerificationMethodUseBothPasswords
VerificationMethodUseBothPasswords is the default value of the VerificationMethod enum.
Variables ¶
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 )
var Columns = []string{ FieldID, FieldCustomRendezvousServer, FieldRelayServer, FieldAPIServer, FieldKey, FieldUsePermanentPassword, FieldWhitelist, FieldDirectIPAccess, FieldVerificationMethod, FieldTemporaryPasswordLength, }
Columns holds all SQL columns for rustdesk fields.
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 ¶
APIServer applies equality check predicate on the "api_server" field. It's identical to APIServerEQ.
func APIServerContains ¶
APIServerContains applies the Contains predicate on the "api_server" field.
func APIServerContainsFold ¶
APIServerContainsFold applies the ContainsFold predicate on the "api_server" field.
func APIServerEQ ¶
APIServerEQ applies the EQ predicate on the "api_server" field.
func APIServerEqualFold ¶
APIServerEqualFold applies the EqualFold predicate on the "api_server" field.
func APIServerGT ¶
APIServerGT applies the GT predicate on the "api_server" field.
func APIServerGTE ¶
APIServerGTE applies the GTE predicate on the "api_server" field.
func APIServerHasPrefix ¶
APIServerHasPrefix applies the HasPrefix predicate on the "api_server" field.
func APIServerHasSuffix ¶
APIServerHasSuffix applies the HasSuffix predicate on the "api_server" field.
func APIServerIn ¶
APIServerIn applies the In predicate on the "api_server" field.
func APIServerIsNil ¶
APIServerIsNil applies the IsNil predicate on the "api_server" field.
func APIServerLT ¶
APIServerLT applies the LT predicate on the "api_server" field.
func APIServerLTE ¶
APIServerLTE applies the LTE predicate on the "api_server" field.
func APIServerNEQ ¶
APIServerNEQ applies the NEQ predicate on the "api_server" field.
func APIServerNotIn ¶
APIServerNotIn applies the NotIn predicate on the "api_server" field.
func APIServerNotNil ¶
APIServerNotNil applies the NotNil predicate on the "api_server" field.
func CustomRendezvousServer ¶
CustomRendezvousServer applies equality check predicate on the "custom_rendezvous_server" field. It's identical to CustomRendezvousServerEQ.
func CustomRendezvousServerContains ¶
CustomRendezvousServerContains applies the Contains predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerContainsFold ¶
CustomRendezvousServerContainsFold applies the ContainsFold predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerEQ ¶
CustomRendezvousServerEQ applies the EQ predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerEqualFold ¶
CustomRendezvousServerEqualFold applies the EqualFold predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerGT ¶
CustomRendezvousServerGT applies the GT predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerGTE ¶
CustomRendezvousServerGTE applies the GTE predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerHasPrefix ¶
CustomRendezvousServerHasPrefix applies the HasPrefix predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerHasSuffix ¶
CustomRendezvousServerHasSuffix applies the HasSuffix predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerIn ¶
CustomRendezvousServerIn applies the In predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerIsNil ¶
CustomRendezvousServerIsNil applies the IsNil predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerLT ¶
CustomRendezvousServerLT applies the LT predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerLTE ¶
CustomRendezvousServerLTE applies the LTE predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerNEQ ¶
CustomRendezvousServerNEQ applies the NEQ predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerNotIn ¶
CustomRendezvousServerNotIn applies the NotIn predicate on the "custom_rendezvous_server" field.
func CustomRendezvousServerNotNil ¶
CustomRendezvousServerNotNil applies the NotNil predicate on the "custom_rendezvous_server" field.
func DirectIPAccess ¶
DirectIPAccess applies equality check predicate on the "direct_ip_access" field. It's identical to DirectIPAccessEQ.
func DirectIPAccessEQ ¶
DirectIPAccessEQ applies the EQ predicate on the "direct_ip_access" field.
func DirectIPAccessIsNil ¶
DirectIPAccessIsNil applies the IsNil predicate on the "direct_ip_access" field.
func DirectIPAccessNEQ ¶
DirectIPAccessNEQ applies the NEQ predicate on the "direct_ip_access" field.
func DirectIPAccessNotNil ¶
DirectIPAccessNotNil applies the NotNil predicate on the "direct_ip_access" field.
func HasTenantWith ¶
HasTenantWith applies the HasEdge predicate on the "tenant" edge with a given conditions (other predicates).
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func RelayServer ¶
RelayServer applies equality check predicate on the "relay_server" field. It's identical to RelayServerEQ.
func RelayServerContains ¶
RelayServerContains applies the Contains predicate on the "relay_server" field.
func RelayServerContainsFold ¶
RelayServerContainsFold applies the ContainsFold predicate on the "relay_server" field.
func RelayServerEQ ¶
RelayServerEQ applies the EQ predicate on the "relay_server" field.
func RelayServerEqualFold ¶
RelayServerEqualFold applies the EqualFold predicate on the "relay_server" field.
func RelayServerGT ¶
RelayServerGT applies the GT predicate on the "relay_server" field.
func RelayServerGTE ¶
RelayServerGTE applies the GTE predicate on the "relay_server" field.
func RelayServerHasPrefix ¶
RelayServerHasPrefix applies the HasPrefix predicate on the "relay_server" field.
func RelayServerHasSuffix ¶
RelayServerHasSuffix applies the HasSuffix predicate on the "relay_server" field.
func RelayServerIn ¶
RelayServerIn applies the In predicate on the "relay_server" field.
func RelayServerIsNil ¶
RelayServerIsNil applies the IsNil predicate on the "relay_server" field.
func RelayServerLT ¶
RelayServerLT applies the LT predicate on the "relay_server" field.
func RelayServerLTE ¶
RelayServerLTE applies the LTE predicate on the "relay_server" field.
func RelayServerNEQ ¶
RelayServerNEQ applies the NEQ predicate on the "relay_server" field.
func RelayServerNotIn ¶
RelayServerNotIn applies the NotIn predicate on the "relay_server" field.
func RelayServerNotNil ¶
RelayServerNotNil applies the NotNil predicate on the "relay_server" field.
func TemporaryPasswordLength ¶
TemporaryPasswordLength applies equality check predicate on the "temporary_password_length" field. It's identical to TemporaryPasswordLengthEQ.
func TemporaryPasswordLengthEQ ¶
TemporaryPasswordLengthEQ applies the EQ predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthGT ¶
TemporaryPasswordLengthGT applies the GT predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthGTE ¶
TemporaryPasswordLengthGTE applies the GTE predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthIn ¶
TemporaryPasswordLengthIn applies the In predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthIsNil ¶
TemporaryPasswordLengthIsNil applies the IsNil predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthLT ¶
TemporaryPasswordLengthLT applies the LT predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthLTE ¶
TemporaryPasswordLengthLTE applies the LTE predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthNEQ ¶
TemporaryPasswordLengthNEQ applies the NEQ predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthNotIn ¶
TemporaryPasswordLengthNotIn applies the NotIn predicate on the "temporary_password_length" field.
func TemporaryPasswordLengthNotNil ¶
TemporaryPasswordLengthNotNil applies the NotNil predicate on the "temporary_password_length" field.
func UsePermanentPassword ¶
UsePermanentPassword applies equality check predicate on the "use_permanent_password" field. It's identical to UsePermanentPasswordEQ.
func UsePermanentPasswordEQ ¶
UsePermanentPasswordEQ applies the EQ predicate on the "use_permanent_password" field.
func UsePermanentPasswordIsNil ¶
UsePermanentPasswordIsNil applies the IsNil predicate on the "use_permanent_password" field.
func UsePermanentPasswordNEQ ¶
UsePermanentPasswordNEQ applies the NEQ predicate on the "use_permanent_password" field.
func UsePermanentPasswordNotNil ¶
UsePermanentPasswordNotNil applies the NotNil predicate on the "use_permanent_password" field.
func ValidColumn ¶
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 ¶
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 ¶
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 ¶
Whitelist applies equality check predicate on the "whitelist" field. It's identical to WhitelistEQ.
func WhitelistContains ¶
WhitelistContains applies the Contains predicate on the "whitelist" field.
func WhitelistContainsFold ¶
WhitelistContainsFold applies the ContainsFold predicate on the "whitelist" field.
func WhitelistEQ ¶
WhitelistEQ applies the EQ predicate on the "whitelist" field.
func WhitelistEqualFold ¶
WhitelistEqualFold applies the EqualFold predicate on the "whitelist" field.
func WhitelistGT ¶
WhitelistGT applies the GT predicate on the "whitelist" field.
func WhitelistGTE ¶
WhitelistGTE applies the GTE predicate on the "whitelist" field.
func WhitelistHasPrefix ¶
WhitelistHasPrefix applies the HasPrefix predicate on the "whitelist" field.
func WhitelistHasSuffix ¶
WhitelistHasSuffix applies the HasSuffix predicate on the "whitelist" field.
func WhitelistIn ¶
WhitelistIn applies the In predicate on the "whitelist" field.
func WhitelistIsNil ¶
WhitelistIsNil applies the IsNil predicate on the "whitelist" field.
func WhitelistLT ¶
WhitelistLT applies the LT predicate on the "whitelist" field.
func WhitelistLTE ¶
WhitelistLTE applies the LTE predicate on the "whitelist" field.
func WhitelistNEQ ¶
WhitelistNEQ applies the NEQ predicate on the "whitelist" field.
func WhitelistNotIn ¶
WhitelistNotIn applies the NotIn predicate on the "whitelist" field.
func WhitelistNotNil ¶
WhitelistNotNil applies the NotNil predicate on the "whitelist" field.
Types ¶
type OrderOption ¶
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