{"modulePath":"github.com/chainloop-dev/chainloop","version":"v1.138.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package workflowrun\n\n## Constants\n\n```go\nconst (\n\t// Label holds the string label denoting the workflowrun type in the database.\n\tLabel = \"workflow_run\"\n\t// FieldID holds the string denoting the id field in the database.\n\tFieldID = \"id\"\n\t// FieldCreatedAt holds the string denoting the created_at field in the database.\n\tFieldCreatedAt = \"created_at\"\n\t// FieldFinishedAt holds the string denoting the finished_at field in the database.\n\tFieldFinishedAt = \"finished_at\"\n\t// FieldState holds the string denoting the state field in the database.\n\tFieldState = \"state\"\n\t// FieldReason holds the string denoting the reason field in the database.\n\tFieldReason = \"reason\"\n\t// FieldRunURL holds the string denoting the run_url field in the database.\n\tFieldRunURL = \"run_url\"\n\t// FieldRunnerType holds the string denoting the runner_type field in the database.\n\tFieldRunnerType = \"runner_type\"\n\t// FieldAttestation holds the string denoting the attestation field in the database.\n\tFieldAttestation = \"attestation\"\n\t// FieldAttestationDigest holds the string denoting the attestation_digest field in the database.\n\tFieldAttestationDigest = \"attestation_digest\"\n\t// FieldAttestationState holds the string denoting the attestation_state field in the database.\n\tFieldAttestationState = \"attestation_state\"\n\t// FieldContractRevisionUsed holds the string denoting the contract_revision_used field in the database.\n\tFieldContractRevisionUsed = \"contract_revision_used\"\n\t// FieldContractRevisionLatest holds the string denoting the contract_revision_latest field in the database.\n\tFieldContractRevisionLatest = \"contract_revision_latest\"\n\t// FieldVersionID holds the string denoting the version_id field in the database.\n\tFieldVersionID = \"version_id\"\n\t// FieldWorkflowID holds the string denoting the workflow_id field in the database.\n\tFieldWorkflowID = \"workflow_id\"\n\t// FieldOrganizationID holds the string denoting the organization_id field in the database.\n\tFieldOrganizationID = \"organization_id\"\n\t// FieldHasPolicyViolations holds the string denoting the has_policy_violations field in the database.\n\tFieldHasPolicyViolations = \"has_policy_violations\"\n\t// FieldPolicyStatus holds the string denoting the policy_status field in the database.\n\tFieldPolicyStatus = \"policy_status\"\n\t// FieldPolicyEvaluationsTotal holds the string denoting the policy_evaluations_total field in the database.\n\tFieldPolicyEvaluationsTotal = \"policy_evaluations_total\"\n\t// FieldPolicyEvaluationsPassed holds the string denoting the policy_evaluations_passed field in the database.\n\tFieldPolicyEvaluationsPassed = \"policy_evaluations_passed\"\n\t// FieldPolicyEvaluationsSkipped holds the string denoting the policy_evaluations_skipped field in the database.\n\tFieldPolicyEvaluationsSkipped = \"policy_evaluations_skipped\"\n\t// FieldPolicyViolationsCount holds the string denoting the policy_violations_count field in the database.\n\tFieldPolicyViolationsCount = \"policy_violations_count\"\n\t// FieldPolicyViolationsSuppressed holds the string denoting the policy_violations_suppressed field in the database.\n\tFieldPolicyViolationsSuppressed = \"policy_violations_suppressed\"\n\t// FieldPolicyHasGates holds the string denoting the policy_has_gates field in the database.\n\tFieldPolicyHasGates = \"policy_has_gates\"\n\t// EdgeWorkflow holds the string denoting the workflow edge name in mutations.\n\tEdgeWorkflow = \"workflow\"\n\t// EdgeOrganization holds the string denoting the organization edge name in mutations.\n\tEdgeOrganization = \"organization\"\n\t// EdgeContractVersion holds the string denoting the contract_version edge name in mutations.\n\tEdgeContractVersion = \"contract_version\"\n\t// EdgeCasBackends holds the string denoting the cas_backends edge name in mutations.\n\tEdgeCasBackends = \"cas_backends\"\n\t// EdgeVersion holds the string denoting the version edge name in mutations.\n\tEdgeVersion = \"version\"\n\t// EdgeAttestationBundle holds the string denoting the attestation_bundle edge name in mutations.\n\tEdgeAttestationBundle = \"attestation_bundle\"\n\t// Table holds the table name of the workflowrun in the database.\n\tTable = \"workflow_runs\"\n\t// WorkflowTable is the table that holds the workflow relation/edge.\n\tWorkflowTable = \"workflow_runs\"\n\t// WorkflowInverseTable is the table name for the Workflow entity.\n\t// It exists in this package in order to avoid circular dependency with the \"workflow\" package.\n\tWorkflowInverseTable = \"workflows\"\n\t// WorkflowColumn is the table column denoting the workflow relation/edge.\n\tWorkflowColumn = \"workflow_id\"\n\t// OrganizationTable is the table that holds the organization relation/edge.\n\tOrganizationTable = \"workflow_runs\"\n\t// OrganizationInverseTable is the table name for the Organization entity.\n\t// It exists in this package in order to avoid circular dependency with the \"organization\" package.\n\tOrganizationInverseTable = \"organizations\"\n\t// OrganizationColumn is the table column denoting the organization relation/edge.\n\tOrganizationColumn = \"organization_id\"\n\t// ContractVersionTable is the table that holds the contract_version relation/edge.\n\tContractVersionTable = \"workflow_runs\"\n\t// ContractVersionInverseTable is the table name for the WorkflowContractVersion entity.\n\t// It exists in this package in order to avoid circular dependency with the \"workflowcontractversion\" package.\n\tContractVersionInverseTable = \"workflow_contract_versions\"\n\t// ContractVersionColumn is the table column denoting the contract_version relation/edge.\n\tContractVersionColumn = \"workflow_run_contract_version\"\n\t// CasBackendsTable is the table that holds the cas_backends relation/edge. The primary key declared below.\n\tCasBackendsTable = \"workflow_run_cas_backends\"\n\t// CasBackendsInverseTable is the table name for the CASBackend entity.\n\t// It exists in this package in order to avoid circular dependency with the \"casbackend\" package.\n\tCasBackendsInverseTable = \"cas_backends\"\n\t// VersionTable is the table that holds the version relation/edge.\n\tVersionTable = \"workflow_runs\"\n\t// VersionInverseTable is the table name for the ProjectVersion entity.\n\t// It exists in this package in order to avoid circular dependency with the \"projectversion\" package.\n\tVersionInverseTable = \"project_versions\"\n\t// VersionColumn is the table column denoting the version relation/edge.\n\tVersionColumn = \"version_id\"\n\t// AttestationBundleTable is the table that holds the attestation_bundle relation/edge.\n\tAttestationBundleTable = \"attestations\"\n\t// AttestationBundleInverseTable is the table name for the Attestation entity.\n\t// It exists in this package in order to avoid circular dependency with the \"attestation\" package.\n\tAttestationBundleInverseTable = \"attestations\"\n\t// AttestationBundleColumn is the table column denoting the attestation_bundle relation/edge.\n\tAttestationBundleColumn = \"workflowrun_id\"\n)\n```\n\n```go\nconst DefaultState biz.WorkflowRunStatus = \"initialized\"\n```\n\n## Variables\n\n```go\nvar (\n\t// DefaultCreatedAt holds the default value on creation for the \"created_at\" field.\n\tDefaultCreatedAt func() time.Time\n\t// DefaultID holds the default value on creation for the \"id\" field.\n\tDefaultID func() uuid.UUID\n)\n```\n\n```go\nvar (\n\t// CasBackendsPrimaryKey and CasBackendsColumn2 are the table columns denoting the\n\t// primary key for the cas_backends relation (M2M).\n\tCasBackendsPrimaryKey = []string{\"workflow_run_id\", \"cas_backend_id\"}\n)\n```\n\n```go\nvar Columns = []string{\n\tFieldID,\n\tFieldCreatedAt,\n\tFieldFinishedAt,\n\tFieldState,\n\tFieldReason,\n\tFieldRunURL,\n\tFieldRunnerType,\n\tFieldAttestation,\n\tFieldAttestationDigest,\n\tFieldAttestationState,\n\tFieldContractRevisionUsed,\n\tFieldContractRevisionLatest,\n\tFieldVersionID,\n\tFieldWorkflowID,\n\tFieldOrganizationID,\n\tFieldHasPolicyViolations,\n\tFieldPolicyStatus,\n\tFieldPolicyEvaluationsTotal,\n\tFieldPolicyEvaluationsPassed,\n\tFieldPolicyEvaluationsSkipped,\n\tFieldPolicyViolationsCount,\n\tFieldPolicyViolationsSuppressed,\n\tFieldPolicyHasGates,\n}\n```\nColumns holds all SQL columns for workflowrun fields.\n\n```go\nvar ForeignKeys = []string{\n\t\"workflow_run_contract_version\",\n}\n```\nForeignKeys holds the SQL foreign-keys that are owned by the \"workflow\\_runs\" table and are not defined as standalone fields in the schema.\n\n## Functions\n\n```go\nfunc And(predicates ...predicate.WorkflowRun) predicate.WorkflowRun\n```\nAnd groups predicates with the AND operator between them.\n\n```go\nfunc AttestationDigest(v string) predicate.WorkflowRun\n```\nAttestationDigest applies equality check predicate on the \"attestation\\_digest\" field. It's identical to AttestationDigestEQ.\n\n```go\nfunc AttestationDigestContains(v string) predicate.WorkflowRun\n```\nAttestationDigestContains applies the Contains predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestContainsFold(v string) predicate.WorkflowRun\n```\nAttestationDigestContainsFold applies the ContainsFold predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestEQ(v string) predicate.WorkflowRun\n```\nAttestationDigestEQ applies the EQ predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestEqualFold(v string) predicate.WorkflowRun\n```\nAttestationDigestEqualFold applies the EqualFold predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestGT(v string) predicate.WorkflowRun\n```\nAttestationDigestGT applies the GT predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestGTE(v string) predicate.WorkflowRun\n```\nAttestationDigestGTE applies the GTE predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestHasPrefix(v string) predicate.WorkflowRun\n```\nAttestationDigestHasPrefix applies the HasPrefix predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestHasSuffix(v string) predicate.WorkflowRun\n```\nAttestationDigestHasSuffix applies the HasSuffix predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestIn(vs ...string) predicate.WorkflowRun\n```\nAttestationDigestIn applies the In predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestIsNil() predicate.WorkflowRun\n```\nAttestationDigestIsNil applies the IsNil predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestLT(v string) predicate.WorkflowRun\n```\nAttestationDigestLT applies the LT predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestLTE(v string) predicate.WorkflowRun\n```\nAttestationDigestLTE applies the LTE predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestNEQ(v string) predicate.WorkflowRun\n```\nAttestationDigestNEQ applies the NEQ predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestNotIn(vs ...string) predicate.WorkflowRun\n```\nAttestationDigestNotIn applies the NotIn predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationDigestNotNil() predicate.WorkflowRun\n```\nAttestationDigestNotNil applies the NotNil predicate on the \"attestation\\_digest\" field.\n\n```go\nfunc AttestationIsNil() predicate.WorkflowRun\n```\nAttestationIsNil applies the IsNil predicate on the \"attestation\" field.\n\n```go\nfunc AttestationNotNil() predicate.WorkflowRun\n```\nAttestationNotNil applies the NotNil predicate on the \"attestation\" field.\n\n```go\nfunc AttestationState(v []byte) predicate.WorkflowRun\n```\nAttestationState applies equality check predicate on the \"attestation\\_state\" field. It's identical to AttestationStateEQ.\n\n```go\nfunc AttestationStateEQ(v []byte) predicate.WorkflowRun\n```\nAttestationStateEQ applies the EQ predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateGT(v []byte) predicate.WorkflowRun\n```\nAttestationStateGT applies the GT predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateGTE(v []byte) predicate.WorkflowRun\n```\nAttestationStateGTE applies the GTE predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateIn(vs ...[]byte) predicate.WorkflowRun\n```\nAttestationStateIn applies the In predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateIsNil() predicate.WorkflowRun\n```\nAttestationStateIsNil applies the IsNil predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateLT(v []byte) predicate.WorkflowRun\n```\nAttestationStateLT applies the LT predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateLTE(v []byte) predicate.WorkflowRun\n```\nAttestationStateLTE applies the LTE predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateNEQ(v []byte) predicate.WorkflowRun\n```\nAttestationStateNEQ applies the NEQ predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateNotIn(vs ...[]byte) predicate.WorkflowRun\n```\nAttestationStateNotIn applies the NotIn predicate on the \"attestation\\_state\" field.\n\n```go\nfunc AttestationStateNotNil() predicate.WorkflowRun\n```\nAttestationStateNotNil applies the NotNil predicate on the \"attestation\\_state\" field.\n\n```go\nfunc ContractRevisionLatest(v int) predicate.WorkflowRun\n```\nContractRevisionLatest applies equality check predicate on the \"contract\\_revision\\_latest\" field. It's identical to ContractRevisionLatestEQ.\n\n```go\nfunc ContractRevisionLatestEQ(v int) predicate.WorkflowRun\n```\nContractRevisionLatestEQ applies the EQ predicate on the \"contract\\_revision\\_latest\" field.\n\n```go\nfunc ContractRevisionLatestGT(v int) predicate.WorkflowRun\n```\nContractRevisionLatestGT applies the GT predicate on the \"contract\\_revision\\_latest\" field.\n\n```go\nfunc ContractRevisionLatestGTE(v int) predicate.WorkflowRun\n```\nContractRevisionLatestGTE applies the GTE predicate on the \"contract\\_revision\\_latest\" field.\n\n```go\nfunc ContractRevisionLatestIn(vs ...int) predicate.WorkflowRun\n```\nContractRevisionLatestIn applies the In predicate on the \"contract\\_revision\\_latest\" field.\n\n```go\nfunc ContractRevisionLatestLT(v int) predicate.WorkflowRun\n```\nContractRevisionLatestLT applies the LT predicate on the \"contract\\_revision\\_latest\" field.\n\n```go\nfunc ContractRevisionLatestLTE(v int) predicate.WorkflowRun\n```\nContractRevisionLatestLTE applies the LTE predicate on the \"contract\\_revision\\_latest\" field.\n\n```go\nfunc ContractRevisionLatestNEQ(v int) predicate.WorkflowRun\n```\nContractRevisionLatestNEQ applies the NEQ predicate on the \"contract\\_revision\\_latest\" field.\n\n```go\nfunc ContractRevisionLatestNotIn(vs ...int) predicate.WorkflowRun\n```\nContractRevisionLatestNotIn applies the NotIn predicate on the \"contract\\_revision\\_latest\" field.\n\n```go\nfunc ContractRevisionUsed(v int) predicate.WorkflowRun\n```\nContractRevisionUsed applies equality check predicate on the \"contract\\_revision\\_used\" field. It's identical to ContractRevisionUsedEQ.\n\n```go\nfunc ContractRevisionUsedEQ(v int) predicate.WorkflowRun\n```\nContractRevisionUsedEQ applies the EQ predicate on the \"contract\\_revision\\_used\" field.\n\n```go\nfunc ContractRevisionUsedGT(v int) predicate.WorkflowRun\n```\nContractRevisionUsedGT applies the GT predicate on the \"contract\\_revision\\_used\" field.\n\n```go\nfunc ContractRevisionUsedGTE(v int) predicate.WorkflowRun\n```\nContractRevisionUsedGTE applies the GTE predicate on the \"contract\\_revision\\_used\" field.\n\n```go\nfunc ContractRevisionUsedIn(vs ...int) predicate.WorkflowRun\n```\nContractRevisionUsedIn applies the In predicate on the \"contract\\_revision\\_used\" field.\n\n```go\nfunc ContractRevisionUsedLT(v int) predicate.WorkflowRun\n```\nContractRevisionUsedLT applies the LT predicate on the \"contract\\_revision\\_used\" field.\n\n```go\nfunc ContractRevisionUsedLTE(v int) predicate.WorkflowRun\n```\nContractRevisionUsedLTE applies the LTE predicate on the \"contract\\_revision\\_used\" field.\n\n```go\nfunc ContractRevisionUsedNEQ(v int) predicate.WorkflowRun\n```\nContractRevisionUsedNEQ applies the NEQ predicate on the \"contract\\_revision\\_used\" field.\n\n```go\nfunc ContractRevisionUsedNotIn(vs ...int) predicate.WorkflowRun\n```\nContractRevisionUsedNotIn applies the NotIn predicate on the \"contract\\_revision\\_used\" field.\n\n```go\nfunc CreatedAt(v time.Time) predicate.WorkflowRun\n```\nCreatedAt applies equality check predicate on the \"created\\_at\" field. It's identical to CreatedAtEQ.\n\n```go\nfunc CreatedAtEQ(v time.Time) predicate.WorkflowRun\n```\nCreatedAtEQ applies the EQ predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtGT(v time.Time) predicate.WorkflowRun\n```\nCreatedAtGT applies the GT predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtGTE(v time.Time) predicate.WorkflowRun\n```\nCreatedAtGTE applies the GTE predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtIn(vs ...time.Time) predicate.WorkflowRun\n```\nCreatedAtIn applies the In predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtLT(v time.Time) predicate.WorkflowRun\n```\nCreatedAtLT applies the LT predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtLTE(v time.Time) predicate.WorkflowRun\n```\nCreatedAtLTE applies the LTE predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtNEQ(v time.Time) predicate.WorkflowRun\n```\nCreatedAtNEQ applies the NEQ predicate on the \"created\\_at\" field.\n\n```go\nfunc CreatedAtNotIn(vs ...time.Time) predicate.WorkflowRun\n```\nCreatedAtNotIn applies the NotIn predicate on the \"created\\_at\" field.\n\n```go\nfunc FinishedAt(v time.Time) predicate.WorkflowRun\n```\nFinishedAt applies equality check predicate on the \"finished\\_at\" field. It's identical to FinishedAtEQ.\n\n```go\nfunc FinishedAtEQ(v time.Time) predicate.WorkflowRun\n```\nFinishedAtEQ applies the EQ predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtGT(v time.Time) predicate.WorkflowRun\n```\nFinishedAtGT applies the GT predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtGTE(v time.Time) predicate.WorkflowRun\n```\nFinishedAtGTE applies the GTE predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtIn(vs ...time.Time) predicate.WorkflowRun\n```\nFinishedAtIn applies the In predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtIsNil() predicate.WorkflowRun\n```\nFinishedAtIsNil applies the IsNil predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtLT(v time.Time) predicate.WorkflowRun\n```\nFinishedAtLT applies the LT predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtLTE(v time.Time) predicate.WorkflowRun\n```\nFinishedAtLTE applies the LTE predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtNEQ(v time.Time) predicate.WorkflowRun\n```\nFinishedAtNEQ applies the NEQ predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtNotIn(vs ...time.Time) predicate.WorkflowRun\n```\nFinishedAtNotIn applies the NotIn predicate on the \"finished\\_at\" field.\n\n```go\nfunc FinishedAtNotNil() predicate.WorkflowRun\n```\nFinishedAtNotNil applies the NotNil predicate on the \"finished\\_at\" field.\n\n```go\nfunc HasAttestationBundle() predicate.WorkflowRun\n```\nHasAttestationBundle applies the HasEdge predicate on the \"attestation\\_bundle\" edge.\n\n```go\nfunc HasAttestationBundleWith(preds ...predicate.Attestation) predicate.WorkflowRun\n```\nHasAttestationBundleWith applies the HasEdge predicate on the \"attestation\\_bundle\" edge with a given conditions (other predicates).\n\n```go\nfunc HasCasBackends() predicate.WorkflowRun\n```\nHasCasBackends applies the HasEdge predicate on the \"cas\\_backends\" edge.\n\n```go\nfunc HasCasBackendsWith(preds ...predicate.CASBackend) predicate.WorkflowRun\n```\nHasCasBackendsWith applies the HasEdge predicate on the \"cas\\_backends\" edge with a given conditions (other predicates).\n\n```go\nfunc HasContractVersion() predicate.WorkflowRun\n```\nHasContractVersion applies the HasEdge predicate on the \"contract\\_version\" edge.\n\n```go\nfunc HasContractVersionWith(preds ...predicate.WorkflowContractVersion) predicate.WorkflowRun\n```\nHasContractVersionWith applies the HasEdge predicate on the \"contract\\_version\" edge with a given conditions (other predicates).\n\n```go\nfunc HasOrganization() predicate.WorkflowRun\n```\nHasOrganization applies the HasEdge predicate on the \"organization\" edge.\n\n```go\nfunc HasOrganizationWith(preds ...predicate.Organization) predicate.WorkflowRun\n```\nHasOrganizationWith applies the HasEdge predicate on the \"organization\" edge with a given conditions (other predicates).\n\n```go\nfunc HasPolicyViolations(v bool) predicate.WorkflowRun\n```\nHasPolicyViolations applies equality check predicate on the \"has\\_policy\\_violations\" field. It's identical to HasPolicyViolationsEQ.\n\n```go\nfunc HasPolicyViolationsEQ(v bool) predicate.WorkflowRun\n```\nHasPolicyViolationsEQ applies the EQ predicate on the \"has\\_policy\\_violations\" field.\n\n```go\nfunc HasPolicyViolationsIsNil() predicate.WorkflowRun\n```\nHasPolicyViolationsIsNil applies the IsNil predicate on the \"has\\_policy\\_violations\" field.\n\n```go\nfunc HasPolicyViolationsNEQ(v bool) predicate.WorkflowRun\n```\nHasPolicyViolationsNEQ applies the NEQ predicate on the \"has\\_policy\\_violations\" field.\n\n```go\nfunc HasPolicyViolationsNotNil() predicate.WorkflowRun\n```\nHasPolicyViolationsNotNil applies the NotNil predicate on the \"has\\_policy\\_violations\" field.\n\n```go\nfunc HasVersion() predicate.WorkflowRun\n```\nHasVersion applies the HasEdge predicate on the \"version\" edge.\n\n```go\nfunc HasVersionWith(preds ...predicate.ProjectVersion) predicate.WorkflowRun\n```\nHasVersionWith applies the HasEdge predicate on the \"version\" edge with a given conditions (other predicates).\n\n```go\nfunc HasWorkflow() predicate.WorkflowRun\n```\nHasWorkflow applies the HasEdge predicate on the \"workflow\" edge.\n\n```go\nfunc HasWorkflowWith(preds ...predicate.Workflow) predicate.WorkflowRun\n```\nHasWorkflowWith applies the HasEdge predicate on the \"workflow\" edge with a given conditions (other predicates).\n\n```go\nfunc ID(id uuid.UUID) predicate.WorkflowRun\n```\nID filters vertices based on their ID field.\n\n```go\nfunc IDEQ(id uuid.UUID) predicate.WorkflowRun\n```\nIDEQ applies the EQ predicate on the ID field.\n\n```go\nfunc IDGT(id uuid.UUID) predicate.WorkflowRun\n```\nIDGT applies the GT predicate on the ID field.\n\n```go\nfunc IDGTE(id uuid.UUID) predicate.WorkflowRun\n```\nIDGTE applies the GTE predicate on the ID field.\n\n```go\nfunc IDIn(ids ...uuid.UUID) predicate.WorkflowRun\n```\nIDIn applies the In predicate on the ID field.\n\n```go\nfunc IDLT(id uuid.UUID) predicate.WorkflowRun\n```\nIDLT applies the LT predicate on the ID field.\n\n```go\nfunc IDLTE(id uuid.UUID) predicate.WorkflowRun\n```\nIDLTE applies the LTE predicate on the ID field.\n\n```go\nfunc IDNEQ(id uuid.UUID) predicate.WorkflowRun\n```\nIDNEQ applies the NEQ predicate on the ID field.\n\n```go\nfunc IDNotIn(ids ...uuid.UUID) predicate.WorkflowRun\n```\nIDNotIn applies the NotIn predicate on the ID field.\n\n```go\nfunc Not(p predicate.WorkflowRun) predicate.WorkflowRun\n```\nNot applies the not operator on the given predicate.\n\n```go\nfunc Or(predicates ...predicate.WorkflowRun) predicate.WorkflowRun\n```\nOr groups predicates with the OR operator between them.\n\n```go\nfunc OrganizationID(v uuid.UUID) predicate.WorkflowRun\n```\nOrganizationID applies equality check predicate on the \"organization\\_id\" field. It's identical to OrganizationIDEQ.\n\n```go\nfunc OrganizationIDEQ(v uuid.UUID) predicate.WorkflowRun\n```\nOrganizationIDEQ applies the EQ predicate on the \"organization\\_id\" field.\n\n```go\nfunc OrganizationIDIn(vs ...uuid.UUID) predicate.WorkflowRun\n```\nOrganizationIDIn applies the In predicate on the \"organization\\_id\" field.\n\n```go\nfunc OrganizationIDNEQ(v uuid.UUID) predicate.WorkflowRun\n```\nOrganizationIDNEQ applies the NEQ predicate on the \"organization\\_id\" field.\n\n```go\nfunc OrganizationIDNotIn(vs ...uuid.UUID) predicate.WorkflowRun\n```\nOrganizationIDNotIn applies the NotIn predicate on the \"organization\\_id\" field.\n\n```go\nfunc PolicyEvaluationsPassed(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassed applies equality check predicate on the \"policy\\_evaluations\\_passed\" field. It's identical to PolicyEvaluationsPassedEQ.\n\n```go\nfunc PolicyEvaluationsPassedEQ(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassedEQ applies the EQ predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedGT(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassedGT applies the GT predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedGTE(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassedGTE applies the GTE predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassedIn applies the In predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedIsNil() predicate.WorkflowRun\n```\nPolicyEvaluationsPassedIsNil applies the IsNil predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedLT(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassedLT applies the LT predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedLTE(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassedLTE applies the LTE predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedNEQ(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassedNEQ applies the NEQ predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedNotIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyEvaluationsPassedNotIn applies the NotIn predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsPassedNotNil() predicate.WorkflowRun\n```\nPolicyEvaluationsPassedNotNil applies the NotNil predicate on the \"policy\\_evaluations\\_passed\" field.\n\n```go\nfunc PolicyEvaluationsSkipped(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkipped applies equality check predicate on the \"policy\\_evaluations\\_skipped\" field. It's identical to PolicyEvaluationsSkippedEQ.\n\n```go\nfunc PolicyEvaluationsSkippedEQ(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedEQ applies the EQ predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedGT(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedGT applies the GT predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedGTE(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedGTE applies the GTE predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedIn applies the In predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedIsNil() predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedIsNil applies the IsNil predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedLT(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedLT applies the LT predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedLTE(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedLTE applies the LTE predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedNEQ(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedNEQ applies the NEQ predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedNotIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedNotIn applies the NotIn predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsSkippedNotNil() predicate.WorkflowRun\n```\nPolicyEvaluationsSkippedNotNil applies the NotNil predicate on the \"policy\\_evaluations\\_skipped\" field.\n\n```go\nfunc PolicyEvaluationsTotal(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotal applies equality check predicate on the \"policy\\_evaluations\\_total\" field. It's identical to PolicyEvaluationsTotalEQ.\n\n```go\nfunc PolicyEvaluationsTotalEQ(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotalEQ applies the EQ predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalGT(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotalGT applies the GT predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalGTE(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotalGTE applies the GTE predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotalIn applies the In predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalIsNil() predicate.WorkflowRun\n```\nPolicyEvaluationsTotalIsNil applies the IsNil predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalLT(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotalLT applies the LT predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalLTE(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotalLTE applies the LTE predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalNEQ(v int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotalNEQ applies the NEQ predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalNotIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyEvaluationsTotalNotIn applies the NotIn predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyEvaluationsTotalNotNil() predicate.WorkflowRun\n```\nPolicyEvaluationsTotalNotNil applies the NotNil predicate on the \"policy\\_evaluations\\_total\" field.\n\n```go\nfunc PolicyHasGates(v bool) predicate.WorkflowRun\n```\nPolicyHasGates applies equality check predicate on the \"policy\\_has\\_gates\" field. It's identical to PolicyHasGatesEQ.\n\n```go\nfunc PolicyHasGatesEQ(v bool) predicate.WorkflowRun\n```\nPolicyHasGatesEQ applies the EQ predicate on the \"policy\\_has\\_gates\" field.\n\n```go\nfunc PolicyHasGatesIsNil() predicate.WorkflowRun\n```\nPolicyHasGatesIsNil applies the IsNil predicate on the \"policy\\_has\\_gates\" field.\n\n```go\nfunc PolicyHasGatesNEQ(v bool) predicate.WorkflowRun\n```\nPolicyHasGatesNEQ applies the NEQ predicate on the \"policy\\_has\\_gates\" field.\n\n```go\nfunc PolicyHasGatesNotNil() predicate.WorkflowRun\n```\nPolicyHasGatesNotNil applies the NotNil predicate on the \"policy\\_has\\_gates\" field.\n\n```go\nfunc PolicyStatusEQ(v PolicyStatus) predicate.WorkflowRun\n```\nPolicyStatusEQ applies the EQ predicate on the \"policy\\_status\" field.\n\n```go\nfunc PolicyStatusIn(vs ...PolicyStatus) predicate.WorkflowRun\n```\nPolicyStatusIn applies the In predicate on the \"policy\\_status\" field.\n\n```go\nfunc PolicyStatusIsNil() predicate.WorkflowRun\n```\nPolicyStatusIsNil applies the IsNil predicate on the \"policy\\_status\" field.\n\n```go\nfunc PolicyStatusNEQ(v PolicyStatus) predicate.WorkflowRun\n```\nPolicyStatusNEQ applies the NEQ predicate on the \"policy\\_status\" field.\n\n```go\nfunc PolicyStatusNotIn(vs ...PolicyStatus) predicate.WorkflowRun\n```\nPolicyStatusNotIn applies the NotIn predicate on the \"policy\\_status\" field.\n\n```go\nfunc PolicyStatusNotNil() predicate.WorkflowRun\n```\nPolicyStatusNotNil applies the NotNil predicate on the \"policy\\_status\" field.\n\n```go\nfunc PolicyStatusValidator(ps PolicyStatus) error\n```\nPolicyStatusValidator is a validator for the \"policy\\_status\" field enum values. It is called by the builders before save.\n\n```go\nfunc PolicyViolationsCount(v int32) predicate.WorkflowRun\n```\nPolicyViolationsCount applies equality check predicate on the \"policy\\_violations\\_count\" field. It's identical to PolicyViolationsCountEQ.\n\n```go\nfunc PolicyViolationsCountEQ(v int32) predicate.WorkflowRun\n```\nPolicyViolationsCountEQ applies the EQ predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountGT(v int32) predicate.WorkflowRun\n```\nPolicyViolationsCountGT applies the GT predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountGTE(v int32) predicate.WorkflowRun\n```\nPolicyViolationsCountGTE applies the GTE predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyViolationsCountIn applies the In predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountIsNil() predicate.WorkflowRun\n```\nPolicyViolationsCountIsNil applies the IsNil predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountLT(v int32) predicate.WorkflowRun\n```\nPolicyViolationsCountLT applies the LT predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountLTE(v int32) predicate.WorkflowRun\n```\nPolicyViolationsCountLTE applies the LTE predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountNEQ(v int32) predicate.WorkflowRun\n```\nPolicyViolationsCountNEQ applies the NEQ predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountNotIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyViolationsCountNotIn applies the NotIn predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsCountNotNil() predicate.WorkflowRun\n```\nPolicyViolationsCountNotNil applies the NotNil predicate on the \"policy\\_violations\\_count\" field.\n\n```go\nfunc PolicyViolationsSuppressed(v int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressed applies equality check predicate on the \"policy\\_violations\\_suppressed\" field. It's identical to PolicyViolationsSuppressedEQ.\n\n```go\nfunc PolicyViolationsSuppressedEQ(v int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressedEQ applies the EQ predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedGT(v int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressedGT applies the GT predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedGTE(v int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressedGTE applies the GTE predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressedIn applies the In predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedIsNil() predicate.WorkflowRun\n```\nPolicyViolationsSuppressedIsNil applies the IsNil predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedLT(v int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressedLT applies the LT predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedLTE(v int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressedLTE applies the LTE predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedNEQ(v int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressedNEQ applies the NEQ predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedNotIn(vs ...int32) predicate.WorkflowRun\n```\nPolicyViolationsSuppressedNotIn applies the NotIn predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc PolicyViolationsSuppressedNotNil() predicate.WorkflowRun\n```\nPolicyViolationsSuppressedNotNil applies the NotNil predicate on the \"policy\\_violations\\_suppressed\" field.\n\n```go\nfunc Reason(v string) predicate.WorkflowRun\n```\nReason applies equality check predicate on the \"reason\" field. It's identical to ReasonEQ.\n\n```go\nfunc ReasonContains(v string) predicate.WorkflowRun\n```\nReasonContains applies the Contains predicate on the \"reason\" field.\n\n```go\nfunc ReasonContainsFold(v string) predicate.WorkflowRun\n```\nReasonContainsFold applies the ContainsFold predicate on the \"reason\" field.\n\n```go\nfunc ReasonEQ(v string) predicate.WorkflowRun\n```\nReasonEQ applies the EQ predicate on the \"reason\" field.\n\n```go\nfunc ReasonEqualFold(v string) predicate.WorkflowRun\n```\nReasonEqualFold applies the EqualFold predicate on the \"reason\" field.\n\n```go\nfunc ReasonGT(v string) predicate.WorkflowRun\n```\nReasonGT applies the GT predicate on the \"reason\" field.\n\n```go\nfunc ReasonGTE(v string) predicate.WorkflowRun\n```\nReasonGTE applies the GTE predicate on the \"reason\" field.\n\n```go\nfunc ReasonHasPrefix(v string) predicate.WorkflowRun\n```\nReasonHasPrefix applies the HasPrefix predicate on the \"reason\" field.\n\n```go\nfunc ReasonHasSuffix(v string) predicate.WorkflowRun\n```\nReasonHasSuffix applies the HasSuffix predicate on the \"reason\" field.\n\n```go\nfunc ReasonIn(vs ...string) predicate.WorkflowRun\n```\nReasonIn applies the In predicate on the \"reason\" field.\n\n```go\nfunc ReasonIsNil() predicate.WorkflowRun\n```\nReasonIsNil applies the IsNil predicate on the \"reason\" field.\n\n```go\nfunc ReasonLT(v string) predicate.WorkflowRun\n```\nReasonLT applies the LT predicate on the \"reason\" field.\n\n```go\nfunc ReasonLTE(v string) predicate.WorkflowRun\n```\nReasonLTE applies the LTE predicate on the \"reason\" field.\n\n```go\nfunc ReasonNEQ(v string) predicate.WorkflowRun\n```\nReasonNEQ applies the NEQ predicate on the \"reason\" field.\n\n```go\nfunc ReasonNotIn(vs ...string) predicate.WorkflowRun\n```\nReasonNotIn applies the NotIn predicate on the \"reason\" field.\n\n```go\nfunc ReasonNotNil() predicate.WorkflowRun\n```\nReasonNotNil applies the NotNil predicate on the \"reason\" field.\n\n```go\nfunc RunURL(v string) predicate.WorkflowRun\n```\nRunURL applies equality check predicate on the \"run\\_url\" field. It's identical to RunURLEQ.\n\n```go\nfunc RunURLContains(v string) predicate.WorkflowRun\n```\nRunURLContains applies the Contains predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLContainsFold(v string) predicate.WorkflowRun\n```\nRunURLContainsFold applies the ContainsFold predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLEQ(v string) predicate.WorkflowRun\n```\nRunURLEQ applies the EQ predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLEqualFold(v string) predicate.WorkflowRun\n```\nRunURLEqualFold applies the EqualFold predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLGT(v string) predicate.WorkflowRun\n```\nRunURLGT applies the GT predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLGTE(v string) predicate.WorkflowRun\n```\nRunURLGTE applies the GTE predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLHasPrefix(v string) predicate.WorkflowRun\n```\nRunURLHasPrefix applies the HasPrefix predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLHasSuffix(v string) predicate.WorkflowRun\n```\nRunURLHasSuffix applies the HasSuffix predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLIn(vs ...string) predicate.WorkflowRun\n```\nRunURLIn applies the In predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLIsNil() predicate.WorkflowRun\n```\nRunURLIsNil applies the IsNil predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLLT(v string) predicate.WorkflowRun\n```\nRunURLLT applies the LT predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLLTE(v string) predicate.WorkflowRun\n```\nRunURLLTE applies the LTE predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLNEQ(v string) predicate.WorkflowRun\n```\nRunURLNEQ applies the NEQ predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLNotIn(vs ...string) predicate.WorkflowRun\n```\nRunURLNotIn applies the NotIn predicate on the \"run\\_url\" field.\n\n```go\nfunc RunURLNotNil() predicate.WorkflowRun\n```\nRunURLNotNil applies the NotNil predicate on the \"run\\_url\" field.\n\n```go\nfunc RunnerType(v string) predicate.WorkflowRun\n```\nRunnerType applies equality check predicate on the \"runner\\_type\" field. It's identical to RunnerTypeEQ.\n\n```go\nfunc RunnerTypeContains(v string) predicate.WorkflowRun\n```\nRunnerTypeContains applies the Contains predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeContainsFold(v string) predicate.WorkflowRun\n```\nRunnerTypeContainsFold applies the ContainsFold predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeEQ(v string) predicate.WorkflowRun\n```\nRunnerTypeEQ applies the EQ predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeEqualFold(v string) predicate.WorkflowRun\n```\nRunnerTypeEqualFold applies the EqualFold predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeGT(v string) predicate.WorkflowRun\n```\nRunnerTypeGT applies the GT predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeGTE(v string) predicate.WorkflowRun\n```\nRunnerTypeGTE applies the GTE predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeHasPrefix(v string) predicate.WorkflowRun\n```\nRunnerTypeHasPrefix applies the HasPrefix predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeHasSuffix(v string) predicate.WorkflowRun\n```\nRunnerTypeHasSuffix applies the HasSuffix predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeIn(vs ...string) predicate.WorkflowRun\n```\nRunnerTypeIn applies the In predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeIsNil() predicate.WorkflowRun\n```\nRunnerTypeIsNil applies the IsNil predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeLT(v string) predicate.WorkflowRun\n```\nRunnerTypeLT applies the LT predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeLTE(v string) predicate.WorkflowRun\n```\nRunnerTypeLTE applies the LTE predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeNEQ(v string) predicate.WorkflowRun\n```\nRunnerTypeNEQ applies the NEQ predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeNotIn(vs ...string) predicate.WorkflowRun\n```\nRunnerTypeNotIn applies the NotIn predicate on the \"runner\\_type\" field.\n\n```go\nfunc RunnerTypeNotNil() predicate.WorkflowRun\n```\nRunnerTypeNotNil applies the NotNil predicate on the \"runner\\_type\" field.\n\n```go\nfunc StateEQ(v biz.WorkflowRunStatus) predicate.WorkflowRun\n```\nStateEQ applies the EQ predicate on the \"state\" field.\n\n```go\nfunc StateIn(vs ...biz.WorkflowRunStatus) predicate.WorkflowRun\n```\nStateIn applies the In predicate on the \"state\" field.\n\n```go\nfunc StateNEQ(v biz.WorkflowRunStatus) predicate.WorkflowRun\n```\nStateNEQ applies the NEQ predicate on the \"state\" field.\n\n```go\nfunc StateNotIn(vs ...biz.WorkflowRunStatus) predicate.WorkflowRun\n```\nStateNotIn applies the NotIn predicate on the \"state\" field.\n\n```go\nfunc StateValidator(s biz.WorkflowRunStatus) error\n```\nStateValidator is a validator for the \"state\" field enum values. It is called by the builders before save.\n\n```go\nfunc ValidColumn(column string) bool\n```\nValidColumn reports if the column name is valid (part of the table columns).\n\n```go\nfunc VersionID(v uuid.UUID) predicate.WorkflowRun\n```\nVersionID applies equality check predicate on the \"version\\_id\" field. It's identical to VersionIDEQ.\n\n```go\nfunc VersionIDEQ(v uuid.UUID) predicate.WorkflowRun\n```\nVersionIDEQ applies the EQ predicate on the \"version\\_id\" field.\n\n```go\nfunc VersionIDIn(vs ...uuid.UUID) predicate.WorkflowRun\n```\nVersionIDIn applies the In predicate on the \"version\\_id\" field.\n\n```go\nfunc VersionIDNEQ(v uuid.UUID) predicate.WorkflowRun\n```\nVersionIDNEQ applies the NEQ predicate on the \"version\\_id\" field.\n\n```go\nfunc VersionIDNotIn(vs ...uuid.UUID) predicate.WorkflowRun\n```\nVersionIDNotIn applies the NotIn predicate on the \"version\\_id\" field.\n\n```go\nfunc WorkflowID(v uuid.UUID) predicate.WorkflowRun\n```\nWorkflowID applies equality check predicate on the \"workflow\\_id\" field. It's identical to WorkflowIDEQ.\n\n```go\nfunc WorkflowIDEQ(v uuid.UUID) predicate.WorkflowRun\n```\nWorkflowIDEQ applies the EQ predicate on the \"workflow\\_id\" field.\n\n```go\nfunc WorkflowIDIn(vs ...uuid.UUID) predicate.WorkflowRun\n```\nWorkflowIDIn applies the In predicate on the \"workflow\\_id\" field.\n\n```go\nfunc WorkflowIDNEQ(v uuid.UUID) predicate.WorkflowRun\n```\nWorkflowIDNEQ applies the NEQ predicate on the \"workflow\\_id\" field.\n\n```go\nfunc WorkflowIDNotIn(vs ...uuid.UUID) predicate.WorkflowRun\n```\nWorkflowIDNotIn applies the NotIn predicate on the \"workflow\\_id\" field.\n\n## Types\n\n```go\ntype OrderOption func(*sql.Selector)\n```\nOrderOption defines the ordering options for the WorkflowRun queries.\n\n```go\nfunc ByAttestationBundleField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByAttestationBundleField orders the results by attestation\\_bundle field.\n\n```go\nfunc ByAttestationDigest(opts ...sql.OrderTermOption) OrderOption\n```\nByAttestationDigest orders the results by the attestation\\_digest field.\n\n```go\nfunc ByCasBackends(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption\n```\nByCasBackends orders the results by cas\\_backends terms.\n\n```go\nfunc ByCasBackendsCount(opts ...sql.OrderTermOption) OrderOption\n```\nByCasBackendsCount orders the results by cas\\_backends count.\n\n```go\nfunc ByContractRevisionLatest(opts ...sql.OrderTermOption) OrderOption\n```\nByContractRevisionLatest orders the results by the contract\\_revision\\_latest field.\n\n```go\nfunc ByContractRevisionUsed(opts ...sql.OrderTermOption) OrderOption\n```\nByContractRevisionUsed orders the results by the contract\\_revision\\_used field.\n\n```go\nfunc ByContractVersionField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByContractVersionField orders the results by contract\\_version field.\n\n```go\nfunc ByCreatedAt(opts ...sql.OrderTermOption) OrderOption\n```\nByCreatedAt orders the results by the created\\_at field.\n\n```go\nfunc ByFinishedAt(opts ...sql.OrderTermOption) OrderOption\n```\nByFinishedAt orders the results by the finished\\_at field.\n\n```go\nfunc ByHasPolicyViolations(opts ...sql.OrderTermOption) OrderOption\n```\nByHasPolicyViolations orders the results by the has\\_policy\\_violations field.\n\n```go\nfunc ByID(opts ...sql.OrderTermOption) OrderOption\n```\nByID orders the results by the id field.\n\n```go\nfunc ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByOrganizationField orders the results by organization field.\n\n```go\nfunc ByOrganizationID(opts ...sql.OrderTermOption) OrderOption\n```\nByOrganizationID orders the results by the organization\\_id field.\n\n```go\nfunc ByPolicyEvaluationsPassed(opts ...sql.OrderTermOption) OrderOption\n```\nByPolicyEvaluationsPassed orders the results by the policy\\_evaluations\\_passed field.\n\n```go\nfunc ByPolicyEvaluationsSkipped(opts ...sql.OrderTermOption) OrderOption\n```\nByPolicyEvaluationsSkipped orders the results by the policy\\_evaluations\\_skipped field.\n\n```go\nfunc ByPolicyEvaluationsTotal(opts ...sql.OrderTermOption) OrderOption\n```\nByPolicyEvaluationsTotal orders the results by the policy\\_evaluations\\_total field.\n\n```go\nfunc ByPolicyHasGates(opts ...sql.OrderTermOption) OrderOption\n```\nByPolicyHasGates orders the results by the policy\\_has\\_gates field.\n\n```go\nfunc ByPolicyStatus(opts ...sql.OrderTermOption) OrderOption\n```\nByPolicyStatus orders the results by the policy\\_status field.\n\n```go\nfunc ByPolicyViolationsCount(opts ...sql.OrderTermOption) OrderOption\n```\nByPolicyViolationsCount orders the results by the policy\\_violations\\_count field.\n\n```go\nfunc ByPolicyViolationsSuppressed(opts ...sql.OrderTermOption) OrderOption\n```\nByPolicyViolationsSuppressed orders the results by the policy\\_violations\\_suppressed field.\n\n```go\nfunc ByReason(opts ...sql.OrderTermOption) OrderOption\n```\nByReason orders the results by the reason field.\n\n```go\nfunc ByRunURL(opts ...sql.OrderTermOption) OrderOption\n```\nByRunURL orders the results by the run\\_url field.\n\n```go\nfunc ByRunnerType(opts ...sql.OrderTermOption) OrderOption\n```\nByRunnerType orders the results by the runner\\_type field.\n\n```go\nfunc ByState(opts ...sql.OrderTermOption) OrderOption\n```\nByState orders the results by the state field.\n\n```go\nfunc ByVersionField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByVersionField orders the results by version field.\n\n```go\nfunc ByVersionID(opts ...sql.OrderTermOption) OrderOption\n```\nByVersionID orders the results by the version\\_id field.\n\n```go\nfunc ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption\n```\nByWorkflowField orders the results by workflow field.\n\n```go\nfunc ByWorkflowID(opts ...sql.OrderTermOption) OrderOption\n```\nByWorkflowID orders the results by the workflow\\_id field.\n\n```go\ntype PolicyStatus string\n```\nPolicyStatus defines the type for the \"policy\\_status\" enum field.\n\n```go\nconst (\n\tPolicyStatusNOT_APPLICABLE PolicyStatus = \"NOT_APPLICABLE\"\n\tPolicyStatusPASSED         PolicyStatus = \"PASSED\"\n\tPolicyStatusSKIPPED        PolicyStatus = \"SKIPPED\"\n\tPolicyStatusWARNING        PolicyStatus = \"WARNING\"\n\tPolicyStatusBLOCKED        PolicyStatus = \"BLOCKED\"\n\tPolicyStatusBYPASSED       PolicyStatus = \"BYPASSED\"\n)\n```\nPolicyStatus values.\n\n```go\nfunc (ps PolicyStatus) String() string\n```\n\n","path":"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/workflowrun","name":"workflowrun","synopsis":"","isRedistributable":true}
