Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Inode) predicate.Inode
- func AttributesIsNil() predicate.Inode
- func AttributesNotNil() predicate.Inode
- func CreatedAt(v time.Time) predicate.Inode
- func CreatedAtEQ(v time.Time) predicate.Inode
- func CreatedAtGT(v time.Time) predicate.Inode
- func CreatedAtGTE(v time.Time) predicate.Inode
- func CreatedAtIn(vs ...time.Time) predicate.Inode
- func CreatedAtLT(v time.Time) predicate.Inode
- func CreatedAtLTE(v time.Time) predicate.Inode
- func CreatedAtNEQ(v time.Time) predicate.Inode
- func CreatedAtNotIn(vs ...time.Time) predicate.Inode
- func HasChildren() predicate.Inode
- func HasChildrenWith(preds ...predicate.Inode) predicate.Inode
- func HasNamespace() predicate.Inode
- func HasNamespaceWith(preds ...predicate.Namespace) predicate.Inode
- func HasParent() predicate.Inode
- func HasParentWith(preds ...predicate.Inode) predicate.Inode
- func HasWorkflow() predicate.Inode
- func HasWorkflowWith(preds ...predicate.Workflow) predicate.Inode
- func ID(id uuid.UUID) predicate.Inode
- func IDEQ(id uuid.UUID) predicate.Inode
- func IDGT(id uuid.UUID) predicate.Inode
- func IDGTE(id uuid.UUID) predicate.Inode
- func IDIn(ids ...uuid.UUID) predicate.Inode
- func IDLT(id uuid.UUID) predicate.Inode
- func IDLTE(id uuid.UUID) predicate.Inode
- func IDNEQ(id uuid.UUID) predicate.Inode
- func IDNotIn(ids ...uuid.UUID) predicate.Inode
- func Name(v string) predicate.Inode
- func NameContains(v string) predicate.Inode
- func NameContainsFold(v string) predicate.Inode
- func NameEQ(v string) predicate.Inode
- func NameEqualFold(v string) predicate.Inode
- func NameGT(v string) predicate.Inode
- func NameGTE(v string) predicate.Inode
- func NameHasPrefix(v string) predicate.Inode
- func NameHasSuffix(v string) predicate.Inode
- func NameIn(vs ...string) predicate.Inode
- func NameIsNil() predicate.Inode
- func NameLT(v string) predicate.Inode
- func NameLTE(v string) predicate.Inode
- func NameNEQ(v string) predicate.Inode
- func NameNotIn(vs ...string) predicate.Inode
- func NameNotNil() predicate.Inode
- func Not(p predicate.Inode) predicate.Inode
- func Or(predicates ...predicate.Inode) predicate.Inode
- func Type(v string) predicate.Inode
- func TypeContains(v string) predicate.Inode
- func TypeContainsFold(v string) predicate.Inode
- func TypeEQ(v string) predicate.Inode
- func TypeEqualFold(v string) predicate.Inode
- func TypeGT(v string) predicate.Inode
- func TypeGTE(v string) predicate.Inode
- func TypeHasPrefix(v string) predicate.Inode
- func TypeHasSuffix(v string) predicate.Inode
- func TypeIn(vs ...string) predicate.Inode
- func TypeLT(v string) predicate.Inode
- func TypeLTE(v string) predicate.Inode
- func TypeNEQ(v string) predicate.Inode
- func TypeNotIn(vs ...string) predicate.Inode
- func UpdatedAt(v time.Time) predicate.Inode
- func UpdatedAtEQ(v time.Time) predicate.Inode
- func UpdatedAtGT(v time.Time) predicate.Inode
- func UpdatedAtGTE(v time.Time) predicate.Inode
- func UpdatedAtIn(vs ...time.Time) predicate.Inode
- func UpdatedAtLT(v time.Time) predicate.Inode
- func UpdatedAtLTE(v time.Time) predicate.Inode
- func UpdatedAtNEQ(v time.Time) predicate.Inode
- func UpdatedAtNotIn(vs ...time.Time) predicate.Inode
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the inode type in the database. Label = "inode" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldAttributes holds the string denoting the attributes field in the database. FieldAttributes = "attributes" // EdgeNamespace holds the string denoting the namespace edge name in mutations. EdgeNamespace = "namespace" // EdgeChildren holds the string denoting the children edge name in mutations. EdgeChildren = "children" // EdgeParent holds the string denoting the parent edge name in mutations. EdgeParent = "parent" // EdgeWorkflow holds the string denoting the workflow edge name in mutations. EdgeWorkflow = "workflow" // Table holds the table name of the inode in the database. Table = "inodes" // NamespaceTable is the table that holds the namespace relation/edge. NamespaceTable = "inodes" // NamespaceInverseTable is the table name for the Namespace entity. // It exists in this package in order to avoid circular dependency with the "namespace" package. NamespaceInverseTable = "namespaces" // NamespaceColumn is the table column denoting the namespace relation/edge. NamespaceColumn = "namespace_inodes" // ChildrenTable is the table that holds the children relation/edge. ChildrenTable = "inodes" // ChildrenColumn is the table column denoting the children relation/edge. ChildrenColumn = "inode_children" // ParentTable is the table that holds the parent relation/edge. ParentTable = "inodes" // ParentColumn is the table column denoting the parent relation/edge. ParentColumn = "inode_children" // WorkflowTable is the table that holds the workflow relation/edge. WorkflowTable = "workflows" // WorkflowInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowInverseTable = "workflows" // WorkflowColumn is the table column denoting the workflow relation/edge. WorkflowColumn = "inode_workflow" )
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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldType, FieldAttributes, }
Columns holds all SQL columns for inode fields.
var ForeignKeys = []string{
"inode_children",
"namespace_inodes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "inodes" table and are not defined as standalone fields in the schema.
Functions ¶
func AttributesIsNil ¶
AttributesIsNil applies the IsNil predicate on the "attributes" field.
func AttributesNotNil ¶
AttributesNotNil applies the NotNil predicate on the "attributes" 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 HasChildren ¶
HasChildren applies the HasEdge predicate on the "children" edge.
func HasChildrenWith ¶
HasChildrenWith applies the HasEdge predicate on the "children" edge with a given conditions (other predicates).
func HasNamespace ¶
HasNamespace applies the HasEdge predicate on the "namespace" edge.
func HasNamespaceWith ¶
HasNamespaceWith applies the HasEdge predicate on the "namespace" edge with a given conditions (other predicates).
func HasParentWith ¶
HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates).
func HasWorkflow ¶
HasWorkflow applies the HasEdge predicate on the "workflow" edge.
func HasWorkflowWith ¶
HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).
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 NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" 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.