oauthprovider

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the oauthprovider type in the database.
	Label = "oauth_provider"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldClientID holds the string denoting the client_id field in the database.
	FieldClientID = "client_id"
	// FieldClientSecret holds the string denoting the client_secret field in the database.
	FieldClientSecret = "client_secret"
	// FieldRedirectURL holds the string denoting the redirect_url field in the database.
	FieldRedirectURL = "redirect_url"
	// FieldScopes holds the string denoting the scopes field in the database.
	FieldScopes = "scopes"
	// FieldAuthURL holds the string denoting the auth_url field in the database.
	FieldAuthURL = "auth_url"
	// FieldTokenURL holds the string denoting the token_url field in the database.
	FieldTokenURL = "token_url"
	// FieldAuthStyle holds the string denoting the auth_style field in the database.
	FieldAuthStyle = "auth_style"
	// FieldInfoURL holds the string denoting the info_url field in the database.
	FieldInfoURL = "info_url"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// Table holds the table name of the oauthprovider in the database.
	Table = "oauth_providers"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "oauth_providers"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
)

Variables

View Source
var (
	Hooks        [4]ent.Hook
	Interceptors [2]ent.Interceptor
	Policy       ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/datumforge/datum/internal/ent/generated/runtime"

Columns holds all SQL columns for oauthprovider fields.

Functions

func And

And groups predicates with the AND operator between them.

func AuthStyle

AuthStyle applies equality check predicate on the "auth_style" field. It's identical to AuthStyleEQ.

func AuthStyleEQ

AuthStyleEQ applies the EQ predicate on the "auth_style" field.

func AuthStyleGT

AuthStyleGT applies the GT predicate on the "auth_style" field.

func AuthStyleGTE

func AuthStyleGTE(v customtypes.Uint8) predicate.OauthProvider

AuthStyleGTE applies the GTE predicate on the "auth_style" field.

func AuthStyleIn

func AuthStyleIn(vs ...customtypes.Uint8) predicate.OauthProvider

AuthStyleIn applies the In predicate on the "auth_style" field.

func AuthStyleLT

AuthStyleLT applies the LT predicate on the "auth_style" field.

func AuthStyleLTE

func AuthStyleLTE(v customtypes.Uint8) predicate.OauthProvider

AuthStyleLTE applies the LTE predicate on the "auth_style" field.

func AuthStyleNEQ

func AuthStyleNEQ(v customtypes.Uint8) predicate.OauthProvider

AuthStyleNEQ applies the NEQ predicate on the "auth_style" field.

func AuthStyleNotIn

func AuthStyleNotIn(vs ...customtypes.Uint8) predicate.OauthProvider

AuthStyleNotIn applies the NotIn predicate on the "auth_style" field.

func AuthURL

func AuthURL(v string) predicate.OauthProvider

AuthURL applies equality check predicate on the "auth_url" field. It's identical to AuthURLEQ.

func AuthURLContains

func AuthURLContains(v string) predicate.OauthProvider

AuthURLContains applies the Contains predicate on the "auth_url" field.

func AuthURLContainsFold

func AuthURLContainsFold(v string) predicate.OauthProvider

AuthURLContainsFold applies the ContainsFold predicate on the "auth_url" field.

func AuthURLEQ

func AuthURLEQ(v string) predicate.OauthProvider

AuthURLEQ applies the EQ predicate on the "auth_url" field.

func AuthURLEqualFold

func AuthURLEqualFold(v string) predicate.OauthProvider

AuthURLEqualFold applies the EqualFold predicate on the "auth_url" field.

func AuthURLGT

func AuthURLGT(v string) predicate.OauthProvider

AuthURLGT applies the GT predicate on the "auth_url" field.

func AuthURLGTE

func AuthURLGTE(v string) predicate.OauthProvider

AuthURLGTE applies the GTE predicate on the "auth_url" field.

func AuthURLHasPrefix

func AuthURLHasPrefix(v string) predicate.OauthProvider

AuthURLHasPrefix applies the HasPrefix predicate on the "auth_url" field.

func AuthURLHasSuffix

func AuthURLHasSuffix(v string) predicate.OauthProvider

AuthURLHasSuffix applies the HasSuffix predicate on the "auth_url" field.

func AuthURLIn

func AuthURLIn(vs ...string) predicate.OauthProvider

AuthURLIn applies the In predicate on the "auth_url" field.

func AuthURLLT

func AuthURLLT(v string) predicate.OauthProvider

AuthURLLT applies the LT predicate on the "auth_url" field.

func AuthURLLTE

func AuthURLLTE(v string) predicate.OauthProvider

AuthURLLTE applies the LTE predicate on the "auth_url" field.

func AuthURLNEQ

func AuthURLNEQ(v string) predicate.OauthProvider

AuthURLNEQ applies the NEQ predicate on the "auth_url" field.

func AuthURLNotIn

func AuthURLNotIn(vs ...string) predicate.OauthProvider

AuthURLNotIn applies the NotIn predicate on the "auth_url" field.

func ClientID

func ClientID(v string) predicate.OauthProvider

ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.

func ClientIDContains

func ClientIDContains(v string) predicate.OauthProvider

ClientIDContains applies the Contains predicate on the "client_id" field.

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.OauthProvider

ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.

func ClientIDEQ

func ClientIDEQ(v string) predicate.OauthProvider

ClientIDEQ applies the EQ predicate on the "client_id" field.

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.OauthProvider

ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.

func ClientIDGT

func ClientIDGT(v string) predicate.OauthProvider

ClientIDGT applies the GT predicate on the "client_id" field.

func ClientIDGTE

func ClientIDGTE(v string) predicate.OauthProvider

ClientIDGTE applies the GTE predicate on the "client_id" field.

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.OauthProvider

ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.OauthProvider

ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.

func ClientIDIn

func ClientIDIn(vs ...string) predicate.OauthProvider

ClientIDIn applies the In predicate on the "client_id" field.

func ClientIDLT

func ClientIDLT(v string) predicate.OauthProvider

ClientIDLT applies the LT predicate on the "client_id" field.

func ClientIDLTE

func ClientIDLTE(v string) predicate.OauthProvider

ClientIDLTE applies the LTE predicate on the "client_id" field.

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.OauthProvider

ClientIDNEQ applies the NEQ predicate on the "client_id" field.

func ClientIDNotIn

func ClientIDNotIn(vs ...string) predicate.OauthProvider

ClientIDNotIn applies the NotIn predicate on the "client_id" field.

func ClientSecret

func ClientSecret(v string) predicate.OauthProvider

ClientSecret applies equality check predicate on the "client_secret" field. It's identical to ClientSecretEQ.

func ClientSecretContains

func ClientSecretContains(v string) predicate.OauthProvider

ClientSecretContains applies the Contains predicate on the "client_secret" field.

func ClientSecretContainsFold

func ClientSecretContainsFold(v string) predicate.OauthProvider

ClientSecretContainsFold applies the ContainsFold predicate on the "client_secret" field.

func ClientSecretEQ

func ClientSecretEQ(v string) predicate.OauthProvider

ClientSecretEQ applies the EQ predicate on the "client_secret" field.

func ClientSecretEqualFold

func ClientSecretEqualFold(v string) predicate.OauthProvider

ClientSecretEqualFold applies the EqualFold predicate on the "client_secret" field.

func ClientSecretGT

func ClientSecretGT(v string) predicate.OauthProvider

ClientSecretGT applies the GT predicate on the "client_secret" field.

func ClientSecretGTE

func ClientSecretGTE(v string) predicate.OauthProvider

ClientSecretGTE applies the GTE predicate on the "client_secret" field.

func ClientSecretHasPrefix

func ClientSecretHasPrefix(v string) predicate.OauthProvider

ClientSecretHasPrefix applies the HasPrefix predicate on the "client_secret" field.

func ClientSecretHasSuffix

func ClientSecretHasSuffix(v string) predicate.OauthProvider

ClientSecretHasSuffix applies the HasSuffix predicate on the "client_secret" field.

func ClientSecretIn

func ClientSecretIn(vs ...string) predicate.OauthProvider

ClientSecretIn applies the In predicate on the "client_secret" field.

func ClientSecretLT

func ClientSecretLT(v string) predicate.OauthProvider

ClientSecretLT applies the LT predicate on the "client_secret" field.

func ClientSecretLTE

func ClientSecretLTE(v string) predicate.OauthProvider

ClientSecretLTE applies the LTE predicate on the "client_secret" field.

func ClientSecretNEQ

func ClientSecretNEQ(v string) predicate.OauthProvider

ClientSecretNEQ applies the NEQ predicate on the "client_secret" field.

func ClientSecretNotIn

func ClientSecretNotIn(vs ...string) predicate.OauthProvider

ClientSecretNotIn applies the NotIn predicate on the "client_secret" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.OauthProvider

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OauthProvider

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OauthProvider

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OauthProvider

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.OauthProvider

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil added in v0.3.4

func CreatedAtIsNil() predicate.OauthProvider

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OauthProvider

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OauthProvider

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OauthProvider

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.OauthProvider

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil added in v0.3.4

func CreatedAtNotNil() predicate.OauthProvider

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.OauthProvider

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.OauthProvider

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.OauthProvider

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.OauthProvider

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.OauthProvider

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.OauthProvider

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.OauthProvider

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.OauthProvider

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.OauthProvider

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.OauthProvider

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.OauthProvider

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.OauthProvider

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.OauthProvider

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.OauthProvider

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.OauthProvider

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.OauthProvider

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.OauthProvider

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.OauthProvider

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.OauthProvider

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.OauthProvider

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.OauthProvider

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OauthProvider

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.OauthProvider

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.OauthProvider

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.OauthProvider

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.OauthProvider

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OauthProvider

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.OauthProvider

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.OauthProvider

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.OauthProvider

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.OauthProvider

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.OauthProvider

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.OauthProvider

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.OauthProvider

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.OauthProvider

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.OauthProvider

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.OauthProvider

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.OauthProvider

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.OauthProvider

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.OauthProvider

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.OauthProvider

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.OauthProvider

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.OauthProvider

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func HasOwner

func HasOwner() predicate.OauthProvider

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Organization) predicate.OauthProvider

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OauthProvider

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.OauthProvider

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.OauthProvider

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.OauthProvider

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.OauthProvider

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InfoURL

