Documentation ¶
Overview ¶
Package imgpkginterface ImgPkgClient defines functions to pull/push/List images
Package imgpkginterface ImgPkgClient defines functions to pull/push/List images
Index ¶
- func IsTKGRTMVersion(tag string) bool
- func PrintErrorAndExit(err error)
- func ReplaceSlash(s string) string
- func UnderscoredPlus(s string) string
- type Imgpkg
- func (c *Imgpkg) CopyImageFromTar(sourceImageName, destImageRepo, customImageRepoCertificate string, ...) error
- func (c *Imgpkg) CopyImageToTar(sourceImageName, destImageRepo, customImageRepoCertificate string, ...) error
- func (c *Imgpkg) GetImageTagList(sourceImageName string) []string
- func (c *Imgpkg) PullImage(sourceImageName, destDir string) error
- type ImgpkgClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTKGRTMVersion ¶
func PrintErrorAndExit ¶
func PrintErrorAndExit(err error)
func ReplaceSlash ¶
func UnderscoredPlus ¶
Types ¶
type Imgpkg ¶
type Imgpkg struct { }
func (*Imgpkg) CopyImageFromTar ¶
func (*Imgpkg) CopyImageToTar ¶
func (*Imgpkg) GetImageTagList ¶
type ImgpkgClient ¶
type ImgpkgClient interface { CopyImageFromTar(sourceImageName string, destImageRepo string, customImageRepoCertificate string, insecureconnection bool) error CopyImageToTar(sourceImageName string, destImageRepo string, customImageRepoCertificate string, insecureconnection bool) error PullImage(sourceImageName string, destDir string) error GetImageTagList(sourceImageName string) []string }
Click to show internal directories.
Click to hide internal directories.