registry

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for registry fields.

Functions

func And

func And(predicates ...predicate.Registry) predicate.Registry

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Registry

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Registry

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Registry

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Registry

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Registry

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Registry

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Registry

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Registry

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Registry

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Host

func Host(v string) predicate.Registry

Host applies equality check predicate on the "host" field. It's identical to HostEQ.

func HostContains

func HostContains(v string) predicate.Registry

HostContains applies the Contains predicate on the "host" field.

func HostContainsFold

func HostContainsFold(v string) predicate.Registry

HostContainsFold applies the ContainsFold predicate on the "host" field.

func HostEQ

func HostEQ(v string) predicate.Registry

HostEQ applies the EQ predicate on the "host" field.

func HostEqualFold

func HostEqualFold(v string) predicate.Registry

HostEqualFold applies the EqualFold predicate on the "host" field.

func HostGT

func HostGT(v string) predicate.Registry

HostGT applies the GT predicate on the "host" field.

func HostGTE

func HostGTE(v string) predicate.Registry

HostGTE applies the GTE predicate on the "host" field.

func HostHasPrefix

func HostHasPrefix(v string) predicate.Registry

HostHasPrefix applies the HasPrefix predicate on the "host" field.

func HostHasSuffix

func HostHasSuffix(v string) predicate.Registry

HostHasSuffix applies the HasSuffix predicate on the "host" field.

func HostIn

func HostIn(vs ...string) predicate.Registry

HostIn applies the In predicate on the "host" field.

func HostLT

func HostLT(v string) predicate.Registry

HostLT applies the LT predicate on the "host" field.

func HostLTE

func HostLTE(v string) predicate.Registry

HostLTE applies the LTE predicate on the "host" field.

func HostNEQ

func HostNEQ(v string) predicate.Registry

HostNEQ applies the NEQ predicate on the "host" field.

func HostNotIn

func HostNotIn(vs ...string) predicate.Registry

HostNotIn applies the NotIn predicate on the "host" field.

func ID

func ID(id uuid.UUID) predicate.Registry

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Registry

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Registry

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Registry

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Registry

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Registry

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Registry

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Registry

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Registry

IDNotIn applies the NotIn predicate on the ID field.

func IsDefault

func IsDefault(v bool) predicate.Registry

IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.

func IsDefaultEQ

func IsDefaultEQ(v bool) predicate.Registry

IsDefaultEQ applies the EQ predicate on the "is_default" field.

func IsDefaultNEQ

func IsDefaultNEQ(v bool) predicate.Registry

IsDefaultNEQ applies the NEQ predicate on the "is_default" field.

func KubernetesSecret

func KubernetesSecret(v string) predicate.Registry

KubernetesSecret applies equality check predicate on the "kubernetes_secret" field. It's identical to KubernetesSecretEQ.

func KubernetesSecretContains

func KubernetesSecretContains(v string) predicate.Registry

KubernetesSecretContains applies the Contains predicate on the "kubernetes_secret" field.

func KubernetesSecretContainsFold

func KubernetesSecretContainsFold(v string) predicate.Registry

KubernetesSecretContainsFold applies the ContainsFold predicate on the "kubernetes_secret" field.

func KubernetesSecretEQ

func KubernetesSecretEQ(v string) predicate.Registry

KubernetesSecretEQ applies the EQ predicate on the "kubernetes_secret" field.

func KubernetesSecretEqualFold

func KubernetesSecretEqualFold(v string) predicate.Registry

KubernetesSecretEqualFold applies the EqualFold predicate on the "kubernetes_secret" field.

func KubernetesSecretGT

func KubernetesSecretGT(v string) predicate.Registry

KubernetesSecretGT applies the GT predicate on the "kubernetes_secret" field.

func KubernetesSecretGTE

func KubernetesSecretGTE(v string) predicate.Registry

KubernetesSecretGTE applies the GTE predicate on the "kubernetes_secret" field.

func KubernetesSecretHasPrefix

func KubernetesSecretHasPrefix(v string) predicate.Registry

KubernetesSecretHasPrefix applies the HasPrefix predicate on the "kubernetes_secret" field.

func KubernetesSecretHasSuffix

func KubernetesSecretHasSuffix(v string) predicate.Registry

KubernetesSecretHasSuffix applies the HasSuffix predicate on the "kubernetes_secret" field.

func KubernetesSecretIn

func KubernetesSecretIn(vs ...string) predicate.Registry

KubernetesSecretIn applies the In predicate on the "kubernetes_secret" field.

func KubernetesSecretLT

func KubernetesSecretLT(v string) predicate.Registry

KubernetesSecretLT applies the LT predicate on the "kubernetes_secret" field.

func KubernetesSecretLTE

func KubernetesSecretLTE(v string) predicate.Registry

KubernetesSecretLTE applies the LTE predicate on the "kubernetes_secret" field.

func KubernetesSecretNEQ

func KubernetesSecretNEQ(v string) predicate.Registry

KubernetesSecretNEQ applies the NEQ predicate on the "kubernetes_secret" field.

func KubernetesSecretNotIn

func KubernetesSecretNotIn(vs ...string) predicate.Registry

KubernetesSecretNotIn applies the NotIn predicate on the "kubernetes_secret" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Registry) predicate.Registry

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Registry

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Registry

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Registry

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Registry

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Registry

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Registry

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Registry

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Registry

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Registry

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL