Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Registry) predicate.Registry
- func CreatedAt(v time.Time) predicate.Registry
- func CreatedAtEQ(v time.Time) predicate.Registry
- func CreatedAtGT(v time.Time) predicate.Registry
- func CreatedAtGTE(v time.Time) predicate.Registry
- func CreatedAtIn(vs ...time.Time) predicate.Registry
- func CreatedAtLT(v time.Time) predicate.Registry
- func CreatedAtLTE(v time.Time) predicate.Registry
- func CreatedAtNEQ(v time.Time) predicate.Registry
- func CreatedAtNotIn(vs ...time.Time) predicate.Registry
- func Host(v string) predicate.Registry
- func HostContains(v string) predicate.Registry
- func HostContainsFold(v string) predicate.Registry
- func HostEQ(v string) predicate.Registry
- func HostEqualFold(v string) predicate.Registry
- func HostGT(v string) predicate.Registry
- func HostGTE(v string) predicate.Registry
- func HostHasPrefix(v string) predicate.Registry
- func HostHasSuffix(v string) predicate.Registry
- func HostIn(vs ...string) predicate.Registry
- func HostLT(v string) predicate.Registry
- func HostLTE(v string) predicate.Registry
- func HostNEQ(v string) predicate.Registry
- func HostNotIn(vs ...string) predicate.Registry
- func ID(id uuid.UUID) predicate.Registry
- func IDEQ(id uuid.UUID) predicate.Registry
- func IDGT(id uuid.UUID) predicate.Registry
- func IDGTE(id uuid.UUID) predicate.Registry
- func IDIn(ids ...uuid.UUID) predicate.Registry
- func IDLT(id uuid.UUID) predicate.Registry
- func IDLTE(id uuid.UUID) predicate.Registry
- func IDNEQ(id uuid.UUID) predicate.Registry
- func IDNotIn(ids ...uuid.UUID) predicate.Registry
- func IsDefault(v bool) predicate.Registry
- func IsDefaultEQ(v bool) predicate.Registry
- func IsDefaultNEQ(v bool) predicate.Registry
- func KubernetesSecret(v string) predicate.Registry
- func KubernetesSecretContains(v string) predicate.Registry
- func KubernetesSecretContainsFold(v string) predicate.Registry
- func KubernetesSecretEQ(v string) predicate.Registry
- func KubernetesSecretEqualFold(v string) predicate.Registry
- func KubernetesSecretGT(v string) predicate.Registry
- func KubernetesSecretGTE(v string) predicate.Registry
- func KubernetesSecretHasPrefix(v string) predicate.Registry
- func KubernetesSecretHasSuffix(v string) predicate.Registry
- func KubernetesSecretIn(vs ...string) predicate.Registry
- func KubernetesSecretLT(v string) predicate.Registry
- func KubernetesSecretLTE(v string) predicate.Registry
- func KubernetesSecretNEQ(v string) predicate.Registry
- func KubernetesSecretNotIn(vs ...string) predicate.Registry
- func Not(p predicate.Registry) predicate.Registry
- func Or(predicates ...predicate.Registry) predicate.Registry
- func UpdatedAt(v time.Time) predicate.Registry
- func UpdatedAtEQ(v time.Time) predicate.Registry
- func UpdatedAtGT(v time.Time) predicate.Registry
- func UpdatedAtGTE(v time.Time) predicate.Registry
- func UpdatedAtIn(vs ...time.Time) predicate.Registry
- func UpdatedAtLT(v time.Time) predicate.Registry
- func UpdatedAtLTE(v time.Time) predicate.Registry
- func UpdatedAtNEQ(v time.Time) predicate.Registry
- func UpdatedAtNotIn(vs ...time.Time) predicate.Registry
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByHost(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
- func ByKubernetesSecret(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the registry type in the database. Label = "registry" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldHost holds the string denoting the host field in the database. FieldHost = "host" // FieldKubernetesSecret holds the string denoting the kubernetes_secret field in the database. FieldKubernetesSecret = "kubernetes_secret" // FieldIsDefault holds the string denoting the is_default field in the database. FieldIsDefault = "is_default" // Table holds the table name of the registry in the database. Table = "registries" )
Variables ¶
var ( // 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 // HostValidator is a validator for the "host" field. It is called by the builders before save. HostValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldHost, FieldKubernetesSecret, FieldIsDefault, }
Columns holds all SQL columns for registry fields.
Functions ¶
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 HostContains ¶
HostContains applies the Contains predicate on the "host" field.
func HostContainsFold ¶
HostContainsFold applies the ContainsFold predicate on the "host" field.
func HostEqualFold ¶
HostEqualFold applies the EqualFold predicate on the "host" field.
func HostHasPrefix ¶
HostHasPrefix applies the HasPrefix predicate on the "host" field.
func HostHasSuffix ¶
HostHasSuffix applies the HasSuffix predicate on the "host" field.
func IsDefault ¶
IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.
func IsDefaultEQ ¶
IsDefaultEQ applies the EQ predicate on the "is_default" field.
func IsDefaultNEQ ¶
IsDefaultNEQ applies the NEQ predicate on the "is_default" field.
func KubernetesSecret ¶
KubernetesSecret applies equality check predicate on the "kubernetes_secret" field. It's identical to KubernetesSecretEQ.
func KubernetesSecretContains ¶
KubernetesSecretContains applies the Contains predicate on the "kubernetes_secret" field.
func KubernetesSecretContainsFold ¶
KubernetesSecretContainsFold applies the ContainsFold predicate on the "kubernetes_secret" field.
func KubernetesSecretEQ ¶
KubernetesSecretEQ applies the EQ predicate on the "kubernetes_secret" field.
func KubernetesSecretEqualFold ¶
KubernetesSecretEqualFold applies the EqualFold predicate on the "kubernetes_secret" field.
func KubernetesSecretGT ¶
KubernetesSecretGT applies the GT predicate on the "kubernetes_secret" field.
func KubernetesSecretGTE ¶
KubernetesSecretGTE applies the GTE predicate on the "kubernetes_secret" field.
func KubernetesSecretHasPrefix ¶
KubernetesSecretHasPrefix applies the HasPrefix predicate on the "kubernetes_secret" field.
func KubernetesSecretHasSuffix ¶
KubernetesSecretHasSuffix applies the HasSuffix predicate on the "kubernetes_secret" field.
func KubernetesSecretIn ¶
KubernetesSecretIn applies the In predicate on the "kubernetes_secret" field.
func KubernetesSecretLT ¶
KubernetesSecretLT applies the LT predicate on the "kubernetes_secret" field.
func KubernetesSecretLTE ¶
KubernetesSecretLTE applies the LTE predicate on the "kubernetes_secret" field.
func KubernetesSecretNEQ ¶
KubernetesSecretNEQ applies the NEQ predicate on the "kubernetes_secret" field.
func KubernetesSecretNotIn ¶
KubernetesSecretNotIn applies the NotIn predicate on the "kubernetes_secret" field.
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Registry queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByHost ¶
func ByHost(opts ...sql.OrderTermOption) OrderOption
ByHost orders the results by the host field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsDefault ¶
func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
ByIsDefault orders the results by the is_default field.
func ByKubernetesSecret ¶
func ByKubernetesSecret(opts ...sql.OrderTermOption) OrderOption
ByKubernetesSecret orders the results by the kubernetes_secret field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.