func InfoURL(v string) predicate.OauthProvider

InfoURL applies equality check predicate on the "info_url" field. It's identical to InfoURLEQ.

func InfoURLContains

func InfoURLContains(v string) predicate.OauthProvider

InfoURLContains applies the Contains predicate on the "info_url" field.

func InfoURLContainsFold

func InfoURLContainsFold(v string) predicate.OauthProvider

InfoURLContainsFold applies the ContainsFold predicate on the "info_url" field.

func InfoURLEQ

func InfoURLEQ(v string) predicate.OauthProvider

InfoURLEQ applies the EQ predicate on the "info_url" field.

func InfoURLEqualFold

func InfoURLEqualFold(v string) predicate.OauthProvider

InfoURLEqualFold applies the EqualFold predicate on the "info_url" field.

func InfoURLGT

func InfoURLGT(v string) predicate.OauthProvider

InfoURLGT applies the GT predicate on the "info_url" field.

func InfoURLGTE

func InfoURLGTE(v string) predicate.OauthProvider

InfoURLGTE applies the GTE predicate on the "info_url" field.

func InfoURLHasPrefix

func InfoURLHasPrefix(v string) predicate.OauthProvider

InfoURLHasPrefix applies the HasPrefix predicate on the "info_url" field.

func InfoURLHasSuffix

