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
- type Options
Constants ¶
View Source
const ( ImageSourceRepositoryEnvKey = "IMAGE_SOURCE_REPOSITORY" ImageSourceTagSuffixEnvKey = "IMAGE_SOURCE_TAG_SUFFIX" )
Variables ¶
This section is empty.
Functions ¶
func RegisterImageName ¶
func RegisterRepository ¶
func RegisterTag ¶
Types ¶
type Option ¶
type Option func(*Options)
func WithHarborVersion ¶
func WithImageFromSpec ¶
func WithRepository ¶
func WithTagSuffix ¶
Click to show internal directories.
Click to hide internal directories.