workflowproposal

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowproposal type in the database.
	Label = "workflow_proposal"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldWorkflowObjectRefID holds the string denoting the workflow_object_ref_id field in the database.
	FieldWorkflowObjectRefID = "workflow_object_ref_id"
	// FieldDomainKey holds the string denoting the domain_key field in the database.
	FieldDomainKey = "domain_key"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldRevision holds the string denoting the revision field in the database.
	FieldRevision = "revision"
	// FieldChanges holds the string denoting the changes field in the database.
	FieldChanges = "changes"
	// FieldProposedHash holds the string denoting the proposed_hash field in the database.
	FieldProposedHash = "proposed_hash"
	// FieldApprovedHash holds the string denoting the approved_hash field in the database.
	FieldApprovedHash = "approved_hash"
	// FieldSubmittedAt holds the string denoting the submitted_at field in the database.
	FieldSubmittedAt = "submitted_at"
	// FieldSubmittedByUserID holds the string denoting the submitted_by_user_id field in the database.
	FieldSubmittedByUserID = "submitted_by_user_id"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeWorkflowObjectRef holds the string denoting the workflow_object_ref edge name in mutations.
	EdgeWorkflowObjectRef = "workflow_object_ref"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeWorkflowInstances holds the string denoting the workflow_instances edge name in mutations.
	EdgeWorkflowInstances = "workflow_instances"
	// Table holds the table name of the workflowproposal in the database.
	Table = "workflow_proposals"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "workflow_proposals"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// WorkflowObjectRefTable is the table that holds the workflow_object_ref relation/edge.
	WorkflowObjectRefTable = "workflow_proposals"
	// WorkflowObjectRefInverseTable is the table name for the WorkflowObjectRef entity.
	// It exists in this package in order to avoid circular dependency with the "workflowobjectref" package.
	WorkflowObjectRefInverseTable = "workflow_object_refs"
	// WorkflowObjectRefColumn is the table column denoting the workflow_object_ref relation/edge.
	WorkflowObjectRefColumn = "workflow_object_ref_id"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "workflow_proposals"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "submitted_by_user_id"
	// WorkflowInstancesTable is the table that holds the workflow_instances relation/edge.
	WorkflowInstancesTable = "workflow_instances"
	// WorkflowInstancesInverseTable is the table name for the WorkflowInstance entity.
	// It exists in this package in order to avoid circular dependency with the "workflowinstance" package.
	WorkflowInstancesInverseTable = "workflow_instances"
	// WorkflowInstancesColumn is the table column denoting the workflow_instances relation/edge.
	WorkflowInstancesColumn = "workflow_proposal_id"
)
View Source
const DefaultState enums.WorkflowProposalState = "DRAFT"

Variables

