workflowrun

package
v1.94.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 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"
	// FieldVersionID holds the string denoting the version_id field in the database.
	FieldVersionID = "version_id"
	// FieldWorkflowID holds the string denoting the workflow_id field in the database.
	FieldWorkflowID = "workflow_id"
	// FieldHasPolicyViolations holds the string denoting the has_policy_violations field in the database.
	FieldHasPolicyViolations = "has_policy_violations"
	// FieldPolicyStatus holds the string denoting the policy_status field in the database.
	FieldPolicyStatus = "policy_status"
	// FieldPolicyEvaluationsTotal holds the string denoting the policy_evaluations_total field in the database.
	FieldPolicyEvaluationsTotal = "policy_evaluations_total"
	// FieldPolicyEvaluationsPassed holds the string denoting the policy_evaluations_passed field in the database.
	FieldPolicyEvaluationsPassed = "policy_evaluations_passed"
	// FieldPolicyEvaluationsSkipped holds the string denoting the policy_evaluations_skipped field in the database.
	FieldPolicyEvaluationsSkipped = "policy_evaluations_skipped"
	// FieldPolicyViolationsCount holds the string denoting the policy_violations_count field in the database.
	FieldPolicyViolationsCount = "policy_violations_count"
	// FieldPolicyHasGates holds the string denoting the policy_has_gates field in the database.
	FieldPolicyHasGates = "policy_has_gates"
	// 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"
	// EdgeVersion holds the string denoting the version edge name in mutations.
	EdgeVersion = "version"
	// EdgeAttestationBundle holds the string denoting the attestation_bundle edge name in mutations.
	EdgeAttestationBundle = "attestation_bundle"
	// 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_id"
	// 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"
	// VersionTable is the table that holds the version relation/edge.
	VersionTable = "workflow_runs"
	// VersionInverseTable is the table name for the ProjectVersion entity.
	// It exists in this package in order to avoid circular dependency with the "projectversion" package.
	VersionInverseTable = "project_versions"
	// VersionColumn is the table column denoting the version relation/edge.
	VersionColumn = "version_id"
	// AttestationBundleTable is the table that holds the attestation_bundle relation/edge.
	AttestationBundleTable = "attestations"
	// AttestationBundleInverseTable is the table name for the Attestation entity.
	// It exists in this package in order to avoid circular dependency with the "attestation" package.
	AttestationBundleInverseTable = "attestations"
	// AttestationBundleColumn is the table column denoting the attestation_bundle relation/edge.
	AttestationBundleColumn = "workflowrun_id"
)
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_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 ¶

func AttestationDigest(v string) predicate.WorkflowRun

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

func AttestationDigestContains ¶

func AttestationDigestContains(v string) predicate.WorkflowRun

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

func AttestationDigestContainsFold ¶

func AttestationDigestContainsFold(v string) predicate.WorkflowRun

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

func AttestationDigestEQ ¶

func AttestationDigestEQ(v string) predicate.WorkflowRun

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

func AttestationDigestEqualFold ¶

func AttestationDigestEqualFold(v string) predicate.WorkflowRun

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

func AttestationDigestGT ¶

func AttestationDigestGT(v string) predicate.WorkflowRun

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

func AttestationDigestGTE ¶

func AttestationDigestGTE(v string) predicate.WorkflowRun

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

func AttestationDigestHasPrefix ¶

func AttestationDigestHasPrefix(v string) predicate.WorkflowRun

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

func AttestationDigestHasSuffix ¶

func AttestationDigestHasSuffix(v string) predicate.WorkflowRun

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

func AttestationDigestIn ¶

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

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

func AttestationDigestIsNil ¶

func AttestationDigestIsNil() predicate.WorkflowRun

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

func AttestationDigestLT ¶

func AttestationDigestLT(v string) predicate.WorkflowRun

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

func AttestationDigestLTE ¶

func AttestationDigestLTE(v string) predicate.WorkflowRun

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

func AttestationDigestNEQ ¶

func AttestationDigestNEQ(v string) predicate.WorkflowRun

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

func AttestationDigestNotIn ¶

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

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

func AttestationDigestNotNil ¶

func AttestationDigestNotNil() predicate.WorkflowRun

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

func AttestationIsNil ¶

func AttestationIsNil() predicate.WorkflowRun

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

func AttestationNotNil ¶

func AttestationNotNil() predicate.WorkflowRun

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

func AttestationState ¶

func AttestationState(v []byte) predicate.WorkflowRun

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

func AttestationStateEQ ¶

