oci

package
v3.16.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PullImage

func PullImage(imgURL string, tempDir string) (string, func(), error)

PullImage pulls an OCI image at `imgURL` into a temporary directory with a random name, created under the path `tempDir`. If `tempDir` is empty, a default path from os.TempDir() is used. This func returns the directory path that the image was pulled to, a handler function to clean up the directory after it has been read, and an error (if any).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL