Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageDownloadList ¶
type ImageDownloadList struct {
Installer map[string]*puller.ImageMeta
// contains filtered or unexported fields
}
func NewImageDownloadList ¶
func NewImageDownloadList(rootURL string) *ImageDownloadList
func (*ImageDownloadList) FillInstallerImages ¶
func (l *ImageDownloadList) FillInstallerImages(tagsToMirror []string)
type ImageLayouts ¶
type ImageLayouts struct {
// contains filtered or unexported fields
}
func NewImageLayouts ¶
func NewImageLayouts(rootFolder string) (*ImageLayouts, error)
func (*ImageLayouts) AsList ¶
func (l *ImageLayouts) AsList() []layout.Path
AsList returns a list of layout.Path's in it. Undefined path's are not included in the list.
type Options ¶
type Options struct {
// TargetTag specifies a specific tag to mirror instead of determining versions automatically
// it can be:
// semver f.e. vX.Y.Z
// channel f.e. alpha/beta/stable
// any other tag
TargetTag string
// BundleDir is the directory to store the bundle
BundleDir string
// BundleChunkSize is the max size of bundle chunks in bytes (0 = no chunking)
BundleChunkSize int64
}
Click to show internal directories.
Click to hide internal directories.