func InfoURLHasSuffix(v string) predicate.OauthProvider

InfoURLHasSuffix applies the HasSuffix predicate on the "info_url" field.

func InfoURLIn

func InfoURLIn(vs ...string) predicate.OauthProvider

InfoURLIn applies the In predicate on the "info_url" field.

func InfoURLLT

func InfoURLLT(v string) predicate.OauthProvider

InfoURLLT applies the LT predicate on the "info_url" field.

func InfoURLLTE

func InfoURLLTE(v string) predicate.OauthProvider

InfoURLLTE applies the LTE predicate on the "info_url" field.

func InfoURLNEQ

func InfoURLNEQ(v string) predicate.OauthProvider

InfoURLNEQ applies the NEQ predicate on the "info_url" field.

func InfoURLNotIn

func InfoURLNotIn(vs ...string) predicate.OauthProvider

InfoURLNotIn applies the NotIn predicate on the "info_url" field.

func MappingID added in v0.5.0

func MappingID(v string) predicate.OauthProvider

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains added in v0.5.0

func MappingIDContains(v string) predicate.OauthProvider

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold added in v0.5.0

func MappingIDContainsFold(v string) predicate.OauthProvider

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ added in v0.5.0

func MappingIDEQ(v string) predicate.OauthProvider

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold added in v0.5.0