View Source
var (
	Hooks        [4]ent.Hook
	Interceptors [2]ent.Interceptor
	// 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
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// WorkflowObjectRefIDValidator is a validator for the "workflow_object_ref_id" field. It is called by the builders before save.
	WorkflowObjectRefIDValidator func(string) error
	// DomainKeyValidator is a validator for the "domain_key" field. It is called by the builders before save.
	DomainKeyValidator func(string) error
	// 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() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for workflowproposal fields.

Functions

func And

And groups predicates with the AND operator between them.

func ApprovedHash

func ApprovedHash(v string) predicate.WorkflowProposal

ApprovedHash applies equality check predicate on the "approved_hash" field. It's identical to ApprovedHashEQ.

func ApprovedHashContains

func ApprovedHashContains(v string) predicate.WorkflowProposal

ApprovedHashContains applies the Contains predicate on the "approved_hash" field.

func ApprovedHashContainsFold

func ApprovedHashContainsFold(v string) predicate.WorkflowProposal

ApprovedHashContainsFold applies the ContainsFold predicate on the "approved_hash" field.

func ApprovedHashEQ

func ApprovedHashEQ(v string) predicate.WorkflowProposal

ApprovedHashEQ applies the EQ predicate on the "approved_hash" field.

func ApprovedHashEqualFold

func ApprovedHashEqualFold(v string) predicate.WorkflowProposal

ApprovedHashEqualFold applies the EqualFold predicate on the "approved_hash" field.

func ApprovedHashGT

func ApprovedHashGT(v string) predicate.WorkflowProposal

ApprovedHashGT applies the GT predicate on the "approved_hash" field.

func ApprovedHashGTE

func ApprovedHashGTE(v string) predicate.WorkflowProposal

ApprovedHashGTE applies the GTE predicate on the "approved_hash" field.

func ApprovedHashHasPrefix

func ApprovedHashHasPrefix(v string) predicate.WorkflowProposal

ApprovedHashHasPrefix applies the HasPrefix predicate on the "approved_hash" field.

func ApprovedHashHasSuffix

func ApprovedHashHasSuffix(v string) predicate.WorkflowProposal

ApprovedHashHasSuffix applies the HasSuffix predicate on the "approved_hash" field.

func ApprovedHashIn

func ApprovedHashIn(vs ...string) predicate.WorkflowProposal

ApprovedHashIn applies the In predicate on the "approved_hash" field.

func ApprovedHashIsNil

func ApprovedHashIsNil() predicate.WorkflowProposal

ApprovedHashIsNil applies the IsNil predicate on the "approved_hash" field.

func ApprovedHashLT

func ApprovedHashLT(v string) predicate.WorkflowProposal

ApprovedHashLT applies the LT predicate on the "approved_hash" field.

func ApprovedHashLTE

func ApprovedHashLTE(v string) predicate.WorkflowProposal

ApprovedHashLTE applies the LTE predicate on the "approved_hash" field.

func ApprovedHashNEQ

func ApprovedHashNEQ(v string) predicate.WorkflowProposal

ApprovedHashNEQ applies the NEQ predicate on the "approved_hash" field.

func ApprovedHashNotIn

func ApprovedHashNotIn(vs ...string) predicate.WorkflowProposal

ApprovedHashNotIn applies the NotIn predicate on the "approved_hash" field.

func ApprovedHashNotNil

func ApprovedHashNotNil() predicate.WorkflowProposal

ApprovedHashNotNil applies the NotNil predicate on the "approved_hash" field.

func ChangesIsNil

func ChangesIsNil() predicate.WorkflowProposal

ChangesIsNil applies the IsNil predicate on the "changes" field.

func ChangesNotNil

func ChangesNotNil() predicate.WorkflowProposal

ChangesNotNil applies the NotNil predicate on the "changes" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.WorkflowProposal

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.WorkflowProposal

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.WorkflowProposal

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.WorkflowProposal

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.WorkflowProposal

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.WorkflowProposal

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.WorkflowProposal

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.WorkflowProposal

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.WorkflowProposal

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowProposal

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.WorkflowProposal

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.WorkflowProposal

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.WorkflowProposal

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.WorkflowProposal

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.WorkflowProposal

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.WorkflowProposal

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.WorkflowProposal

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.WorkflowProposal

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.WorkflowProposal

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.WorkflowProposal

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.WorkflowProposal

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.WorkflowProposal

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.WorkflowProposal

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.WorkflowProposal

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.WorkflowProposal

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.WorkflowProposal

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.WorkflowProposal

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DomainKey

func DomainKey(v string) predicate.WorkflowProposal

DomainKey applies equality check predicate on the "domain_key" field. It's identical to DomainKeyEQ.

func DomainKeyContains

func DomainKeyContains(v string) predicate.WorkflowProposal

DomainKeyContains applies the Contains predicate on the "domain_key" field.

func DomainKeyContainsFold

func DomainKeyContainsFold(v string) predicate.WorkflowProposal

DomainKeyContainsFold applies the ContainsFold predicate on the "domain_key" field.

func DomainKeyEQ

func DomainKeyEQ(v string) predicate.WorkflowProposal

DomainKeyEQ applies the EQ predicate on the "domain_key" field.

func DomainKeyEqualFold

func DomainKeyEqualFold(v string) predicate.WorkflowProposal

DomainKeyEqualFold applies the EqualFold predicate on the "domain_key" field.

func DomainKeyGT

func DomainKeyGT(v string) predicate.WorkflowProposal

DomainKeyGT applies the GT predicate on the "domain_key" field.

func DomainKeyGTE

func DomainKeyGTE(v string) predicate.WorkflowProposal

DomainKeyGTE applies the GTE predicate on the "domain_key" field.

func DomainKeyHasPrefix

func DomainKeyHasPrefix(v string) predicate.WorkflowProposal

DomainKeyHasPrefix applies the HasPrefix predicate on the "domain_key" field.

func DomainKeyHasSuffix

func DomainKeyHasSuffix(v string) predicate.WorkflowProposal

DomainKeyHasSuffix applies the HasSuffix predicate on the "domain_key" field.

func DomainKeyIn

func DomainKeyIn(vs ...string) predicate.WorkflowProposal

DomainKeyIn applies the In predicate on the "domain_key" field.

func DomainKeyLT

func DomainKeyLT(v string) predicate.WorkflowProposal

DomainKeyLT applies the LT predicate on the "domain_key" field.

func DomainKeyLTE

func DomainKeyLTE(v string) predicate.WorkflowProposal

DomainKeyLTE applies the LTE predicate on the "domain_key" field.

func DomainKeyNEQ

func DomainKeyNEQ(v string) predicate.WorkflowProposal

DomainKeyNEQ applies the NEQ predicate on the "domain_key" field.

func DomainKeyNotIn

func DomainKeyNotIn(vs ...string) predicate.WorkflowProposal

DomainKeyNotIn applies the NotIn predicate on the "domain_key" field.

func HasOwner

func HasOwner() predicate.WorkflowProposal

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Organization) predicate.WorkflowProposal

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

