image

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImage

func GetImage(registry *string, image string) string

func String

func String(value string) *string

Types

type Getter

type Getter interface {
	Locator
}

Getter will proxy the Locator

func NewImageGetter

func NewImageGetter(registry *string, harborVersion string) (Getter, error)

type GetterImpl

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

GetterImpl contains the concrete Locator instance, if registry is not null, all the methods in Getter will be wrapped to add the registry prefix.

func (*GetterImpl) ChartMuseumImage

func (i *GetterImpl) ChartMuseumImage() string

func (*GetterImpl) ClairAdapterImage

func (i *GetterImpl) ClairAdapterImage() string

func (*GetterImpl) ClairImage

func (i *GetterImpl) ClairImage() string

func (*GetterImpl) CoreImage

func (i *GetterImpl) CoreImage() string

func (*GetterImpl) JobServiceImage

func (i *GetterImpl) JobServiceImage() string

func (*GetterImpl) NotaryDBMigratorImage

func (i *GetterImpl) NotaryDBMigratorImage() string

func (*GetterImpl) NotaryServerImage

func (i *GetterImpl) NotaryServerImage() string

func (*GetterImpl) NotarySingerImage

func (i *GetterImpl) NotarySingerImage() string

func (*GetterImpl) PortalImage

func (i *GetterImpl) PortalImage() string

func (*GetterImpl) RegistryControllerImage

func (i *GetterImpl) RegistryControllerImage() string

func (*GetterImpl) RegistryImage

func (i *GetterImpl) RegistryImage() string

type Locator

type Locator interface {
	CoreImage() string
	ChartMuseumImage() string
	ClairImage() string
	ClairAdapterImage() string
	JobServiceImage() string
	NotaryServerImage() string
	NotarySingerImage() string
	NotaryDBMigratorImage() string
	PortalImage() string
	RegistryImage() string
	RegistryControllerImage() string
}

Locator provider method to get harbor component image.

Jump to

Keyboard shortcuts

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