func MappingIDEqualFold(v string) predicate.OauthProvider

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT added in v0.5.0

func MappingIDGT(v string) predicate.OauthProvider

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE added in v0.5.0

func MappingIDGTE(v string) predicate.OauthProvider

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix added in v0.5.0

func MappingIDHasPrefix(v string) predicate.OauthProvider

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix added in v0.5.0

func MappingIDHasSuffix(v string) predicate.OauthProvider

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn added in v0.5.0

func MappingIDIn(vs ...string) predicate.OauthProvider

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT added in v0.5.0

func MappingIDLT(v string) predicate.OauthProvider

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE added in v0.5.0

func MappingIDLTE(v string) predicate.OauthProvider

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ added in v0.5.0

func MappingIDNEQ(v string) predicate.OauthProvider

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn added in v0.5.0

func MappingIDNotIn(vs ...string) predicate.OauthProvider

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Name

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

func NameContains

func NameContains(v string) predicate.OauthProvider

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

func NameContainsFold

func NameContainsFold(v string) predicate.OauthProvider

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

func NameEQ

func NameEQ(v string) predicate.OauthProvider

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

func NameEqualFold

func NameEqualFold(v string) predicate.OauthProvider

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

func NameGT

func NameGT(v string) predicate.OauthProvider

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

func NameGTE

func NameGTE(v string) predicate.OauthProvider

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.OauthProvider

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.OauthProvider

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.OauthProvider

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

func NameLTE

func NameLTE(v string) predicate.OauthProvider

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

func NameNEQ

func NameNEQ(v string) predicate.OauthProvider

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID added in v0.6.1

func OwnerID(v string) predicate.OauthProvider

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains added in v0.6.1

func OwnerIDContains(v string) predicate.OauthProvider

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold added in v0.6.1

func OwnerIDContainsFold(v string) predicate.OauthProvider

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ added in v0.6.1

func OwnerIDEQ(v string) predicate.OauthProvider

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold added in v0.6.1

func OwnerIDEqualFold(v string) predicate.OauthProvider

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT added in v0.6.1

func OwnerIDGT(v string) predicate.OauthProvider

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE added in v0.6.1

func OwnerIDGTE(v string) predicate.OauthProvider

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix added in v0.6.1

func OwnerIDHasPrefix(v string) predicate.OauthProvider

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix added in v0.6.1

func OwnerIDHasSuffix(v string) predicate.OauthProvider

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn added in v0.6.1

func OwnerIDIn(vs ...string) predicate.OauthProvider

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil added in v0.6.1

func OwnerIDIsNil() predicate.OauthProvider

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT added in v0.6.1

func OwnerIDLT(v string) predicate.OauthProvider

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE added in v0.6.1

func OwnerIDLTE(v string) predicate.OauthProvider

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ added in v0.6.1

func OwnerIDNEQ(v string) predicate.OauthProvider

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn added in v0.6.1

func OwnerIDNotIn(vs ...string) predicate.OauthProvider

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil added in v0.6.1

func OwnerIDNotNil() predicate.OauthProvider

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func RedirectURL

func RedirectURL(v string) predicate.OauthProvider

RedirectURL applies equality check predicate on the "redirect_url" field. It's identical to RedirectURLEQ.

func RedirectURLContains

func RedirectURLContains(v string) predicate.OauthProvider

RedirectURLContains applies the Contains predicate on the "redirect_url" field.

func RedirectURLContainsFold

func RedirectURLContainsFold(v string) predicate.OauthProvider

