workflow

package
v0.5.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for workflow fields.

View Source
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 And

func And(predicates ...predicate.Workflow) predicate.Workflow

And groups predicates with the AND operator between them.

func HasInode

func HasInode() predicate.Workflow

HasInode applies the HasEdge predicate on the "inode" edge.

func HasInodeWith

func HasInodeWith(preds ...predicate.Inode) predicate.Workflow

HasInodeWith applies the HasEdge predicate on the "inode" edge with a given conditions (other predicates).

func HasInstances

func HasInstances() predicate.Workflow

HasInstances applies the HasEdge predicate on the "instances" edge.

func HasInstancesWith

func HasInstancesWith(preds ...predicate.Instance) predicate.Workflow

HasInstancesWith applies the HasEdge predicate on the "instances" edge with a given conditions (other predicates).

func HasLogs

func HasLogs() predicate.Workflow

HasLogs applies the HasEdge predicate on the "logs" edge.

func HasLogsWith

func HasLogsWith(preds ...predicate.LogMsg) predicate.Workflow

HasLogsWith applies the HasEdge predicate on the "logs" edge with a given conditions (other predicates).

func HasNamespace

func HasNamespace() predicate.Workflow

HasNamespace applies the HasEdge predicate on the "namespace" edge.

func HasNamespaceWith

func HasNamespaceWith(preds ...predicate.Namespace) predicate.Workflow

HasNamespaceWith applies the HasEdge predicate on the "namespace" edge with a given conditions (other predicates).

func HasRefs

func HasRefs() predicate.Workflow

HasRefs applies the HasEdge predicate on the "refs" edge.

func HasRefsWith

func HasRefsWith(preds ...predicate.Ref) predicate.Workflow

HasRefsWith applies the HasEdge predicate on the "refs" edge with a given conditions (other predicates).

func HasRevisions

func HasRevisions() predicate.Workflow

HasRevisions applies the HasEdge predicate on the "revisions" edge.

func HasRevisionsWith

func HasRevisionsWith(preds ...predicate.Revision) predicate.Workflow

HasRevisionsWith applies the HasEdge predicate on the "revisions" edge with a given conditions (other predicates).

func HasRoutes

func HasRoutes() predicate.Workflow

HasRoutes applies the HasEdge predicate on the "routes" edge.

func HasRoutesWith

func HasRoutesWith(preds ...predicate.Route) predicate.Workflow

HasRoutesWith applies the HasEdge predicate on the "routes" edge with a given conditions (other predicates).

func HasVars

func HasVars() predicate.Workflow

HasVars applies the HasEdge predicate on the "vars" edge.

func HasVarsWith

func HasVarsWith(preds ...predicate.VarRef) predicate.Workflow

HasVarsWith applies the HasEdge predicate on the "vars" edge with a given conditions (other predicates).

func HasWfevents

func HasWfevents() predicate.Workflow

HasWfevents applies the HasEdge predicate on the "wfevents" edge.

func HasWfeventsWith

func HasWfeventsWith(preds ...predicate.Events) predicate.Workflow

HasWfeventsWith applies the HasEdge predicate on the "wfevents" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Workflow

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Workflow

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Workflow

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Workflow

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Workflow

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Workflow

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Workflow

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Workflow

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Workflow

IDNotIn applies the NotIn predicate on the ID field.

func Live

func Live(v bool) predicate.Workflow

Live applies equality check predicate on the "live" field. It's identical to LiveEQ.

func LiveEQ

func LiveEQ(v bool) predicate.Workflow

LiveEQ applies the EQ predicate on the "live" field.

func LiveNEQ

func LiveNEQ(v bool) predicate.Workflow

LiveNEQ applies the NEQ predicate on the "live" field.

func LogToEvents

func LogToEvents(v string) predicate.Workflow

LogToEvents applies equality check predicate on the "logToEvents" field. It's identical to LogToEventsEQ.

func LogToEventsContains

func LogToEventsContains(v string) predicate.Workflow

LogToEventsContains applies the Contains predicate on the "logToEvents" field.

func LogToEventsContainsFold

func LogToEventsContainsFold(v string) predicate.Workflow

LogToEventsContainsFold applies the ContainsFold predicate on the "logToEvents" field.

func LogToEventsEQ

func LogToEventsEQ(v string) predicate.Workflow

LogToEventsEQ applies the EQ predicate on the "logToEvents" field.

func LogToEventsEqualFold

func LogToEventsEqualFold(v string) predicate.Workflow

LogToEventsEqualFold applies the EqualFold predicate on the "logToEvents" field.

func LogToEventsGT

func LogToEventsGT(v string) predicate.Workflow

LogToEventsGT applies the GT predicate on the "logToEvents" field.

func LogToEventsGTE

func LogToEventsGTE(v string) predicate.Workflow

LogToEventsGTE applies the GTE predicate on the "logToEvents" field.

func LogToEventsHasPrefix

func LogToEventsHasPrefix(v string) predicate.Workflow

LogToEventsHasPrefix applies the HasPrefix predicate on the "logToEvents" field.

func LogToEventsHasSuffix

func LogToEventsHasSuffix(v string) predicate.Workflow

LogToEventsHasSuffix applies the HasSuffix predicate on the "logToEvents" field.

func LogToEventsIn

func LogToEventsIn(vs ...string) predicate.Workflow

LogToEventsIn applies the In predicate on the "logToEvents" field.

func LogToEventsIsNil

func LogToEventsIsNil() predicate.Workflow

LogToEventsIsNil applies the IsNil predicate on the "logToEvents" field.

func LogToEventsLT

func LogToEventsLT(v string) predicate.Workflow

LogToEventsLT applies the LT predicate on the "logToEvents" field.

func LogToEventsLTE

func LogToEventsLTE(v string) predicate.Workflow

LogToEventsLTE applies the LTE predicate on the "logToEvents" field.

func LogToEventsNEQ

func LogToEventsNEQ(v string) predicate.Workflow

LogToEventsNEQ applies the NEQ predicate on the "logToEvents" field.

func LogToEventsNotIn

func LogToEventsNotIn(vs ...string) predicate.Workflow

LogToEventsNotIn applies the NotIn predicate on the "logToEvents" field.

func LogToEventsNotNil

func LogToEventsNotNil() predicate.Workflow

LogToEventsNotNil applies the NotNil predicate on the "logToEvents" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Workflow) predicate.Workflow

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL