workflowrun

package
v0.88.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowrun type in the database.
	Label = "workflow_run"
	// 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"
	// FieldFinishedAt holds the string denoting the finished_at field in the database.
	FieldFinishedAt = "finished_at"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// FieldRunURL holds the string denoting the run_url field in the database.
	FieldRunURL = "run_url"
	// FieldRunnerType holds the string denoting the runner_type field in the database.
	FieldRunnerType = "runner_type"
	// FieldAttestation holds the string denoting the attestation field in the database.
	FieldAttestation = "attestation"
	// FieldAttestationDigest holds the string denoting the attestation_digest field in the database.
	FieldAttestationDigest = "attestation_digest"
	// FieldAttestationState holds the string denoting the attestation_state field in the database.
	FieldAttestationState = "attestation_state"
	// FieldContractRevisionUsed holds the string denoting the contract_revision_used field in the database.
	FieldContractRevisionUsed = "contract_revision_used"
	// FieldContractRevisionLatest holds the string denoting the contract_revision_latest field in the database.
	FieldContractRevisionLatest = "contract_revision_latest"
	// EdgeWorkflow holds the string denoting the workflow edge name in mutations.
	EdgeWorkflow = "workflow"
	// EdgeContractVersion holds the string denoting the contract_version edge name in mutations.
	EdgeContractVersion = "contract_version"
	// EdgeCasBackends holds the string denoting the cas_backends edge name in mutations.
	EdgeCasBackends = "cas_backends"
	// Table holds the table name of the workflowrun in the database.
	Table = "workflow_runs"
	// WorkflowTable is the table that holds the workflow relation/edge.
	WorkflowTable = "workflow_runs"
	// 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 = "workflow_workflowruns"
	// ContractVersionTable is the table that holds the contract_version relation/edge.
	ContractVersionTable = "workflow_runs"
	// ContractVersionInverseTable is the table name for the WorkflowContractVersion entity.
	// It exists in this package in order to avoid circular dependency with the "workflowcontractversion" package.
	ContractVersionInverseTable = "workflow_contract_versions"
	// ContractVersionColumn is the table column denoting the contract_version relation/edge.
	ContractVersionColumn = "workflow_run_contract_version"
	// CasBackendsTable is the table that holds the cas_backends relation/edge. The primary key declared below.
	CasBackendsTable = "workflow_run_cas_backends"
	// CasBackendsInverseTable is the table name for the CASBackend entity.
	// It exists in this package in order to avoid circular dependency with the "casbackend" package.
	CasBackendsInverseTable = "cas_backends"
)
View Source
const DefaultState biz.WorkflowRunStatus = "initialized"

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)
View Source
var (
	// CasBackendsPrimaryKey and CasBackendsColumn2 are the table columns denoting the
	// primary key for the cas_backends relation (M2M).
	CasBackendsPrimaryKey = []string{"workflow_run_id", "cas_backend_id"}
)

Columns holds all SQL columns for workflowrun fields.

View Source
var ForeignKeys = []string{
	"workflow_workflowruns",
	"workflow_run_contract_version",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "workflow_runs" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.WorkflowRun) predicate.WorkflowRun

And groups predicates with the AND operator between them.

func AttestationDigest added in v0.17.0

func AttestationDigest(v string) predicate.WorkflowRun

AttestationDigest applies equality check predicate on the "attestation_digest" field. It's identical to AttestationDigestEQ.

func AttestationDigestContains added in v0.17.0

func AttestationDigestContains(v string) predicate.WorkflowRun

AttestationDigestContains applies the Contains predicate on the "attestation_digest" field.

func AttestationDigestContainsFold added in v0.17.0

func AttestationDigestContainsFold(v string) predicate.WorkflowRun

AttestationDigestContainsFold applies the ContainsFold predicate on the "attestation_digest" field.

func AttestationDigestEQ added in v0.17.0

func AttestationDigestEQ(v string) predicate.WorkflowRun

AttestationDigestEQ applies the EQ predicate on the "attestation_digest" field.

func AttestationDigestEqualFold added in v0.17.0

func AttestationDigestEqualFold(v string) predicate.WorkflowRun

AttestationDigestEqualFold applies the EqualFold predicate on the "attestation_digest" field.

func AttestationDigestGT added in v0.17.0

