Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkflowRun) predicate.WorkflowRun
- func AttestationDigest(v string) predicate.WorkflowRun
- func AttestationDigestContains(v string) predicate.WorkflowRun
- func AttestationDigestContainsFold(v string) predicate.WorkflowRun
- func AttestationDigestEQ(v string) predicate.WorkflowRun
- func AttestationDigestEqualFold(v string) predicate.WorkflowRun
- func AttestationDigestGT(v string) predicate.WorkflowRun
- func AttestationDigestGTE(v string) predicate.WorkflowRun
- func AttestationDigestHasPrefix(v string) predicate.WorkflowRun
- func AttestationDigestHasSuffix(v string) predicate.WorkflowRun
- func AttestationDigestIn(vs ...string) predicate.WorkflowRun
- func AttestationDigestIsNil() predicate.WorkflowRun
- func AttestationDigestLT(v string) predicate.WorkflowRun
- func AttestationDigestLTE(v string) predicate.WorkflowRun
- func AttestationDigestNEQ(v string) predicate.WorkflowRun
- func AttestationDigestNotIn(vs ...string) predicate.WorkflowRun
- func AttestationDigestNotNil() predicate.WorkflowRun
- func AttestationIsNil() predicate.WorkflowRun
- func AttestationNotNil() predicate.WorkflowRun
- func AttestationState(v []byte) predicate.WorkflowRun
- func AttestationStateEQ(v []byte) predicate.WorkflowRun
- func AttestationStateGT(v []byte) predicate.WorkflowRun
- func AttestationStateGTE(v []byte) predicate.WorkflowRun
- func AttestationStateIn(vs ...[]byte) predicate.WorkflowRun
- func AttestationStateIsNil() predicate.WorkflowRun
- func AttestationStateLT(v []byte) predicate.WorkflowRun
- func AttestationStateLTE(v []byte) predicate.WorkflowRun
- func AttestationStateNEQ(v []byte) predicate.WorkflowRun
- func AttestationStateNotIn(vs ...[]byte) predicate.WorkflowRun
- func AttestationStateNotNil() predicate.WorkflowRun
- func ContractRevisionLatest(v int) predicate.WorkflowRun
- func ContractRevisionLatestEQ(v int) predicate.WorkflowRun
- func ContractRevisionLatestGT(v int) predicate.WorkflowRun
- func ContractRevisionLatestGTE(v int) predicate.WorkflowRun
- func ContractRevisionLatestIn(vs ...int) predicate.WorkflowRun
- func ContractRevisionLatestLT(v int) predicate.WorkflowRun
- func ContractRevisionLatestLTE(v int) predicate.WorkflowRun
- func ContractRevisionLatestNEQ(v int) predicate.WorkflowRun
- func ContractRevisionLatestNotIn(vs ...int) predicate.WorkflowRun
- func ContractRevisionUsed(v int) predicate.WorkflowRun
- func ContractRevisionUsedEQ(v int) predicate.WorkflowRun
- func ContractRevisionUsedGT(v int) predicate.WorkflowRun
- func ContractRevisionUsedGTE(v int) predicate.WorkflowRun
- func ContractRevisionUsedIn(vs ...int) predicate.WorkflowRun
- func ContractRevisionUsedLT(v int) predicate.WorkflowRun
- func ContractRevisionUsedLTE(v int) predicate.WorkflowRun
- func ContractRevisionUsedNEQ(v int) predicate.WorkflowRun
- func ContractRevisionUsedNotIn(vs ...int) predicate.WorkflowRun
- func CreatedAt(v time.Time) predicate.WorkflowRun
- func CreatedAtEQ(v time.Time) predicate.WorkflowRun
- func CreatedAtGT(v time.Time) predicate.WorkflowRun
- func CreatedAtGTE(v time.Time) predicate.WorkflowRun
- func CreatedAtIn(vs ...time.Time) predicate.WorkflowRun
- func CreatedAtLT(v time.Time) predicate.WorkflowRun
- func CreatedAtLTE(v time.Time) predicate.WorkflowRun
- func CreatedAtNEQ(v time.Time) predicate.WorkflowRun
- func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowRun
- func FinishedAt(v time.Time) predicate.WorkflowRun
- func FinishedAtEQ(v time.Time) predicate.WorkflowRun
- func FinishedAtGT(v time.Time) predicate.WorkflowRun
- func FinishedAtGTE(v time.Time) predicate.WorkflowRun
- func FinishedAtIn(vs ...time.Time) predicate.WorkflowRun
- func FinishedAtIsNil() predicate.WorkflowRun
- func FinishedAtLT(v time.Time) predicate.WorkflowRun
- func FinishedAtLTE(v time.Time) predicate.WorkflowRun
- func FinishedAtNEQ(v time.Time) predicate.WorkflowRun
- func FinishedAtNotIn(vs ...time.Time) predicate.WorkflowRun
- func FinishedAtNotNil() predicate.WorkflowRun
- func HasCasBackends() predicate.WorkflowRun
- func HasCasBackendsWith(preds ...predicate.CASBackend) predicate.WorkflowRun
- func HasContractVersion() predicate.WorkflowRun
- func HasContractVersionWith(preds ...predicate.WorkflowContractVersion) predicate.WorkflowRun
- func HasWorkflow() predicate.WorkflowRun
- func HasWorkflowWith(preds ...predicate.Workflow) predicate.WorkflowRun
- func ID(id uuid.UUID) predicate.WorkflowRun
- func IDEQ(id uuid.UUID) predicate.WorkflowRun
- func IDGT(id uuid.UUID) predicate.WorkflowRun
- func IDGTE(id uuid.UUID) predicate.WorkflowRun
- func IDIn(ids ...uuid.UUID) predicate.WorkflowRun
- func IDLT(id uuid.UUID) predicate.WorkflowRun
- func IDLTE(id uuid.UUID) predicate.WorkflowRun
- func IDNEQ(id uuid.UUID) predicate.WorkflowRun
- func IDNotIn(ids ...uuid.UUID) predicate.WorkflowRun
- func Not(p predicate.WorkflowRun) predicate.WorkflowRun
- func Or(predicates ...predicate.WorkflowRun) predicate.WorkflowRun
- func Reason(v string) predicate.WorkflowRun
- func ReasonContains(v string) predicate.WorkflowRun
- func ReasonContainsFold(v string) predicate.WorkflowRun
- func ReasonEQ(v string) predicate.WorkflowRun
- func ReasonEqualFold(v string) predicate.WorkflowRun
- func ReasonGT(v string) predicate.WorkflowRun
- func ReasonGTE(v string) predicate.WorkflowRun
- func ReasonHasPrefix(v string) predicate.WorkflowRun
- func ReasonHasSuffix(v string) predicate.WorkflowRun
- func ReasonIn(vs ...string) predicate.WorkflowRun
- func ReasonIsNil() predicate.WorkflowRun
- func ReasonLT(v string) predicate.WorkflowRun
- func ReasonLTE(v string) predicate.WorkflowRun
- func ReasonNEQ(v string) predicate.WorkflowRun
- func ReasonNotIn(vs ...string) predicate.WorkflowRun
- func ReasonNotNil() predicate.WorkflowRun
- func RunURL(v string) predicate.WorkflowRun
- func RunURLContains(v string) predicate.WorkflowRun
- func RunURLContainsFold(v string) predicate.WorkflowRun
- func RunURLEQ(v string) predicate.WorkflowRun
- func RunURLEqualFold(v string) predicate.WorkflowRun
- func RunURLGT(v string) predicate.WorkflowRun
- func RunURLGTE(v string) predicate.WorkflowRun
- func RunURLHasPrefix(v string) predicate.WorkflowRun
- func RunURLHasSuffix(v string) predicate.WorkflowRun
- func RunURLIn(vs ...string) predicate.WorkflowRun
- func RunURLIsNil() predicate.WorkflowRun
- func RunURLLT(v string) predicate.WorkflowRun
- func RunURLLTE(v string) predicate.WorkflowRun
- func RunURLNEQ(v string) predicate.WorkflowRun
- func RunURLNotIn(vs ...string) predicate.WorkflowRun
- func RunURLNotNil() predicate.WorkflowRun
- func RunnerType(v string) predicate.WorkflowRun
- func RunnerTypeContains(v string) predicate.WorkflowRun
- func RunnerTypeContainsFold(v string) predicate.WorkflowRun
- func RunnerTypeEQ(v string) predicate.WorkflowRun
- func RunnerTypeEqualFold(v string) predicate.WorkflowRun
- func RunnerTypeGT(v string) predicate.WorkflowRun
- func RunnerTypeGTE(v string) predicate.WorkflowRun
- func RunnerTypeHasPrefix(v string) predicate.WorkflowRun
- func RunnerTypeHasSuffix(v string) predicate.WorkflowRun
- func RunnerTypeIn(vs ...string) predicate.WorkflowRun
- func RunnerTypeIsNil() predicate.WorkflowRun
- func RunnerTypeLT(v string) predicate.WorkflowRun
- func RunnerTypeLTE(v string) predicate.WorkflowRun
- func RunnerTypeNEQ(v string) predicate.WorkflowRun
- func RunnerTypeNotIn(vs ...string) predicate.WorkflowRun
- func RunnerTypeNotNil() predicate.WorkflowRun
- func StateEQ(v biz.WorkflowRunStatus) predicate.WorkflowRun
- func StateIn(vs ...biz.WorkflowRunStatus) predicate.WorkflowRun
- func StateNEQ(v biz.WorkflowRunStatus) predicate.WorkflowRun
- func StateNotIn(vs ...biz.WorkflowRunStatus) predicate.WorkflowRun
- func StateValidator(s biz.WorkflowRunStatus) error
- func ValidColumn(column string) bool
- type OrderOption
- func ByAttestationDigest(opts ...sql.OrderTermOption) OrderOption
- func ByCasBackends(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCasBackendsCount(opts ...sql.OrderTermOption) OrderOption
- func ByContractRevisionLatest(opts ...sql.OrderTermOption) OrderOption
- func ByContractRevisionUsed(opts ...sql.OrderTermOption) OrderOption
- func ByContractVersionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFinishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByReason(opts ...sql.OrderTermOption) OrderOption
- func ByRunURL(opts ...sql.OrderTermOption) OrderOption
- func ByRunnerType(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" )
const DefaultState biz.WorkflowRunStatus = "initialized"
Variables ¶
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 )
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"} )
var Columns = []string{ FieldID, FieldCreatedAt, FieldFinishedAt, FieldState, FieldReason, FieldRunURL, FieldRunnerType, FieldAttestation, FieldAttestationDigest, FieldAttestationState, FieldContractRevisionUsed, FieldContractRevisionLatest, }
Columns holds all SQL columns for workflowrun fields.
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 ¶
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 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 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 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 ¶
func Not(p predicate.WorkflowRun) predicate.WorkflowRun
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 ¶
func StateEQ(v biz.WorkflowRunStatus) predicate.WorkflowRun
StateEQ applies the EQ predicate on the "state" field.
func StateIn ¶
func StateIn(vs ...biz.WorkflowRunStatus) predicate.WorkflowRun
StateIn applies the In predicate on the "state" field.
func StateNEQ ¶
func StateNEQ(v biz.WorkflowRunStatus) predicate.WorkflowRun
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the WorkflowRun queries.
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 ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id 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 ByWorkflowField ¶
func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkflowField orders the results by workflow field.