func AttestationStateEQ(v []byte) predicate.WorkflowRun

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

func AttestationStateGT ¶

func AttestationStateGT(v []byte) predicate.WorkflowRun

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

func AttestationStateGTE ¶

func AttestationStateGTE(v []byte) predicate.WorkflowRun

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

func AttestationStateIn ¶

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

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

func AttestationStateIsNil ¶

func AttestationStateIsNil() predicate.WorkflowRun

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

func AttestationStateLT ¶

func AttestationStateLT(v []byte) predicate.WorkflowRun

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

func AttestationStateLTE ¶

func AttestationStateLTE(v []byte) predicate.WorkflowRun

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

func AttestationStateNEQ ¶

func AttestationStateNEQ(v []byte) predicate.WorkflowRun

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

func AttestationStateNotIn ¶

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

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

func AttestationStateNotNil ¶

func AttestationStateNotNil() predicate.WorkflowRun

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

func ContractRevisionLatest ¶

func ContractRevisionLatest(v int) predicate.WorkflowRun

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

func ContractRevisionLatestEQ ¶

func ContractRevisionLatestEQ(v int) predicate.WorkflowRun

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

func ContractRevisionLatestGT ¶

func ContractRevisionLatestGT(v int) predicate.WorkflowRun

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

func ContractRevisionLatestGTE ¶

func ContractRevisionLatestGTE(v int) predicate.WorkflowRun

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

func ContractRevisionLatestIn ¶

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

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

func ContractRevisionLatestLT ¶

func ContractRevisionLatestLT(v int) predicate.WorkflowRun

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

func ContractRevisionLatestLTE ¶

func ContractRevisionLatestLTE(v int) predicate.WorkflowRun

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

func ContractRevisionLatestNEQ ¶

func ContractRevisionLatestNEQ(v int) predicate.WorkflowRun

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

func ContractRevisionLatestNotIn ¶

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

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

func ContractRevisionUsed ¶

func ContractRevisionUsed(v int) predicate.WorkflowRun

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

func ContractRevisionUsedEQ ¶

func ContractRevisionUsedEQ(v int) predicate.WorkflowRun

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

func ContractRevisionUsedGT ¶

func ContractRevisionUsedGT(v int) predicate.WorkflowRun

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

func ContractRevisionUsedGTE ¶

func ContractRevisionUsedGTE(v int) predicate.WorkflowRun

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

func ContractRevisionUsedIn ¶

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

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

func ContractRevisionUsedLT ¶

func ContractRevisionUsedLT(v int) predicate.WorkflowRun

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

func ContractRevisionUsedLTE ¶

func ContractRevisionUsedLTE(v int) predicate.WorkflowRun

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

func ContractRevisionUsedNEQ ¶

func ContractRevisionUsedNEQ(v int) predicate.WorkflowRun

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

func ContractRevisionUsedNotIn ¶

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 HasAttestationBundle ¶ added in v0.159.0

func HasAttestationBundle() predicate.WorkflowRun

HasAttestationBundle applies the HasEdge predicate on the "attestation_bundle" edge.

func HasAttestationBundleWith ¶ added in v0.159.0

func HasAttestationBundleWith(preds ...predicate.Attestation) predicate.WorkflowRun

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

func HasCasBackends ¶

func HasCasBackends() predicate.WorkflowRun

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

func HasCasBackendsWith ¶

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 HasPolicyViolations ¶ added in v1.58.0

func HasPolicyViolations(v bool) predicate.WorkflowRun

HasPolicyViolations applies equality check predicate on the "has_policy_violations" field. It's identical to HasPolicyViolationsEQ.

func HasPolicyViolationsEQ ¶ added in v1.58.0

func HasPolicyViolationsEQ(v bool) predicate.WorkflowRun

HasPolicyViolationsEQ applies the EQ predicate on the "has_policy_violations" field.

func HasPolicyViolationsIsNil ¶ added in v1.58.0

func HasPolicyViolationsIsNil() predicate.WorkflowRun

HasPolicyViolationsIsNil applies the IsNil predicate on the "has_policy_violations" field.

func HasPolicyViolationsNEQ ¶ added in v1.58.0

func HasPolicyViolationsNEQ(v bool) predicate.WorkflowRun

HasPolicyViolationsNEQ applies the NEQ predicate on the "has_policy_violations" field.

func HasPolicyViolationsNotNil ¶ added in v1.58.0

func HasPolicyViolationsNotNil() predicate.WorkflowRun

HasPolicyViolationsNotNil applies the NotNil predicate on the "has_policy_violations" field.

