registry

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddToRegistryRequest

type AddToRegistryRequest struct {
	Permissive    bool
	SkipTLS       bool
	CaFile        string
	InputDatabase string
	Bundles       []string
	Mode          registry.Mode
	ContainerTool containertools.ContainerTool
	Overwrite     bool
	EnableAlpha   bool
}

type DeleteFromRegistryRequest

type DeleteFromRegistryRequest struct {
	Permissive    bool
	InputDatabase string
	Packages      []string
}

type DeprecateFromRegistryRequest

type DeprecateFromRegistryRequest struct {
	Permissive          bool
	InputDatabase       string
	Bundles             []string
	AllowPackageRemoval bool
}

type PruneFromRegistryRequest

type PruneFromRegistryRequest struct {
	Permissive    bool
	InputDatabase string
	Packages      []string
}

type PruneStrandedFromRegistryRequest

type PruneStrandedFromRegistryRequest struct {
	InputDatabase string
}

type RegistryAdder

type RegistryAdder interface {
	AddToRegistry(AddToRegistryRequest) error
}

func NewRegistryAdder

func NewRegistryAdder(logger *logrus.Entry) RegistryAdder

type RegistryDeleter

type RegistryDeleter interface {
	DeleteFromRegistry(DeleteFromRegistryRequest) error
}

func NewRegistryDeleter

func NewRegistryDeleter(logger *logrus.Entry) RegistryDeleter

type RegistryDeprecator

type RegistryDeprecator interface {
	DeprecateFromRegistry(DeprecateFromRegistryRequest) error
}

func NewRegistryDeprecator

func NewRegistryDeprecator(logger *logrus.Entry) RegistryDeprecator

type RegistryPruner

type RegistryPruner interface {
	PruneFromRegistry(PruneFromRegistryRequest) error
}

func NewRegistryPruner

func NewRegistryPruner(logger *logrus.Entry) RegistryPruner

type RegistryStrandedPruner

type RegistryStrandedPruner interface {
	PruneStrandedFromRegistry(PruneStrandedFromRegistryRequest) error
}

func NewRegistryStrandedPruner

func NewRegistryStrandedPruner(logger *logrus.Entry) RegistryStrandedPruner

type RegistryUpdater

type RegistryUpdater struct {
	Logger *logrus.Entry
}

func (RegistryUpdater) AddToRegistry

func (r RegistryUpdater) AddToRegistry(request AddToRegistryRequest) error

func (RegistryUpdater) DeleteFromRegistry

func (r RegistryUpdater) DeleteFromRegistry(request DeleteFromRegistryRequest) error

func (RegistryUpdater) DeprecateFromRegistry

func (r RegistryUpdater) DeprecateFromRegistry(request DeprecateFromRegistryRequest) error

func (RegistryUpdater) PruneFromRegistry

func (r RegistryUpdater) PruneFromRegistry(request PruneFromRegistryRequest) error

func (RegistryUpdater) PruneStrandedFromRegistry

func (r RegistryUpdater) PruneStrandedFromRegistry(request PruneStrandedFromRegistryRequest) error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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