Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SecretBinding) predicate.SecretBinding
- func BindingKey(v string) predicate.SecretBinding
- func BindingKeyContains(v string) predicate.SecretBinding
- func BindingKeyContainsFold(v string) predicate.SecretBinding
- func BindingKeyEQ(v string) predicate.SecretBinding
- func BindingKeyEqualFold(v string) predicate.SecretBinding
- func BindingKeyGT(v string) predicate.SecretBinding
- func BindingKeyGTE(v string) predicate.SecretBinding
- func BindingKeyHasPrefix(v string) predicate.SecretBinding
- func BindingKeyHasSuffix(v string) predicate.SecretBinding
- func BindingKeyIn(vs ...string) predicate.SecretBinding
- func BindingKeyLT(v string) predicate.SecretBinding
- func BindingKeyLTE(v string) predicate.SecretBinding
- func BindingKeyNEQ(v string) predicate.SecretBinding
- func BindingKeyNotIn(vs ...string) predicate.SecretBinding
- func CreatedAt(v time.Time) predicate.SecretBinding
- func CreatedAtEQ(v time.Time) predicate.SecretBinding
- func CreatedAtGT(v time.Time) predicate.SecretBinding
- func CreatedAtGTE(v time.Time) predicate.SecretBinding
- func CreatedAtIn(vs ...time.Time) predicate.SecretBinding
- func CreatedAtLT(v time.Time) predicate.SecretBinding
- func CreatedAtLTE(v time.Time) predicate.SecretBinding
- func CreatedAtNEQ(v time.Time) predicate.SecretBinding
- func CreatedAtNotIn(vs ...time.Time) predicate.SecretBinding
- func HasSecret() predicate.SecretBinding
- func HasSecretWith(preds ...predicate.Secret) predicate.SecretBinding
- func ID(id uuid.UUID) predicate.SecretBinding
- func IDEQ(id uuid.UUID) predicate.SecretBinding
- func IDGT(id uuid.UUID) predicate.SecretBinding
- func IDGTE(id uuid.UUID) predicate.SecretBinding
- func IDIn(ids ...uuid.UUID) predicate.SecretBinding
- func IDLT(id uuid.UUID) predicate.SecretBinding
- func IDLTE(id uuid.UUID) predicate.SecretBinding
- func IDNEQ(id uuid.UUID) predicate.SecretBinding
- func IDNotIn(ids ...uuid.UUID) predicate.SecretBinding
- func Not(p predicate.SecretBinding) predicate.SecretBinding
- func Or(predicates ...predicate.SecretBinding) predicate.SecretBinding
- func OrganizationID(v uuid.UUID) predicate.SecretBinding
- func OrganizationIDEQ(v uuid.UUID) predicate.SecretBinding
- func OrganizationIDGT(v uuid.UUID) predicate.SecretBinding
- func OrganizationIDGTE(v uuid.UUID) predicate.SecretBinding
- func OrganizationIDIn(vs ...uuid.UUID) predicate.SecretBinding
- func OrganizationIDLT(v uuid.UUID) predicate.SecretBinding
- func OrganizationIDLTE(v uuid.UUID) predicate.SecretBinding
- func OrganizationIDNEQ(v uuid.UUID) predicate.SecretBinding
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.SecretBinding
- func ProjectID(v uuid.UUID) predicate.SecretBinding
- func ProjectIDEQ(v uuid.UUID) predicate.SecretBinding
- func ProjectIDGT(v uuid.UUID) predicate.SecretBinding
- func ProjectIDGTE(v uuid.UUID) predicate.SecretBinding
- func ProjectIDIn(vs ...uuid.UUID) predicate.SecretBinding
- func ProjectIDLT(v uuid.UUID) predicate.SecretBinding
- func ProjectIDLTE(v uuid.UUID) predicate.SecretBinding
- func ProjectIDNEQ(v uuid.UUID) predicate.SecretBinding
- func ProjectIDNotIn(vs ...uuid.UUID) predicate.SecretBinding
- func ScopeKindEQ(v ScopeKind) predicate.SecretBinding
- func ScopeKindIn(vs ...ScopeKind) predicate.SecretBinding
- func ScopeKindNEQ(v ScopeKind) predicate.SecretBinding
- func ScopeKindNotIn(vs ...ScopeKind) predicate.SecretBinding
- func ScopeKindValidator(sk ScopeKind) error
- func ScopeResourceID(v uuid.UUID) predicate.SecretBinding
- func ScopeResourceIDEQ(v uuid.UUID) predicate.SecretBinding
- func ScopeResourceIDGT(v uuid.UUID) predicate.SecretBinding
- func ScopeResourceIDGTE(v uuid.UUID) predicate.SecretBinding
- func ScopeResourceIDIn(vs ...uuid.UUID) predicate.SecretBinding
- func ScopeResourceIDLT(v uuid.UUID) predicate.SecretBinding
- func ScopeResourceIDLTE(v uuid.UUID) predicate.SecretBinding
- func ScopeResourceIDNEQ(v uuid.UUID) predicate.SecretBinding
- func ScopeResourceIDNotIn(vs ...uuid.UUID) predicate.SecretBinding
- func SecretID(v uuid.UUID) predicate.SecretBinding
- func SecretIDEQ(v uuid.UUID) predicate.SecretBinding
- func SecretIDIn(vs ...uuid.UUID) predicate.SecretBinding
- func SecretIDNEQ(v uuid.UUID) predicate.SecretBinding
- func SecretIDNotIn(vs ...uuid.UUID) predicate.SecretBinding
- func UpdatedAt(v time.Time) predicate.SecretBinding
- func UpdatedAtEQ(v time.Time) predicate.SecretBinding
- func UpdatedAtGT(v time.Time) predicate.SecretBinding
- func UpdatedAtGTE(v time.Time) predicate.SecretBinding
- func UpdatedAtIn(vs ...time.Time) predicate.SecretBinding
- func UpdatedAtLT(v time.Time) predicate.SecretBinding
- func UpdatedAtLTE(v time.Time) predicate.SecretBinding
- func UpdatedAtNEQ(v time.Time) predicate.SecretBinding
- func UpdatedAtNotIn(vs ...time.Time) predicate.SecretBinding
- func ValidColumn(column string) bool
- type OrderOption
- func ByBindingKey(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByScopeKind(opts ...sql.OrderTermOption) OrderOption
- func ByScopeResourceID(opts ...sql.OrderTermOption) OrderOption
- func BySecretField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySecretID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type ScopeKind
Constants ¶
const ( // Label holds the string label denoting the secretbinding type in the database. Label = "secret_binding" // 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" // FieldSecretID holds the string denoting the secret_id field in the database. FieldSecretID = "secret_id" // FieldScopeKind holds the string denoting the scope_kind field in the database. FieldScopeKind = "scope_kind" // FieldScopeResourceID holds the string denoting the scope_resource_id field in the database. FieldScopeResourceID = "scope_resource_id" // FieldBindingKey holds the string denoting the binding_key field in the database. FieldBindingKey = "binding_key" // 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" // EdgeSecret holds the string denoting the secret edge name in mutations. EdgeSecret = "secret" // Table holds the table name of the secretbinding in the database. Table = "secret_bindings" // SecretTable is the table that holds the secret relation/edge. SecretTable = "secret_bindings" // SecretInverseTable is the table name for the Secret entity. // It exists in this package in order to avoid circular dependency with the "secret" package. SecretInverseTable = "secrets" // SecretColumn is the table column denoting the secret relation/edge. SecretColumn = "secret_id" )
Variables ¶
var ( // DefaultProjectID holds the default value on creation for the "project_id" field. DefaultProjectID func() uuid.UUID // BindingKeyValidator is a validator for the "binding_key" field. It is called by the builders before save. BindingKeyValidator func(string) error // 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, FieldSecretID, FieldScopeKind, FieldScopeResourceID, FieldBindingKey, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for secretbinding fields.
Functions ¶
func And ¶
func And(predicates ...predicate.SecretBinding) predicate.SecretBinding
And groups predicates with the AND operator between them.
func BindingKey ¶
func BindingKey(v string) predicate.SecretBinding
BindingKey applies equality check predicate on the "binding_key" field. It's identical to BindingKeyEQ.
func BindingKeyContains ¶
func BindingKeyContains(v string) predicate.SecretBinding
BindingKeyContains applies the Contains predicate on the "binding_key" field.
func BindingKeyContainsFold ¶
func BindingKeyContainsFold(v string) predicate.SecretBinding
BindingKeyContainsFold applies the ContainsFold predicate on the "binding_key" field.
func BindingKeyEQ ¶
func BindingKeyEQ(v string) predicate.SecretBinding
BindingKeyEQ applies the EQ predicate on the "binding_key" field.
func BindingKeyEqualFold ¶
func BindingKeyEqualFold(v string) predicate.SecretBinding
BindingKeyEqualFold applies the EqualFold predicate on the "binding_key" field.
func BindingKeyGT ¶
func BindingKeyGT(v string) predicate.SecretBinding
BindingKeyGT applies the GT predicate on the "binding_key" field.
func BindingKeyGTE ¶
func BindingKeyGTE(v string) predicate.SecretBinding
BindingKeyGTE applies the GTE predicate on the "binding_key" field.
func BindingKeyHasPrefix ¶
func BindingKeyHasPrefix(v string) predicate.SecretBinding
BindingKeyHasPrefix applies the HasPrefix predicate on the "binding_key" field.
func BindingKeyHasSuffix ¶
func BindingKeyHasSuffix(v string) predicate.SecretBinding
BindingKeyHasSuffix applies the HasSuffix predicate on the "binding_key" field.
func BindingKeyIn ¶
func BindingKeyIn(vs ...string) predicate.SecretBinding
BindingKeyIn applies the In predicate on the "binding_key" field.
func BindingKeyLT ¶
func BindingKeyLT(v string) predicate.SecretBinding
BindingKeyLT applies the LT predicate on the "binding_key" field.
func BindingKeyLTE ¶
func BindingKeyLTE(v string) predicate.SecretBinding
BindingKeyLTE applies the LTE predicate on the "binding_key" field.
func BindingKeyNEQ ¶
func BindingKeyNEQ(v string) predicate.SecretBinding
BindingKeyNEQ applies the NEQ predicate on the "binding_key" field.
func BindingKeyNotIn ¶
func BindingKeyNotIn(vs ...string) predicate.SecretBinding
BindingKeyNotIn applies the NotIn predicate on the "binding_key" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SecretBinding
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SecretBinding
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SecretBinding
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SecretBinding
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SecretBinding
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SecretBinding
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SecretBinding
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SecretBinding
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SecretBinding
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasSecret ¶
func HasSecret() predicate.SecretBinding
HasSecret applies the HasEdge predicate on the "secret" edge.
func HasSecretWith ¶
func HasSecretWith(preds ...predicate.Secret) predicate.SecretBinding
HasSecretWith applies the HasEdge predicate on the "secret" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.SecretBinding
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.SecretBinding
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.SecretBinding
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.SecretBinding
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.SecretBinding
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.SecretBinding
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.SecretBinding
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.SecretBinding
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.SecretBinding
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.SecretBinding) predicate.SecretBinding
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SecretBinding) predicate.SecretBinding
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.SecretBinding
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.SecretBinding
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDGT ¶
func OrganizationIDGT(v uuid.UUID) predicate.SecretBinding
OrganizationIDGT applies the GT predicate on the "organization_id" field.
func OrganizationIDGTE ¶
func OrganizationIDGTE(v uuid.UUID) predicate.SecretBinding
OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.SecretBinding
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDLT ¶
func OrganizationIDLT(v uuid.UUID) predicate.SecretBinding
OrganizationIDLT applies the LT predicate on the "organization_id" field.
func OrganizationIDLTE ¶
func OrganizationIDLTE(v uuid.UUID) predicate.SecretBinding
OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.SecretBinding
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.SecretBinding
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func ProjectID ¶
func ProjectID(v uuid.UUID) predicate.SecretBinding
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶
func ProjectIDEQ(v uuid.UUID) predicate.SecretBinding
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDGT ¶
func ProjectIDGT(v uuid.UUID) predicate.SecretBinding
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶
func ProjectIDGTE(v uuid.UUID) predicate.SecretBinding
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDIn ¶
func ProjectIDIn(vs ...uuid.UUID) predicate.SecretBinding
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDLT ¶
func ProjectIDLT(v uuid.UUID) predicate.SecretBinding
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶
func ProjectIDLTE(v uuid.UUID) predicate.SecretBinding
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶
func ProjectIDNEQ(v uuid.UUID) predicate.SecretBinding
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
func ProjectIDNotIn(vs ...uuid.UUID) predicate.SecretBinding
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ScopeKindEQ ¶
func ScopeKindEQ(v ScopeKind) predicate.SecretBinding
ScopeKindEQ applies the EQ predicate on the "scope_kind" field.
func ScopeKindIn ¶
func ScopeKindIn(vs ...ScopeKind) predicate.SecretBinding
ScopeKindIn applies the In predicate on the "scope_kind" field.
func ScopeKindNEQ ¶
func ScopeKindNEQ(v ScopeKind) predicate.SecretBinding
ScopeKindNEQ applies the NEQ predicate on the "scope_kind" field.
func ScopeKindNotIn ¶
func ScopeKindNotIn(vs ...ScopeKind) predicate.SecretBinding
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 ScopeResourceID ¶
func ScopeResourceID(v uuid.UUID) predicate.SecretBinding
ScopeResourceID applies equality check predicate on the "scope_resource_id" field. It's identical to ScopeResourceIDEQ.
func ScopeResourceIDEQ ¶
func ScopeResourceIDEQ(v uuid.UUID) predicate.SecretBinding
ScopeResourceIDEQ applies the EQ predicate on the "scope_resource_id" field.
func ScopeResourceIDGT ¶
func ScopeResourceIDGT(v uuid.UUID) predicate.SecretBinding
ScopeResourceIDGT applies the GT predicate on the "scope_resource_id" field.
func ScopeResourceIDGTE ¶
func ScopeResourceIDGTE(v uuid.UUID) predicate.SecretBinding
ScopeResourceIDGTE applies the GTE predicate on the "scope_resource_id" field.
func ScopeResourceIDIn ¶
func ScopeResourceIDIn(vs ...uuid.UUID) predicate.SecretBinding
ScopeResourceIDIn applies the In predicate on the "scope_resource_id" field.
func ScopeResourceIDLT ¶
func ScopeResourceIDLT(v uuid.UUID) predicate.SecretBinding
ScopeResourceIDLT applies the LT predicate on the "scope_resource_id" field.
func ScopeResourceIDLTE ¶
func ScopeResourceIDLTE(v uuid.UUID) predicate.SecretBinding
ScopeResourceIDLTE applies the LTE predicate on the "scope_resource_id" field.
func ScopeResourceIDNEQ ¶
func ScopeResourceIDNEQ(v uuid.UUID) predicate.SecretBinding
ScopeResourceIDNEQ applies the NEQ predicate on the "scope_resource_id" field.
func ScopeResourceIDNotIn ¶
func ScopeResourceIDNotIn(vs ...uuid.UUID) predicate.SecretBinding
ScopeResourceIDNotIn applies the NotIn predicate on the "scope_resource_id" field.
func SecretID ¶
func SecretID(v uuid.UUID) predicate.SecretBinding
SecretID applies equality check predicate on the "secret_id" field. It's identical to SecretIDEQ.
func SecretIDEQ ¶
func SecretIDEQ(v uuid.UUID) predicate.SecretBinding
SecretIDEQ applies the EQ predicate on the "secret_id" field.
func SecretIDIn ¶
func SecretIDIn(vs ...uuid.UUID) predicate.SecretBinding
SecretIDIn applies the In predicate on the "secret_id" field.
func SecretIDNEQ ¶
func SecretIDNEQ(v uuid.UUID) predicate.SecretBinding
SecretIDNEQ applies the NEQ predicate on the "secret_id" field.
func SecretIDNotIn ¶
func SecretIDNotIn(vs ...uuid.UUID) predicate.SecretBinding
SecretIDNotIn applies the NotIn predicate on the "secret_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.SecretBinding
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.SecretBinding
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.SecretBinding
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.SecretBinding
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.SecretBinding
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.SecretBinding
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.SecretBinding
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.SecretBinding
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.SecretBinding
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the SecretBinding queries.
func ByBindingKey ¶
func ByBindingKey(opts ...sql.OrderTermOption) OrderOption
ByBindingKey orders the results by the binding_key field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id 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 ByScopeKind ¶
func ByScopeKind(opts ...sql.OrderTermOption) OrderOption
ByScopeKind orders the results by the scope_kind field.
func ByScopeResourceID ¶
func ByScopeResourceID(opts ...sql.OrderTermOption) OrderOption
ByScopeResourceID orders the results by the scope_resource_id field.
func BySecretField ¶
func BySecretField(field string, opts ...sql.OrderTermOption) OrderOption
BySecretField orders the results by secret field.
func BySecretID ¶
func BySecretID(opts ...sql.OrderTermOption) OrderOption
BySecretID orders the results by the secret_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
type ScopeKind ¶
type ScopeKind string
ScopeKind defines the type for the "scope_kind" enum field.