func HasVersion ¶ added in v0.97.5

func HasVersion() predicate.WorkflowRun

HasVersion applies the HasEdge predicate on the "version" edge.

func HasVersionWith ¶ added in v0.97.5

func HasVersionWith(preds ...predicate.ProjectVersion) predicate.WorkflowRun

HasVersionWith applies the HasEdge predicate on the "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 PolicyEvaluationsPassed ¶ added in v1.93.4

func PolicyEvaluationsPassed(v int32) predicate.WorkflowRun

PolicyEvaluationsPassed applies equality check predicate on the "policy_evaluations_passed" field. It's identical to PolicyEvaluationsPassedEQ.

func PolicyEvaluationsPassedEQ ¶ added in v1.93.4

func PolicyEvaluationsPassedEQ(v int32) predicate.WorkflowRun

PolicyEvaluationsPassedEQ applies the EQ predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedGT ¶ added in v1.93.4

func PolicyEvaluationsPassedGT(v int32) predicate.WorkflowRun

PolicyEvaluationsPassedGT applies the GT predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedGTE ¶ added in v1.93.4

func PolicyEvaluationsPassedGTE(v int32) predicate.WorkflowRun

PolicyEvaluationsPassedGTE applies the GTE predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedIn ¶ added in v1.93.4

func PolicyEvaluationsPassedIn(vs ...int32) predicate.WorkflowRun

PolicyEvaluationsPassedIn applies the In predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedIsNil ¶ added in v1.93.4

func PolicyEvaluationsPassedIsNil() predicate.WorkflowRun

PolicyEvaluationsPassedIsNil applies the IsNil predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedLT ¶ added in v1.93.4

func PolicyEvaluationsPassedLT(v int32) predicate.WorkflowRun

PolicyEvaluationsPassedLT applies the LT predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedLTE ¶ added in v1.93.4

func PolicyEvaluationsPassedLTE(v int32) predicate.WorkflowRun

PolicyEvaluationsPassedLTE applies the LTE predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedNEQ ¶ added in v1.93.4

func PolicyEvaluationsPassedNEQ(v int32) predicate.WorkflowRun

PolicyEvaluationsPassedNEQ applies the NEQ predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedNotIn ¶ added in v1.93.4

func PolicyEvaluationsPassedNotIn(vs ...int32) predicate.WorkflowRun

PolicyEvaluationsPassedNotIn applies the NotIn predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsPassedNotNil ¶ added in v1.93.4

func PolicyEvaluationsPassedNotNil() predicate.WorkflowRun

PolicyEvaluationsPassedNotNil applies the NotNil predicate on the "policy_evaluations_passed" field.

func PolicyEvaluationsSkipped ¶ added in v1.93.4

func PolicyEvaluationsSkipped(v int32) predicate.WorkflowRun

PolicyEvaluationsSkipped applies equality check predicate on the "policy_evaluations_skipped" field. It's identical to PolicyEvaluationsSkippedEQ.

func PolicyEvaluationsSkippedEQ ¶ added in v1.93.4

func PolicyEvaluationsSkippedEQ(v int32) predicate.WorkflowRun

PolicyEvaluationsSkippedEQ applies the EQ predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedGT ¶ added in v1.93.4

func PolicyEvaluationsSkippedGT(v int32) predicate.WorkflowRun

PolicyEvaluationsSkippedGT applies the GT predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedGTE ¶ added in v1.93.4

func PolicyEvaluationsSkippedGTE(v int32) predicate.WorkflowRun

PolicyEvaluationsSkippedGTE applies the GTE predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedIn ¶ added in v1.93.4

func PolicyEvaluationsSkippedIn(vs ...int32) predicate.WorkflowRun

PolicyEvaluationsSkippedIn applies the In predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedIsNil ¶ added in v1.93.4

func PolicyEvaluationsSkippedIsNil() predicate.WorkflowRun

PolicyEvaluationsSkippedIsNil applies the IsNil predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedLT ¶ added in v1.93.4

func PolicyEvaluationsSkippedLT(v int32) predicate.WorkflowRun

PolicyEvaluationsSkippedLT applies the LT predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedLTE ¶ added in v1.93.4

func PolicyEvaluationsSkippedLTE(v int32) predicate.WorkflowRun

PolicyEvaluationsSkippedLTE applies the LTE predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedNEQ ¶ added in v1.93.4

func PolicyEvaluationsSkippedNEQ(v int32) predicate.WorkflowRun