RedirectURLContainsFold applies the ContainsFold predicate on the "redirect_url" field.

func RedirectURLEQ

func RedirectURLEQ(v string) predicate.OauthProvider

RedirectURLEQ applies the EQ predicate on the "redirect_url" field.

func RedirectURLEqualFold

func RedirectURLEqualFold(v string) predicate.OauthProvider

RedirectURLEqualFold applies the EqualFold predicate on the "redirect_url" field.

func RedirectURLGT

func RedirectURLGT(v string) predicate.OauthProvider

RedirectURLGT applies the GT predicate on the "redirect_url" field.

func RedirectURLGTE

func RedirectURLGTE(v string) predicate.OauthProvider

RedirectURLGTE applies the GTE predicate on the "redirect_url" field.

func RedirectURLHasPrefix

func RedirectURLHasPrefix(v string) predicate.OauthProvider

RedirectURLHasPrefix applies the HasPrefix predicate on the "redirect_url" field.

func RedirectURLHasSuffix

func RedirectURLHasSuffix(v string) predicate.OauthProvider

RedirectURLHasSuffix applies the HasSuffix predicate on the "redirect_url" field.

func RedirectURLIn

func RedirectURLIn(vs ...string) predicate.OauthProvider

RedirectURLIn applies the In predicate on the "redirect_url" field.

func RedirectURLLT

func RedirectURLLT(v string) predicate.OauthProvider

RedirectURLLT applies the LT predicate on the "redirect_url" field.

func RedirectURLLTE

func RedirectURLLTE(v string) predicate.OauthProvider

RedirectURLLTE applies the LTE predicate on the "redirect_url" field.

func RedirectURLNEQ

func RedirectURLNEQ(v string) predicate.OauthProvider

RedirectURLNEQ applies the NEQ predicate on the "redirect_url" field.

func RedirectURLNotIn

func RedirectURLNotIn(vs ...string) predicate.OauthProvider

RedirectURLNotIn applies the NotIn predicate on the "redirect_url" field.

func Scopes

func Scopes(v string) predicate.OauthProvider

Scopes applies equality check predicate on the "scopes" field. It's identical to ScopesEQ.

func ScopesContains

func ScopesContains(v string) predicate.OauthProvider

ScopesContains applies the Contains predicate on the "scopes" field.

func ScopesContainsFold

func ScopesContainsFold(v string) predicate.OauthProvider

ScopesContainsFold applies the ContainsFold predicate on the "scopes" field.

func ScopesEQ

func ScopesEQ(v string) predicate.OauthProvider

ScopesEQ applies the EQ predicate on the "scopes" field.

func ScopesEqualFold

func ScopesEqualFold(v string) predicate.OauthProvider

ScopesEqualFold applies the EqualFold predicate on the "scopes" field.

func ScopesGT

func ScopesGT(v string) predicate.OauthProvider

ScopesGT applies the GT predicate on the "scopes" field.

func ScopesGTE

func ScopesGTE(v string) predicate.OauthProvider

ScopesGTE applies the GTE predicate on the "scopes" field.

func ScopesHasPrefix

func ScopesHasPrefix(v string) predicate.OauthProvider

ScopesHasPrefix applies the HasPrefix predicate on the "scopes" field.

func ScopesHasSuffix

func ScopesHasSuffix(v string) predicate.OauthProvider

ScopesHasSuffix applies the HasSuffix predicate on the "scopes" field.

func ScopesIn

func ScopesIn(vs ...string) predicate.OauthProvider

ScopesIn applies the In predicate on the "scopes" field.

func ScopesLT

func ScopesLT(v string) predicate.OauthProvider

ScopesLT applies the LT predicate on the "scopes" field.

func ScopesLTE

func ScopesLTE(v string) predicate.OauthProvider

ScopesLTE applies the LTE predicate on the "scopes" field.

func ScopesNEQ

func ScopesNEQ(v string) predicate.OauthProvider

ScopesNEQ applies the NEQ predicate on the "scopes" field.

func ScopesNotIn

func ScopesNotIn(vs ...string) predicate.OauthProvider

ScopesNotIn applies the NotIn predicate on the "scopes" field.