func AttestationDigestGT(v string) predicate.WorkflowRun

AttestationDigestGT applies the GT predicate on the "attestation_digest" field.

func AttestationDigestGTE added in v0.17.0

func AttestationDigestGTE(v string) predicate.WorkflowRun

AttestationDigestGTE applies the GTE predicate on the "attestation_digest" field.

func AttestationDigestHasPrefix added in v0.17.0

func AttestationDigestHasPrefix(v string) predicate.WorkflowRun

AttestationDigestHasPrefix applies the HasPrefix predicate on the "attestation_digest" field.

func AttestationDigestHasSuffix added in v0.17.0

func AttestationDigestHasSuffix(v string) predicate.WorkflowRun

AttestationDigestHasSuffix applies the HasSuffix predicate on the "attestation_digest" field.

func AttestationDigestIn added in v0.17.0

func AttestationDigestIn(vs ...string) predicate.WorkflowRun

AttestationDigestIn applies the In predicate on the "attestation_digest" field.

func AttestationDigestIsNil added in v0.17.0

func AttestationDigestIsNil() predicate.WorkflowRun

AttestationDigestIsNil applies the IsNil predicate on the "attestation_digest" field.

func AttestationDigestLT added in v0.17.0

func AttestationDigestLT(v string) predicate.WorkflowRun

AttestationDigestLT applies the LT predicate on the "attestation_digest" field.

func AttestationDigestLTE added in v0.17.0

func AttestationDigestLTE(v string) predicate.WorkflowRun

AttestationDigestLTE applies the LTE predicate on the "attestation_digest" field.

func AttestationDigestNEQ added in v0.17.0

func AttestationDigestNEQ(v string) predicate.WorkflowRun

AttestationDigestNEQ applies the NEQ predicate on the "attestation_digest" field.

func AttestationDigestNotIn added in v0.17.0

func AttestationDigestNotIn(vs ...string) predicate.WorkflowRun

AttestationDigestNotIn applies the NotIn predicate on the "attestation_digest" field.

func AttestationDigestNotNil added in v0.17.0

func AttestationDigestNotNil() predicate.WorkflowRun

AttestationDigestNotNil applies the NotNil predicate on the "attestation_digest" field.

func AttestationIsNil added in v0.11.1

func AttestationIsNil() predicate.WorkflowRun

AttestationIsNil applies the IsNil predicate on the "attestation" field.

func AttestationNotNil added in v0.11.1

func AttestationNotNil() predicate.WorkflowRun

AttestationNotNil applies the NotNil predicate on the "attestation" field.

func AttestationState added in v0.60.0

func AttestationState(v []byte) predicate.WorkflowRun

AttestationState applies equality check predicate on the "attestation_state" field. It's identical to AttestationStateEQ.

func AttestationStateEQ added in v0.60.0

func AttestationStateEQ(v []byte) predicate.WorkflowRun

AttestationStateEQ applies the EQ predicate on the "attestation_state" field.

func AttestationStateGT added in v0.60.0

func AttestationStateGT(v []byte) predicate.WorkflowRun

AttestationStateGT applies the GT predicate on the "attestation_state" field.

func AttestationStateGTE added in v0.60.0

func AttestationStateGTE(v []byte) predicate.WorkflowRun

AttestationStateGTE applies the GTE predicate on the "attestation_state" field.

func AttestationStateIn added in v0.60.0

func AttestationStateIn(vs ...[]byte) predicate.WorkflowRun

AttestationStateIn applies the In predicate on the "attestation_state" field.

func AttestationStateIsNil added in v0.60.0

func AttestationStateIsNil() predicate.WorkflowRun

AttestationStateIsNil applies the IsNil predicate on the "attestation_state" field.

func AttestationStateLT added in v0.60.0

func AttestationStateLT(v []byte) predicate.WorkflowRun

AttestationStateLT applies the LT predicate on the "attestation_state" field.

func AttestationStateLTE added in v0.60.0

func AttestationStateLTE(v []byte) predicate.WorkflowRun

AttestationStateLTE applies the LTE predicate on the "attestation_state" field.

func AttestationStateNEQ added in v0.60.0

func AttestationStateNEQ(v []byte) predicate.WorkflowRun