PolicyEvaluationsSkippedNEQ applies the NEQ predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedNotIn ¶ added in v1.93.4

func PolicyEvaluationsSkippedNotIn(vs ...int32) predicate.WorkflowRun

PolicyEvaluationsSkippedNotIn applies the NotIn predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsSkippedNotNil ¶ added in v1.93.4

func PolicyEvaluationsSkippedNotNil() predicate.WorkflowRun

PolicyEvaluationsSkippedNotNil applies the NotNil predicate on the "policy_evaluations_skipped" field.

func PolicyEvaluationsTotal ¶ added in v1.93.4

func PolicyEvaluationsTotal(v int32) predicate.WorkflowRun

PolicyEvaluationsTotal applies equality check predicate on the "policy_evaluations_total" field. It's identical to PolicyEvaluationsTotalEQ.

func PolicyEvaluationsTotalEQ ¶ added in v1.93.4

func PolicyEvaluationsTotalEQ(v int32) predicate.WorkflowRun

PolicyEvaluationsTotalEQ applies the EQ predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalGT ¶ added in v1.93.4

func PolicyEvaluationsTotalGT(v int32) predicate.WorkflowRun

PolicyEvaluationsTotalGT applies the GT predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalGTE ¶ added in v1.93.4

func PolicyEvaluationsTotalGTE(v int32) predicate.WorkflowRun

PolicyEvaluationsTotalGTE applies the GTE predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalIn ¶ added in v1.93.4

func PolicyEvaluationsTotalIn(vs ...int32) predicate.WorkflowRun

PolicyEvaluationsTotalIn applies the In predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalIsNil ¶ added in v1.93.4

func PolicyEvaluationsTotalIsNil() predicate.WorkflowRun

PolicyEvaluationsTotalIsNil applies the IsNil predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalLT ¶ added in v1.93.4

func PolicyEvaluationsTotalLT(v int32) predicate.WorkflowRun

PolicyEvaluationsTotalLT applies the LT predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalLTE ¶ added in v1.93.4

func PolicyEvaluationsTotalLTE(v int32) predicate.WorkflowRun

PolicyEvaluationsTotalLTE applies the LTE predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalNEQ ¶ added in v1.93.4

func PolicyEvaluationsTotalNEQ(v int32) predicate.WorkflowRun

PolicyEvaluationsTotalNEQ applies the NEQ predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalNotIn ¶ added in v1.93.4

func PolicyEvaluationsTotalNotIn(vs ...int32) predicate.WorkflowRun

PolicyEvaluationsTotalNotIn applies the NotIn predicate on the "policy_evaluations_total" field.

func PolicyEvaluationsTotalNotNil ¶ added in v1.93.4

func PolicyEvaluationsTotalNotNil() predicate.WorkflowRun

PolicyEvaluationsTotalNotNil applies the NotNil predicate on the "policy_evaluations_total" field.

func PolicyHasGates ¶ added in v1.93.4

func PolicyHasGates(v bool) predicate.WorkflowRun

PolicyHasGates applies equality check predicate on the "policy_has_gates" field. It's identical to PolicyHasGatesEQ.

func PolicyHasGatesEQ ¶ added in v1.93.4

func PolicyHasGatesEQ(v bool) predicate.WorkflowRun

PolicyHasGatesEQ applies the EQ predicate on the "policy_has_gates" field.

func PolicyHasGatesIsNil ¶ added in v1.93.4

func PolicyHasGatesIsNil() predicate.WorkflowRun

PolicyHasGatesIsNil applies the IsNil predicate on the "policy_has_gates" field.

func PolicyHasGatesNEQ ¶ added in v1.93.4

func PolicyHasGatesNEQ(v bool) predicate.WorkflowRun

PolicyHasGatesNEQ applies the NEQ predicate on the "policy_has_gates" field.

func PolicyHasGatesNotNil ¶ added in v1.93.4

func PolicyHasGatesNotNil() predicate.WorkflowRun

PolicyHasGatesNotNil applies the NotNil predicate on the "policy_has_gates" field.

func PolicyStatusEQ ¶ added in v1.93.4

func PolicyStatusEQ(v PolicyStatus) predicate.WorkflowRun

PolicyStatusEQ applies the EQ predicate on the "policy_status" field.

func PolicyStatusIn ¶ added in v1.93.4

func PolicyStatusIn(vs ...PolicyStatus) predicate.WorkflowRun

PolicyStatusIn applies the In predicate on the "policy_status" field.

