Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.VmObject) predicate.VmObject
- func HasVmObjectToTeam() predicate.VmObject
- func HasVmObjectToTeamWith(preds ...predicate.Team) predicate.VmObject
- func ID(id uuid.UUID) predicate.VmObject
- func IDEQ(id uuid.UUID) predicate.VmObject
- func IDGT(id uuid.UUID) predicate.VmObject
- func IDGTE(id uuid.UUID) predicate.VmObject
- func IDIn(ids ...uuid.UUID) predicate.VmObject
- func IDLT(id uuid.UUID) predicate.VmObject
- func IDLTE(id uuid.UUID) predicate.VmObject
- func IDNEQ(id uuid.UUID) predicate.VmObject
- func IDNotIn(ids ...uuid.UUID) predicate.VmObject
- func IPAddressesIsNil() predicate.VmObject
- func IPAddressesNotNil() predicate.VmObject
- func Identifier(v string) predicate.VmObject
- func IdentifierContains(v string) predicate.VmObject
- func IdentifierContainsFold(v string) predicate.VmObject
- func IdentifierEQ(v string) predicate.VmObject
- func IdentifierEqualFold(v string) predicate.VmObject
- func IdentifierGT(v string) predicate.VmObject
- func IdentifierGTE(v string) predicate.VmObject
- func IdentifierHasPrefix(v string) predicate.VmObject
- func IdentifierHasSuffix(v string) predicate.VmObject
- func IdentifierIn(vs ...string) predicate.VmObject
- func IdentifierLT(v string) predicate.VmObject
- func IdentifierLTE(v string) predicate.VmObject
- func IdentifierNEQ(v string) predicate.VmObject
- func IdentifierNotIn(vs ...string) predicate.VmObject
- func Locked(v bool) predicate.VmObject
- func LockedEQ(v bool) predicate.VmObject
- func LockedNEQ(v bool) predicate.VmObject
- func Name(v string) predicate.VmObject
- func NameContains(v string) predicate.VmObject
- func NameContainsFold(v string) predicate.VmObject
- func NameEQ(v string) predicate.VmObject
- func NameEqualFold(v string) predicate.VmObject
- func NameGT(v string) predicate.VmObject
- func NameGTE(v string) predicate.VmObject
- func NameHasPrefix(v string) predicate.VmObject
- func NameHasSuffix(v string) predicate.VmObject
- func NameIn(vs ...string) predicate.VmObject
- func NameLT(v string) predicate.VmObject
- func NameLTE(v string) predicate.VmObject
- func NameNEQ(v string) predicate.VmObject
- func NameNotIn(vs ...string) predicate.VmObject
- func Not(p predicate.VmObject) predicate.VmObject
- func Or(predicates ...predicate.VmObject) predicate.VmObject
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the vmobject type in the database. Label = "vm_object" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldIdentifier holds the string denoting the identifier field in the database. FieldIdentifier = "identifier" // FieldIPAddresses holds the string denoting the ip_addresses field in the database. FieldIPAddresses = "ip_addresses" // FieldLocked holds the string denoting the locked field in the database. FieldLocked = "locked" // EdgeVmObjectToTeam holds the string denoting the vmobjecttoteam edge name in mutations. EdgeVmObjectToTeam = "VmObjectToTeam" // Table holds the table name of the vmobject in the database. Table = "vm_objects" // VmObjectToTeamTable is the table that holds the VmObjectToTeam relation/edge. VmObjectToTeamTable = "vm_objects" // VmObjectToTeamInverseTable is the table name for the Team entity. // It exists in this package in order to avoid circular dependency with the "team" package. VmObjectToTeamInverseTable = "teams" // VmObjectToTeamColumn is the table column denoting the VmObjectToTeam relation/edge. VmObjectToTeamColumn = "team_team_to_vm_objects" )
Variables ¶
var ( // DefaultLocked holds the default value on creation for the "locked" field. DefaultLocked bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldIdentifier, FieldIPAddresses, FieldLocked, }
Columns holds all SQL columns for vmobject fields.
var ForeignKeys = []string{
"team_team_to_vm_objects",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "vm_objects" table and are not defined as standalone fields in the schema.
Functions ¶
func HasVmObjectToTeam ¶
HasVmObjectToTeam applies the HasEdge predicate on the "VmObjectToTeam" edge.
func HasVmObjectToTeamWith ¶
HasVmObjectToTeamWith applies the HasEdge predicate on the "VmObjectToTeam" edge with a given conditions (other predicates).
func IPAddressesIsNil ¶
IPAddressesIsNil applies the IsNil predicate on the "ip_addresses" field.
func IPAddressesNotNil ¶
IPAddressesNotNil applies the NotNil predicate on the "ip_addresses" field.
func Identifier ¶
Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func IdentifierContains ¶
IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContainsFold ¶
IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierEQ ¶
IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEqualFold ¶
IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierGT ¶
IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGTE ¶
IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierHasPrefix ¶
IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasSuffix ¶
IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierIn ¶
IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierLT ¶
IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLTE ¶
IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierNEQ ¶
IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNotIn ¶
IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func Locked ¶
Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.
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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.