AttestationStateNEQ applies the NEQ predicate on the "attestation_state" field.

func AttestationStateNotIn added in v0.60.0

func AttestationStateNotIn(vs ...[]byte) predicate.WorkflowRun

AttestationStateNotIn applies the NotIn predicate on the "attestation_state" field.

func AttestationStateNotNil added in v0.60.0

func AttestationStateNotNil() predicate.WorkflowRun

AttestationStateNotNil applies the NotNil predicate on the "attestation_state" field.

func ContractRevisionLatest added in v0.70.0

func ContractRevisionLatest(v int) predicate.WorkflowRun

ContractRevisionLatest applies equality check predicate on the "contract_revision_latest" field. It's identical to ContractRevisionLatestEQ.

func ContractRevisionLatestEQ added in v0.70.0

func ContractRevisionLatestEQ(v int) predicate.WorkflowRun

ContractRevisionLatestEQ applies the EQ predicate on the "contract_revision_latest" field.

func ContractRevisionLatestGT added in v0.70.0

func ContractRevisionLatestGT(v int) predicate.WorkflowRun

ContractRevisionLatestGT applies the GT predicate on the "contract_revision_latest" field.

func ContractRevisionLatestGTE added in v0.70.0

func ContractRevisionLatestGTE(v int) predicate.WorkflowRun

ContractRevisionLatestGTE applies the GTE predicate on the "contract_revision_latest" field.

func ContractRevisionLatestIn added in v0.70.0

func ContractRevisionLatestIn(vs ...int) predicate.WorkflowRun

ContractRevisionLatestIn applies the In predicate on the "contract_revision_latest" field.

func ContractRevisionLatestLT added in v0.70.0

func ContractRevisionLatestLT(v int) predicate.WorkflowRun

ContractRevisionLatestLT applies the LT predicate on the "contract_revision_latest" field.

func ContractRevisionLatestLTE added in v0.70.0

func ContractRevisionLatestLTE(v int) predicate.WorkflowRun

ContractRevisionLatestLTE applies the LTE predicate on the "contract_revision_latest" field.

func ContractRevisionLatestNEQ added in v0.70.0

func ContractRevisionLatestNEQ(v int) predicate.WorkflowRun

ContractRevisionLatestNEQ applies the NEQ predicate on the "contract_revision_latest" field.

func ContractRevisionLatestNotIn added in v0.70.0

func ContractRevisionLatestNotIn(vs ...int) predicate.WorkflowRun

ContractRevisionLatestNotIn applies the NotIn predicate on the "contract_revision_latest" field.

func ContractRevisionUsed added in v0.70.0

func ContractRevisionUsed(v int) predicate.WorkflowRun

ContractRevisionUsed applies equality check predicate on the "contract_revision_used" field. It's identical to ContractRevisionUsedEQ.

func ContractRevisionUsedEQ added in v0.70.0

func ContractRevisionUsedEQ(v int) predicate.WorkflowRun

ContractRevisionUsedEQ applies the EQ predicate on the "contract_revision_used" field.

func ContractRevisionUsedGT added in v0.70.0

func ContractRevisionUsedGT(v int) predicate.WorkflowRun

ContractRevisionUsedGT applies the GT predicate on the "contract_revision_used" field.

func ContractRevisionUsedGTE added in v0.70.0

func ContractRevisionUsedGTE(v int) predicate.WorkflowRun

ContractRevisionUsedGTE applies the GTE predicate on the "contract_revision_used" field.

func ContractRevisionUsedIn added in v0.70.0

func ContractRevisionUsedIn(vs ...int) predicate.WorkflowRun

ContractRevisionUsedIn applies the In predicate on the "contract_revision_used" field.

func ContractRevisionUsedLT added in v0.70.0

func ContractRevisionUsedLT(v int) predicate.WorkflowRun

ContractRevisionUsedLT applies the LT predicate on the "contract_revision_used" field.

func ContractRevisionUsedLTE added in v0.70.0

func ContractRevisionUsedLTE(v int) predicate.WorkflowRun

ContractRevisionUsedLTE applies the LTE predicate on the "contract_revision_used" field.

func ContractRevisionUsedNEQ added in v0.70.0

func ContractRevisionUsedNEQ(v int) predicate.WorkflowRun

