Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ServiceProvider) predicate.ServiceProvider
- func DestinationIP(v string) predicate.ServiceProvider
- func DestinationIPContains(v string) predicate.ServiceProvider
- func DestinationIPContainsFold(v string) predicate.ServiceProvider
- func DestinationIPEQ(v string) predicate.ServiceProvider
- func DestinationIPEqualFold(v string) predicate.ServiceProvider
- func DestinationIPGT(v string) predicate.ServiceProvider
- func DestinationIPGTE(v string) predicate.ServiceProvider
- func DestinationIPHasPrefix(v string) predicate.ServiceProvider
- func DestinationIPHasSuffix(v string) predicate.ServiceProvider
- func DestinationIPIn(vs ...string) predicate.ServiceProvider
- func DestinationIPLT(v string) predicate.ServiceProvider
- func DestinationIPLTE(v string) predicate.ServiceProvider
- func DestinationIPNEQ(v string) predicate.ServiceProvider
- func DestinationIPNotIn(vs ...string) predicate.ServiceProvider
- func HasAuthorizationCodes() predicate.ServiceProvider
- func HasAuthorizationCodesWith(preds ...predicate.AuthorizationCode) predicate.ServiceProvider
- func HasWhitelists() predicate.ServiceProvider
- func HasWhitelistsWith(preds ...predicate.WhiteList) predicate.ServiceProvider
- func Host(v string) predicate.ServiceProvider
- func HostContains(v string) predicate.ServiceProvider
- func HostContainsFold(v string) predicate.ServiceProvider
- func HostEQ(v string) predicate.ServiceProvider
- func HostEqualFold(v string) predicate.ServiceProvider
- func HostGT(v string) predicate.ServiceProvider
- func HostGTE(v string) predicate.ServiceProvider
- func HostHasPrefix(v string) predicate.ServiceProvider
- func HostHasSuffix(v string) predicate.ServiceProvider
- func HostIn(vs ...string) predicate.ServiceProvider
- func HostLT(v string) predicate.ServiceProvider
- func HostLTE(v string) predicate.ServiceProvider
- func HostNEQ(v string) predicate.ServiceProvider
- func HostNotIn(vs ...string) predicate.ServiceProvider
- func ID(id int) predicate.ServiceProvider
- func IDEQ(id int) predicate.ServiceProvider
- func IDGT(id int) predicate.ServiceProvider
- func IDGTE(id int) predicate.ServiceProvider
- func IDIn(ids ...int) predicate.ServiceProvider
- func IDLT(id int) predicate.ServiceProvider
- func IDLTE(id int) predicate.ServiceProvider
- func IDNEQ(id int) predicate.ServiceProvider
- func IDNotIn(ids ...int) predicate.ServiceProvider
- func Not(p predicate.ServiceProvider) predicate.ServiceProvider
- func Or(predicates ...predicate.ServiceProvider) predicate.ServiceProvider
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the serviceprovider type in the database. Label = "service_provider" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHost holds the string denoting the host field in the database. FieldHost = "host" // FieldDestinationIP holds the string denoting the destination_ip field in the database. FieldDestinationIP = "destination_ip" // EdgeWhitelists holds the string denoting the whitelists edge name in mutations. EdgeWhitelists = "whitelists" // EdgeAuthorizationCodes holds the string denoting the authorization_codes edge name in mutations. EdgeAuthorizationCodes = "authorization_codes" // Table holds the table name of the serviceprovider in the database. Table = "service_providers" // WhitelistsTable is the table that holds the whitelists relation/edge. WhitelistsTable = "white_lists" // WhitelistsInverseTable is the table name for the WhiteList entity. // It exists in this package in order to avoid circular dependency with the "whitelist" package. WhitelistsInverseTable = "white_lists" // WhitelistsColumn is the table column denoting the whitelists relation/edge. WhitelistsColumn = "service_provider_whitelists" // AuthorizationCodesTable is the table that holds the authorization_codes relation/edge. AuthorizationCodesTable = "authorization_codes" // AuthorizationCodesInverseTable is the table name for the AuthorizationCode entity. // It exists in this package in order to avoid circular dependency with the "authorizationcode" package. AuthorizationCodesInverseTable = "authorization_codes" // AuthorizationCodesColumn is the table column denoting the authorization_codes relation/edge. AuthorizationCodesColumn = "service_provider_authorization_codes" )
Variables ¶
var Columns = []string{ FieldID, FieldHost, FieldDestinationIP, }
Columns holds all SQL columns for serviceprovider fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ServiceProvider) predicate.ServiceProvider
And groups predicates with the AND operator between them.
func DestinationIP ¶
func DestinationIP(v string) predicate.ServiceProvider
DestinationIP applies equality check predicate on the "destination_ip" field. It's identical to DestinationIPEQ.
func DestinationIPContains ¶
func DestinationIPContains(v string) predicate.ServiceProvider
DestinationIPContains applies the Contains predicate on the "destination_ip" field.
func DestinationIPContainsFold ¶
func DestinationIPContainsFold(v string) predicate.ServiceProvider
DestinationIPContainsFold applies the ContainsFold predicate on the "destination_ip" field.
func DestinationIPEQ ¶
func DestinationIPEQ(v string) predicate.ServiceProvider
DestinationIPEQ applies the EQ predicate on the "destination_ip" field.
func DestinationIPEqualFold ¶
func DestinationIPEqualFold(v string) predicate.ServiceProvider
DestinationIPEqualFold applies the EqualFold predicate on the "destination_ip" field.
func DestinationIPGT ¶
func DestinationIPGT(v string) predicate.ServiceProvider
DestinationIPGT applies the GT predicate on the "destination_ip" field.
func DestinationIPGTE ¶
func DestinationIPGTE(v string) predicate.ServiceProvider
DestinationIPGTE applies the GTE predicate on the "destination_ip" field.
func DestinationIPHasPrefix ¶
func DestinationIPHasPrefix(v string) predicate.ServiceProvider
DestinationIPHasPrefix applies the HasPrefix predicate on the "destination_ip" field.
func DestinationIPHasSuffix ¶
func DestinationIPHasSuffix(v string) predicate.ServiceProvider
DestinationIPHasSuffix applies the HasSuffix predicate on the "destination_ip" field.
func DestinationIPIn ¶
func DestinationIPIn(vs ...string) predicate.ServiceProvider
DestinationIPIn applies the In predicate on the "destination_ip" field.
func DestinationIPLT ¶
func DestinationIPLT(v string) predicate.ServiceProvider
DestinationIPLT applies the LT predicate on the "destination_ip" field.
func DestinationIPLTE ¶
func DestinationIPLTE(v string) predicate.ServiceProvider
DestinationIPLTE applies the LTE predicate on the "destination_ip" field.
func DestinationIPNEQ ¶
func DestinationIPNEQ(v string) predicate.ServiceProvider
DestinationIPNEQ applies the NEQ predicate on the "destination_ip" field.
func DestinationIPNotIn ¶
func DestinationIPNotIn(vs ...string) predicate.ServiceProvider
DestinationIPNotIn applies the NotIn predicate on the "destination_ip" field.
func HasAuthorizationCodes ¶
func HasAuthorizationCodes() predicate.ServiceProvider
HasAuthorizationCodes applies the HasEdge predicate on the "authorization_codes" edge.
func HasAuthorizationCodesWith ¶
func HasAuthorizationCodesWith(preds ...predicate.AuthorizationCode) predicate.ServiceProvider
HasAuthorizationCodesWith applies the HasEdge predicate on the "authorization_codes" edge with a given conditions (other predicates).
func HasWhitelists ¶
func HasWhitelists() predicate.ServiceProvider
HasWhitelists applies the HasEdge predicate on the "whitelists" edge.
func HasWhitelistsWith ¶
func HasWhitelistsWith(preds ...predicate.WhiteList) predicate.ServiceProvider
HasWhitelistsWith applies the HasEdge predicate on the "whitelists" edge with a given conditions (other predicates).
func Host ¶
func Host(v string) predicate.ServiceProvider
Host applies equality check predicate on the "host" field. It's identical to HostEQ.
func HostContains ¶
func HostContains(v string) predicate.ServiceProvider
HostContains applies the Contains predicate on the "host" field.
func HostContainsFold ¶
func HostContainsFold(v string) predicate.ServiceProvider
HostContainsFold applies the ContainsFold predicate on the "host" field.
func HostEQ ¶
func HostEQ(v string) predicate.ServiceProvider
HostEQ applies the EQ predicate on the "host" field.
func HostEqualFold ¶
func HostEqualFold(v string) predicate.ServiceProvider
HostEqualFold applies the EqualFold predicate on the "host" field.
func HostGT ¶
func HostGT(v string) predicate.ServiceProvider
HostGT applies the GT predicate on the "host" field.
func HostGTE ¶
func HostGTE(v string) predicate.ServiceProvider
HostGTE applies the GTE predicate on the "host" field.
func HostHasPrefix ¶
func HostHasPrefix(v string) predicate.ServiceProvider
HostHasPrefix applies the HasPrefix predicate on the "host" field.
func HostHasSuffix ¶
func HostHasSuffix(v string) predicate.ServiceProvider
HostHasSuffix applies the HasSuffix predicate on the "host" field.
func HostIn ¶
func HostIn(vs ...string) predicate.ServiceProvider
HostIn applies the In predicate on the "host" field.
func HostLT ¶
func HostLT(v string) predicate.ServiceProvider
HostLT applies the LT predicate on the "host" field.
func HostLTE ¶
func HostLTE(v string) predicate.ServiceProvider
HostLTE applies the LTE predicate on the "host" field.
func HostNEQ ¶
func HostNEQ(v string) predicate.ServiceProvider
HostNEQ applies the NEQ predicate on the "host" field.
func HostNotIn ¶
func HostNotIn(vs ...string) predicate.ServiceProvider
HostNotIn applies the NotIn predicate on the "host" field.
func IDEQ ¶
func IDEQ(id int) predicate.ServiceProvider
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.ServiceProvider
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.ServiceProvider
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ServiceProvider
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.ServiceProvider
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ServiceProvider
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ServiceProvider
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ServiceProvider
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ServiceProvider) predicate.ServiceProvider
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ServiceProvider) predicate.ServiceProvider
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.