func HasUser

func HasUser() predicate.WorkflowProposal

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.WorkflowProposal

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

func HasWorkflowInstances

func HasWorkflowInstances() predicate.WorkflowProposal

HasWorkflowInstances applies the HasEdge predicate on the "workflow_instances" edge.

func HasWorkflowInstancesWith

func HasWorkflowInstancesWith(preds ...predicate.WorkflowInstance) predicate.WorkflowProposal

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

func HasWorkflowObjectRef

func HasWorkflowObjectRef() predicate.WorkflowProposal

HasWorkflowObjectRef applies the HasEdge predicate on the "workflow_object_ref" edge.

func HasWorkflowObjectRefWith

func HasWorkflowObjectRefWith(preds ...predicate.WorkflowObjectRef) predicate.WorkflowProposal

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.WorkflowProposal

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.WorkflowProposal

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.WorkflowProposal

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.WorkflowProposal

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.WorkflowProposal

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.WorkflowProposal

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.WorkflowProposal

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.WorkflowProposal

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.WorkflowProposal

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.WorkflowProposal

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.WorkflowProposal

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.WorkflowProposal

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.WorkflowProposal

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.WorkflowProposal

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.WorkflowProposal

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.WorkflowProposal

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.WorkflowProposal

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.WorkflowProposal

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.WorkflowProposal

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func ProposedHash

func ProposedHash(v string) predicate.WorkflowProposal

ProposedHash applies equality check predicate on the "proposed_hash" field. It's identical to ProposedHashEQ.

func ProposedHashContains

func ProposedHashContains(v string) predicate.WorkflowProposal

ProposedHashContains applies the Contains predicate on the "proposed_hash" field.

func ProposedHashContainsFold

func ProposedHashContainsFold(v string) predicate.WorkflowProposal

ProposedHashContainsFold applies the ContainsFold predicate on the "proposed_hash" field.

func ProposedHashEQ

func ProposedHashEQ(v string) predicate.WorkflowProposal

ProposedHashEQ applies the EQ predicate on the "proposed_hash" field.

func ProposedHashEqualFold

func ProposedHashEqualFold(v string) predicate.WorkflowProposal

ProposedHashEqualFold applies the EqualFold predicate on the "proposed_hash" field.

func ProposedHashGT

func ProposedHashGT(v string) predicate.WorkflowProposal

ProposedHashGT applies the GT predicate on the "proposed_hash" field.

func ProposedHashGTE

func ProposedHashGTE(v string) predicate.WorkflowProposal

ProposedHashGTE applies the GTE predicate on the "proposed_hash" field.

func ProposedHashHasPrefix

func ProposedHashHasPrefix(v string) predicate.WorkflowProposal

ProposedHashHasPrefix applies the HasPrefix predicate on the "proposed_hash" field.

func ProposedHashHasSuffix

func ProposedHashHasSuffix(v string) predicate.WorkflowProposal

ProposedHashHasSuffix applies the HasSuffix predicate on the "proposed_hash" field.

func ProposedHashIn

func ProposedHashIn(vs ...string) predicate.WorkflowProposal