ContractRevisionUsedNEQ applies the NEQ predicate on the "contract_revision_used" field.

func ContractRevisionUsedNotIn added in v0.70.0

func ContractRevisionUsedNotIn(vs ...int) predicate.WorkflowRun

ContractRevisionUsedNotIn applies the NotIn predicate on the "contract_revision_used" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.WorkflowRun

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.WorkflowRun

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.WorkflowRun

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.WorkflowRun

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.WorkflowRun

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.WorkflowRun

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.WorkflowRun

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

func CreatedAtNotIn

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

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

func FinishedAt

func FinishedAt(v time.Time) predicate.WorkflowRun

FinishedAt applies equality check predicate on the "finished_at" field. It's identical to FinishedAtEQ.

func FinishedAtEQ

func FinishedAtEQ(v time.Time) predicate.WorkflowRun

FinishedAtEQ applies the EQ predicate on the "finished_at" field.

func FinishedAtGT

func FinishedAtGT(v time.Time) predicate.WorkflowRun

FinishedAtGT applies the GT predicate on the "finished_at" field.

func FinishedAtGTE

func FinishedAtGTE(v time.Time) predicate.WorkflowRun

FinishedAtGTE applies the GTE predicate on the "finished_at" field.

func FinishedAtIn

func FinishedAtIn(vs ...time.Time) predicate.WorkflowRun

FinishedAtIn applies the In predicate on the "finished_at" field.

func FinishedAtIsNil

func FinishedAtIsNil() predicate.WorkflowRun

FinishedAtIsNil applies the IsNil predicate on the "finished_at" field.

func FinishedAtLT

func FinishedAtLT(v time.Time) predicate.WorkflowRun

FinishedAtLT applies the LT predicate on the "finished_at" field.

func FinishedAtLTE

func FinishedAtLTE(v time.Time) predicate.WorkflowRun

FinishedAtLTE applies the LTE predicate on the "finished_at" field.

func FinishedAtNEQ

func FinishedAtNEQ(v time.Time) predicate.WorkflowRun

FinishedAtNEQ applies the NEQ predicate on the "finished_at" field.

func FinishedAtNotIn

func FinishedAtNotIn(vs ...time.Time) predicate.WorkflowRun

FinishedAtNotIn applies the NotIn predicate on the "finished_at" field.

func FinishedAtNotNil

func FinishedAtNotNil() predicate.WorkflowRun

FinishedAtNotNil applies the NotNil predicate on the "finished_at" field.

func HasCasBackends added in v0.14.0

func HasCasBackends() predicate.WorkflowRun

HasCasBackends applies the HasEdge predicate on the "cas_backends" edge.

func HasCasBackendsWith added in v0.14.0

func HasCasBackendsWith(preds ...predicate.CASBackend) predicate.WorkflowRun

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

func HasContractVersion

func HasContractVersion() predicate.WorkflowRun

HasContractVersion applies the HasEdge predicate on the "contract_version" edge.

func HasContractVersionWith

func HasContractVersionWith(preds ...predicate.WorkflowContractVersion) predicate.WorkflowRun

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

func HasWorkflow

func HasWorkflow() predicate.WorkflowRun

HasWorkflow applies the HasEdge predicate on the "workflow" edge.

func HasWorkflowWith

func HasWorkflowWith(preds ...predicate.Workflow) predicate.WorkflowRun

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.WorkflowRun

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.WorkflowRun

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.WorkflowRun

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.WorkflowRun

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.WorkflowRun

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.WorkflowRun

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.WorkflowRun) predicate.WorkflowRun

Or groups predicates with the OR operator between them.

func Reason

func Reason(v string) predicate.WorkflowRun

Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.

func ReasonContains

func ReasonContains(v string) predicate.WorkflowRun

ReasonContains applies the Contains predicate on the "reason" field.

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.WorkflowRun

ReasonContainsFold applies the ContainsFold predicate on the "reason" field.

func ReasonEQ

func ReasonEQ(v string) predicate.WorkflowRun

ReasonEQ applies the EQ predicate on the "reason" field.

func ReasonEqualFold

func ReasonEqualFold(v string) predicate.WorkflowRun

ReasonEqualFold applies the EqualFold predicate on the "reason" field.

func ReasonGT

func ReasonGT(v string) predicate.WorkflowRun

