Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Container) predicate.Container
- func ClusterId(v uint) predicate.Container
- func ClusterIdEQ(v uint) predicate.Container
- func ClusterIdGT(v uint) predicate.Container
- func ClusterIdGTE(v uint) predicate.Container
- func ClusterIdIn(vs ...uint) predicate.Container
- func ClusterIdLT(v uint) predicate.Container
- func ClusterIdLTE(v uint) predicate.Container
- func ClusterIdNEQ(v uint) predicate.Container
- func ClusterIdNotIn(vs ...uint) predicate.Container
- func ContainerId(v string) predicate.Container
- func ContainerIdContains(v string) predicate.Container
- func ContainerIdContainsFold(v string) predicate.Container
- func ContainerIdEQ(v string) predicate.Container
- func ContainerIdEqualFold(v string) predicate.Container
- func ContainerIdGT(v string) predicate.Container
- func ContainerIdGTE(v string) predicate.Container
- func ContainerIdHasPrefix(v string) predicate.Container
- func ContainerIdHasSuffix(v string) predicate.Container
- func ContainerIdIn(vs ...string) predicate.Container
- func ContainerIdLT(v string) predicate.Container
- func ContainerIdLTE(v string) predicate.Container
- func ContainerIdNEQ(v string) predicate.Container
- func ContainerIdNotIn(vs ...string) predicate.Container
- func CreatedAt(v time.Time) predicate.Container
- func CreatedAtEQ(v time.Time) predicate.Container
- func CreatedAtGT(v time.Time) predicate.Container
- func CreatedAtGTE(v time.Time) predicate.Container
- func CreatedAtIn(vs ...time.Time) predicate.Container
- func CreatedAtLT(v time.Time) predicate.Container
- func CreatedAtLTE(v time.Time) predicate.Container
- func CreatedAtNEQ(v time.Time) predicate.Container
- func CreatedAtNotIn(vs ...time.Time) predicate.Container
- func DeletedAt(v time.Time) predicate.Container
- func DeletedAtEQ(v time.Time) predicate.Container
- func DeletedAtGT(v time.Time) predicate.Container
- func DeletedAtGTE(v time.Time) predicate.Container
- func DeletedAtIn(vs ...time.Time) predicate.Container
- func DeletedAtLT(v time.Time) predicate.Container
- func DeletedAtLTE(v time.Time) predicate.Container
- func DeletedAtNEQ(v time.Time) predicate.Container
- func DeletedAtNotIn(vs ...time.Time) predicate.Container
- func HasOwner() predicate.Container
- func HasOwnerWith(preds ...predicate.Node) predicate.Container
- func HasProcess() predicate.Container
- func HasProcessWith(preds ...predicate.Proces) predicate.Container
- func ID(id uint) predicate.Container
- func IDEQ(id uint) predicate.Container
- func IDGT(id uint) predicate.Container
- func IDGTE(id uint) predicate.Container
- func IDIn(ids ...uint) predicate.Container
- func IDLT(id uint) predicate.Container
- func IDLTE(id uint) predicate.Container
- func IDNEQ(id uint) predicate.Container
- func IDNotIn(ids ...uint) predicate.Container
- func Image(v string) predicate.Container
- func ImageContains(v string) predicate.Container
- func ImageContainsFold(v string) predicate.Container
- func ImageEQ(v string) predicate.Container
- func ImageEqualFold(v string) predicate.Container
- func ImageGT(v string) predicate.Container
- func ImageGTE(v string) predicate.Container
- func ImageHasPrefix(v string) predicate.Container
- func ImageHasSuffix(v string) predicate.Container
- func ImageIn(vs ...string) predicate.Container
- func ImageLT(v string) predicate.Container
- func ImageLTE(v string) predicate.Container
- func ImageNEQ(v string) predicate.Container
- func ImageNotIn(vs ...string) predicate.Container
- func Name(v string) predicate.Container
- func NameContains(v string) predicate.Container
- func NameContainsFold(v string) predicate.Container
- func NameEQ(v string) predicate.Container
- func NameEqualFold(v string) predicate.Container
- func NameGT(v string) predicate.Container
- func NameGTE(v string) predicate.Container
- func NameHasPrefix(v string) predicate.Container
- func NameHasSuffix(v string) predicate.Container
- func NameIn(vs ...string) predicate.Container
- func NameLT(v string) predicate.Container
- func NameLTE(v string) predicate.Container
- func NameNEQ(v string) predicate.Container
- func NameNotIn(vs ...string) predicate.Container
- func NodeId(v uint) predicate.Container
- func NodeIdEQ(v uint) predicate.Container
- func NodeIdGT(v uint) predicate.Container
- func NodeIdGTE(v uint) predicate.Container
- func NodeIdIn(vs ...uint) predicate.Container
- func NodeIdLT(v uint) predicate.Container
- func NodeIdLTE(v uint) predicate.Container
- func NodeIdNEQ(v uint) predicate.Container
- func NodeIdNotIn(vs ...uint) predicate.Container
- func Not(p predicate.Container) predicate.Container
- func Or(predicates ...predicate.Container) predicate.Container
- func Type(v string) predicate.Container
- func TypeContains(v string) predicate.Container
- func TypeContainsFold(v string) predicate.Container
- func TypeEQ(v string) predicate.Container
- func TypeEqualFold(v string) predicate.Container
- func TypeGT(v string) predicate.Container
- func TypeGTE(v string) predicate.Container
- func TypeHasPrefix(v string) predicate.Container
- func TypeHasSuffix(v string) predicate.Container
- func TypeIn(vs ...string) predicate.Container
- func TypeLT(v string) predicate.Container
- func TypeLTE(v string) predicate.Container
- func TypeNEQ(v string) predicate.Container
- func TypeNotIn(vs ...string) predicate.Container
- func UpdatedAt(v time.Time) predicate.Container
- func UpdatedAtEQ(v time.Time) predicate.Container
- func UpdatedAtGT(v time.Time) predicate.Container
- func UpdatedAtGTE(v time.Time) predicate.Container
- func UpdatedAtIn(vs ...time.Time) predicate.Container
- func UpdatedAtLT(v time.Time) predicate.Container
- func UpdatedAtLTE(v time.Time) predicate.Container
- func UpdatedAtNEQ(v time.Time) predicate.Container
- func UpdatedAtNotIn(vs ...time.Time) predicate.Container
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the container type in the database. Label = "container" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldContainerId holds the string denoting the containerid field in the database. FieldContainerId = "container_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldImage holds the string denoting the image field in the database. FieldImage = "image" // FieldInfo holds the string denoting the info field in the database. FieldInfo = "info" // FieldClusterId holds the string denoting the clusterid field in the database. FieldClusterId = "cluster_id" // FieldNodeId holds the string denoting the nodeid field in the database. FieldNodeId = "node_id" // EdgeProcess holds the string denoting the process edge name in mutations. EdgeProcess = "process" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the container in the database. Table = "containers" // ProcessTable is the table that holds the process relation/edge. ProcessTable = "process" // ProcessInverseTable is the table name for the Proces entity. // It exists in this package in order to avoid circular dependency with the "proces" package. ProcessInverseTable = "process" // ProcessColumn is the table column denoting the process relation/edge. ProcessColumn = "container_process" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "containers" // OwnerInverseTable is the table name for the Node entity. // It exists in this package in order to avoid circular dependency with the "node" package. OwnerInverseTable = "nodes" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "node_containers" )
Variables ¶
var ( // 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 // DefaultDeletedAt holds the default value on creation for the "deleted_at" field. DefaultDeletedAt func() time.Time // UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field. UpdateDefaultDeletedAt func() time.Time // ContainerIdValidator is a validator for the "containerId" field. It is called by the builders before save. ContainerIdValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // ImageValidator is a validator for the "image" field. It is called by the builders before save. ImageValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldType, FieldContainerId, FieldName, FieldImage, FieldInfo, FieldClusterId, FieldNodeId, }
Columns holds all SQL columns for container fields.
var ForeignKeys = []string{
"node_containers",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "containers" table and are not defined as standalone fields in the schema.
Functions ¶
func ClusterId ¶
ClusterId applies equality check predicate on the "clusterId" field. It's identical to ClusterIdEQ.
func ClusterIdEQ ¶
ClusterIdEQ applies the EQ predicate on the "clusterId" field.
func ClusterIdGT ¶
ClusterIdGT applies the GT predicate on the "clusterId" field.
func ClusterIdGTE ¶
ClusterIdGTE applies the GTE predicate on the "clusterId" field.
func ClusterIdIn ¶
ClusterIdIn applies the In predicate on the "clusterId" field.
func ClusterIdLT ¶
ClusterIdLT applies the LT predicate on the "clusterId" field.
func ClusterIdLTE ¶
ClusterIdLTE applies the LTE predicate on the "clusterId" field.
func ClusterIdNEQ ¶
ClusterIdNEQ applies the NEQ predicate on the "clusterId" field.
func ClusterIdNotIn ¶
ClusterIdNotIn applies the NotIn predicate on the "clusterId" field.
func ContainerId ¶
ContainerId applies equality check predicate on the "containerId" field. It's identical to ContainerIdEQ.
func ContainerIdContains ¶
ContainerIdContains applies the Contains predicate on the "containerId" field.
func ContainerIdContainsFold ¶
ContainerIdContainsFold applies the ContainsFold predicate on the "containerId" field.
func ContainerIdEQ ¶
ContainerIdEQ applies the EQ predicate on the "containerId" field.
func ContainerIdEqualFold ¶
ContainerIdEqualFold applies the EqualFold predicate on the "containerId" field.
func ContainerIdGT ¶
ContainerIdGT applies the GT predicate on the "containerId" field.
func ContainerIdGTE ¶
ContainerIdGTE applies the GTE predicate on the "containerId" field.
func ContainerIdHasPrefix ¶
ContainerIdHasPrefix applies the HasPrefix predicate on the "containerId" field.
func ContainerIdHasSuffix ¶
ContainerIdHasSuffix applies the HasSuffix predicate on the "containerId" field.
func ContainerIdIn ¶
ContainerIdIn applies the In predicate on the "containerId" field.
func ContainerIdLT ¶
ContainerIdLT applies the LT predicate on the "containerId" field.
func ContainerIdLTE ¶
ContainerIdLTE applies the LTE predicate on the "containerId" field.
func ContainerIdNEQ ¶
ContainerIdNEQ applies the NEQ predicate on the "containerId" field.
func ContainerIdNotIn ¶
ContainerIdNotIn applies the NotIn predicate on the "containerId" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasProcess ¶
HasProcess applies the HasEdge predicate on the "process" edge.
func HasProcessWith ¶
HasProcessWith applies the HasEdge predicate on the "process" edge with a given conditions (other predicates).
func Image ¶
Image applies equality check predicate on the "image" field. It's identical to ImageEQ.
func ImageContains ¶
ImageContains applies the Contains predicate on the "image" field.
func ImageContainsFold ¶
ImageContainsFold applies the ContainsFold predicate on the "image" field.
func ImageEqualFold ¶
ImageEqualFold applies the EqualFold predicate on the "image" field.
func ImageHasPrefix ¶
ImageHasPrefix applies the HasPrefix predicate on the "image" field.
func ImageHasSuffix ¶
ImageHasSuffix applies the HasSuffix predicate on the "image" field.
func ImageNotIn ¶
ImageNotIn applies the NotIn predicate on the "image" 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 NodeId ¶
NodeId applies equality check predicate on the "nodeId" field. It's identical to NodeIdEQ.
func NodeIdNotIn ¶
NodeIdNotIn applies the NotIn predicate on the "nodeId" 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 UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.