Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Workflow) predicate.Workflow
- func HasInode() predicate.Workflow
- func HasInodeWith(preds ...predicate.Inode) predicate.Workflow
- func HasInstances() predicate.Workflow
- func HasInstancesWith(preds ...predicate.Instance) predicate.Workflow
- func HasLogs() predicate.Workflow
- func HasLogsWith(preds ...predicate.LogMsg) predicate.Workflow
- func HasNamespace() predicate.Workflow
- func HasNamespaceWith(preds ...predicate.Namespace) predicate.Workflow
- func HasRefs() predicate.Workflow
- func HasRefsWith(preds ...predicate.Ref) predicate.Workflow
- func HasRevisions() predicate.Workflow
- func HasRevisionsWith(preds ...predicate.Revision) predicate.Workflow
- func HasRoutes() predicate.Workflow
- func HasRoutesWith(preds ...predicate.Route) predicate.Workflow
- func HasVars() predicate.Workflow
- func HasVarsWith(preds ...predicate.VarRef) predicate.Workflow
- func HasWfevents() predicate.Workflow
- func HasWfeventsWith(preds ...predicate.Events) predicate.Workflow
- func ID(id uuid.UUID) predicate.Workflow
- func IDEQ(id uuid.UUID) predicate.Workflow
- func IDGT(id uuid.UUID) predicate.Workflow
- func IDGTE(id uuid.UUID) predicate.Workflow
- func IDIn(ids ...uuid.UUID) predicate.Workflow
- func IDLT(id uuid.UUID) predicate.Workflow
- func IDLTE(id uuid.UUID) predicate.Workflow
- func IDNEQ(id uuid.UUID) predicate.Workflow
- func IDNotIn(ids ...uuid.UUID) predicate.Workflow
- func Live(v bool) predicate.Workflow
- func LiveEQ(v bool) predicate.Workflow
- func LiveNEQ(v bool) predicate.Workflow
- func LogToEvents(v string) predicate.Workflow
- func LogToEventsContains(v string) predicate.Workflow
- func LogToEventsContainsFold(v string) predicate.Workflow
- func LogToEventsEQ(v string) predicate.Workflow
- func LogToEventsEqualFold(v string) predicate.Workflow
- func LogToEventsGT(v string) predicate.Workflow
- func LogToEventsGTE(v string) predicate.Workflow
- func LogToEventsHasPrefix(v string) predicate.Workflow
- func LogToEventsHasSuffix(v string) predicate.Workflow
- func LogToEventsIn(vs ...string) predicate.Workflow
- func LogToEventsIsNil() predicate.Workflow
- func LogToEventsLT(v string) predicate.Workflow
- func LogToEventsLTE(v string) predicate.Workflow
- func LogToEventsNEQ(v string) predicate.Workflow
- func LogToEventsNotIn(vs ...string) predicate.Workflow
- func LogToEventsNotNil() predicate.Workflow
- func Not(p predicate.Workflow) predicate.Workflow
- func Or(predicates ...predicate.Workflow) predicate.Workflow
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the workflow type in the database. Label = "workflow" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldLive holds the string denoting the live field in the database. FieldLive = "live" // FieldLogToEvents holds the string denoting the logtoevents field in the database. FieldLogToEvents = "log_to_events" // EdgeInode holds the string denoting the inode edge name in mutations. EdgeInode = "inode" // EdgeNamespace holds the string denoting the namespace edge name in mutations. EdgeNamespace = "namespace" // EdgeRevisions holds the string denoting the revisions edge name in mutations. EdgeRevisions = "revisions" // EdgeRefs holds the string denoting the refs edge name in mutations. EdgeRefs = "refs" // EdgeInstances holds the string denoting the instances edge name in mutations. EdgeInstances = "instances" // EdgeRoutes holds the string denoting the routes edge name in mutations. EdgeRoutes = "routes" // EdgeLogs holds the string denoting the logs edge name in mutations. EdgeLogs = "logs" // EdgeVars holds the string denoting the vars edge name in mutations. EdgeVars = "vars" // EdgeWfevents holds the string denoting the wfevents edge name in mutations. EdgeWfevents = "wfevents" // Table holds the table name of the workflow in the database. Table = "workflows" // InodeTable is the table that holds the inode relation/edge. InodeTable = "workflows" // InodeInverseTable is the table name for the Inode entity. // It exists in this package in order to avoid circular dependency with the "inode" package. InodeInverseTable = "inodes" // InodeColumn is the table column denoting the inode relation/edge. InodeColumn = "inode_workflow" // NamespaceTable is the table that holds the namespace relation/edge. NamespaceTable = "workflows" // 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_workflows" // RevisionsTable is the table that holds the revisions relation/edge. RevisionsTable = "revisions" // RevisionsInverseTable is the table name for the Revision entity. // It exists in this package in order to avoid circular dependency with the "revision" package. RevisionsInverseTable = "revisions" // RevisionsColumn is the table column denoting the revisions relation/edge. RevisionsColumn = "workflow_revisions" // RefsTable is the table that holds the refs relation/edge. RefsTable = "refs" // RefsInverseTable is the table name for the Ref entity. // It exists in this package in order to avoid circular dependency with the "ref" package. RefsInverseTable = "refs" // RefsColumn is the table column denoting the refs relation/edge. RefsColumn = "workflow_refs" // InstancesTable is the table that holds the instances relation/edge. InstancesTable = "instances" // InstancesInverseTable is the table name for the Instance entity. // It exists in this package in order to avoid circular dependency with the "instance" package. InstancesInverseTable = "instances" // InstancesColumn is the table column denoting the instances relation/edge. InstancesColumn = "workflow_instances" // RoutesTable is the table that holds the routes relation/edge. RoutesTable = "routes" // RoutesInverseTable is the table name for the Route entity. // It exists in this package in order to avoid circular dependency with the "route" package. RoutesInverseTable = "routes" // RoutesColumn is the table column denoting the routes relation/edge. RoutesColumn = "workflow_routes" // LogsTable is the table that holds the logs relation/edge. LogsTable = "log_msgs" // LogsInverseTable is the table name for the LogMsg entity. // It exists in this package in order to avoid circular dependency with the "logmsg" package. LogsInverseTable = "log_msgs" // LogsColumn is the table column denoting the logs relation/edge. LogsColumn = "workflow_logs" // VarsTable is the table that holds the vars relation/edge. VarsTable = "var_refs" // VarsInverseTable is the table name for the VarRef entity. // It exists in this package in order to avoid circular dependency with the "varref" package. VarsInverseTable = "var_refs" // VarsColumn is the table column denoting the vars relation/edge. VarsColumn = "workflow_vars" // WfeventsTable is the table that holds the wfevents relation/edge. WfeventsTable = "events" // WfeventsInverseTable is the table name for the Events entity. // It exists in this package in order to avoid circular dependency with the "events" package. WfeventsInverseTable = "events" // WfeventsColumn is the table column denoting the wfevents relation/edge. WfeventsColumn = "workflow_wfevents" )
Variables ¶
var ( // DefaultLive holds the default value on creation for the "live" field. DefaultLive bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldLive, FieldLogToEvents, }
Columns holds all SQL columns for workflow fields.
var ForeignKeys = []string{
"inode_workflow",
"namespace_workflows",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "workflows" table and are not defined as standalone fields in the schema.
Functions ¶
func HasInodeWith ¶
HasInodeWith applies the HasEdge predicate on the "inode" edge with a given conditions (other predicates).
func HasInstances ¶
HasInstances applies the HasEdge predicate on the "instances" edge.
func HasInstancesWith ¶
HasInstancesWith applies the HasEdge predicate on the "instances" edge with a given conditions (other predicates).
func HasLogsWith ¶
HasLogsWith applies the HasEdge predicate on the "logs" 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 HasRefsWith ¶
HasRefsWith applies the HasEdge predicate on the "refs" edge with a given conditions (other predicates).
func HasRevisions ¶
HasRevisions applies the HasEdge predicate on the "revisions" edge.
func HasRevisionsWith ¶
HasRevisionsWith applies the HasEdge predicate on the "revisions" edge with a given conditions (other predicates).
func HasRoutesWith ¶
HasRoutesWith applies the HasEdge predicate on the "routes" edge with a given conditions (other predicates).
func HasVarsWith ¶
HasVarsWith applies the HasEdge predicate on the "vars" edge with a given conditions (other predicates).
func HasWfevents ¶
HasWfevents applies the HasEdge predicate on the "wfevents" edge.
func HasWfeventsWith ¶
HasWfeventsWith applies the HasEdge predicate on the "wfevents" edge with a given conditions (other predicates).
func LogToEvents ¶
LogToEvents applies equality check predicate on the "logToEvents" field. It's identical to LogToEventsEQ.
func LogToEventsContains ¶
LogToEventsContains applies the Contains predicate on the "logToEvents" field.
func LogToEventsContainsFold ¶
LogToEventsContainsFold applies the ContainsFold predicate on the "logToEvents" field.
func LogToEventsEQ ¶
LogToEventsEQ applies the EQ predicate on the "logToEvents" field.
func LogToEventsEqualFold ¶
LogToEventsEqualFold applies the EqualFold predicate on the "logToEvents" field.
func LogToEventsGT ¶
LogToEventsGT applies the GT predicate on the "logToEvents" field.
func LogToEventsGTE ¶
LogToEventsGTE applies the GTE predicate on the "logToEvents" field.
func LogToEventsHasPrefix ¶
LogToEventsHasPrefix applies the HasPrefix predicate on the "logToEvents" field.
func LogToEventsHasSuffix ¶
LogToEventsHasSuffix applies the HasSuffix predicate on the "logToEvents" field.
func LogToEventsIn ¶
LogToEventsIn applies the In predicate on the "logToEvents" field.
func LogToEventsIsNil ¶
LogToEventsIsNil applies the IsNil predicate on the "logToEvents" field.
func LogToEventsLT ¶
LogToEventsLT applies the LT predicate on the "logToEvents" field.
func LogToEventsLTE ¶
LogToEventsLTE applies the LTE predicate on the "logToEvents" field.
func LogToEventsNEQ ¶
LogToEventsNEQ applies the NEQ predicate on the "logToEvents" field.
func LogToEventsNotIn ¶
LogToEventsNotIn applies the NotIn predicate on the "logToEvents" field.
func LogToEventsNotNil ¶
LogToEventsNotNil applies the NotNil predicate on the "logToEvents" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.