oauthproviderhistory

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the oauthproviderhistory type in the database.
	Label = "oauth_provider_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHistoryTime holds the string denoting the history_time field in the database.
	FieldHistoryTime = "history_time"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// 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"
	// Table holds the table name of the oauthproviderhistory in the database.
	Table = "oauth_provider_history"
)

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	Policy       ent.Policy
	// DefaultHistoryTime holds the default value on creation for the "history_time" field.
	DefaultHistoryTime func() time.Time
	// 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
	// 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/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for oauthproviderhistory 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

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

func AuthStyleIn

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

func AuthStyleLT

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

func AuthStyleLTE

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

func AuthStyleNEQ

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

func AuthStyleNotIn

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

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

func AuthURL

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

func AuthURLContains

func AuthURLContains(v string) predicate.OauthProviderHistory

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

func AuthURLContainsFold

func AuthURLContainsFold(v string) predicate.OauthProviderHistory

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

func AuthURLEQ

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

func AuthURLEqualFold

func AuthURLEqualFold(v string) predicate.OauthProviderHistory

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

func AuthURLGT

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

func AuthURLGTE

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

func AuthURLHasPrefix

func AuthURLHasPrefix(v string) predicate.OauthProviderHistory

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

func AuthURLHasSuffix

func AuthURLHasSuffix(v string) predicate.OauthProviderHistory

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

func AuthURLIn

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

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

func AuthURLLT

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

func AuthURLLTE

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

func AuthURLNEQ

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

func AuthURLNotIn

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

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

func ClientID

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

func ClientIDContains

func ClientIDContains(v string) predicate.OauthProviderHistory

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

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.OauthProviderHistory

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

func ClientIDEQ

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

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.OauthProviderHistory

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

func ClientIDGT

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

func ClientIDGTE

func ClientIDGTE(v string) predicate.OauthProviderHistory

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

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.OauthProviderHistory

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

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.OauthProviderHistory

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

func ClientIDIn

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

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

func ClientIDLT

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

func ClientIDLTE

func ClientIDLTE(v string) predicate.OauthProviderHistory

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

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.OauthProviderHistory

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

func ClientIDNotIn

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

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

func ClientSecret

func ClientSecret(v string) predicate.OauthProviderHistory

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

func ClientSecretContains

func ClientSecretContains(v string) predicate.OauthProviderHistory

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

func ClientSecretContainsFold

func ClientSecretContainsFold(v string) predicate.OauthProviderHistory

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

func ClientSecretEQ

func ClientSecretEQ(v string) predicate.OauthProviderHistory

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

func ClientSecretEqualFold

func ClientSecretEqualFold(v string) predicate.OauthProviderHistory

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

func ClientSecretGT

func ClientSecretGT(v string) predicate.OauthProviderHistory

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

func ClientSecretGTE

func ClientSecretGTE(v string) predicate.OauthProviderHistory

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

func ClientSecretHasPrefix

func ClientSecretHasPrefix(v string) predicate.OauthProviderHistory

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

func ClientSecretHasSuffix

func ClientSecretHasSuffix(v string) predicate.OauthProviderHistory

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

func ClientSecretIn

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

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

func ClientSecretLT

func ClientSecretLT(v string) predicate.OauthProviderHistory

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

func ClientSecretLTE

func ClientSecretLTE(v string) predicate.OauthProviderHistory

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

func ClientSecretNEQ

func ClientSecretNEQ(v string) predicate.OauthProviderHistory

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

func ClientSecretNotIn

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

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

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OauthProviderHistory

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OauthProviderHistory

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OauthProviderHistory

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.OauthProviderHistory

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OauthProviderHistory

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OauthProviderHistory

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OauthProviderHistory

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.OauthProviderHistory

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

func CreatedBy

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

func CreatedByContains

func CreatedByContains(v string) predicate.OauthProviderHistory

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.OauthProviderHistory

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.OauthProviderHistory

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.OauthProviderHistory

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

func CreatedByGT

func CreatedByGT(v string) predicate.OauthProviderHistory

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.OauthProviderHistory

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.OauthProviderHistory

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.OauthProviderHistory

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.OauthProviderHistory

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

func CreatedByLT

func CreatedByLT(v string) predicate.OauthProviderHistory

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.OauthProviderHistory

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.OauthProviderHistory

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.OauthProviderHistory

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

func DeletedAt

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.OauthProviderHistory

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.OauthProviderHistory

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.OauthProviderHistory

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OauthProviderHistory

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.OauthProviderHistory

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.OauthProviderHistory

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.OauthProviderHistory

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OauthProviderHistory

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

func DeletedBy

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

func DeletedByContains

func DeletedByContains(v string) predicate.OauthProviderHistory

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.OauthProviderHistory

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.OauthProviderHistory

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.OauthProviderHistory

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

func DeletedByGT

