Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxyAuthMethod) predicate.ProxyAuthMethod
- func Config(v string) predicate.ProxyAuthMethod
- func ConfigContains(v string) predicate.ProxyAuthMethod
- func ConfigContainsFold(v string) predicate.ProxyAuthMethod
- func ConfigEQ(v string) predicate.ProxyAuthMethod
- func ConfigEqualFold(v string) predicate.ProxyAuthMethod
- func ConfigGT(v string) predicate.ProxyAuthMethod
- func ConfigGTE(v string) predicate.ProxyAuthMethod
- func ConfigHasPrefix(v string) predicate.ProxyAuthMethod
- func ConfigHasSuffix(v string) predicate.ProxyAuthMethod
- func ConfigIn(vs ...string) predicate.ProxyAuthMethod
- func ConfigLT(v string) predicate.ProxyAuthMethod
- func ConfigLTE(v string) predicate.ProxyAuthMethod
- func ConfigNEQ(v string) predicate.ProxyAuthMethod
- func ConfigNotIn(vs ...string) predicate.ProxyAuthMethod
- func CreatedAt(v time.Time) predicate.ProxyAuthMethod
- func CreatedAtEQ(v time.Time) predicate.ProxyAuthMethod
- func CreatedAtGT(v time.Time) predicate.ProxyAuthMethod
- func CreatedAtGTE(v time.Time) predicate.ProxyAuthMethod
- func CreatedAtIn(vs ...time.Time) predicate.ProxyAuthMethod
- func CreatedAtIsNil() predicate.ProxyAuthMethod
- func CreatedAtLT(v time.Time) predicate.ProxyAuthMethod
- func CreatedAtLTE(v time.Time) predicate.ProxyAuthMethod
- func CreatedAtNEQ(v time.Time) predicate.ProxyAuthMethod
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxyAuthMethod
- func CreatedAtNotNil() predicate.ProxyAuthMethod
- func Enabled(v bool) predicate.ProxyAuthMethod
- func EnabledEQ(v bool) predicate.ProxyAuthMethod
- func EnabledNEQ(v bool) predicate.ProxyAuthMethod
- func ID(id int64) predicate.ProxyAuthMethod
- func IDEQ(id int64) predicate.ProxyAuthMethod
- func IDGT(id int64) predicate.ProxyAuthMethod
- func IDGTE(id int64) predicate.ProxyAuthMethod
- func IDIn(ids ...int64) predicate.ProxyAuthMethod
- func IDLT(id int64) predicate.ProxyAuthMethod
- func IDLTE(id int64) predicate.ProxyAuthMethod
- func IDNEQ(id int64) predicate.ProxyAuthMethod
- func IDNotIn(ids ...int64) predicate.ProxyAuthMethod
- func Method(v string) predicate.ProxyAuthMethod
- func MethodContains(v string) predicate.ProxyAuthMethod
- func MethodContainsFold(v string) predicate.ProxyAuthMethod
- func MethodEQ(v string) predicate.ProxyAuthMethod
- func MethodEqualFold(v string) predicate.ProxyAuthMethod
- func MethodGT(v string) predicate.ProxyAuthMethod
- func MethodGTE(v string) predicate.ProxyAuthMethod
- func MethodHasPrefix(v string) predicate.ProxyAuthMethod
- func MethodHasSuffix(v string) predicate.ProxyAuthMethod
- func MethodIn(vs ...string) predicate.ProxyAuthMethod
- func MethodLT(v string) predicate.ProxyAuthMethod
- func MethodLTE(v string) predicate.ProxyAuthMethod
- func MethodNEQ(v string) predicate.ProxyAuthMethod
- func MethodNotIn(vs ...string) predicate.ProxyAuthMethod
- func Not(p predicate.ProxyAuthMethod) predicate.ProxyAuthMethod
- func Or(predicates ...predicate.ProxyAuthMethod) predicate.ProxyAuthMethod
- func UpdatedAt(v time.Time) predicate.ProxyAuthMethod
- func UpdatedAtEQ(v time.Time) predicate.ProxyAuthMethod
- func UpdatedAtGT(v time.Time) predicate.ProxyAuthMethod
- func UpdatedAtGTE(v time.Time) predicate.ProxyAuthMethod
- func UpdatedAtIn(vs ...time.Time) predicate.ProxyAuthMethod
- func UpdatedAtIsNil() predicate.ProxyAuthMethod
- func UpdatedAtLT(v time.Time) predicate.ProxyAuthMethod
- func UpdatedAtLTE(v time.Time) predicate.ProxyAuthMethod
- func UpdatedAtNEQ(v time.Time) predicate.ProxyAuthMethod
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyAuthMethod
- func UpdatedAtNotNil() predicate.ProxyAuthMethod
- func ValidColumn(column string) bool
- type OrderOption
- func ByConfig(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMethod(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyauthmethod type in the database. Label = "proxy_auth_method" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMethod holds the string denoting the method field in the database. FieldMethod = "method" // FieldConfig holds the string denoting the config field in the database. FieldConfig = "config" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // 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" // Table holds the table name of the proxyauthmethod in the database. Table = "auth_method" )
Variables ¶
var ( // DefaultMethod holds the default value on creation for the "method" field. DefaultMethod string // MethodValidator is a validator for the "method" field. It is called by the builders before save. MethodValidator func(string) error // ConfigValidator is a validator for the "config" field. It is called by the builders before save. ConfigValidator func(string) error // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // 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 )
var Columns = []string{ FieldID, FieldMethod, FieldConfig, FieldEnabled, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for proxyauthmethod fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxyAuthMethod) predicate.ProxyAuthMethod
And groups predicates with the AND operator between them.
func Config ¶
func Config(v string) predicate.ProxyAuthMethod
Config applies equality check predicate on the "config" field. It's identical to ConfigEQ.
func ConfigContains ¶
func ConfigContains(v string) predicate.ProxyAuthMethod
ConfigContains applies the Contains predicate on the "config" field.
func ConfigContainsFold ¶
func ConfigContainsFold(v string) predicate.ProxyAuthMethod
ConfigContainsFold applies the ContainsFold predicate on the "config" field.
func ConfigEQ ¶
func ConfigEQ(v string) predicate.ProxyAuthMethod
ConfigEQ applies the EQ predicate on the "config" field.
func ConfigEqualFold ¶
func ConfigEqualFold(v string) predicate.ProxyAuthMethod
ConfigEqualFold applies the EqualFold predicate on the "config" field.
func ConfigGT ¶
func ConfigGT(v string) predicate.ProxyAuthMethod
ConfigGT applies the GT predicate on the "config" field.
func ConfigGTE ¶
func ConfigGTE(v string) predicate.ProxyAuthMethod
ConfigGTE applies the GTE predicate on the "config" field.
func ConfigHasPrefix ¶
func ConfigHasPrefix(v string) predicate.ProxyAuthMethod
ConfigHasPrefix applies the HasPrefix predicate on the "config" field.
func ConfigHasSuffix ¶
func ConfigHasSuffix(v string) predicate.ProxyAuthMethod
ConfigHasSuffix applies the HasSuffix predicate on the "config" field.
func ConfigIn ¶
func ConfigIn(vs ...string) predicate.ProxyAuthMethod
ConfigIn applies the In predicate on the "config" field.
func ConfigLT ¶
func ConfigLT(v string) predicate.ProxyAuthMethod
ConfigLT applies the LT predicate on the "config" field.
func ConfigLTE ¶
func ConfigLTE(v string) predicate.ProxyAuthMethod
ConfigLTE applies the LTE predicate on the "config" field.
func ConfigNEQ ¶
func ConfigNEQ(v string) predicate.ProxyAuthMethod
ConfigNEQ applies the NEQ predicate on the "config" field.
func ConfigNotIn ¶
func ConfigNotIn(vs ...string) predicate.ProxyAuthMethod
ConfigNotIn applies the NotIn predicate on the "config" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxyAuthMethod
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxyAuthMethod
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxyAuthMethod
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxyAuthMethod
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxyAuthMethod
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.ProxyAuthMethod
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxyAuthMethod
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxyAuthMethod
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxyAuthMethod
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxyAuthMethod
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.ProxyAuthMethod
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func Enabled ¶
func Enabled(v bool) predicate.ProxyAuthMethod
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledEQ ¶
func EnabledEQ(v bool) predicate.ProxyAuthMethod
EnabledEQ applies the EQ predicate on the "enabled" field.
func EnabledNEQ ¶
func EnabledNEQ(v bool) predicate.ProxyAuthMethod
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxyAuthMethod
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxyAuthMethod
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxyAuthMethod
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxyAuthMethod
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxyAuthMethod
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxyAuthMethod
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxyAuthMethod
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxyAuthMethod
IDNotIn applies the NotIn predicate on the ID field.
func Method ¶
func Method(v string) predicate.ProxyAuthMethod
Method applies equality check predicate on the "method" field. It's identical to MethodEQ.
func MethodContains ¶
func MethodContains(v string) predicate.ProxyAuthMethod
MethodContains applies the Contains predicate on the "method" field.
func MethodContainsFold ¶
func MethodContainsFold(v string) predicate.ProxyAuthMethod
MethodContainsFold applies the ContainsFold predicate on the "method" field.
func MethodEQ ¶
func MethodEQ(v string) predicate.ProxyAuthMethod
MethodEQ applies the EQ predicate on the "method" field.
func MethodEqualFold ¶
func MethodEqualFold(v string) predicate.ProxyAuthMethod
MethodEqualFold applies the EqualFold predicate on the "method" field.
func MethodGT ¶
func MethodGT(v string) predicate.ProxyAuthMethod
MethodGT applies the GT predicate on the "method" field.
func MethodGTE ¶
func MethodGTE(v string) predicate.ProxyAuthMethod
MethodGTE applies the GTE predicate on the "method" field.
func MethodHasPrefix ¶
func MethodHasPrefix(v string) predicate.ProxyAuthMethod
MethodHasPrefix applies the HasPrefix predicate on the "method" field.
func MethodHasSuffix ¶
func MethodHasSuffix(v string) predicate.ProxyAuthMethod
MethodHasSuffix applies the HasSuffix predicate on the "method" field.
func MethodIn ¶
func MethodIn(vs ...string) predicate.ProxyAuthMethod
MethodIn applies the In predicate on the "method" field.
func MethodLT ¶
func MethodLT(v string) predicate.ProxyAuthMethod
MethodLT applies the LT predicate on the "method" field.
func MethodLTE ¶
func MethodLTE(v string) predicate.ProxyAuthMethod
MethodLTE applies the LTE predicate on the "method" field.
func MethodNEQ ¶
func MethodNEQ(v string) predicate.ProxyAuthMethod
MethodNEQ applies the NEQ predicate on the "method" field.
func MethodNotIn ¶
func MethodNotIn(vs ...string) predicate.ProxyAuthMethod
MethodNotIn applies the NotIn predicate on the "method" field.
func Not ¶
func Not(p predicate.ProxyAuthMethod) predicate.ProxyAuthMethod
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProxyAuthMethod) predicate.ProxyAuthMethod
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProxyAuthMethod
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProxyAuthMethod
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProxyAuthMethod
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProxyAuthMethod
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProxyAuthMethod
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.ProxyAuthMethod
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProxyAuthMethod
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProxyAuthMethod
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProxyAuthMethod
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProxyAuthMethod
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.ProxyAuthMethod
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProxyAuthMethod queries.
func ByConfig ¶
func ByConfig(opts ...sql.OrderTermOption) OrderOption
ByConfig orders the results by the config field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMethod ¶
func ByMethod(opts ...sql.OrderTermOption) OrderOption
ByMethod orders the results by the method field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.