func PolicyStatusIsNil ¶ added in v1.93.4

func PolicyStatusIsNil() predicate.WorkflowRun

PolicyStatusIsNil applies the IsNil predicate on the "policy_status" field.

func PolicyStatusNEQ ¶ added in v1.93.4

func PolicyStatusNEQ(v PolicyStatus) predicate.WorkflowRun

PolicyStatusNEQ applies the NEQ predicate on the "policy_status" field.

func PolicyStatusNotIn ¶ added in v1.93.4

func PolicyStatusNotIn(vs ...PolicyStatus) predicate.WorkflowRun

PolicyStatusNotIn applies the NotIn predicate on the "policy_status" field.

func PolicyStatusNotNil ¶ added in v1.93.4

func PolicyStatusNotNil() predicate.WorkflowRun

PolicyStatusNotNil applies the NotNil predicate on the "policy_status" field.

func PolicyStatusValidator ¶ added in v1.93.4

func PolicyStatusValidator(ps PolicyStatus) error

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

func PolicyViolationsCount ¶ added in v1.93.4

func PolicyViolationsCount(v int32) predicate.WorkflowRun

PolicyViolationsCount applies equality check predicate on the "policy_violations_count" field. It's identical to PolicyViolationsCountEQ.

func PolicyViolationsCountEQ ¶ added in v1.93.4

func PolicyViolationsCountEQ(v int32) predicate.WorkflowRun

PolicyViolationsCountEQ applies the EQ predicate on the "policy_violations_count" field.

func PolicyViolationsCountGT ¶ added in v1.93.4

func PolicyViolationsCountGT(v int32) predicate.WorkflowRun

PolicyViolationsCountGT applies the GT predicate on the "policy_violations_count" field.

func PolicyViolationsCountGTE ¶ added in v1.93.4

func PolicyViolationsCountGTE(v int32) predicate.WorkflowRun

PolicyViolationsCountGTE applies the GTE predicate on the "policy_violations_count" field.

func PolicyViolationsCountIn ¶ added in v1.93.4

func PolicyViolationsCountIn(vs ...int32) predicate.WorkflowRun

PolicyViolationsCountIn applies the In predicate on the "policy_violations_count" field.

func PolicyViolationsCountIsNil ¶ added in v1.93.4

func PolicyViolationsCountIsNil() predicate.WorkflowRun

PolicyViolationsCountIsNil applies the IsNil predicate on the "policy_violations_count" field.

func PolicyViolationsCountLT ¶ added in v1.93.4

func PolicyViolationsCountLT(v int32) predicate.WorkflowRun

PolicyViolationsCountLT applies the LT predicate on the "policy_violations_count" field.

func PolicyViolationsCountLTE ¶ added in v1.93.4

func PolicyViolationsCountLTE(v int32) predicate.WorkflowRun

PolicyViolationsCountLTE applies the LTE predicate on the "policy_violations_count" field.

func PolicyViolationsCountNEQ ¶ added in v1.93.4

func PolicyViolationsCountNEQ(v int32) predicate.WorkflowRun

PolicyViolationsCountNEQ applies the NEQ predicate on the "policy_violations_count" field.

func PolicyViolationsCountNotIn ¶ added in v1.93.4

func PolicyViolationsCountNotIn(vs ...int32) predicate.WorkflowRun

PolicyViolationsCountNotIn applies the NotIn predicate on the "policy_violations_count" field.

func PolicyViolationsCountNotNil ¶ added in v1.93.4

func PolicyViolationsCountNotNil() predicate.WorkflowRun

PolicyViolationsCountNotNil applies the NotNil predicate on the "policy_violations_count" field.

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).

func VersionID ¶ added in v0.97.5

func VersionID(v uuid.UUID) predicate.WorkflowRun

VersionID applies equality check predicate on the "version_id" field. It's identical to VersionIDEQ.

func VersionIDEQ ¶ added in v0.97.5

func VersionIDEQ(v uuid.UUID) predicate.WorkflowRun

VersionIDEQ applies the EQ predicate on the "version_id" field.

func VersionIDIn ¶ added in v0.97.5

func VersionIDIn(vs ...uuid.UUID) predicate.WorkflowRun

VersionIDIn applies the In predicate on the "version_id" field.

func VersionIDNEQ ¶ added in v0.97.5

func VersionIDNEQ(v uuid.UUID) predicate.WorkflowRun

VersionIDNEQ applies the NEQ predicate on the "version_id" field.

func VersionIDNotIn ¶ added in v0.97.5