func DeletedByGT(v string) predicate.OauthProviderHistory

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.OauthProviderHistory

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.OauthProviderHistory

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.OauthProviderHistory

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.OauthProviderHistory

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

func DeletedByLT

func DeletedByLT(v string) predicate.OauthProviderHistory

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.OauthProviderHistory

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.OauthProviderHistory

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.OauthProviderHistory

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

func HistoryTime

func HistoryTime(v time.Time) predicate.OauthProviderHistory

HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.

func HistoryTimeEQ

func HistoryTimeEQ(v time.Time) predicate.OauthProviderHistory

HistoryTimeEQ applies the EQ predicate on the "history_time" field.

func HistoryTimeGT

func HistoryTimeGT(v time.Time) predicate.OauthProviderHistory

HistoryTimeGT applies the GT predicate on the "history_time" field.

func HistoryTimeGTE

func HistoryTimeGTE(v time.Time) predicate.OauthProviderHistory

HistoryTimeGTE applies the GTE predicate on the "history_time" field.

func HistoryTimeIn

func HistoryTimeIn(vs ...time.Time) predicate.OauthProviderHistory

HistoryTimeIn applies the In predicate on the "history_time" field.

func HistoryTimeLT

func HistoryTimeLT(v time.Time) predicate.OauthProviderHistory

HistoryTimeLT applies the LT predicate on the "history_time" field.

func HistoryTimeLTE

func HistoryTimeLTE(v time.Time) predicate.OauthProviderHistory

HistoryTimeLTE applies the LTE predicate on the "history_time" field.

func HistoryTimeNEQ

func HistoryTimeNEQ(v time.Time) predicate.OauthProviderHistory

HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.

func HistoryTimeNotIn

func HistoryTimeNotIn(vs ...time.Time) predicate.OauthProviderHistory

HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OauthProviderHistory

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.OauthProviderHistory

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InfoURL

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

func InfoURLContains

func InfoURLContains(v string) predicate.OauthProviderHistory

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

func InfoURLContainsFold

func InfoURLContainsFold(v string) predicate.OauthProviderHistory

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

func InfoURLEQ

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

func InfoURLEqualFold

func InfoURLEqualFold(v string) predicate.OauthProviderHistory

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

func InfoURLGT

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

func InfoURLGTE

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

func InfoURLHasPrefix

func InfoURLHasPrefix(v string) predicate.OauthProviderHistory

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

func InfoURLHasSuffix

func InfoURLHasSuffix(v string) predicate.OauthProviderHistory

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

func InfoURLIn

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

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

func InfoURLLT

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

func InfoURLLTE

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

func InfoURLNEQ

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

func InfoURLNotIn

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

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

func MappingID

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

func MappingIDContains

func MappingIDContains(v string) predicate.OauthProviderHistory

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

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.OauthProviderHistory

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

func MappingIDEQ

func MappingIDEQ(v string) predicate.OauthProviderHistory

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

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.OauthProviderHistory

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

func MappingIDGT

func MappingIDGT(v string) predicate.OauthProviderHistory

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

func MappingIDGTE

func MappingIDGTE(v string) predicate.OauthProviderHistory

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

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.OauthProviderHistory

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

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.OauthProviderHistory

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

func MappingIDIn

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

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

func MappingIDLT

func MappingIDLT(v string) predicate.OauthProviderHistory

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

func MappingIDLTE

func MappingIDLTE(v string) predicate.OauthProviderHistory

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

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.OauthProviderHistory

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

func MappingIDNotIn

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

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.OauthProviderHistory

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

func NameContainsFold

func NameContainsFold(v string) predicate.OauthProviderHistory

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.OauthProviderHistory

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

func NameGT

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

func NameGTE

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.OauthProviderHistory

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.OauthProviderHistory

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

func NameIn

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

func NameLT

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

func NameLTE

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

func NameNEQ

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func OperationEQ

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

func OperationIn(vs ...history.OpType) predicate.OauthProviderHistory

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

func OperationNotIn(vs ...history.OpType) predicate.OauthProviderHistory

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o history.OpType) error

OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.

func Or

Or groups predicates with the OR operator between them.

func OwnerID

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.OauthProviderHistory

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.OauthProviderHistory

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

func OwnerIDEQ

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.OauthProviderHistory

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

func OwnerIDGT

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

func OwnerIDGTE

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.OauthProviderHistory

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.OauthProviderHistory

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.OauthProviderHistory

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

func OwnerIDLT

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

func OwnerIDLTE

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

func OwnerIDNEQ

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.OauthProviderHistory

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

func RedirectURL

func RedirectURL(v string) predicate.OauthProviderHistory

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

func RedirectURLContains

func RedirectURLContains(v string) predicate.OauthProviderHistory

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

func RedirectURLContainsFold

func RedirectURLContainsFold(v string) predicate.OauthProviderHistory

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

