Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupported ¶
IsSupported returns whether or not the transport given is supported. To fit within a switch/case statement, this function will return transport if it is supported
func Pull ¶
func Pull(ctx context.Context, imgCache *cache.Handle, pullFrom string, opts PullOptions) (imagePath string, err error)
Pull will build a SIF image to the cache or direct to a temporary file if cache is disabled
func PullToFile ¶
func PullToFile(ctx context.Context, imgCache *cache.Handle, pullTo, pullFrom string, opts PullOptions) (imagePath string, err error)
PullToFile will build a SIF image from the specified oci URI and place it at the specified dest
Types ¶
type PullOptions ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.