Documentation ¶
Overview ¶
Package pusher contains functionality to push Zarf pkgs to remote bundles
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PkgRootManifest *oci.Manifest RemoteSrc zoci.Remote RemoteDst zoci.Remote PkgIter int NumPkgs int Bundle *types.UDSBundle }
Config contains the configuration for the remote pusher
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)
LayersToRemoteBundle pushes the Zarf pkg's layers to a remote bundle
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 a remote bundle
Click to show internal directories.
Click to hide internal directories.