serviceprovider

package
v0.0.0-...-63ea8a0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for serviceprovider fields.

Functions

func And

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

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

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

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

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 ID

ID filters vertices based on their ID 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

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

This section is empty.

Jump to

Keyboard shortcuts

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