registry

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKinds

func GetKinds() []string

func Register

func Register(kind string, constructor Constructor)

Types

type Config

type Config struct {
	Server             string
	Token              string
	Path               string
	InsecureSkipVerify bool

	Kind string
}

type Constructor

type Constructor func(config *Config) (Registry, error)

type Registry

type Registry interface {
	// DeleteImage delete repository
	DeleteImage(ctx context.Context, appName string, clusterName string) error
}

Registry ...

nolint

func NewRegistry

func NewRegistry(config *Config) (Registry, error)

Directories

Path Synopsis
v1
v2

Jump to

Keyboard shortcuts

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