Documentation ¶
Overview ¶
Package imagepushop define imgpkg push command
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PublishImagesfromtarCmd = &cobra.Command{ Use: "upload-bundle", Short: "upload images/bundle to private repository from tar files that are stored in local disk.", Example: ` # upload images/bundle from tar files that are stored in the relative directory ./tkg-images to a /tkg repository on a internal-registry.test mirror tanzu isolated-cluster upload-bundle --destination-repo internal-registry.test/tkg --source-directory ./tkg-images # upload images/bundle from tar files that are stored in the relative directory ./tkg-images to a /tkg repository on a internal-registry.test mirror without any TLS validation of the certificate tanzu isolated-cluster upload-bundle --destination-repo internal-registry.test/tkg --source-directory ./tkg-images --insecure # upload images/bundle from tar files that are stored in the relative directory ./tkg-images to a /tkg repository on a internal-registry.test mirror with a self-signed or internally approved CA Certificate. tanzu isolated-cluster upload-bundle --destination-repo internal-registry.test/tkg --source-directory ./tkg-images --ca-certificate registry.crt `, RunE: publishImagesFromTar, SilenceUsage: false, }
Functions ¶
This section is empty.
Types ¶
type PublishImagesFromTarOptions ¶
type PublishImagesFromTarOptions struct { TkgTarFilePath string CustomImageRepoCertificate string PkgClient imgpkginterface.ImgpkgClient DestinationRepository string Insecure bool }
func (*PublishImagesFromTarOptions) PushImageToRepo ¶
func (p *PublishImagesFromTarOptions) PushImageToRepo() error
Click to show internal directories.
Click to hide internal directories.