Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bundle ¶
Bundle is a native OCI bundle, created from imageRef.
func (*Bundle) Create ¶
Create will created the on-disk structures for the OCI bundle, so that it is ready for execution.
func (*Bundle) Delete ¶
Delete erases OCI bundle created an OCI image ref. Context argument isn't used here, but is part of the Bundle interface which is defined under pkg/, so changing this API is not possible until next major version.
type Option ¶
func OptBundlePath ¶
OptBundlePath sets the path that the bundle will be created at.
func OptImageRef ¶
OptImageRef sets the image source reference, from which the bundle will be created.
func OptImgCache ¶
OptImgCache sets the Singularity image cache used to pull through OCI blobs.
func OptSysCtx ¶
func OptSysCtx(sc *types.SystemContext) Option
OptSysCtx sets the OCI client SystemContext holding auth information etc. Deprecated: please use OptTransportOptions
func OptTmpDir ¶
OptTempDir sets the parent temporary directory for temporary files generated outside of the assembled bundle.
func OptTransportOptions ¶ added in v4.1.0
func OptTransportOptions(tOpts *ociimage.TransportOptions) Option
OptTransportOptions sets configuration for interaction with image transports.