Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Connector) predicate.Connector
- func Config(v []byte) predicate.Connector
- func ConfigEQ(v []byte) predicate.Connector
- func ConfigGT(v []byte) predicate.Connector
- func ConfigGTE(v []byte) predicate.Connector
- func ConfigIn(vs ...[]byte) predicate.Connector
- func ConfigLT(v []byte) predicate.Connector
- func ConfigLTE(v []byte) predicate.Connector
- func ConfigNEQ(v []byte) predicate.Connector
- func ConfigNotIn(vs ...[]byte) predicate.Connector
- func ID(id string) predicate.Connector
- func IDEQ(id string) predicate.Connector
- func IDGT(id string) predicate.Connector
- func IDGTE(id string) predicate.Connector
- func IDIn(ids ...string) predicate.Connector
- func IDLT(id string) predicate.Connector
- func IDLTE(id string) predicate.Connector
- func IDNEQ(id string) predicate.Connector
- func IDNotIn(ids ...string) predicate.Connector
- func Name(v string) predicate.Connector
- func NameContains(v string) predicate.Connector
- func NameContainsFold(v string) predicate.Connector
- func NameEQ(v string) predicate.Connector
- func NameEqualFold(v string) predicate.Connector
- func NameGT(v string) predicate.Connector
- func NameGTE(v string) predicate.Connector
- func NameHasPrefix(v string) predicate.Connector
- func NameHasSuffix(v string) predicate.Connector
- func NameIn(vs ...string) predicate.Connector
- func NameLT(v string) predicate.Connector
- func NameLTE(v string) predicate.Connector
- func NameNEQ(v string) predicate.Connector
- func NameNotIn(vs ...string) predicate.Connector
- func Not(p predicate.Connector) predicate.Connector
- func Or(predicates ...predicate.Connector) predicate.Connector
- func ResourceVersion(v string) predicate.Connector
- func ResourceVersionContains(v string) predicate.Connector
- func ResourceVersionContainsFold(v string) predicate.Connector
- func ResourceVersionEQ(v string) predicate.Connector
- func ResourceVersionEqualFold(v string) predicate.Connector
- func ResourceVersionGT(v string) predicate.Connector
- func ResourceVersionGTE(v string) predicate.Connector
- func ResourceVersionHasPrefix(v string) predicate.Connector
- func ResourceVersionHasSuffix(v string) predicate.Connector
- func ResourceVersionIn(vs ...string) predicate.Connector
- func ResourceVersionLT(v string) predicate.Connector
- func ResourceVersionLTE(v string) predicate.Connector
- func ResourceVersionNEQ(v string) predicate.Connector
- func ResourceVersionNotIn(vs ...string) predicate.Connector
- func Type(v string) predicate.Connector
- func TypeContains(v string) predicate.Connector
- func TypeContainsFold(v string) predicate.Connector
- func TypeEQ(v string) predicate.Connector
- func TypeEqualFold(v string) predicate.Connector
- func TypeGT(v string) predicate.Connector
- func TypeGTE(v string) predicate.Connector
- func TypeHasPrefix(v string) predicate.Connector
- func TypeHasSuffix(v string) predicate.Connector
- func TypeIn(vs ...string) predicate.Connector
- func TypeLT(v string) predicate.Connector
- func TypeLTE(v string) predicate.Connector
- func TypeNEQ(v string) predicate.Connector
- func TypeNotIn(vs ...string) predicate.Connector
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the connector type in the database. Label = "connector" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldResourceVersion holds the string denoting the resource_version field in the database. FieldResourceVersion = "resource_version" // FieldConfig holds the string denoting the config field in the database. FieldConfig = "config" // Table holds the table name of the connector in the database. Table = "connectors" )
Variables ¶
var ( // TypeValidator is a validator for the "type" field. It is called by the builders before save. TypeValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldType, FieldName, FieldResourceVersion, FieldConfig, }
Columns holds all SQL columns for connector fields.
Functions ¶
func Config ¶
Config applies equality check predicate on the "config" field. It's identical to ConfigEQ.
func ConfigNotIn ¶
ConfigNotIn applies the NotIn predicate on the "config" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func ResourceVersion ¶
ResourceVersion applies equality check predicate on the "resource_version" field. It's identical to ResourceVersionEQ.
func ResourceVersionContains ¶
ResourceVersionContains applies the Contains predicate on the "resource_version" field.
func ResourceVersionContainsFold ¶
ResourceVersionContainsFold applies the ContainsFold predicate on the "resource_version" field.
func ResourceVersionEQ ¶
ResourceVersionEQ applies the EQ predicate on the "resource_version" field.
func ResourceVersionEqualFold ¶
ResourceVersionEqualFold applies the EqualFold predicate on the "resource_version" field.
func ResourceVersionGT ¶
ResourceVersionGT applies the GT predicate on the "resource_version" field.
func ResourceVersionGTE ¶
ResourceVersionGTE applies the GTE predicate on the "resource_version" field.
func ResourceVersionHasPrefix ¶
ResourceVersionHasPrefix applies the HasPrefix predicate on the "resource_version" field.
func ResourceVersionHasSuffix ¶
ResourceVersionHasSuffix applies the HasSuffix predicate on the "resource_version" field.
func ResourceVersionIn ¶
ResourceVersionIn applies the In predicate on the "resource_version" field.
func ResourceVersionLT ¶
ResourceVersionLT applies the LT predicate on the "resource_version" field.
func ResourceVersionLTE ¶
ResourceVersionLTE applies the LTE predicate on the "resource_version" field.
func ResourceVersionNEQ ¶
ResourceVersionNEQ applies the NEQ predicate on the "resource_version" field.
func ResourceVersionNotIn ¶
ResourceVersionNotIn applies the NotIn predicate on the "resource_version" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.