ReasonGT applies the GT predicate on the "reason" field.

func ReasonGTE

func ReasonGTE(v string) predicate.WorkflowRun

ReasonGTE applies the GTE predicate on the "reason" field.

func ReasonHasPrefix

func ReasonHasPrefix(v string) predicate.WorkflowRun

ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.

func ReasonHasSuffix

func ReasonHasSuffix(v string) predicate.WorkflowRun

ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.

func ReasonIn

func ReasonIn(vs ...string) predicate.WorkflowRun

ReasonIn applies the In predicate on the "reason" field.

func ReasonIsNil

func ReasonIsNil() predicate.WorkflowRun

ReasonIsNil applies the IsNil predicate on the "reason" field.

func ReasonLT

func ReasonLT(v string) predicate.WorkflowRun

ReasonLT applies the LT predicate on the "reason" field.

func ReasonLTE

func ReasonLTE(v string) predicate.WorkflowRun

ReasonLTE applies the LTE predicate on the "reason" field.

func ReasonNEQ

func ReasonNEQ(v string) predicate.WorkflowRun

ReasonNEQ applies the NEQ predicate on the "reason" field.

func ReasonNotIn

func ReasonNotIn(vs ...string) predicate.WorkflowRun

ReasonNotIn applies the NotIn predicate on the "reason" field.

func ReasonNotNil

func ReasonNotNil() predicate.WorkflowRun

ReasonNotNil applies the NotNil predicate on the "reason" field.

func RunURL

func RunURL(v string) predicate.WorkflowRun

RunURL applies equality check predicate on the "run_url" field. It's identical to RunURLEQ.

func RunURLContains

func RunURLContains(v string) predicate.WorkflowRun

RunURLContains applies the Contains predicate on the "run_url" field.

func RunURLContainsFold

func RunURLContainsFold(v string) predicate.WorkflowRun

RunURLContainsFold applies the ContainsFold predicate on the "run_url" field.

func RunURLEQ

func RunURLEQ(v string) predicate.WorkflowRun

RunURLEQ applies the EQ predicate on the "run_url" field.

func RunURLEqualFold

func RunURLEqualFold(v string) predicate.WorkflowRun

RunURLEqualFold applies the EqualFold predicate on the "run_url" field.

func RunURLGT

func RunURLGT(v string) predicate.WorkflowRun

RunURLGT applies the GT predicate on the "run_url" field.

func RunURLGTE

func RunURLGTE(v string) predicate.WorkflowRun

RunURLGTE applies the GTE predicate on the "run_url" field.

func RunURLHasPrefix

func RunURLHasPrefix(v string) predicate.WorkflowRun

RunURLHasPrefix applies the HasPrefix predicate on the "run_url" field.

func RunURLHasSuffix

func RunURLHasSuffix(v string) predicate.WorkflowRun

RunURLHasSuffix applies the HasSuffix predicate on the "run_url" field.

func RunURLIn

func RunURLIn(vs ...string) predicate.WorkflowRun

RunURLIn applies the In predicate on the "run_url" field.

func RunURLIsNil

func RunURLIsNil() predicate.WorkflowRun

RunURLIsNil applies the IsNil predicate on the "run_url" field.

func RunURLLT

func RunURLLT(v string) predicate.WorkflowRun

RunURLLT applies the LT predicate on the "run_url" field.

func RunURLLTE

func RunURLLTE(v string) predicate.WorkflowRun

RunURLLTE applies the LTE predicate on the "run_url" field.

func RunURLNEQ

func RunURLNEQ(v string) predicate.WorkflowRun

RunURLNEQ applies the NEQ predicate on the "run_url" field.

func RunURLNotIn

func RunURLNotIn(vs ...string) predicate.WorkflowRun

RunURLNotIn applies the NotIn predicate on the "run_url" field.

func RunURLNotNil

func RunURLNotNil() predicate.WorkflowRun

RunURLNotNil applies the NotNil predicate on the "run_url" field.

func RunnerType

func RunnerType(v string) predicate.WorkflowRun

RunnerType applies equality check predicate on the "runner_type" field. It's identical to RunnerTypeEQ.

func RunnerTypeContains

func RunnerTypeContains(v string) predicate.WorkflowRun