func TagsIsNil added in v0.5.2

func TagsIsNil() predicate.OauthProvider

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil added in v0.5.2

func TagsNotNil() predicate.OauthProvider

TagsNotNil applies the NotNil predicate on the "tags" field.

func TokenURL

func TokenURL(v string) predicate.OauthProvider

TokenURL applies equality check predicate on the "token_url" field. It's identical to TokenURLEQ.

func TokenURLContains

func TokenURLContains(v string) predicate.OauthProvider

TokenURLContains applies the Contains predicate on the "token_url" field.

func TokenURLContainsFold

func TokenURLContainsFold(v string) predicate.OauthProvider

TokenURLContainsFold applies the ContainsFold predicate on the "token_url" field.

func TokenURLEQ

func TokenURLEQ(v string) predicate.OauthProvider

TokenURLEQ applies the EQ predicate on the "token_url" field.

func TokenURLEqualFold

func TokenURLEqualFold(v string) predicate.OauthProvider

TokenURLEqualFold applies the EqualFold predicate on the "token_url" field.

func TokenURLGT

func TokenURLGT(v string) predicate.OauthProvider

TokenURLGT applies the GT predicate on the "token_url" field.

func TokenURLGTE

func TokenURLGTE(v string) predicate.OauthProvider

TokenURLGTE applies the GTE predicate on the "token_url" field.

func TokenURLHasPrefix

func TokenURLHasPrefix(v string) predicate.OauthProvider

TokenURLHasPrefix applies the HasPrefix predicate on the "token_url" field.

func TokenURLHasSuffix

func TokenURLHasSuffix(v string) predicate.OauthProvider

TokenURLHasSuffix applies the HasSuffix predicate on the "token_url" field.

func TokenURLIn

func TokenURLIn(vs ...string) predicate.OauthProvider

TokenURLIn applies the In predicate on the "token_url" field.

func TokenURLLT

func TokenURLLT(v string) predicate.OauthProvider

TokenURLLT applies the LT predicate on the "token_url" field.

func TokenURLLTE

func TokenURLLTE(v string) predicate.OauthProvider

TokenURLLTE applies the LTE predicate on the "token_url" field.

func TokenURLNEQ

func TokenURLNEQ(v string) predicate.OauthProvider

TokenURLNEQ applies the NEQ predicate on the "token_url" field.

func TokenURLNotIn

func TokenURLNotIn(vs ...string) predicate.OauthProvider

TokenURLNotIn applies the NotIn predicate on the "token_url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.OauthProvider

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OauthProvider

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OauthProvider

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OauthProvider

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.OauthProvider

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil added in v0.3.4

func UpdatedAtIsNil() predicate.OauthProvider

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OauthProvider

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OauthProvider

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OauthProvider

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.OauthProvider

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil added in v0.3.4

func UpdatedAtNotNil() predicate.OauthProvider

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.OauthProvider

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.OauthProvider

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.OauthProvider

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.OauthProvider

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.OauthProvider

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.OauthProvider

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.OauthProvider

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.OauthProvider

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.OauthProvider

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.OauthProvider

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.OauthProvider

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.OauthProvider

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.OauthProvider

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.OauthProvider

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.OauthProvider

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.OauthProvider

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the OauthProvider queries.

func ByAuthStyle

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

ByAuthStyle orders the results by the auth_style field.

func ByAuthURL

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

ByAuthURL orders the results by the auth_url field.

func ByClientID

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

ByClientID orders the results by the client_id field.

func ByClientSecret

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

ByClientSecret orders the results by the client_secret field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByID

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

ByID orders the results by the id field.

func ByInfoURL

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

ByInfoURL orders the results by the info_url field.

func ByMappingID added in v0.5.0

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

ByMappingID orders the results by the mapping_id field.

func ByName

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

ByName orders the results by the name field.

func ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID added in v0.6.1

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

ByOwnerID orders the results by the owner_id field.

func ByRedirectURL

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

ByRedirectURL orders the results by the redirect_url field.

func ByScopes

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

ByScopes orders the results by the scopes field.

func ByTokenURL

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

ByTokenURL orders the results by the token_url field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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