image_registry

package
v0.0.0-...-d4d4b81 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageRegistry

type ImageRegistry struct {
	ImageRegistryID   string  `bson:"image_registry_id"`
	ProjectID         string  `bson:"project_id"`
	ImageRegistryName string  `bson:"image_registry_name"`
	ImageRepoName     string  `bson:"image_repo_name"`
	ImageRegistryType string  `bson:"image_registry_type"`
	SecretName        *string `bson:"secret_name"`
	SecretNamespace   *string `bson:"secret_namespace"`
	IsDefault         bool    `bson:"is_default"`
	EnableRegistry    *bool   `bson:"enable_registry"`
	UpdatedAt         string  `bson:"updated_at"`
	CreatedAt         *string `bson:"created_at"`
	IsRemoved         bool    `bson:"is_removed"`
}

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

Operator is used to perform operations on the database

func NewImageRegistryOperator

func NewImageRegistryOperator(mongodbOperator mongodb.MongoOperator) *Operator

NewImageRegistryOperator returns a new instance of Operator

func (*Operator) GetImageRegistry

func (i *Operator) GetImageRegistry(ctx context.Context, query bson.D) (ImageRegistry, error)

func (*Operator) InsertImageRegistry

func (i *Operator) InsertImageRegistry(ctx context.Context, imageRegistry ImageRegistry) error

func (*Operator) ListImageRegistries

func (i *Operator) ListImageRegistries(ctx context.Context, query bson.D) ([]ImageRegistry, error)

func (*Operator) UpdateImageRegistry

func (i *Operator) UpdateImageRegistry(ctx context.Context, query bson.D, update bson.D) error

Jump to

Keyboard shortcuts

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