ProposedHashIn applies the In predicate on the "proposed_hash" field.

func ProposedHashIsNil

func ProposedHashIsNil() predicate.WorkflowProposal

ProposedHashIsNil applies the IsNil predicate on the "proposed_hash" field.

func ProposedHashLT

func ProposedHashLT(v string) predicate.WorkflowProposal

ProposedHashLT applies the LT predicate on the "proposed_hash" field.

func ProposedHashLTE

func ProposedHashLTE(v string) predicate.WorkflowProposal

ProposedHashLTE applies the LTE predicate on the "proposed_hash" field.

func ProposedHashNEQ

func ProposedHashNEQ(v string) predicate.WorkflowProposal

ProposedHashNEQ applies the NEQ predicate on the "proposed_hash" field.

func ProposedHashNotIn

func ProposedHashNotIn(vs ...string) predicate.WorkflowProposal

ProposedHashNotIn applies the NotIn predicate on the "proposed_hash" field.

func ProposedHashNotNil

func ProposedHashNotNil() predicate.WorkflowProposal

ProposedHashNotNil applies the NotNil predicate on the "proposed_hash" field.

func Revision

func Revision(v int) predicate.WorkflowProposal

Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.

func RevisionEQ

func RevisionEQ(v int) predicate.WorkflowProposal

RevisionEQ applies the EQ predicate on the "revision" field.

func RevisionGT

func RevisionGT(v int) predicate.WorkflowProposal

RevisionGT applies the GT predicate on the "revision" field.

func RevisionGTE

func RevisionGTE(v int) predicate.WorkflowProposal

RevisionGTE applies the GTE predicate on the "revision" field.

func RevisionIn

func RevisionIn(vs ...int) predicate.WorkflowProposal

RevisionIn applies the In predicate on the "revision" field.

func RevisionLT

func RevisionLT(v int) predicate.WorkflowProposal

RevisionLT applies the LT predicate on the "revision" field.

func RevisionLTE

func RevisionLTE(v int) predicate.WorkflowProposal

RevisionLTE applies the LTE predicate on the "revision" field.

func RevisionNEQ

func RevisionNEQ(v int) predicate.WorkflowProposal

RevisionNEQ applies the NEQ predicate on the "revision" field.

func RevisionNotIn

func RevisionNotIn(vs ...int) predicate.WorkflowProposal

RevisionNotIn applies the NotIn predicate on the "revision" field.

func StateEQ

StateEQ applies the EQ predicate on the "state" field.

func StateIn

StateIn applies the In predicate on the "state" field.

func StateNEQ

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

StateNotIn applies the NotIn predicate on the "state" field.

func StateValidator

func StateValidator(s enums.WorkflowProposalState) error

StateValidator is a validator for the "state" field enum values. It is called by the builders before save.

func SubmittedAt

func SubmittedAt(v time.Time) predicate.WorkflowProposal

SubmittedAt applies equality check predicate on the "submitted_at" field. It's identical to SubmittedAtEQ.

func SubmittedAtEQ

func SubmittedAtEQ(v time.Time) predicate.WorkflowProposal

SubmittedAtEQ applies the EQ predicate on the "submitted_at" field.

func SubmittedAtGT

func SubmittedAtGT(v time.Time) predicate.WorkflowProposal

SubmittedAtGT applies the GT predicate on the "submitted_at" field.

func SubmittedAtGTE

func SubmittedAtGTE(v time.Time) predicate.WorkflowProposal

SubmittedAtGTE applies the GTE predicate on the "submitted_at" field.

func SubmittedAtIn

func SubmittedAtIn(vs ...time.Time) predicate.WorkflowProposal

SubmittedAtIn applies the In predicate on the "submitted_at" field.

func SubmittedAtIsNil

func SubmittedAtIsNil() predicate.WorkflowProposal

SubmittedAtIsNil applies the IsNil predicate on the "submitted_at" field.

func SubmittedAtLT

func SubmittedAtLT(v time.Time) predicate.WorkflowProposal

SubmittedAtLT applies the LT predicate on the "submitted_at" field.

func SubmittedAtLTE

func SubmittedAtLTE(v time.Time) predicate.WorkflowProposal

SubmittedAtLTE applies the LTE predicate on the "submitted_at" field.

func SubmittedAtNEQ

