Documentation
¶
Overview ¶
Package bottle provides functions for managing transfer of bottle objects to and from an OCI registry, including configuring a pulled bottle, and establishing local metadata and file structure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBottleMetadataToStore ¶
AddBottleMetadataToStore adds config and manifest data to the DataStore as loose files for oras to find. Another option would be to cache these.
func PushBottle ¶
func PushBottle(ctx context.Context, btl *bottle.Bottle, gt reg.GraphTargeter, reference string, pushCfg PushOptions, rOpts ...ReferrerOption) error
PushBottle copies a bottle to a remote location via oras.ExtendedCopyGraph. ReferrerOptions are used to include refferers of the bottle in the copy.
Types ¶
type PushOptions ¶
type PushOptions struct {
tbottle.TransferOptions
}
PushOptions provides options for pushing bottles from the localhost to a remote registry.
Click to show internal directories.
Click to hide internal directories.