Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OCIRepository) predicate.OCIRepository
- func CreatedAt(v time.Time) predicate.OCIRepository
- func CreatedAtEQ(v time.Time) predicate.OCIRepository
- func CreatedAtGT(v time.Time) predicate.OCIRepository
- func CreatedAtGTE(v time.Time) predicate.OCIRepository
- func CreatedAtIn(vs ...time.Time) predicate.OCIRepository
- func CreatedAtLT(v time.Time) predicate.OCIRepository
- func CreatedAtLTE(v time.Time) predicate.OCIRepository
- func CreatedAtNEQ(v time.Time) predicate.OCIRepository
- func CreatedAtNotIn(vs ...time.Time) predicate.OCIRepository
- func HasOrganization() predicate.OCIRepository
- func HasOrganizationWith(preds ...predicate.Organization) predicate.OCIRepository
- func ID(id uuid.UUID) predicate.OCIRepository
- func IDEQ(id uuid.UUID) predicate.OCIRepository
- func IDGT(id uuid.UUID) predicate.OCIRepository
- func IDGTE(id uuid.UUID) predicate.OCIRepository
- func IDIn(ids ...uuid.UUID) predicate.OCIRepository
- func IDLT(id uuid.UUID) predicate.OCIRepository
- func IDLTE(id uuid.UUID) predicate.OCIRepository
- func IDNEQ(id uuid.UUID) predicate.OCIRepository
- func IDNotIn(ids ...uuid.UUID) predicate.OCIRepository
- func Not(p predicate.OCIRepository) predicate.OCIRepository
- func Or(predicates ...predicate.OCIRepository) predicate.OCIRepository
- func Repo(v string) predicate.OCIRepository
- func RepoContains(v string) predicate.OCIRepository
- func RepoContainsFold(v string) predicate.OCIRepository
- func RepoEQ(v string) predicate.OCIRepository
- func RepoEqualFold(v string) predicate.OCIRepository
- func RepoGT(v string) predicate.OCIRepository
- func RepoGTE(v string) predicate.OCIRepository
- func RepoHasPrefix(v string) predicate.OCIRepository
- func RepoHasSuffix(v string) predicate.OCIRepository
- func RepoIn(vs ...string) predicate.OCIRepository
- func RepoLT(v string) predicate.OCIRepository
- func RepoLTE(v string) predicate.OCIRepository
- func RepoNEQ(v string) predicate.OCIRepository
- func RepoNotIn(vs ...string) predicate.OCIRepository
- func SecretName(v string) predicate.OCIRepository
- func SecretNameContains(v string) predicate.OCIRepository
- func SecretNameContainsFold(v string) predicate.OCIRepository
- func SecretNameEQ(v string) predicate.OCIRepository
- func SecretNameEqualFold(v string) predicate.OCIRepository
- func SecretNameGT(v string) predicate.OCIRepository
- func SecretNameGTE(v string) predicate.OCIRepository
- func SecretNameHasPrefix(v string) predicate.OCIRepository
- func SecretNameHasSuffix(v string) predicate.OCIRepository
- func SecretNameIn(vs ...string) predicate.OCIRepository
- func SecretNameLT(v string) predicate.OCIRepository
- func SecretNameLTE(v string) predicate.OCIRepository
- func SecretNameNEQ(v string) predicate.OCIRepository
- func SecretNameNotIn(vs ...string) predicate.OCIRepository
- func ValidColumn(column string) bool
- func ValidatedAt(v time.Time) predicate.OCIRepository
- func ValidatedAtEQ(v time.Time) predicate.OCIRepository
- func ValidatedAtGT(v time.Time) predicate.OCIRepository
- func ValidatedAtGTE(v time.Time) predicate.OCIRepository
- func ValidatedAtIn(vs ...time.Time) predicate.OCIRepository
- func ValidatedAtLT(v time.Time) predicate.OCIRepository
- func ValidatedAtLTE(v time.Time) predicate.OCIRepository
- func ValidatedAtNEQ(v time.Time) predicate.OCIRepository
- func ValidatedAtNotIn(vs ...time.Time) predicate.OCIRepository
- func ValidationStatusEQ(v biz.OCIRepoValidationStatus) predicate.OCIRepository
- func ValidationStatusIn(vs ...biz.OCIRepoValidationStatus) predicate.OCIRepository
- func ValidationStatusNEQ(v biz.OCIRepoValidationStatus) predicate.OCIRepository
- func ValidationStatusNotIn(vs ...biz.OCIRepoValidationStatus) predicate.OCIRepository
- func ValidationStatusValidator(vs biz.OCIRepoValidationStatus) error
Constants ¶
const ( // Label holds the string label denoting the ocirepository type in the database. Label = "oci_repository" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldRepo holds the string denoting the repo field in the database. FieldRepo = "repo" // 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" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // Table holds the table name of the ocirepository in the database. Table = "oci_repositories" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "oci_repositories" // 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_oci_repositories" )
const DefaultValidationStatus biz.OCIRepoValidationStatus = "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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldRepo, FieldSecretName, FieldCreatedAt, FieldValidationStatus, FieldValidatedAt, }
Columns holds all SQL columns for ocirepository fields.
var ForeignKeys = []string{
"organization_oci_repositories",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "oci_repositories" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.OCIRepository) predicate.OCIRepository
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.OCIRepository
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.OCIRepository
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.OCIRepository
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.OCIRepository
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.OCIRepository
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.OCIRepository
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.OCIRepository
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.OCIRepository
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.OCIRepository
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasOrganization ¶
func HasOrganization() predicate.OCIRepository
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.OCIRepository
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.OCIRepository
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.OCIRepository
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.OCIRepository
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.OCIRepository
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.OCIRepository
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.OCIRepository
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.OCIRepository
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.OCIRepository
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.OCIRepository
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.OCIRepository) predicate.OCIRepository
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OCIRepository) predicate.OCIRepository
Or groups predicates with the OR operator between them.
func Repo ¶
func Repo(v string) predicate.OCIRepository
Repo applies equality check predicate on the "repo" field. It's identical to RepoEQ.
func RepoContains ¶
func RepoContains(v string) predicate.OCIRepository
RepoContains applies the Contains predicate on the "repo" field.
func RepoContainsFold ¶
func RepoContainsFold(v string) predicate.OCIRepository
RepoContainsFold applies the ContainsFold predicate on the "repo" field.
func RepoEQ ¶
func RepoEQ(v string) predicate.OCIRepository
RepoEQ applies the EQ predicate on the "repo" field.
func RepoEqualFold ¶
func RepoEqualFold(v string) predicate.OCIRepository
RepoEqualFold applies the EqualFold predicate on the "repo" field.
func RepoGT ¶
func RepoGT(v string) predicate.OCIRepository
RepoGT applies the GT predicate on the "repo" field.
func RepoGTE ¶
func RepoGTE(v string) predicate.OCIRepository
RepoGTE applies the GTE predicate on the "repo" field.
func RepoHasPrefix ¶
func RepoHasPrefix(v string) predicate.OCIRepository
RepoHasPrefix applies the HasPrefix predicate on the "repo" field.
func RepoHasSuffix ¶
func RepoHasSuffix(v string) predicate.OCIRepository
RepoHasSuffix applies the HasSuffix predicate on the "repo" field.
func RepoIn ¶
func RepoIn(vs ...string) predicate.OCIRepository
RepoIn applies the In predicate on the "repo" field.
func RepoLT ¶
func RepoLT(v string) predicate.OCIRepository
RepoLT applies the LT predicate on the "repo" field.
func RepoLTE ¶
func RepoLTE(v string) predicate.OCIRepository
RepoLTE applies the LTE predicate on the "repo" field.
func RepoNEQ ¶
func RepoNEQ(v string) predicate.OCIRepository
RepoNEQ applies the NEQ predicate on the "repo" field.
func RepoNotIn ¶
func RepoNotIn(vs ...string) predicate.OCIRepository
RepoNotIn applies the NotIn predicate on the "repo" field.
func SecretName ¶
func SecretName(v string) predicate.OCIRepository
SecretName applies equality check predicate on the "secret_name" field. It's identical to SecretNameEQ.
func SecretNameContains ¶
func SecretNameContains(v string) predicate.OCIRepository
SecretNameContains applies the Contains predicate on the "secret_name" field.
func SecretNameContainsFold ¶
func SecretNameContainsFold(v string) predicate.OCIRepository
SecretNameContainsFold applies the ContainsFold predicate on the "secret_name" field.
func SecretNameEQ ¶
func SecretNameEQ(v string) predicate.OCIRepository
SecretNameEQ applies the EQ predicate on the "secret_name" field.
func SecretNameEqualFold ¶
func SecretNameEqualFold(v string) predicate.OCIRepository
SecretNameEqualFold applies the EqualFold predicate on the "secret_name" field.
func SecretNameGT ¶
func SecretNameGT(v string) predicate.OCIRepository
SecretNameGT applies the GT predicate on the "secret_name" field.
func SecretNameGTE ¶
func SecretNameGTE(v string) predicate.OCIRepository
SecretNameGTE applies the GTE predicate on the "secret_name" field.
func SecretNameHasPrefix ¶
func SecretNameHasPrefix(v string) predicate.OCIRepository
SecretNameHasPrefix applies the HasPrefix predicate on the "secret_name" field.
func SecretNameHasSuffix ¶
func SecretNameHasSuffix(v string) predicate.OCIRepository
SecretNameHasSuffix applies the HasSuffix predicate on the "secret_name" field.
func SecretNameIn ¶
func SecretNameIn(vs ...string) predicate.OCIRepository
SecretNameIn applies the In predicate on the "secret_name" field.
func SecretNameLT ¶
func SecretNameLT(v string) predicate.OCIRepository
SecretNameLT applies the LT predicate on the "secret_name" field.
func SecretNameLTE ¶
func SecretNameLTE(v string) predicate.OCIRepository
SecretNameLTE applies the LTE predicate on the "secret_name" field.
func SecretNameNEQ ¶
func SecretNameNEQ(v string) predicate.OCIRepository
SecretNameNEQ applies the NEQ predicate on the "secret_name" field.
func SecretNameNotIn ¶
func SecretNameNotIn(vs ...string) predicate.OCIRepository
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.OCIRepository
ValidatedAt applies equality check predicate on the "validated_at" field. It's identical to ValidatedAtEQ.
func ValidatedAtEQ ¶
func ValidatedAtEQ(v time.Time) predicate.OCIRepository
ValidatedAtEQ applies the EQ predicate on the "validated_at" field.
func ValidatedAtGT ¶
func ValidatedAtGT(v time.Time) predicate.OCIRepository
ValidatedAtGT applies the GT predicate on the "validated_at" field.
func ValidatedAtGTE ¶
func ValidatedAtGTE(v time.Time) predicate.OCIRepository
ValidatedAtGTE applies the GTE predicate on the "validated_at" field.
func ValidatedAtIn ¶
func ValidatedAtIn(vs ...time.Time) predicate.OCIRepository
ValidatedAtIn applies the In predicate on the "validated_at" field.
func ValidatedAtLT ¶
func ValidatedAtLT(v time.Time) predicate.OCIRepository
ValidatedAtLT applies the LT predicate on the "validated_at" field.
func ValidatedAtLTE ¶
func ValidatedAtLTE(v time.Time) predicate.OCIRepository
ValidatedAtLTE applies the LTE predicate on the "validated_at" field.
func ValidatedAtNEQ ¶
func ValidatedAtNEQ(v time.Time) predicate.OCIRepository
ValidatedAtNEQ applies the NEQ predicate on the "validated_at" field.
func ValidatedAtNotIn ¶
func ValidatedAtNotIn(vs ...time.Time) predicate.OCIRepository
ValidatedAtNotIn applies the NotIn predicate on the "validated_at" field.
func ValidationStatusEQ ¶
func ValidationStatusEQ(v biz.OCIRepoValidationStatus) predicate.OCIRepository
ValidationStatusEQ applies the EQ predicate on the "validation_status" field.
func ValidationStatusIn ¶
func ValidationStatusIn(vs ...biz.OCIRepoValidationStatus) predicate.OCIRepository
ValidationStatusIn applies the In predicate on the "validation_status" field.
func ValidationStatusNEQ ¶
func ValidationStatusNEQ(v biz.OCIRepoValidationStatus) predicate.OCIRepository
ValidationStatusNEQ applies the NEQ predicate on the "validation_status" field.
func ValidationStatusNotIn ¶
func ValidationStatusNotIn(vs ...biz.OCIRepoValidationStatus) predicate.OCIRepository
ValidationStatusNotIn applies the NotIn predicate on the "validation_status" field.
func ValidationStatusValidator ¶
func ValidationStatusValidator(vs biz.OCIRepoValidationStatus) error
ValidationStatusValidator is a validator for the "validation_status" field enum values. It is called by the builders before save.
Types ¶
This section is empty.