Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bundle ¶
type Bundle struct { // Generic bundle properties ocibundle.Bundle // contains filtered or unexported fields }
Bundle is a native OCI bundle, created from imageRef.
func (*Bundle) Create ¶
Create sets up the on-disk structure for an OCI runtime bundle, with rootfs mounted from the associated oci-sif image.
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.
type UnavailableError ¶
type UnavailableError struct {
}UnavailableError is used to wrap an Underlying error, while indicating that it is not currently possible to setup an OCI bundle using direct mount(s) from an OCI-SIF. This is intended to permit fall-back paths in the caller when squashfuse is unavailable / failing.
TODO - replace with native Go error wrapping at major version increment.
func (UnavailableError) Error ¶
func (e UnavailableError) Error() string