Documentation ¶
Overview ¶
Package imagepullop define imgpkg pull command
Index ¶
- Variables
- type PublishImagesToTarOptions
- func (p *PublishImagesToTarOptions) DownloadTkgBomAndComponentImages() (string, error)
- func (p *PublishImagesToTarOptions) DownloadTkgCompatibilityImage() error
- func (p *PublishImagesToTarOptions) DownloadTkgPackagesImages(tkrVersions []string) error
- func (p *PublishImagesToTarOptions) DownloadTkrBomAndComponentImages(tkrVersion string) error
- func (p *PublishImagesToTarOptions) DownloadTkrCompatibilityImage(tkrCompatibilityRelativeImagePath string) (tkgVersion []string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var PublishImagestotarCmd = &cobra.Command{ Use: "download-bundle", Short: "Download images/bundle from source repo into local disk (at current directory) as TAR files", Example: ` # download images/bundle for TKG version v2.1.0 into local disk from repo projects.registry.vmware.com and authenticate source repo with default system CA certificate tanzu isolated-cluster download-bundle --source-repo mirror-registry.test/tkg --tkg-version v2.1.0 # download images/bundle for TKG version v2.1.0 into local disk from an internal registry without validating the certificate tanzu isolated-cluster download-bundle --source-repo mirror-registry.test/tkg --tkg-version v2.1.0 --insecure # download images/bundle for TKG version v2.1.0 into local disk from an internal mirror using a self-signed certificate tanzu isolated-cluster download-bundle --source-repo mirror-registry.test/tkg --tkg-version v2.1.0 --ca-certificate registry.crt `, RunE: downloadImagesToTar, SilenceUsage: true, }
Functions ¶
This section is empty.
Types ¶
type PublishImagesToTarOptions ¶
type PublishImagesToTarOptions struct { TkgImageRepo string TkgVersion string PkgClient imgpkginterface.ImgpkgClient ImageDetails map[string]string CaCertificate string Insecure bool }
func (*PublishImagesToTarOptions) DownloadTkgBomAndComponentImages ¶
func (p *PublishImagesToTarOptions) DownloadTkgBomAndComponentImages() (string, error)
func (*PublishImagesToTarOptions) DownloadTkgCompatibilityImage ¶
func (p *PublishImagesToTarOptions) DownloadTkgCompatibilityImage() error
func (*PublishImagesToTarOptions) DownloadTkgPackagesImages ¶
func (p *PublishImagesToTarOptions) DownloadTkgPackagesImages(tkrVersions []string) error
func (*PublishImagesToTarOptions) DownloadTkrBomAndComponentImages ¶
func (p *PublishImagesToTarOptions) DownloadTkrBomAndComponentImages(tkrVersion string) error
func (*PublishImagesToTarOptions) DownloadTkrCompatibilityImage ¶
func (p *PublishImagesToTarOptions) DownloadTkrCompatibilityImage(tkrCompatibilityRelativeImagePath string) (tkgVersion []string, err error)
Click to show internal directories.
Click to hide internal directories.