RunnerTypeContains applies the Contains predicate on the "runner_type" field.

func RunnerTypeContainsFold

func RunnerTypeContainsFold(v string) predicate.WorkflowRun

RunnerTypeContainsFold applies the ContainsFold predicate on the "runner_type" field.

func RunnerTypeEQ

func RunnerTypeEQ(v string) predicate.WorkflowRun

RunnerTypeEQ applies the EQ predicate on the "runner_type" field.

func RunnerTypeEqualFold

func RunnerTypeEqualFold(v string) predicate.WorkflowRun

RunnerTypeEqualFold applies the EqualFold predicate on the "runner_type" field.

func RunnerTypeGT

func RunnerTypeGT(v string) predicate.WorkflowRun

RunnerTypeGT applies the GT predicate on the "runner_type" field.

func RunnerTypeGTE

func RunnerTypeGTE(v string) predicate.WorkflowRun

RunnerTypeGTE applies the GTE predicate on the "runner_type" field.

func RunnerTypeHasPrefix

func RunnerTypeHasPrefix(v string) predicate.WorkflowRun

RunnerTypeHasPrefix applies the HasPrefix predicate on the "runner_type" field.

func RunnerTypeHasSuffix

func RunnerTypeHasSuffix(v string) predicate.WorkflowRun

RunnerTypeHasSuffix applies the HasSuffix predicate on the "runner_type" field.

func RunnerTypeIn

func RunnerTypeIn(vs ...string) predicate.WorkflowRun

RunnerTypeIn applies the In predicate on the "runner_type" field.

func RunnerTypeIsNil

func RunnerTypeIsNil() predicate.WorkflowRun

RunnerTypeIsNil applies the IsNil predicate on the "runner_type" field.

func RunnerTypeLT

func RunnerTypeLT(v string) predicate.WorkflowRun

RunnerTypeLT applies the LT predicate on the "runner_type" field.

func RunnerTypeLTE

func RunnerTypeLTE(v string) predicate.WorkflowRun

RunnerTypeLTE applies the LTE predicate on the "runner_type" field.

func RunnerTypeNEQ

func RunnerTypeNEQ(v string) predicate.WorkflowRun

RunnerTypeNEQ applies the NEQ predicate on the "runner_type" field.

func RunnerTypeNotIn

func RunnerTypeNotIn(vs ...string) predicate.WorkflowRun

RunnerTypeNotIn applies the NotIn predicate on the "runner_type" field.

func RunnerTypeNotNil

func RunnerTypeNotNil() predicate.WorkflowRun

RunnerTypeNotNil applies the NotNil predicate on the "runner_type" 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

func StateNotIn(vs ...biz.WorkflowRunStatus) predicate.WorkflowRun

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

func StateValidator

func StateValidator(s biz.WorkflowRunStatus) error

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption added in v0.13.0

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowRun queries.

func ByAttestationDigest added in v0.17.0

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

ByAttestationDigest orders the results by the attestation_digest field.

func ByCasBackends added in v0.14.0

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

ByCasBackends orders the results by cas_backends terms.

func ByCasBackendsCount added in v0.14.0

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

ByCasBackendsCount orders the results by cas_backends count.

func ByContractRevisionLatest added in v0.70.0

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

ByContractRevisionLatest orders the results by the contract_revision_latest field.

func ByContractRevisionUsed added in v0.70.0

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

ByContractRevisionUsed orders the results by the contract_revision_used field.

func ByContractVersionField added in v0.13.0

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

ByContractVersionField orders the results by contract_version field.

func ByCreatedAt added in v0.13.0

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

ByCreatedAt orders the results by the created_at field.

func ByFinishedAt added in v0.13.0

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

ByFinishedAt orders the results by the finished_at field.

func ByID added in v0.13.0

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

ByID orders the results by the id field.

func ByReason added in v0.13.0

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

ByReason orders the results by the reason field.

func ByRunURL added in v0.13.0

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

ByRunURL orders the results by the run_url field.

func ByRunnerType added in v0.13.0

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

ByRunnerType orders the results by the runner_type field.

func ByState added in v0.13.0

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

ByState orders the results by the state field.

func ByWorkflowField added in v0.13.0

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

ByWorkflowField orders the results by workflow field.

Jump to

Keyboard shortcuts

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