Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PkgRootManifest *oci.ZarfOCIManifest RemoteSrc *oci.OrasRemote RemoteDst *oci.OrasRemote PkgIter int NumPkgs int Bundle *types.UDSBundle }
type RemotePusher ¶
type RemotePusher struct {
// contains filtered or unexported fields
}
RemotePusher contains methods for pulling remote Zarf packages into a bundle
func NewPkgPusher ¶
func NewPkgPusher(pkg types.Package, cfg Config) RemotePusher
NewPkgPusher creates a pusher object to push Zarf pkgs to a remote bundle
func (*RemotePusher) LayersToRemoteBundle ¶
func (p *RemotePusher) LayersToRemoteBundle(spinner *message.Spinner, currentPackageIter int, totalPackages int) ([]ocispec.Descriptor, error)
todo: what does this fn return?
func (*RemotePusher) Push ¶
func (p *RemotePusher) Push() (ocispec.Descriptor, error)
Push pushes a Zarf pkg to a remote bundle
func (*RemotePusher) PushManifest ¶
func (p *RemotePusher) PushManifest() (ocispec.Descriptor, error)
PushManifest pushes the Zarf pkg's manifest to either a local or remote bundle
Click to show internal directories.
Click to hide internal directories.