Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CASBackend) predicate.CASBackend
- func CreatedAt(v time.Time) predicate.CASBackend
- func CreatedAtEQ(v time.Time) predicate.CASBackend
- func CreatedAtGT(v time.Time) predicate.CASBackend
- func CreatedAtGTE(v time.Time) predicate.CASBackend
- func CreatedAtIn(vs ...time.Time) predicate.CASBackend
- func CreatedAtLT(v time.Time) predicate.CASBackend
- func CreatedAtLTE(v time.Time) predicate.CASBackend
- func CreatedAtNEQ(v time.Time) predicate.CASBackend
- func CreatedAtNotIn(vs ...time.Time) predicate.CASBackend
- func Default(v bool) predicate.CASBackend
- func DefaultEQ(v bool) predicate.CASBackend
- func DefaultNEQ(v bool) predicate.CASBackend
- func DeletedAt(v time.Time) predicate.CASBackend
- func DeletedAtEQ(v time.Time) predicate.CASBackend
- func DeletedAtGT(v time.Time) predicate.CASBackend
- func DeletedAtGTE(v time.Time) predicate.CASBackend
- func DeletedAtIn(vs ...time.Time) predicate.CASBackend
- func DeletedAtIsNil() predicate.CASBackend
- func DeletedAtLT(v time.Time) predicate.CASBackend
- func DeletedAtLTE(v time.Time) predicate.CASBackend
- func DeletedAtNEQ(v time.Time) predicate.CASBackend
- func DeletedAtNotIn(vs ...time.Time) predicate.CASBackend
- func DeletedAtNotNil() predicate.CASBackend
- func Description(v string) predicate.CASBackend
- func DescriptionContains(v string) predicate.CASBackend
- func DescriptionContainsFold(v string) predicate.CASBackend
- func DescriptionEQ(v string) predicate.CASBackend
- func DescriptionEqualFold(v string) predicate.CASBackend
- func DescriptionGT(v string) predicate.CASBackend
- func DescriptionGTE(v string) predicate.CASBackend
- func DescriptionHasPrefix(v string) predicate.CASBackend
- func DescriptionHasSuffix(v string) predicate.CASBackend
- func DescriptionIn(vs ...string) predicate.CASBackend
- func DescriptionIsNil() predicate.CASBackend
- func DescriptionLT(v string) predicate.CASBackend
- func DescriptionLTE(v string) predicate.CASBackend
- func DescriptionNEQ(v string) predicate.CASBackend
- func DescriptionNotIn(vs ...string) predicate.CASBackend
- func DescriptionNotNil() predicate.CASBackend
- func Fallback(v bool) predicate.CASBackend
- func FallbackEQ(v bool) predicate.CASBackend
- func FallbackNEQ(v bool) predicate.CASBackend
- func HasOrganization() predicate.CASBackend
- func HasOrganizationWith(preds ...predicate.Organization) predicate.CASBackend
- func HasWorkflowRun() predicate.CASBackend
- func HasWorkflowRunWith(preds ...predicate.WorkflowRun) predicate.CASBackend
- func ID(id uuid.UUID) predicate.CASBackend
- func IDEQ(id uuid.UUID) predicate.CASBackend
- func IDGT(id uuid.UUID) predicate.CASBackend
- func IDGTE(id uuid.UUID) predicate.CASBackend
- func IDIn(ids ...uuid.UUID) predicate.CASBackend
- func IDLT(id uuid.UUID) predicate.CASBackend
- func IDLTE(id uuid.UUID) predicate.CASBackend
- func IDNEQ(id uuid.UUID) predicate.CASBackend
- func IDNotIn(ids ...uuid.UUID) predicate.CASBackend
- func Location(v string) predicate.CASBackend
- func LocationContains(v string) predicate.CASBackend
- func LocationContainsFold(v string) predicate.CASBackend
- func LocationEQ(v string) predicate.CASBackend
- func LocationEqualFold(v string) predicate.CASBackend
- func LocationGT(v string) predicate.CASBackend
- func LocationGTE(v string) predicate.CASBackend
- func LocationHasPrefix(v string) predicate.CASBackend
- func LocationHasSuffix(v string) predicate.CASBackend
- func LocationIn(vs ...string) predicate.CASBackend
- func LocationLT(v string) predicate.CASBackend
- func LocationLTE(v string) predicate.CASBackend
- func LocationNEQ(v string) predicate.CASBackend
- func LocationNotIn(vs ...string) predicate.CASBackend
- func MaxBlobSizeBytes(v int64) predicate.CASBackend
- func MaxBlobSizeBytesEQ(v int64) predicate.CASBackend
- func MaxBlobSizeBytesGT(v int64) predicate.CASBackend
- func MaxBlobSizeBytesGTE(v int64) predicate.CASBackend
- func MaxBlobSizeBytesIn(vs ...int64) predicate.CASBackend
- func MaxBlobSizeBytesLT(v int64) predicate.CASBackend
- func MaxBlobSizeBytesLTE(v int64) predicate.CASBackend
- func MaxBlobSizeBytesNEQ(v int64) predicate.CASBackend
- func MaxBlobSizeBytesNotIn(vs ...int64) predicate.CASBackend
- func Name(v string) predicate.CASBackend
- func NameContains(v string) predicate.CASBackend
- func NameContainsFold(v string) predicate.CASBackend
- func NameEQ(v string) predicate.CASBackend
- func NameEqualFold(v string) predicate.CASBackend
- func NameGT(v string) predicate.CASBackend
- func NameGTE(v string) predicate.CASBackend
- func NameHasPrefix(v string) predicate.CASBackend
- func NameHasSuffix(v string) predicate.CASBackend
- func NameIn(vs ...string) predicate.CASBackend
- func NameLT(v string) predicate.CASBackend
- func NameLTE(v string) predicate.CASBackend
- func NameNEQ(v string) predicate.CASBackend
- func NameNotIn(vs ...string) predicate.CASBackend
- func Not(p predicate.CASBackend) predicate.CASBackend
- func Or(predicates ...predicate.CASBackend) predicate.CASBackend
- func ProviderEQ(v biz.CASBackendProvider) predicate.CASBackend
- func ProviderIn(vs ...biz.CASBackendProvider) predicate.CASBackend
- func ProviderNEQ(v biz.CASBackendProvider) predicate.CASBackend
- func ProviderNotIn(vs ...biz.CASBackendProvider) predicate.CASBackend
- func ProviderValidator(pr biz.CASBackendProvider) error
- func SecretName(v string) predicate.CASBackend
- func SecretNameContains(v string) predicate.CASBackend
- func SecretNameContainsFold(v string) predicate.CASBackend
- func SecretNameEQ(v string) predicate.CASBackend
- func SecretNameEqualFold(v string) predicate.CASBackend
- func SecretNameGT(v string) predicate.CASBackend
- func SecretNameGTE(v string) predicate.CASBackend
- func SecretNameHasPrefix(v string) predicate.CASBackend
- func SecretNameHasSuffix(v string) predicate.CASBackend
- func SecretNameIn(vs ...string) predicate.CASBackend
- func SecretNameLT(v string) predicate.CASBackend
- func SecretNameLTE(v string) predicate.CASBackend
- func SecretNameNEQ(v string) predicate.CASBackend
- func SecretNameNotIn(vs ...string) predicate.CASBackend
- func ValidColumn(column string) bool
- func ValidatedAt(v time.Time) predicate.CASBackend
- func ValidatedAtEQ(v time.Time) predicate.CASBackend
- func ValidatedAtGT(v time.Time) predicate.CASBackend
- func ValidatedAtGTE(v time.Time) predicate.CASBackend
- func ValidatedAtIn(vs ...time.Time) predicate.CASBackend
- func ValidatedAtLT(v time.Time) predicate.CASBackend
- func ValidatedAtLTE(v time.Time) predicate.CASBackend
- func ValidatedAtNEQ(v time.Time) predicate.CASBackend
- func ValidatedAtNotIn(vs ...time.Time) predicate.CASBackend
- func ValidationStatusEQ(v biz.CASBackendValidationStatus) predicate.CASBackend
- func ValidationStatusIn(vs ...biz.CASBackendValidationStatus) predicate.CASBackend
- func ValidationStatusNEQ(v biz.CASBackendValidationStatus) predicate.CASBackend
- func ValidationStatusNotIn(vs ...biz.CASBackendValidationStatus) predicate.CASBackend
- func ValidationStatusValidator(vs biz.CASBackendValidationStatus) error
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDefault(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByFallback(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLocation(opts ...sql.OrderTermOption) OrderOption
- func ByMaxBlobSizeBytes(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProvider(opts ...sql.OrderTermOption) OrderOption
- func BySecretName(opts ...sql.OrderTermOption) OrderOption
- func ByValidatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByValidationStatus(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowRun(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowRunCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the casbackend type in the database. Label = "cas_backend" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldLocation holds the string denoting the location field in the database. FieldLocation = "location" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldProvider holds the string denoting the provider field in the database. FieldProvider = "provider" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldSecretName holds the string denoting the secret_name field in the database. FieldSecretName = "secret_name" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldValidationStatus holds the string denoting the validation_status field in the database. FieldValidationStatus = "validation_status" // FieldValidatedAt holds the string denoting the validated_at field in the database. FieldValidatedAt = "validated_at" // FieldDefault holds the string denoting the default field in the database. FieldDefault = "default" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldFallback holds the string denoting the fallback field in the database. FieldFallback = "fallback" // FieldMaxBlobSizeBytes holds the string denoting the max_blob_size_bytes field in the database. FieldMaxBlobSizeBytes = "max_blob_size_bytes" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeWorkflowRun holds the string denoting the workflow_run edge name in mutations. EdgeWorkflowRun = "workflow_run" // Table holds the table name of the casbackend in the database. Table = "cas_backends" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "cas_backends" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_cas_backends" // WorkflowRunTable is the table that holds the workflow_run relation/edge. The primary key declared below. WorkflowRunTable = "workflow_run_cas_backends" // WorkflowRunInverseTable is the table name for the WorkflowRun entity. // It exists in this package in order to avoid circular dependency with the "workflowrun" package. WorkflowRunInverseTable = "workflow_runs" )
const DefaultValidationStatus biz.CASBackendValidationStatus = "OK"
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultValidatedAt holds the default value on creation for the "validated_at" field. DefaultValidatedAt func() time.Time // DefaultDefault holds the default value on creation for the "default" field. DefaultDefault bool // DefaultFallback holds the default value on creation for the "fallback" field. DefaultFallback bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldLocation, FieldName, FieldProvider, FieldDescription, FieldSecretName, FieldCreatedAt, FieldValidationStatus, FieldValidatedAt, FieldDefault, FieldDeletedAt, FieldFallback, FieldMaxBlobSizeBytes, }
Columns holds all SQL columns for casbackend fields.
var ForeignKeys = []string{
"organization_cas_backends",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "cas_backends" table and are not defined as standalone fields in the schema.
var ( // WorkflowRunPrimaryKey and WorkflowRunColumn2 are the table columns denoting the // primary key for the workflow_run relation (M2M). WorkflowRunPrimaryKey = []string{"workflow_run_id", "cas_backend_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.CASBackend) predicate.CASBackend
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.CASBackend
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.CASBackend
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.CASBackend
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.CASBackend
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.CASBackend
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.CASBackend
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.CASBackend
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.CASBackend
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.CASBackend
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Default ¶
func Default(v bool) predicate.CASBackend
Default applies equality check predicate on the "default" field. It's identical to DefaultEQ.
func DefaultEQ ¶
func DefaultEQ(v bool) predicate.CASBackend
DefaultEQ applies the EQ predicate on the "default" field.
func DefaultNEQ ¶
func DefaultNEQ(v bool) predicate.CASBackend
DefaultNEQ applies the NEQ predicate on the "default" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.CASBackend
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.CASBackend
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.CASBackend
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.CASBackend
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.CASBackend
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.CASBackend
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.CASBackend
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.CASBackend
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.CASBackend
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.CASBackend
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.CASBackend
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
func Description(v string) predicate.CASBackend
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.CASBackend
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.CASBackend
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.CASBackend
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.CASBackend
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.CASBackend
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.CASBackend
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.CASBackend
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.CASBackend
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.CASBackend
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.CASBackend
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.CASBackend
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.CASBackend
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.CASBackend
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.CASBackend
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.CASBackend
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Fallback ¶
func Fallback(v bool) predicate.CASBackend
Fallback applies equality check predicate on the "fallback" field. It's identical to FallbackEQ.
func FallbackEQ ¶
func FallbackEQ(v bool) predicate.CASBackend
FallbackEQ applies the EQ predicate on the "fallback" field.
func FallbackNEQ ¶
func FallbackNEQ(v bool) predicate.CASBackend
FallbackNEQ applies the NEQ predicate on the "fallback" field.
func HasOrganization ¶
func HasOrganization() predicate.CASBackend
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.CASBackend
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasWorkflowRun ¶
func HasWorkflowRun() predicate.CASBackend
HasWorkflowRun applies the HasEdge predicate on the "workflow_run" edge.
func HasWorkflowRunWith ¶
func HasWorkflowRunWith(preds ...predicate.WorkflowRun) predicate.CASBackend
HasWorkflowRunWith applies the HasEdge predicate on the "workflow_run" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.CASBackend
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.CASBackend
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.CASBackend
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.CASBackend
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.CASBackend
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.CASBackend
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.CASBackend
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.CASBackend
IDNotIn applies the NotIn predicate on the ID field.
func Location ¶
func Location(v string) predicate.CASBackend
Location applies equality check predicate on the "location" field. It's identical to LocationEQ.
func LocationContains ¶
func LocationContains(v string) predicate.CASBackend
LocationContains applies the Contains predicate on the "location" field.
func LocationContainsFold ¶
func LocationContainsFold(v string) predicate.CASBackend
LocationContainsFold applies the ContainsFold predicate on the "location" field.
func LocationEQ ¶
func LocationEQ(v string) predicate.CASBackend
LocationEQ applies the EQ predicate on the "location" field.
func LocationEqualFold ¶
func LocationEqualFold(v string) predicate.CASBackend
LocationEqualFold applies the EqualFold predicate on the "location" field.
func LocationGT ¶
func LocationGT(v string) predicate.CASBackend
LocationGT applies the GT predicate on the "location" field.
func LocationGTE ¶
func LocationGTE(v string) predicate.CASBackend
LocationGTE applies the GTE predicate on the "location" field.
func LocationHasPrefix ¶
func LocationHasPrefix(v string) predicate.CASBackend
LocationHasPrefix applies the HasPrefix predicate on the "location" field.
func LocationHasSuffix ¶
func LocationHasSuffix(v string) predicate.CASBackend
LocationHasSuffix applies the HasSuffix predicate on the "location" field.
func LocationIn ¶
func LocationIn(vs ...string) predicate.CASBackend
LocationIn applies the In predicate on the "location" field.
func LocationLT ¶
func LocationLT(v string) predicate.CASBackend
LocationLT applies the LT predicate on the "location" field.
func LocationLTE ¶
func LocationLTE(v string) predicate.CASBackend
LocationLTE applies the LTE predicate on the "location" field.
func LocationNEQ ¶
func LocationNEQ(v string) predicate.CASBackend
LocationNEQ applies the NEQ predicate on the "location" field.
func LocationNotIn ¶
func LocationNotIn(vs ...string) predicate.CASBackend
LocationNotIn applies the NotIn predicate on the "location" field.
func MaxBlobSizeBytes ¶ added in v0.92.3
func MaxBlobSizeBytes(v int64) predicate.CASBackend
MaxBlobSizeBytes applies equality check predicate on the "max_blob_size_bytes" field. It's identical to MaxBlobSizeBytesEQ.
func MaxBlobSizeBytesEQ ¶ added in v0.92.3
func MaxBlobSizeBytesEQ(v int64) predicate.CASBackend
MaxBlobSizeBytesEQ applies the EQ predicate on the "max_blob_size_bytes" field.
func MaxBlobSizeBytesGT ¶ added in v0.92.3
func MaxBlobSizeBytesGT(v int64) predicate.CASBackend
MaxBlobSizeBytesGT applies the GT predicate on the "max_blob_size_bytes" field.
func MaxBlobSizeBytesGTE ¶ added in v0.92.3
func MaxBlobSizeBytesGTE(v int64) predicate.CASBackend
MaxBlobSizeBytesGTE applies the GTE predicate on the "max_blob_size_bytes" field.
func MaxBlobSizeBytesIn ¶ added in v0.92.3
func MaxBlobSizeBytesIn(vs ...int64) predicate.CASBackend
MaxBlobSizeBytesIn applies the In predicate on the "max_blob_size_bytes" field.
func MaxBlobSizeBytesLT ¶ added in v0.92.3
func MaxBlobSizeBytesLT(v int64) predicate.CASBackend
MaxBlobSizeBytesLT applies the LT predicate on the "max_blob_size_bytes" field.
func MaxBlobSizeBytesLTE ¶ added in v0.92.3
func MaxBlobSizeBytesLTE(v int64) predicate.CASBackend
MaxBlobSizeBytesLTE applies the LTE predicate on the "max_blob_size_bytes" field.
func MaxBlobSizeBytesNEQ ¶ added in v0.92.3
func MaxBlobSizeBytesNEQ(v int64) predicate.CASBackend
MaxBlobSizeBytesNEQ applies the NEQ predicate on the "max_blob_size_bytes" field.
func MaxBlobSizeBytesNotIn ¶ added in v0.92.3
func MaxBlobSizeBytesNotIn(vs ...int64) predicate.CASBackend
MaxBlobSizeBytesNotIn applies the NotIn predicate on the "max_blob_size_bytes" field.
func Name ¶
func Name(v string) predicate.CASBackend
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.CASBackend
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.CASBackend
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.CASBackend
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.CASBackend
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.CASBackend
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.CASBackend
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.CASBackend
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.CASBackend
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.CASBackend
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.CASBackend
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.CASBackend
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.CASBackend
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.CASBackend
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.CASBackend) predicate.CASBackend
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CASBackend) predicate.CASBackend
Or groups predicates with the OR operator between them.
func ProviderEQ ¶
func ProviderEQ(v biz.CASBackendProvider) predicate.CASBackend
ProviderEQ applies the EQ predicate on the "provider" field.
func ProviderIn ¶
func ProviderIn(vs ...biz.CASBackendProvider) predicate.CASBackend
ProviderIn applies the In predicate on the "provider" field.
func ProviderNEQ ¶
func ProviderNEQ(v biz.CASBackendProvider) predicate.CASBackend
ProviderNEQ applies the NEQ predicate on the "provider" field.
func ProviderNotIn ¶
func ProviderNotIn(vs ...biz.CASBackendProvider) predicate.CASBackend
ProviderNotIn applies the NotIn predicate on the "provider" field.
func ProviderValidator ¶
func ProviderValidator(pr biz.CASBackendProvider) error
ProviderValidator is a validator for the "provider" field enum values. It is called by the builders before save.
func SecretName ¶
func SecretName(v string) predicate.CASBackend
SecretName applies equality check predicate on the "secret_name" field. It's identical to SecretNameEQ.
func SecretNameContains ¶
func SecretNameContains(v string) predicate.CASBackend
SecretNameContains applies the Contains predicate on the "secret_name" field.
func SecretNameContainsFold ¶
func SecretNameContainsFold(v string) predicate.CASBackend
SecretNameContainsFold applies the ContainsFold predicate on the "secret_name" field.
func SecretNameEQ ¶
func SecretNameEQ(v string) predicate.CASBackend
SecretNameEQ applies the EQ predicate on the "secret_name" field.
func SecretNameEqualFold ¶
func SecretNameEqualFold(v string) predicate.CASBackend
SecretNameEqualFold applies the EqualFold predicate on the "secret_name" field.
func SecretNameGT ¶
func SecretNameGT(v string) predicate.CASBackend
SecretNameGT applies the GT predicate on the "secret_name" field.
func SecretNameGTE ¶
func SecretNameGTE(v string) predicate.CASBackend
SecretNameGTE applies the GTE predicate on the "secret_name" field.
func SecretNameHasPrefix ¶
func SecretNameHasPrefix(v string) predicate.CASBackend
SecretNameHasPrefix applies the HasPrefix predicate on the "secret_name" field.
func SecretNameHasSuffix ¶
func SecretNameHasSuffix(v string) predicate.CASBackend
SecretNameHasSuffix applies the HasSuffix predicate on the "secret_name" field.
func SecretNameIn ¶
func SecretNameIn(vs ...string) predicate.CASBackend
SecretNameIn applies the In predicate on the "secret_name" field.
func SecretNameLT ¶
func SecretNameLT(v string) predicate.CASBackend
SecretNameLT applies the LT predicate on the "secret_name" field.
func SecretNameLTE ¶
func SecretNameLTE(v string) predicate.CASBackend
SecretNameLTE applies the LTE predicate on the "secret_name" field.
func SecretNameNEQ ¶
func SecretNameNEQ(v string) predicate.CASBackend
SecretNameNEQ applies the NEQ predicate on the "secret_name" field.
func SecretNameNotIn ¶
func SecretNameNotIn(vs ...string) predicate.CASBackend
SecretNameNotIn applies the NotIn predicate on the "secret_name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ValidatedAt ¶
func ValidatedAt(v time.Time) predicate.CASBackend
ValidatedAt applies equality check predicate on the "validated_at" field. It's identical to ValidatedAtEQ.
func ValidatedAtEQ ¶
func ValidatedAtEQ(v time.Time) predicate.CASBackend
ValidatedAtEQ applies the EQ predicate on the "validated_at" field.
func ValidatedAtGT ¶
func ValidatedAtGT(v time.Time) predicate.CASBackend
ValidatedAtGT applies the GT predicate on the "validated_at" field.
func ValidatedAtGTE ¶
func ValidatedAtGTE(v time.Time) predicate.CASBackend
ValidatedAtGTE applies the GTE predicate on the "validated_at" field.
func ValidatedAtIn ¶
func ValidatedAtIn(vs ...time.Time) predicate.CASBackend
ValidatedAtIn applies the In predicate on the "validated_at" field.
func ValidatedAtLT ¶
func ValidatedAtLT(v time.Time) predicate.CASBackend
ValidatedAtLT applies the LT predicate on the "validated_at" field.
func ValidatedAtLTE ¶
func ValidatedAtLTE(v time.Time) predicate.CASBackend
ValidatedAtLTE applies the LTE predicate on the "validated_at" field.
func ValidatedAtNEQ ¶
func ValidatedAtNEQ(v time.Time) predicate.CASBackend
ValidatedAtNEQ applies the NEQ predicate on the "validated_at" field.
func ValidatedAtNotIn ¶
func ValidatedAtNotIn(vs ...time.Time) predicate.CASBackend
ValidatedAtNotIn applies the NotIn predicate on the "validated_at" field.
func ValidationStatusEQ ¶
func ValidationStatusEQ(v biz.CASBackendValidationStatus) predicate.CASBackend
ValidationStatusEQ applies the EQ predicate on the "validation_status" field.
func ValidationStatusIn ¶
func ValidationStatusIn(vs ...biz.CASBackendValidationStatus) predicate.CASBackend
ValidationStatusIn applies the In predicate on the "validation_status" field.
func ValidationStatusNEQ ¶
func ValidationStatusNEQ(v biz.CASBackendValidationStatus) predicate.CASBackend
ValidationStatusNEQ applies the NEQ predicate on the "validation_status" field.
func ValidationStatusNotIn ¶
func ValidationStatusNotIn(vs ...biz.CASBackendValidationStatus) predicate.CASBackend
ValidationStatusNotIn applies the NotIn predicate on the "validation_status" field.
func ValidationStatusValidator ¶
func ValidationStatusValidator(vs biz.CASBackendValidationStatus) error
ValidationStatusValidator is a validator for the "validation_status" field enum values. It is called by the builders before save.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the CASBackend queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDefault ¶
func ByDefault(opts ...sql.OrderTermOption) OrderOption
ByDefault orders the results by the default field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByFallback ¶
func ByFallback(opts ...sql.OrderTermOption) OrderOption
ByFallback orders the results by the fallback field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLocation ¶
func ByLocation(opts ...sql.OrderTermOption) OrderOption
ByLocation orders the results by the location field.
func ByMaxBlobSizeBytes ¶ added in v0.92.3
func ByMaxBlobSizeBytes(opts ...sql.OrderTermOption) OrderOption
ByMaxBlobSizeBytes orders the results by the max_blob_size_bytes field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByProvider ¶
func ByProvider(opts ...sql.OrderTermOption) OrderOption
ByProvider orders the results by the provider field.
func BySecretName ¶
func BySecretName(opts ...sql.OrderTermOption) OrderOption
BySecretName orders the results by the secret_name field.
func ByValidatedAt ¶
func ByValidatedAt(opts ...sql.OrderTermOption) OrderOption
ByValidatedAt orders the results by the validated_at field.
func ByValidationStatus ¶
func ByValidationStatus(opts ...sql.OrderTermOption) OrderOption
ByValidationStatus orders the results by the validation_status field.
func ByWorkflowRun ¶
func ByWorkflowRun(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowRun orders the results by workflow_run terms.
func ByWorkflowRunCount ¶
func ByWorkflowRunCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowRunCount orders the results by workflow_run count.