Documentation ¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Workflow
- func ActiveEQ(v bool) predicate.Workflow
- func ActiveNEQ(v bool) predicate.Workflow
- func And(predicates ...predicate.Workflow) predicate.Workflow
- func Created(v time.Time) predicate.Workflow
- func CreatedEQ(v time.Time) predicate.Workflow
- func CreatedGT(v time.Time) predicate.Workflow
- func CreatedGTE(v time.Time) predicate.Workflow
- func CreatedIn(vs ...time.Time) predicate.Workflow
- func CreatedLT(v time.Time) predicate.Workflow
- func CreatedLTE(v time.Time) predicate.Workflow
- func CreatedNEQ(v time.Time) predicate.Workflow
- func CreatedNotIn(vs ...time.Time) predicate.Workflow
- func Description(v string) predicate.Workflow
- func DescriptionContains(v string) predicate.Workflow
- func DescriptionContainsFold(v string) predicate.Workflow
- func DescriptionEQ(v string) predicate.Workflow
- func DescriptionEqualFold(v string) predicate.Workflow
- func DescriptionGT(v string) predicate.Workflow
- func DescriptionGTE(v string) predicate.Workflow
- func DescriptionHasPrefix(v string) predicate.Workflow
- func DescriptionHasSuffix(v string) predicate.Workflow
- func DescriptionIn(vs ...string) predicate.Workflow
- func DescriptionIsNil() predicate.Workflow
- func DescriptionLT(v string) predicate.Workflow
- func DescriptionLTE(v string) predicate.Workflow
- func DescriptionNEQ(v string) predicate.Workflow
- func DescriptionNotIn(vs ...string) predicate.Workflow
- func DescriptionNotNil() predicate.Workflow
- func HasInstances() predicate.Workflow
- func HasInstancesWith(preds ...predicate.WorkflowInstance) predicate.Workflow
- func HasNamespace() predicate.Workflow
- func HasNamespaceWith(preds ...predicate.Namespace) predicate.Workflow
- func HasWfevents() predicate.Workflow
- func HasWfeventsWith(preds ...predicate.WorkflowEvents) 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 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 Name(v string) predicate.Workflow
- func NameContains(v string) predicate.Workflow
- func NameContainsFold(v string) predicate.Workflow
- func NameEQ(v string) predicate.Workflow
- func NameEqualFold(v string) predicate.Workflow
- func NameGT(v string) predicate.Workflow
- func NameGTE(v string) predicate.Workflow
- func NameHasPrefix(v string) predicate.Workflow
- func NameHasSuffix(v string) predicate.Workflow
- func NameIn(vs ...string) predicate.Workflow
- func NameLT(v string) predicate.Workflow
- func NameLTE(v string) predicate.Workflow
- func NameNEQ(v string) predicate.Workflow
- func NameNotIn(vs ...string) predicate.Workflow
- func Not(p predicate.Workflow) predicate.Workflow
- func Or(predicates ...predicate.Workflow) predicate.Workflow
- func Revision(v int) predicate.Workflow
- func RevisionEQ(v int) predicate.Workflow
- func RevisionGT(v int) predicate.Workflow
- func RevisionGTE(v int) predicate.Workflow
- func RevisionIn(vs ...int) predicate.Workflow
- func RevisionLT(v int) predicate.Workflow
- func RevisionLTE(v int) predicate.Workflow
- func RevisionNEQ(v int) predicate.Workflow
- func RevisionNotIn(vs ...int) predicate.Workflow
- func ValidColumn(column string) bool
- func Workflow(v []byte) predicate.Workflow
- func WorkflowEQ(v []byte) predicate.Workflow
- func WorkflowGT(v []byte) predicate.Workflow
- func WorkflowGTE(v []byte) predicate.Workflow
- func WorkflowIn(vs ...[]byte) predicate.Workflow
- func WorkflowLT(v []byte) predicate.Workflow
- func WorkflowLTE(v []byte) predicate.Workflow
- func WorkflowNEQ(v []byte) predicate.Workflow
- func WorkflowNotIn(vs ...[]byte) predicate.Workflow
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 = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldCreated holds the string denoting the created field in the database. FieldCreated = "created" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldRevision holds the string denoting the revision field in the database. FieldRevision = "revision" // FieldWorkflow holds the string denoting the workflow field in the database. FieldWorkflow = "workflow" // FieldLogToEvents holds the string denoting the logtoevents field in the database. FieldLogToEvents = "log_to_events" // EdgeNamespace holds the string denoting the namespace edge name in mutations. EdgeNamespace = "namespace" // EdgeInstances holds the string denoting the instances edge name in mutations. EdgeInstances = "instances" // 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" // NamespaceTable is the table the 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" // InstancesTable is the table the holds the instances relation/edge. InstancesTable = "workflow_instances" // InstancesInverseTable is the table name for the WorkflowInstance entity. // It exists in this package in order to avoid circular dependency with the "workflowinstance" package. InstancesInverseTable = "workflow_instances" // InstancesColumn is the table column denoting the instances relation/edge. InstancesColumn = "workflow_instances" // WfeventsTable is the table the holds the wfevents relation/edge. WfeventsTable = "workflow_events" // WfeventsInverseTable is the table name for the WorkflowEvents entity. // It exists in this package in order to avoid circular dependency with the "workflowevents" package. WfeventsInverseTable = "workflow_events" // WfeventsColumn is the table column denoting the wfevents relation/edge. WfeventsColumn = "workflow_wfevents" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultCreated holds the default value on creation for the "created" field. DefaultCreated func() time.Time // DefaultDescription holds the default value on creation for the "description" field. DefaultDescription string // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // DefaultRevision holds the default value on creation for the "revision" field. DefaultRevision int // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldCreated, FieldDescription, FieldActive, FieldRevision, FieldWorkflow, FieldLogToEvents, }
Columns holds all SQL columns for workflow fields.
var ForeignKeys = []string{
"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 Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func Created ¶
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedGTE ¶
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedLTE ¶
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
CreatedNotIn applies the NotIn predicate on the "created" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasInstances ¶
HasInstances applies the HasEdge predicate on the "instances" edge.
func HasInstancesWith ¶
func HasInstancesWith(preds ...predicate.WorkflowInstance) predicate.Workflow
HasInstancesWith applies the HasEdge predicate on the "instances" 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 HasWfevents ¶
HasWfevents applies the HasEdge predicate on the "wfevents" edge.
func HasWfeventsWith ¶
func HasWfeventsWith(preds ...predicate.WorkflowEvents) predicate.Workflow
HasWfeventsWith applies the HasEdge predicate on the "wfevents" edge with a given conditions (other predicates).
func LogToEvents ¶ added in v0.1.3
LogToEvents applies equality check predicate on the "logToEvents" field. It's identical to LogToEventsEQ.
func LogToEventsContains ¶ added in v0.1.3
LogToEventsContains applies the Contains predicate on the "logToEvents" field.
func LogToEventsContainsFold ¶ added in v0.1.3
LogToEventsContainsFold applies the ContainsFold predicate on the "logToEvents" field.
func LogToEventsEQ ¶ added in v0.1.3
LogToEventsEQ applies the EQ predicate on the "logToEvents" field.
func LogToEventsEqualFold ¶ added in v0.1.3
LogToEventsEqualFold applies the EqualFold predicate on the "logToEvents" field.
func LogToEventsGT ¶ added in v0.1.3
LogToEventsGT applies the GT predicate on the "logToEvents" field.
func LogToEventsGTE ¶ added in v0.1.3
LogToEventsGTE applies the GTE predicate on the "logToEvents" field.
func LogToEventsHasPrefix ¶ added in v0.1.3
LogToEventsHasPrefix applies the HasPrefix predicate on the "logToEvents" field.
func LogToEventsHasSuffix ¶ added in v0.1.3
LogToEventsHasSuffix applies the HasSuffix predicate on the "logToEvents" field.
func LogToEventsIn ¶ added in v0.1.3
LogToEventsIn applies the In predicate on the "logToEvents" field.
func LogToEventsIsNil ¶ added in v0.1.3
LogToEventsIsNil applies the IsNil predicate on the "logToEvents" field.
func LogToEventsLT ¶ added in v0.1.3
LogToEventsLT applies the LT predicate on the "logToEvents" field.
func LogToEventsLTE ¶ added in v0.1.3
LogToEventsLTE applies the LTE predicate on the "logToEvents" field.
func LogToEventsNEQ ¶ added in v0.1.3
LogToEventsNEQ applies the NEQ predicate on the "logToEvents" field.
func LogToEventsNotIn ¶ added in v0.1.3
LogToEventsNotIn applies the NotIn predicate on the "logToEvents" field.
func LogToEventsNotNil ¶ added in v0.1.3
LogToEventsNotNil applies the NotNil predicate on the "logToEvents" 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 Revision ¶
Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.
func RevisionEQ ¶
RevisionEQ applies the EQ predicate on the "revision" field.
func RevisionGT ¶
RevisionGT applies the GT predicate on the "revision" field.
func RevisionGTE ¶
RevisionGTE applies the GTE predicate on the "revision" field.
func RevisionIn ¶
RevisionIn applies the In predicate on the "revision" field.
func RevisionLT ¶
RevisionLT applies the LT predicate on the "revision" field.
func RevisionLTE ¶
RevisionLTE applies the LTE predicate on the "revision" field.
func RevisionNEQ ¶
RevisionNEQ applies the NEQ predicate on the "revision" field.
func RevisionNotIn ¶
RevisionNotIn applies the NotIn predicate on the "revision" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Workflow ¶
Workflow applies equality check predicate on the "workflow" field. It's identical to WorkflowEQ.
func WorkflowEQ ¶
WorkflowEQ applies the EQ predicate on the "workflow" field.
func WorkflowGT ¶
WorkflowGT applies the GT predicate on the "workflow" field.
func WorkflowGTE ¶
WorkflowGTE applies the GTE predicate on the "workflow" field.
func WorkflowIn ¶
WorkflowIn applies the In predicate on the "workflow" field.
func WorkflowLT ¶
WorkflowLT applies the LT predicate on the "workflow" field.
func WorkflowLTE ¶
WorkflowLTE applies the LTE predicate on the "workflow" field.
func WorkflowNEQ ¶
WorkflowNEQ applies the NEQ predicate on the "workflow" field.
func WorkflowNotIn ¶
WorkflowNotIn applies the NotIn predicate on the "workflow" field.
Types ¶
This section is empty.