func RedirectURLEQ

func RedirectURLEQ(v string) predicate.OauthProviderHistory

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

func RedirectURLEqualFold

func RedirectURLEqualFold(v string) predicate.OauthProviderHistory

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

func RedirectURLGT

func RedirectURLGT(v string) predicate.OauthProviderHistory

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

func RedirectURLGTE

func RedirectURLGTE(v string) predicate.OauthProviderHistory

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

func RedirectURLHasPrefix

func RedirectURLHasPrefix(v string) predicate.OauthProviderHistory

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

func RedirectURLHasSuffix

func RedirectURLHasSuffix(v string) predicate.OauthProviderHistory

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

func RedirectURLIn

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

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

func RedirectURLLT

func RedirectURLLT(v string) predicate.OauthProviderHistory

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

func RedirectURLLTE

func RedirectURLLTE(v string) predicate.OauthProviderHistory

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

func RedirectURLNEQ

func RedirectURLNEQ(v string) predicate.OauthProviderHistory

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

func RedirectURLNotIn

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

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

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefContains

func RefContains(v string) predicate.OauthProviderHistory

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.OauthProviderHistory

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

func RefEqualFold(v string) predicate.OauthProviderHistory

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

RefGT applies the GT predicate on the "ref" field.

func RefGTE

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

func RefHasPrefix(v string) predicate.OauthProviderHistory

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

func RefHasSuffix(v string) predicate.OauthProviderHistory

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

RefIn applies the In predicate on the "ref" field.

func RefIsNil

RefIsNil applies the IsNil predicate on the "ref" field.

func RefLT

RefLT applies the LT predicate on the "ref" field.

func RefLTE

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

func RefNotIn(vs ...string) predicate.OauthProviderHistory

RefNotIn applies the NotIn predicate on the "ref" field.

func RefNotNil

func RefNotNil() predicate.OauthProviderHistory

RefNotNil applies the NotNil predicate on the "ref" field.

func Scopes

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

func ScopesContains

func ScopesContains(v string) predicate.OauthProviderHistory

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

func ScopesContainsFold

func ScopesContainsFold(v string) predicate.OauthProviderHistory

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

func ScopesEQ

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

func ScopesEqualFold

func ScopesEqualFold(v string) predicate.OauthProviderHistory

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

func ScopesGT

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

func ScopesGTE

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

func ScopesHasPrefix

func ScopesHasPrefix(v string) predicate.OauthProviderHistory

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

func ScopesHasSuffix

func ScopesHasSuffix(v string) predicate.OauthProviderHistory

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

func ScopesIn

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

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

func ScopesLT

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

func ScopesLTE

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

func ScopesNEQ

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

func ScopesNotIn

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

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

func TagsIsNil

func TagsIsNil() predicate.OauthProviderHistory

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

func TagsNotNil

func TagsNotNil() predicate.OauthProviderHistory

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

func TokenURL

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

func TokenURLContains

func TokenURLContains(v string) predicate.OauthProviderHistory

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

func TokenURLContainsFold

func TokenURLContainsFold(v string) predicate.OauthProviderHistory

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

func TokenURLEQ

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

func TokenURLEqualFold

func TokenURLEqualFold(v string) predicate.OauthProviderHistory

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

func TokenURLGT

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

func TokenURLGTE

func TokenURLGTE(v string) predicate.OauthProviderHistory

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

func TokenURLHasPrefix

func TokenURLHasPrefix(v string) predicate.OauthProviderHistory

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

func TokenURLHasSuffix

func TokenURLHasSuffix(v string) predicate.OauthProviderHistory

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

func TokenURLIn

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

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

func TokenURLLT

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

func TokenURLLTE

func TokenURLLTE(v string) predicate.OauthProviderHistory

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

func TokenURLNEQ

func TokenURLNEQ(v string) predicate.OauthProviderHistory

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

func TokenURLNotIn

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

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

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OauthProviderHistory

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OauthProviderHistory

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OauthProviderHistory

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.OauthProviderHistory

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OauthProviderHistory

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OauthProviderHistory

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OauthProviderHistory

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.OauthProviderHistory

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

func UpdatedBy

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.OauthProviderHistory

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.OauthProviderHistory

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.OauthProviderHistory

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.OauthProviderHistory

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.OauthProviderHistory

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.OauthProviderHistory

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.OauthProviderHistory

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.OauthProviderHistory

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.OauthProviderHistory

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.OauthProviderHistory

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.OauthProviderHistory

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.OauthProviderHistory

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.OauthProviderHistory

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 OauthProviderHistory 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 ByHistoryTime

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

ByHistoryTime orders the results by the history_time 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

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 ByOperation

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

ByOperation orders the results by the operation field.

func ByOwnerID

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 ByRef

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

ByRef orders the results by the ref 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