Documentation ¶
Index ¶
- Constants
- func GetImage(ctx context.Context, component string, options ...Option) (string, error)
- func RegisterImageName(component, imageName string, harborVersions ...string)
- func RegisterRepository(component, repository string, harborVersions ...string)
- func RegisterTag(component, tag string, harborVersions ...string)
- type Option
- func WithConfigImageKey(configImageKey string) Option
- func WithConfigstore(configStore *configstore.Store) Option
- func WithHarborVersion(version string) Option
- func WithImageFromSpec(imageFromSpec string) Option
- func WithRepository(repository string) Option
- func WithTagSuffix(tagSuffix string) Option
- type Options
Constants ¶
View Source
const (
ConfigImageKey = "docker-image"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterImageName ¶
func RegisterRepository ¶
func RegisterTag ¶
Types ¶
type Option ¶
type Option func(*Options)
func WithConfigImageKey ¶
func WithConfigstore ¶
func WithConfigstore(configStore *configstore.Store) Option
func WithHarborVersion ¶
func WithImageFromSpec ¶
func WithRepository ¶
func WithTagSuffix ¶
Click to show internal directories.
Click to hide internal directories.