func SubmittedAtNEQ(v time.Time) predicate.WorkflowProposal

SubmittedAtNEQ applies the NEQ predicate on the "submitted_at" field.

func SubmittedAtNotIn

func SubmittedAtNotIn(vs ...time.Time) predicate.WorkflowProposal

SubmittedAtNotIn applies the NotIn predicate on the "submitted_at" field.

func SubmittedAtNotNil

func SubmittedAtNotNil() predicate.WorkflowProposal

SubmittedAtNotNil applies the NotNil predicate on the "submitted_at" field.

func SubmittedByUserID

func SubmittedByUserID(v string) predicate.WorkflowProposal

SubmittedByUserID applies equality check predicate on the "submitted_by_user_id" field. It's identical to SubmittedByUserIDEQ.

func SubmittedByUserIDContains

func SubmittedByUserIDContains(v string) predicate.WorkflowProposal

SubmittedByUserIDContains applies the Contains predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDContainsFold

func SubmittedByUserIDContainsFold(v string) predicate.WorkflowProposal

SubmittedByUserIDContainsFold applies the ContainsFold predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDEQ

func SubmittedByUserIDEQ(v string) predicate.WorkflowProposal

SubmittedByUserIDEQ applies the EQ predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDEqualFold

func SubmittedByUserIDEqualFold(v string) predicate.WorkflowProposal

SubmittedByUserIDEqualFold applies the EqualFold predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDGT

func SubmittedByUserIDGT(v string) predicate.WorkflowProposal

SubmittedByUserIDGT applies the GT predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDGTE

func SubmittedByUserIDGTE(v string) predicate.WorkflowProposal

SubmittedByUserIDGTE applies the GTE predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDHasPrefix

func SubmittedByUserIDHasPrefix(v string) predicate.WorkflowProposal

SubmittedByUserIDHasPrefix applies the HasPrefix predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDHasSuffix

func SubmittedByUserIDHasSuffix(v string) predicate.WorkflowProposal

SubmittedByUserIDHasSuffix applies the HasSuffix predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDIn

func SubmittedByUserIDIn(vs ...string) predicate.WorkflowProposal

SubmittedByUserIDIn applies the In predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDIsNil

func SubmittedByUserIDIsNil() predicate.WorkflowProposal

SubmittedByUserIDIsNil applies the IsNil predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDLT

func SubmittedByUserIDLT(v string) predicate.WorkflowProposal

SubmittedByUserIDLT applies the LT predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDLTE

func SubmittedByUserIDLTE(v string) predicate.WorkflowProposal

SubmittedByUserIDLTE applies the LTE predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDNEQ

func SubmittedByUserIDNEQ(v string) predicate.WorkflowProposal

SubmittedByUserIDNEQ applies the NEQ predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDNotIn

func SubmittedByUserIDNotIn(vs ...string) predicate.WorkflowProposal

SubmittedByUserIDNotIn applies the NotIn predicate on the "submitted_by_user_id" field.

func SubmittedByUserIDNotNil

func SubmittedByUserIDNotNil() predicate.WorkflowProposal

SubmittedByUserIDNotNil applies the NotNil predicate on the "submitted_by_user_id" field.

func TagsIsNil

func TagsIsNil() predicate.WorkflowProposal

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.WorkflowProposal

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.WorkflowProposal

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.WorkflowProposal

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.WorkflowProposal

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.WorkflowProposal

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.WorkflowProposal

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.WorkflowProposal

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.WorkflowProposal

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.WorkflowProposal

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.WorkflowProposal

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.WorkflowProposal

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.WorkflowProposal

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.WorkflowProposal

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.WorkflowProposal

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.WorkflowProposal

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.WorkflowProposal

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.WorkflowProposal

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.WorkflowProposal

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.WorkflowProposal

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.WorkflowProposal

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.WorkflowProposal

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.WorkflowProposal

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.WorkflowProposal

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.WorkflowProposal

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.WorkflowProposal

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.WorkflowProposal

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.WorkflowProposal

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.WorkflowProposal

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

func WorkflowObjectRefID

func WorkflowObjectRefID(v string) predicate.WorkflowProposal

WorkflowObjectRefID applies equality check predicate on the "workflow_object_ref_id" field. It's identical to WorkflowObjectRefIDEQ.

