oauth2client

package
v0.0.0-...-08e2f75 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the oauth2client type in the database.
	Label = "oauth2client"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSecret holds the string denoting the secret field in the database.
	FieldSecret = "secret"
	// FieldRedirectUris holds the string denoting the redirect_uris field in the database.
	FieldRedirectUris = "redirect_uris"
	// FieldTrustedPeers holds the string denoting the trusted_peers field in the database.
	FieldTrustedPeers = "trusted_peers"
	// FieldPublic holds the string denoting the public field in the database.
	FieldPublic = "public"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldLogoURL holds the string denoting the logo_url field in the database.
	FieldLogoURL = "logo_url"
	// Table holds the table name of the oauth2client in the database.
	Table = "oauth2clients"
)

Variables

View Source
var (
	// SecretValidator is a validator for the "secret" field. It is called by the builders before save.
	SecretValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// LogoURLValidator is a validator for the "logo_url" field. It is called by the builders before save.
	LogoURLValidator func(string) error
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for oauth2client fields.

Functions

func And

func And(predicates ...predicate.OAuth2Client) predicate.OAuth2Client

And groups predicates with the AND operator between them.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OAuth2Client

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.OAuth2Client

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.OAuth2Client

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.OAuth2Client

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.OAuth2Client

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.OAuth2Client

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.OAuth2Client

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.OAuth2Client

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.OAuth2Client

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.OAuth2Client

IDNotIn applies the NotIn predicate on the ID field.

func LogoURL

func LogoURL(v string) predicate.OAuth2Client

LogoURL applies equality check predicate on the "logo_url" field. It's identical to LogoURLEQ.

func LogoURLContains

func LogoURLContains(v string) predicate.OAuth2Client

LogoURLContains applies the Contains predicate on the "logo_url" field.

func LogoURLContainsFold

func LogoURLContainsFold(v string) predicate.OAuth2Client

LogoURLContainsFold applies the ContainsFold predicate on the "logo_url" field.

func LogoURLEQ

func LogoURLEQ(v string) predicate.OAuth2Client

LogoURLEQ applies the EQ predicate on the "logo_url" field.

func LogoURLEqualFold

func LogoURLEqualFold(v string) predicate.OAuth2Client

LogoURLEqualFold applies the EqualFold predicate on the "logo_url" field.

func LogoURLGT

func LogoURLGT(v string) predicate.OAuth2Client

LogoURLGT applies the GT predicate on the "logo_url" field.

func LogoURLGTE

func LogoURLGTE(v string) predicate.OAuth2Client

LogoURLGTE applies the GTE predicate on the "logo_url" field.

func LogoURLHasPrefix

func LogoURLHasPrefix(v string) predicate.OAuth2Client

LogoURLHasPrefix applies the HasPrefix predicate on the "logo_url" field.

func LogoURLHasSuffix

func LogoURLHasSuffix(v string) predicate.OAuth2Client

LogoURLHasSuffix applies the HasSuffix predicate on the "logo_url" field.

func LogoURLIn

func LogoURLIn(vs ...string) predicate.OAuth2Client

LogoURLIn applies the In predicate on the "logo_url" field.

func LogoURLLT

func LogoURLLT(v string) predicate.OAuth2Client

LogoURLLT applies the LT predicate on the "logo_url" field.

func LogoURLLTE

func LogoURLLTE(v string) predicate.OAuth2Client

LogoURLLTE applies the LTE predicate on the "logo_url" field.

func LogoURLNEQ

func LogoURLNEQ(v string) predicate.OAuth2Client

LogoURLNEQ applies the NEQ predicate on the "logo_url" field.

func LogoURLNotIn

func LogoURLNotIn(vs ...string) predicate.OAuth2Client

LogoURLNotIn applies the NotIn predicate on the "logo_url" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.OAuth2Client

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.OAuth2Client

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.OAuth2Client

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.OAuth2Client

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.OAuth2Client

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.OAuth2Client

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.OAuth2Client

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.OAuth2Client

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.OAuth2Client

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.OAuth2Client

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.OAuth2Client

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.OAuth2Client

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.OAuth2Client

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.OAuth2Client) predicate.OAuth2Client

Or groups predicates with the OR operator between them.

func Public

func Public(v bool) predicate.OAuth2Client

Public applies equality check predicate on the "public" field. It's identical to PublicEQ.

func PublicEQ

func PublicEQ(v bool) predicate.OAuth2Client

PublicEQ applies the EQ predicate on the "public" field.

func PublicNEQ

func PublicNEQ(v bool) predicate.OAuth2Client

PublicNEQ applies the NEQ predicate on the "public" field.

func RedirectUrisIsNil

func RedirectUrisIsNil() predicate.OAuth2Client

RedirectUrisIsNil applies the IsNil predicate on the "redirect_uris" field.

func RedirectUrisNotNil

func RedirectUrisNotNil() predicate.OAuth2Client

RedirectUrisNotNil applies the NotNil predicate on the "redirect_uris" field.

func Secret

func Secret(v string) predicate.OAuth2Client

Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.

func SecretContains

func SecretContains(v string) predicate.OAuth2Client

SecretContains applies the Contains predicate on the "secret" field.

func SecretContainsFold

func SecretContainsFold(v string) predicate.OAuth2Client

SecretContainsFold applies the ContainsFold predicate on the "secret" field.

func SecretEQ

func SecretEQ(v string) predicate.OAuth2Client

SecretEQ applies the EQ predicate on the "secret" field.

func SecretEqualFold

func SecretEqualFold(v string) predicate.OAuth2Client

SecretEqualFold applies the EqualFold predicate on the "secret" field.

func SecretGT

func SecretGT(v string) predicate.OAuth2Client

SecretGT applies the GT predicate on the "secret" field.

func SecretGTE

func SecretGTE(v string) predicate.OAuth2Client

SecretGTE applies the GTE predicate on the "secret" field.

func SecretHasPrefix

func SecretHasPrefix(v string) predicate.OAuth2Client

SecretHasPrefix applies the HasPrefix predicate on the "secret" field.

func SecretHasSuffix

func SecretHasSuffix(v string) predicate.OAuth2Client

SecretHasSuffix applies the HasSuffix predicate on the "secret" field.

func SecretIn

func SecretIn(vs ...string) predicate.OAuth2Client

SecretIn applies the In predicate on the "secret" field.

func SecretLT

func SecretLT(v string) predicate.OAuth2Client

SecretLT applies the LT predicate on the "secret" field.

func SecretLTE

func SecretLTE(v string) predicate.OAuth2Client

SecretLTE applies the LTE predicate on the "secret" field.

func SecretNEQ

func SecretNEQ(v string) predicate.OAuth2Client

SecretNEQ applies the NEQ predicate on the "secret" field.

func SecretNotIn

func SecretNotIn(vs ...string) predicate.OAuth2Client

SecretNotIn applies the NotIn predicate on the "secret" field.

func TrustedPeersIsNil

func TrustedPeersIsNil() predicate.OAuth2Client

TrustedPeersIsNil applies the IsNil predicate on the "trusted_peers" field.

func TrustedPeersNotNil

func TrustedPeersNotNil() predicate.OAuth2Client

TrustedPeersNotNil applies the NotNil predicate on the "trusted_peers" field.

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