Documentation ¶
Index ¶
- func NewManifestSpec(image string, entries []manifesttypes.ManifestEntry) manifesttypes.YAMLInput
- func ParseArchVariant(platform string) (string, string)
- func ParseImageTag(repos string) (string, string)
- func ParseImageWithArchTag(ref string) (string, ocispec.Platform)
- type CopyImageOptions
- type CopyImagesToLocalModule
- type CopyImagesToRegistry
- type CopyImagesToRegistryModule
- type Image
- type Images
- type Index
- type Manifest
- type PullImage
- type PullModule
- type PushManifest
- type SaveImages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewManifestSpec ¶
func NewManifestSpec(image string, entries []manifesttypes.ManifestEntry) manifesttypes.YAMLInput
func ParseArchVariant ¶
ParseArchVariant Ex: amd64 returns amd64, "" arm/v8 returns arm, v8
func ParseImageTag ¶
ParseImageTag Get a repos name and returns the right reposName + tag The tag can be confusing because of a port in a repository name.
Ex: localhost.localdomain:5000/samalba/hipache:latest
Types ¶
type CopyImageOptions ¶
type CopyImageOptions struct {
// contains filtered or unexported fields
}
func (*CopyImageOptions) Copy ¶
func (c *CopyImageOptions) Copy() error
type CopyImagesToLocalModule ¶
type CopyImagesToLocalModule struct {
common.ArtifactModule
}
func (*CopyImagesToLocalModule) Init ¶
func (c *CopyImagesToLocalModule) Init()
type CopyImagesToRegistry ¶
type CopyImagesToRegistry struct { common.KubeAction ImagesPath string }
type CopyImagesToRegistryModule ¶
type CopyImagesToRegistryModule struct { common.KubeModule Skip bool ImagePath string }
func (*CopyImagesToRegistryModule) Init ¶
func (c *CopyImagesToRegistryModule) Init()
func (*CopyImagesToRegistryModule) IsSkip ¶
func (c *CopyImagesToRegistryModule) IsSkip() bool
type Image ¶
type Image struct { RepoAddr string Namespace string NamespaceOverride string Repo string Tag string Group string Enable bool }
Image defines image's info.
type PullImage ¶
type PullImage struct {
common.KubeAction
}
type PullModule ¶
type PullModule struct { common.KubeModule Skip bool }
func (*PullModule) Init ¶
func (p *PullModule) Init()
func (*PullModule) IsSkip ¶
func (p *PullModule) IsSkip() bool
type PushManifest ¶
type PushManifest struct {
common.KubeAction
}
type SaveImages ¶
type SaveImages struct {
common.ArtifactAction
}
Click to show internal directories.
Click to hide internal directories.