func VersionIDNotIn(vs ...uuid.UUID) predicate.WorkflowRun

VersionIDNotIn applies the NotIn predicate on the "version_id" field.

func WorkflowID ¶ added in v0.123.0

func WorkflowID(v uuid.UUID) predicate.WorkflowRun

WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.

func WorkflowIDEQ ¶ added in v0.123.0

func WorkflowIDEQ(v uuid.UUID) predicate.WorkflowRun

WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.

func WorkflowIDIn ¶ added in v0.123.0

func WorkflowIDIn(vs ...uuid.UUID) predicate.WorkflowRun

WorkflowIDIn applies the In predicate on the "workflow_id" field.

func WorkflowIDNEQ ¶ added in v0.123.0

func WorkflowIDNEQ(v uuid.UUID) predicate.WorkflowRun

WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.

func WorkflowIDNotIn ¶ added in v0.123.0

func WorkflowIDNotIn(vs ...uuid.UUID) predicate.WorkflowRun

WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.

Types ¶

type OrderOption ¶

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowRun queries.

func ByAttestationBundleField ¶ added in v0.159.0

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

ByAttestationBundleField orders the results by attestation_bundle field.

func ByAttestationDigest ¶

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

ByAttestationDigest orders the results by the attestation_digest field.

func ByCasBackends ¶

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

ByCasBackends orders the results by cas_backends terms.

func ByCasBackendsCount ¶

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

ByCasBackendsCount orders the results by cas_backends count.

func ByContractRevisionLatest ¶

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

ByContractRevisionLatest orders the results by the contract_revision_latest field.

func ByContractRevisionUsed ¶

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

ByContractRevisionUsed orders the results by the contract_revision_used field.

func ByContractVersionField ¶

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

ByContractVersionField orders the results by contract_version field.

func ByCreatedAt ¶

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

ByCreatedAt orders the results by the created_at field.

func ByFinishedAt ¶

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

ByFinishedAt orders the results by the finished_at field.

func ByHasPolicyViolations ¶ added in v1.58.0

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

ByHasPolicyViolations orders the results by the has_policy_violations field.

func ByID ¶

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

ByID orders the results by the id field.

func ByPolicyEvaluationsPassed ¶ added in v1.93.4

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

ByPolicyEvaluationsPassed orders the results by the policy_evaluations_passed field.

func ByPolicyEvaluationsSkipped ¶ added in v1.93.4

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

ByPolicyEvaluationsSkipped orders the results by the policy_evaluations_skipped field.

func ByPolicyEvaluationsTotal ¶ added in v1.93.4

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

ByPolicyEvaluationsTotal orders the results by the policy_evaluations_total field.

func ByPolicyHasGates ¶ added in v1.93.4

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

ByPolicyHasGates orders the results by the policy_has_gates field.

func ByPolicyStatus ¶ added in v1.93.4

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

ByPolicyStatus orders the results by the policy_status field.

func ByPolicyViolationsCount ¶ added in v1.93.4

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

ByPolicyViolationsCount orders the results by the policy_violations_count field.

func ByReason ¶

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

ByReason orders the results by the reason field.

func ByRunURL ¶

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

ByRunURL orders the results by the run_url field.

func ByRunnerType ¶

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

ByRunnerType orders the results by the runner_type field.

func ByState ¶

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

ByState orders the results by the state field.

func ByVersionField ¶ added in v0.97.5

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

ByVersionField orders the results by version field.

func ByVersionID ¶ added in v0.97.5

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

ByVersionID orders the results by the version_id field.

func ByWorkflowField ¶

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

ByWorkflowField orders the results by workflow field.

func ByWorkflowID ¶ added in v0.123.0

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

ByWorkflowID orders the results by the workflow_id field.

type PolicyStatus ¶ added in v1.93.4

type PolicyStatus string

PolicyStatus defines the type for the "policy_status" enum field.

const (
	PolicyStatusNOT_APPLICABLE PolicyStatus = "NOT_APPLICABLE"
	PolicyStatusPASSED         PolicyStatus = "PASSED"
	PolicyStatusSKIPPED        PolicyStatus = "SKIPPED"
	PolicyStatusWARNING        PolicyStatus = "WARNING"
	PolicyStatusBLOCKED        PolicyStatus = "BLOCKED"
	PolicyStatusBYPASSED       PolicyStatus = "BYPASSED"
)

PolicyStatus values.

func (PolicyStatus) String ¶ added in v1.93.4

func (ps PolicyStatus) String() string

Jump to

Keyboard shortcuts

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