imagepullop

package
v0.0.0-...-9331f55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package imagepullop define imgpkg pull command

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL