Documentation ¶
Index ¶
- func Pull(ctx context.Context, imgCache *cache.Handle, pullFrom string, opts PullOptions) (imagePath string, err error)
- func PullToFile(ctx context.Context, imgCache *cache.Handle, pullTo, pullFrom string, ...) (imagePath string, err error)
- func Push(ctx context.Context, sourceFile string, destRef string, ...) error
- type PullOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pull ¶
func Pull(ctx context.Context, imgCache *cache.Handle, pullFrom string, opts PullOptions) (imagePath string, err error)
Pull will create a SIF / OCI-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 create a SIF / OCI-SIF image from the specified oci URI and place it at the specified dest
Types ¶
Click to show internal directories.
Click to hide internal directories.