func WorkflowObjectRefIDContains

func WorkflowObjectRefIDContains(v string) predicate.WorkflowProposal

WorkflowObjectRefIDContains applies the Contains predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDContainsFold

func WorkflowObjectRefIDContainsFold(v string) predicate.WorkflowProposal

WorkflowObjectRefIDContainsFold applies the ContainsFold predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDEQ

func WorkflowObjectRefIDEQ(v string) predicate.WorkflowProposal

WorkflowObjectRefIDEQ applies the EQ predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDEqualFold

func WorkflowObjectRefIDEqualFold(v string) predicate.WorkflowProposal

WorkflowObjectRefIDEqualFold applies the EqualFold predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDGT

func WorkflowObjectRefIDGT(v string) predicate.WorkflowProposal

WorkflowObjectRefIDGT applies the GT predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDGTE

func WorkflowObjectRefIDGTE(v string) predicate.WorkflowProposal

WorkflowObjectRefIDGTE applies the GTE predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDHasPrefix

func WorkflowObjectRefIDHasPrefix(v string) predicate.WorkflowProposal

WorkflowObjectRefIDHasPrefix applies the HasPrefix predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDHasSuffix

func WorkflowObjectRefIDHasSuffix(v string) predicate.WorkflowProposal

WorkflowObjectRefIDHasSuffix applies the HasSuffix predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDIn

func WorkflowObjectRefIDIn(vs ...string) predicate.WorkflowProposal

WorkflowObjectRefIDIn applies the In predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDLT

func WorkflowObjectRefIDLT(v string) predicate.WorkflowProposal

WorkflowObjectRefIDLT applies the LT predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDLTE

func WorkflowObjectRefIDLTE(v string) predicate.WorkflowProposal

WorkflowObjectRefIDLTE applies the LTE predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDNEQ

func WorkflowObjectRefIDNEQ(v string) predicate.WorkflowProposal

WorkflowObjectRefIDNEQ applies the NEQ predicate on the "workflow_object_ref_id" field.

func WorkflowObjectRefIDNotIn

func WorkflowObjectRefIDNotIn(vs ...string) predicate.WorkflowProposal

WorkflowObjectRefIDNotIn applies the NotIn predicate on the "workflow_object_ref_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowProposal queries.

func ByApprovedHash

func ByApprovedHash(opts ...sql.OrderTermOption) OrderOption

ByApprovedHash orders the results by the approved_hash field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByDomainKey

func ByDomainKey(opts ...sql.OrderTermOption) OrderOption

ByDomainKey orders the results by the domain_key field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID

func ByOwnerID(opts ...sql.OrderTermOption) OrderOption

ByOwnerID orders the results by the owner_id field.

func ByProposedHash

func ByProposedHash(opts ...sql.OrderTermOption) OrderOption

ByProposedHash orders the results by the proposed_hash field.

func ByRevision

func ByRevision(opts ...sql.OrderTermOption) OrderOption

ByRevision orders the results by the revision field.

func ByState

func ByState(opts ...sql.OrderTermOption) OrderOption

ByState orders the results by the state field.

func BySubmittedAt

func BySubmittedAt(opts ...sql.OrderTermOption) OrderOption

BySubmittedAt orders the results by the submitted_at field.

func BySubmittedByUserID

func BySubmittedByUserID(opts ...sql.OrderTermOption) OrderOption

BySubmittedByUserID orders the results by the submitted_by_user_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption

ByUpdatedBy orders the results by the updated_by field.

func ByUserField

func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption

ByUserField orders the results by user field.

func ByWorkflowInstances

func ByWorkflowInstances(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByWorkflowInstances orders the results by workflow_instances terms.

func ByWorkflowInstancesCount

func ByWorkflowInstancesCount(opts ...sql.OrderTermOption) OrderOption

ByWorkflowInstancesCount orders the results by workflow_instances count.

func ByWorkflowObjectRefField

func ByWorkflowObjectRefField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorkflowObjectRefField orders the results by workflow_object_ref field.

func ByWorkflowObjectRefID

func ByWorkflowObjectRefID(opts ...sql.OrderTermOption) OrderOption

ByWorkflowObjectRefID orders the results by the workflow_object_ref_id field.

Jump to

Keyboard shortcuts

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