Documentation
¶
Index ¶
- Constants
- Variables
- func Algorithm(v string) predicate.Secret
- func AlgorithmContains(v string) predicate.Secret
- func AlgorithmContainsFold(v string) predicate.Secret
- func AlgorithmEQ(v string) predicate.Secret
- func AlgorithmEqualFold(v string) predicate.Secret
- func AlgorithmGT(v string) predicate.Secret
- func AlgorithmGTE(v string) predicate.Secret
- func AlgorithmHasPrefix(v string) predicate.Secret
- func AlgorithmHasSuffix(v string) predicate.Secret
- func AlgorithmIn(vs ...string) predicate.Secret
- func AlgorithmLT(v string) predicate.Secret
- func AlgorithmLTE(v string) predicate.Secret
- func AlgorithmNEQ(v string) predicate.Secret
- func AlgorithmNotIn(vs ...string) predicate.Secret
- func And(predicates ...predicate.Secret) predicate.Secret
- func Ciphertext(v string) predicate.Secret
- func CiphertextContains(v string) predicate.Secret
- func CiphertextContainsFold(v string) predicate.Secret
- func CiphertextEQ(v string) predicate.Secret
- func CiphertextEqualFold(v string) predicate.Secret
- func CiphertextGT(v string) predicate.Secret
- func CiphertextGTE(v string) predicate.Secret
- func CiphertextHasPrefix(v string) predicate.Secret
- func CiphertextHasSuffix(v string) predicate.Secret
- func CiphertextIn(vs ...string) predicate.Secret
- func CiphertextLT(v string) predicate.Secret
- func CiphertextLTE(v string) predicate.Secret
- func CiphertextNEQ(v string) predicate.Secret
- func CiphertextNotIn(vs ...string) predicate.Secret
- func CreatedAt(v time.Time) predicate.Secret
- func CreatedAtEQ(v time.Time) predicate.Secret
- func CreatedAtGT(v time.Time) predicate.Secret
- func CreatedAtGTE(v time.Time) predicate.Secret
- func CreatedAtIn(vs ...time.Time) predicate.Secret
- func CreatedAtLT(v time.Time) predicate.Secret
- func CreatedAtLTE(v time.Time) predicate.Secret
- func CreatedAtNEQ(v time.Time) predicate.Secret
- func CreatedAtNotIn(vs ...time.Time) predicate.Secret
- func Description(v string) predicate.Secret
- func DescriptionContains(v string) predicate.Secret
- func DescriptionContainsFold(v string) predicate.Secret
- func DescriptionEQ(v string) predicate.Secret
- func DescriptionEqualFold(v string) predicate.Secret
- func DescriptionGT(v string) predicate.Secret
- func DescriptionGTE(v string) predicate.Secret
- func DescriptionHasPrefix(v string) predicate.Secret
- func DescriptionHasSuffix(v string) predicate.Secret
- func DescriptionIn(vs ...string) predicate.Secret
- func DescriptionLT(v string) predicate.Secret
- func DescriptionLTE(v string) predicate.Secret
- func DescriptionNEQ(v string) predicate.Secret
- func DescriptionNotIn(vs ...string) predicate.Secret
- func DisabledAt(v time.Time) predicate.Secret
- func DisabledAtEQ(v time.Time) predicate.Secret
- func DisabledAtGT(v time.Time) predicate.Secret
- func DisabledAtGTE(v time.Time) predicate.Secret
- func DisabledAtIn(vs ...time.Time) predicate.Secret
- func DisabledAtIsNil() predicate.Secret
- func DisabledAtLT(v time.Time) predicate.Secret
- func DisabledAtLTE(v time.Time) predicate.Secret
- func DisabledAtNEQ(v time.Time) predicate.Secret
- func DisabledAtNotIn(vs ...time.Time) predicate.Secret
- func DisabledAtNotNil() predicate.Secret
- func HasBindings() predicate.Secret
- func HasBindingsWith(preds ...predicate.SecretBinding) predicate.Secret
- func ID(id uuid.UUID) predicate.Secret
- func IDEQ(id uuid.UUID) predicate.Secret
- func IDGT(id uuid.UUID) predicate.Secret
- func IDGTE(id uuid.UUID) predicate.Secret
- func IDIn(ids ...uuid.UUID) predicate.Secret
- func IDLT(id uuid.UUID) predicate.Secret
- func IDLTE(id uuid.UUID) predicate.Secret
- func IDNEQ(id uuid.UUID) predicate.Secret
- func IDNotIn(ids ...uuid.UUID) predicate.Secret
- func KeyID(v string) predicate.Secret
- func KeyIDContains(v string) predicate.Secret
- func KeyIDContainsFold(v string) predicate.Secret
- func KeyIDEQ(v string) predicate.Secret
- func KeyIDEqualFold(v string) predicate.Secret
- func KeyIDGT(v string) predicate.Secret
- func KeyIDGTE(v string) predicate.Secret
- func KeyIDHasPrefix(v string) predicate.Secret
- func KeyIDHasSuffix(v string) predicate.Secret
- func KeyIDIn(vs ...string) predicate.Secret
- func KeyIDLT(v string) predicate.Secret
- func KeyIDLTE(v string) predicate.Secret
- func KeyIDNEQ(v string) predicate.Secret
- func KeyIDNotIn(vs ...string) predicate.Secret
- func KeySource(v string) predicate.Secret
- func KeySourceContains(v string) predicate.Secret
- func KeySourceContainsFold(v string) predicate.Secret
- func KeySourceEQ(v string) predicate.Secret
- func KeySourceEqualFold(v string) predicate.Secret
- func KeySourceGT(v string) predicate.Secret
- func KeySourceGTE(v string) predicate.Secret
- func KeySourceHasPrefix(v string) predicate.Secret
- func KeySourceHasSuffix(v string) predicate.Secret
- func KeySourceIn(vs ...string) predicate.Secret
- func KeySourceLT(v string) predicate.Secret
- func KeySourceLTE(v string) predicate.Secret
- func KeySourceNEQ(v string) predicate.Secret
- func KeySourceNotIn(vs ...string) predicate.Secret
- func KindEQ(v Kind) predicate.Secret
- func KindIn(vs ...Kind) predicate.Secret
- func KindNEQ(v Kind) predicate.Secret
- func KindNotIn(vs ...Kind) predicate.Secret
- func KindValidator(k Kind) error
- func Name(v string) predicate.Secret
- func NameContains(v string) predicate.Secret
- func NameContainsFold(v string) predicate.Secret
- func NameEQ(v string) predicate.Secret
- func NameEqualFold(v string) predicate.Secret
- func NameGT(v string) predicate.Secret
- func NameGTE(v string) predicate.Secret
- func NameHasPrefix(v string) predicate.Secret
- func NameHasSuffix(v string) predicate.Secret
- func NameIn(vs ...string) predicate.Secret
- func NameLT(v string) predicate.Secret
- func NameLTE(v string) predicate.Secret
- func NameNEQ(v string) predicate.Secret
- func NameNotIn(vs ...string) predicate.Secret
- func Nonce(v string) predicate.Secret
- func NonceContains(v string) predicate.Secret
- func NonceContainsFold(v string) predicate.Secret
- func NonceEQ(v string) predicate.Secret
- func NonceEqualFold(v string) predicate.Secret
- func NonceGT(v string) predicate.Secret
- func NonceGTE(v string) predicate.Secret
- func NonceHasPrefix(v string) predicate.Secret
- func NonceHasSuffix(v string) predicate.Secret
- func NonceIn(vs ...string) predicate.Secret
- func NonceLT(v string) predicate.Secret
- func NonceLTE(v string) predicate.Secret
- func NonceNEQ(v string) predicate.Secret
- func NonceNotIn(vs ...string) predicate.Secret
- func Not(p predicate.Secret) predicate.Secret
- func Or(predicates ...predicate.Secret) predicate.Secret
- func OrganizationID(v uuid.UUID) predicate.Secret
- func OrganizationIDEQ(v uuid.UUID) predicate.Secret
- func OrganizationIDGT(v uuid.UUID) predicate.Secret
- func OrganizationIDGTE(v uuid.UUID) predicate.Secret
- func OrganizationIDIn(vs ...uuid.UUID) predicate.Secret
- func OrganizationIDLT(v uuid.UUID) predicate.Secret
- func OrganizationIDLTE(v uuid.UUID) predicate.Secret
- func OrganizationIDNEQ(v uuid.UUID) predicate.Secret
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.Secret
- func ProjectID(v uuid.UUID) predicate.Secret
- func ProjectIDEQ(v uuid.UUID) predicate.Secret
- func ProjectIDGT(v uuid.UUID) predicate.Secret
- func ProjectIDGTE(v uuid.UUID) predicate.Secret
- func ProjectIDIn(vs ...uuid.UUID) predicate.Secret
- func ProjectIDLT(v uuid.UUID) predicate.Secret
- func ProjectIDLTE(v uuid.UUID) predicate.Secret
- func ProjectIDNEQ(v uuid.UUID) predicate.Secret
- func ProjectIDNotIn(vs ...uuid.UUID) predicate.Secret
- func RotatedAt(v time.Time) predicate.Secret
- func RotatedAtEQ(v time.Time) predicate.Secret
- func RotatedAtGT(v time.Time) predicate.Secret
- func RotatedAtGTE(v time.Time) predicate.Secret
- func RotatedAtIn(vs ...time.Time) predicate.Secret
- func RotatedAtLT(v time.Time) predicate.Secret
- func RotatedAtLTE(v time.Time) predicate.Secret
- func RotatedAtNEQ(v time.Time) predicate.Secret
- func RotatedAtNotIn(vs ...time.Time) predicate.Secret
- func ScopeKindEQ(v ScopeKind) predicate.Secret
- func ScopeKindIn(vs ...ScopeKind) predicate.Secret
- func ScopeKindNEQ(v ScopeKind) predicate.Secret
- func ScopeKindNotIn(vs ...ScopeKind) predicate.Secret
- func ScopeKindValidator(sk ScopeKind) error
- func UpdatedAt(v time.Time) predicate.Secret
- func UpdatedAtEQ(v time.Time) predicate.Secret
- func UpdatedAtGT(v time.Time) predicate.Secret
- func UpdatedAtGTE(v time.Time) predicate.Secret
- func UpdatedAtIn(vs ...time.Time) predicate.Secret
- func UpdatedAtLT(v time.Time) predicate.Secret
- func UpdatedAtLTE(v time.Time) predicate.Secret
- func UpdatedAtNEQ(v time.Time) predicate.Secret
- func UpdatedAtNotIn(vs ...time.Time) predicate.Secret
- func ValidColumn(column string) bool
- func ValuePreview(v string) predicate.Secret
- func ValuePreviewContains(v string) predicate.Secret
- func ValuePreviewContainsFold(v string) predicate.Secret
- func ValuePreviewEQ(v string) predicate.Secret
- func ValuePreviewEqualFold(v string) predicate.Secret
- func ValuePreviewGT(v string) predicate.Secret
- func ValuePreviewGTE(v string) predicate.Secret
- func ValuePreviewHasPrefix(v string) predicate.Secret
- func ValuePreviewHasSuffix(v string) predicate.Secret
- func ValuePreviewIn(vs ...string) predicate.Secret
- func ValuePreviewLT(v string) predicate.Secret
- func ValuePreviewLTE(v string) predicate.Secret
- func ValuePreviewNEQ(v string) predicate.Secret
- func ValuePreviewNotIn(vs ...string) predicate.Secret
- type Kind
- type OrderOption
- func ByAlgorithm(opts ...sql.OrderTermOption) OrderOption
- func ByBindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBindingsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCiphertext(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDisabledAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKeyID(opts ...sql.OrderTermOption) OrderOption
- func ByKeySource(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNonce(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByRotatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByScopeKind(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByValuePreview(opts ...sql.OrderTermOption) OrderOption
- type ScopeKind
Constants ¶
const ( // Label holds the string label denoting the secret type in the database. Label = "secret" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldScopeKind holds the string denoting the scope_kind field in the database. FieldScopeKind = "scope_kind" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldAlgorithm holds the string denoting the algorithm field in the database. FieldAlgorithm = "algorithm" // FieldKeySource holds the string denoting the key_source field in the database. FieldKeySource = "key_source" // FieldKeyID holds the string denoting the key_id field in the database. FieldKeyID = "key_id" // FieldValuePreview holds the string denoting the value_preview field in the database. FieldValuePreview = "value_preview" // FieldNonce holds the string denoting the nonce field in the database. FieldNonce = "nonce" // FieldCiphertext holds the string denoting the ciphertext field in the database. FieldCiphertext = "ciphertext" // FieldRotatedAt holds the string denoting the rotated_at field in the database. FieldRotatedAt = "rotated_at" // FieldDisabledAt holds the string denoting the disabled_at field in the database. FieldDisabledAt = "disabled_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeBindings holds the string denoting the bindings edge name in mutations. EdgeBindings = "bindings" // Table holds the table name of the secret in the database. Table = "secrets" // BindingsTable is the table that holds the bindings relation/edge. BindingsTable = "secret_bindings" // BindingsInverseTable is the table name for the SecretBinding entity. // It exists in this package in order to avoid circular dependency with the "secretbinding" package. BindingsInverseTable = "secret_bindings" // BindingsColumn is the table column denoting the bindings relation/edge. BindingsColumn = "secret_id" )
const DefaultKind = KindOpaque
KindOpaque is the default value of the Kind enum.
Variables ¶
var ( // DefaultProjectID holds the default value on creation for the "project_id" field. DefaultProjectID func() uuid.UUID // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultDescription holds the default value on creation for the "description" field. DefaultDescription string // AlgorithmValidator is a validator for the "algorithm" field. It is called by the builders before save. AlgorithmValidator func(string) error // KeySourceValidator is a validator for the "key_source" field. It is called by the builders before save. KeySourceValidator func(string) error // KeyIDValidator is a validator for the "key_id" field. It is called by the builders before save. KeyIDValidator func(string) error // ValuePreviewValidator is a validator for the "value_preview" field. It is called by the builders before save. ValuePreviewValidator func(string) error // NonceValidator is a validator for the "nonce" field. It is called by the builders before save. NonceValidator func(string) error // CiphertextValidator is a validator for the "ciphertext" field. It is called by the builders before save. CiphertextValidator func(string) error // DefaultRotatedAt holds the default value on creation for the "rotated_at" field. DefaultRotatedAt func() time.Time // UpdateDefaultRotatedAt holds the default value on update for the "rotated_at" field. UpdateDefaultRotatedAt func() time.Time // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldOrganizationID, FieldProjectID, FieldScopeKind, FieldName, FieldKind, FieldDescription, FieldAlgorithm, FieldKeySource, FieldKeyID, FieldValuePreview, FieldNonce, FieldCiphertext, FieldRotatedAt, FieldDisabledAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for secret fields.
Functions ¶
func Algorithm ¶
Algorithm applies equality check predicate on the "algorithm" field. It's identical to AlgorithmEQ.
func AlgorithmContains ¶
AlgorithmContains applies the Contains predicate on the "algorithm" field.
func AlgorithmContainsFold ¶
AlgorithmContainsFold applies the ContainsFold predicate on the "algorithm" field.
func AlgorithmEQ ¶
AlgorithmEQ applies the EQ predicate on the "algorithm" field.
func AlgorithmEqualFold ¶
AlgorithmEqualFold applies the EqualFold predicate on the "algorithm" field.
func AlgorithmGT ¶
AlgorithmGT applies the GT predicate on the "algorithm" field.
func AlgorithmGTE ¶
AlgorithmGTE applies the GTE predicate on the "algorithm" field.
func AlgorithmHasPrefix ¶
AlgorithmHasPrefix applies the HasPrefix predicate on the "algorithm" field.
func AlgorithmHasSuffix ¶
AlgorithmHasSuffix applies the HasSuffix predicate on the "algorithm" field.
func AlgorithmIn ¶
AlgorithmIn applies the In predicate on the "algorithm" field.
func AlgorithmLT ¶
AlgorithmLT applies the LT predicate on the "algorithm" field.
func AlgorithmLTE ¶
AlgorithmLTE applies the LTE predicate on the "algorithm" field.
func AlgorithmNEQ ¶
AlgorithmNEQ applies the NEQ predicate on the "algorithm" field.
func AlgorithmNotIn ¶
AlgorithmNotIn applies the NotIn predicate on the "algorithm" field.
func Ciphertext ¶
Ciphertext applies equality check predicate on the "ciphertext" field. It's identical to CiphertextEQ.
func CiphertextContains ¶
CiphertextContains applies the Contains predicate on the "ciphertext" field.
func CiphertextContainsFold ¶
CiphertextContainsFold applies the ContainsFold predicate on the "ciphertext" field.
func CiphertextEQ ¶
CiphertextEQ applies the EQ predicate on the "ciphertext" field.
func CiphertextEqualFold ¶
CiphertextEqualFold applies the EqualFold predicate on the "ciphertext" field.
func CiphertextGT ¶
CiphertextGT applies the GT predicate on the "ciphertext" field.
func CiphertextGTE ¶
CiphertextGTE applies the GTE predicate on the "ciphertext" field.
func CiphertextHasPrefix ¶
CiphertextHasPrefix applies the HasPrefix predicate on the "ciphertext" field.
func CiphertextHasSuffix ¶
CiphertextHasSuffix applies the HasSuffix predicate on the "ciphertext" field.
func CiphertextIn ¶
CiphertextIn applies the In predicate on the "ciphertext" field.
func CiphertextLT ¶
CiphertextLT applies the LT predicate on the "ciphertext" field.
func CiphertextLTE ¶
CiphertextLTE applies the LTE predicate on the "ciphertext" field.
func CiphertextNEQ ¶
CiphertextNEQ applies the NEQ predicate on the "ciphertext" field.
func CiphertextNotIn ¶
CiphertextNotIn applies the NotIn predicate on the "ciphertext" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DisabledAt ¶
DisabledAt applies equality check predicate on the "disabled_at" field. It's identical to DisabledAtEQ.
func DisabledAtEQ ¶
DisabledAtEQ applies the EQ predicate on the "disabled_at" field.
func DisabledAtGT ¶
DisabledAtGT applies the GT predicate on the "disabled_at" field.
func DisabledAtGTE ¶
DisabledAtGTE applies the GTE predicate on the "disabled_at" field.
func DisabledAtIn ¶
DisabledAtIn applies the In predicate on the "disabled_at" field.
func DisabledAtIsNil ¶
DisabledAtIsNil applies the IsNil predicate on the "disabled_at" field.
func DisabledAtLT ¶
DisabledAtLT applies the LT predicate on the "disabled_at" field.
func DisabledAtLTE ¶
DisabledAtLTE applies the LTE predicate on the "disabled_at" field.
func DisabledAtNEQ ¶
DisabledAtNEQ applies the NEQ predicate on the "disabled_at" field.
func DisabledAtNotIn ¶
DisabledAtNotIn applies the NotIn predicate on the "disabled_at" field.
func DisabledAtNotNil ¶
DisabledAtNotNil applies the NotNil predicate on the "disabled_at" field.
func HasBindings ¶
HasBindings applies the HasEdge predicate on the "bindings" edge.
func HasBindingsWith ¶
func HasBindingsWith(preds ...predicate.SecretBinding) predicate.Secret
HasBindingsWith applies the HasEdge predicate on the "bindings" edge with a given conditions (other predicates).
func KeyID ¶
KeyID applies equality check predicate on the "key_id" field. It's identical to KeyIDEQ.
func KeyIDContains ¶
KeyIDContains applies the Contains predicate on the "key_id" field.
func KeyIDContainsFold ¶
KeyIDContainsFold applies the ContainsFold predicate on the "key_id" field.
func KeyIDEqualFold ¶
KeyIDEqualFold applies the EqualFold predicate on the "key_id" field.
func KeyIDHasPrefix ¶
KeyIDHasPrefix applies the HasPrefix predicate on the "key_id" field.
func KeyIDHasSuffix ¶
KeyIDHasSuffix applies the HasSuffix predicate on the "key_id" field.
func KeyIDNotIn ¶
KeyIDNotIn applies the NotIn predicate on the "key_id" field.
func KeySource ¶
KeySource applies equality check predicate on the "key_source" field. It's identical to KeySourceEQ.
func KeySourceContains ¶
KeySourceContains applies the Contains predicate on the "key_source" field.
func KeySourceContainsFold ¶
KeySourceContainsFold applies the ContainsFold predicate on the "key_source" field.
func KeySourceEQ ¶
KeySourceEQ applies the EQ predicate on the "key_source" field.
func KeySourceEqualFold ¶
KeySourceEqualFold applies the EqualFold predicate on the "key_source" field.
func KeySourceGT ¶
KeySourceGT applies the GT predicate on the "key_source" field.
func KeySourceGTE ¶
KeySourceGTE applies the GTE predicate on the "key_source" field.
func KeySourceHasPrefix ¶
KeySourceHasPrefix applies the HasPrefix predicate on the "key_source" field.
func KeySourceHasSuffix ¶
KeySourceHasSuffix applies the HasSuffix predicate on the "key_source" field.
func KeySourceIn ¶
KeySourceIn applies the In predicate on the "key_source" field.
func KeySourceLT ¶
KeySourceLT applies the LT predicate on the "key_source" field.
func KeySourceLTE ¶
KeySourceLTE applies the LTE predicate on the "key_source" field.
func KeySourceNEQ ¶
KeySourceNEQ applies the NEQ predicate on the "key_source" field.
func KeySourceNotIn ¶
KeySourceNotIn applies the NotIn predicate on the "key_source" field.
func KindValidator ¶
KindValidator is a validator for the "kind" field enum values. It is called by the builders before save.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Nonce ¶
Nonce applies equality check predicate on the "nonce" field. It's identical to NonceEQ.
func NonceContains ¶
NonceContains applies the Contains predicate on the "nonce" field.
func NonceContainsFold ¶
NonceContainsFold applies the ContainsFold predicate on the "nonce" field.
func NonceEqualFold ¶
NonceEqualFold applies the EqualFold predicate on the "nonce" field.
func NonceHasPrefix ¶
NonceHasPrefix applies the HasPrefix predicate on the "nonce" field.
func NonceHasSuffix ¶
NonceHasSuffix applies the HasSuffix predicate on the "nonce" field.
func NonceNotIn ¶
NonceNotIn applies the NotIn predicate on the "nonce" field.
func OrganizationID ¶
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDGT ¶
OrganizationIDGT applies the GT predicate on the "organization_id" field.
func OrganizationIDGTE ¶
OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
func OrganizationIDIn ¶
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDLT ¶
OrganizationIDLT applies the LT predicate on the "organization_id" field.
func OrganizationIDLTE ¶
OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func ProjectID ¶
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDGT ¶
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDIn ¶
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDLT ¶
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func RotatedAt ¶
RotatedAt applies equality check predicate on the "rotated_at" field. It's identical to RotatedAtEQ.
func RotatedAtEQ ¶
RotatedAtEQ applies the EQ predicate on the "rotated_at" field.
func RotatedAtGT ¶
RotatedAtGT applies the GT predicate on the "rotated_at" field.
func RotatedAtGTE ¶
RotatedAtGTE applies the GTE predicate on the "rotated_at" field.
func RotatedAtIn ¶
RotatedAtIn applies the In predicate on the "rotated_at" field.
func RotatedAtLT ¶
RotatedAtLT applies the LT predicate on the "rotated_at" field.
func RotatedAtLTE ¶
RotatedAtLTE applies the LTE predicate on the "rotated_at" field.
func RotatedAtNEQ ¶
RotatedAtNEQ applies the NEQ predicate on the "rotated_at" field.
func RotatedAtNotIn ¶
RotatedAtNotIn applies the NotIn predicate on the "rotated_at" field.
func ScopeKindEQ ¶
ScopeKindEQ applies the EQ predicate on the "scope_kind" field.
func ScopeKindIn ¶
ScopeKindIn applies the In predicate on the "scope_kind" field.
func ScopeKindNEQ ¶
ScopeKindNEQ applies the NEQ predicate on the "scope_kind" field.
func ScopeKindNotIn ¶
ScopeKindNotIn applies the NotIn predicate on the "scope_kind" field.
func ScopeKindValidator ¶
ScopeKindValidator is a validator for the "scope_kind" field enum values. It is called by the builders before save.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ValuePreview ¶
ValuePreview applies equality check predicate on the "value_preview" field. It's identical to ValuePreviewEQ.
func ValuePreviewContains ¶
ValuePreviewContains applies the Contains predicate on the "value_preview" field.
func ValuePreviewContainsFold ¶
ValuePreviewContainsFold applies the ContainsFold predicate on the "value_preview" field.
func ValuePreviewEQ ¶
ValuePreviewEQ applies the EQ predicate on the "value_preview" field.
func ValuePreviewEqualFold ¶
ValuePreviewEqualFold applies the EqualFold predicate on the "value_preview" field.
func ValuePreviewGT ¶
ValuePreviewGT applies the GT predicate on the "value_preview" field.
func ValuePreviewGTE ¶
ValuePreviewGTE applies the GTE predicate on the "value_preview" field.
func ValuePreviewHasPrefix ¶
ValuePreviewHasPrefix applies the HasPrefix predicate on the "value_preview" field.
func ValuePreviewHasSuffix ¶
ValuePreviewHasSuffix applies the HasSuffix predicate on the "value_preview" field.
func ValuePreviewIn ¶
ValuePreviewIn applies the In predicate on the "value_preview" field.
func ValuePreviewLT ¶
ValuePreviewLT applies the LT predicate on the "value_preview" field.
func ValuePreviewLTE ¶
ValuePreviewLTE applies the LTE predicate on the "value_preview" field.
func ValuePreviewNEQ ¶
ValuePreviewNEQ applies the NEQ predicate on the "value_preview" field.
func ValuePreviewNotIn ¶
ValuePreviewNotIn applies the NotIn predicate on the "value_preview" field.
Types ¶
type Kind ¶
type Kind string
Kind defines the type for the "kind" enum field.
const (
KindOpaque Kind = "opaque"
)
Kind values.
type OrderOption ¶
OrderOption defines the ordering options for the Secret queries.
func ByAlgorithm ¶
func ByAlgorithm(opts ...sql.OrderTermOption) OrderOption
ByAlgorithm orders the results by the algorithm field.
func ByBindings ¶
func ByBindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBindings orders the results by bindings terms.
func ByBindingsCount ¶
func ByBindingsCount(opts ...sql.OrderTermOption) OrderOption
ByBindingsCount orders the results by bindings count.
func ByCiphertext ¶
func ByCiphertext(opts ...sql.OrderTermOption) OrderOption
ByCiphertext orders the results by the ciphertext field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDisabledAt ¶
func ByDisabledAt(opts ...sql.OrderTermOption) OrderOption
ByDisabledAt orders the results by the disabled_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKeyID ¶
func ByKeyID(opts ...sql.OrderTermOption) OrderOption
ByKeyID orders the results by the key_id field.
func ByKeySource ¶
func ByKeySource(opts ...sql.OrderTermOption) OrderOption
ByKeySource orders the results by the key_source field.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNonce ¶
func ByNonce(opts ...sql.OrderTermOption) OrderOption
ByNonce orders the results by the nonce field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByProjectID ¶
func ByProjectID(opts ...sql.OrderTermOption) OrderOption
ByProjectID orders the results by the project_id field.
func ByRotatedAt ¶
func ByRotatedAt(opts ...sql.OrderTermOption) OrderOption
ByRotatedAt orders the results by the rotated_at field.
func ByScopeKind ¶
func ByScopeKind(opts ...sql.OrderTermOption) OrderOption
ByScopeKind orders the results by the scope_kind field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByValuePreview ¶
func ByValuePreview(opts ...sql.OrderTermOption) OrderOption
ByValuePreview orders the results by the value_preview field.