registry

package
v0.8.37 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRegistryImageRef = "docker.io/library/registry:2" // The registry everyone uses.

Variables

This section is empty.

Functions

func FillDefaults

func FillDefaults(registry *api.Registry)

func ListTypeMeta

func ListTypeMeta() api.TypeMeta

func TypeMeta

func TypeMeta() api.TypeMeta

Types

type Controller

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

func DefaultController

func DefaultController(iostreams genericclioptions.IOStreams) (*Controller, error)

func NewController

func NewController(iostreams genericclioptions.IOStreams, dockerCLI dctr.CLI) *Controller

func (*Controller) Apply

func (c *Controller) Apply(ctx context.Context, desired *api.Registry) (*api.Registry, error)

Compare the desired registry against the existing registry, and reconcile the two to match.

func (*Controller) Delete

func (c *Controller) Delete(ctx context.Context, name string) error

Delete the given registry.

func (*Controller) Get

func (c *Controller) Get(ctx context.Context, name string) (*api.Registry, error)

func (*Controller) List

func (c *Controller) List(ctx context.Context, options ListOptions) (*api.RegistryList, error)

type ListOptions

type ListOptions struct {
	FieldSelector string
}

Jump to

Keyboard shortcuts

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