Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidImageScheme = fmt.Errorf("only supported scheme is docker://") ErrInvalidImageName = fmt.Errorf("failed to parse image name") )
Functions ¶
func GetTLSClient ¶
GetTLSClient gets an HTTP client that behaves like the default HTTP client, but optionally skips the TLS certificate verification.
Types ¶
type OCIFetcher ¶
type OCIFetcher struct {
// contains filtered or unexported fields
}
OCIFetcher is a struct that can be used to fetch OCI images from a remote registry.
func NewOCIFetcher ¶
func NewOCIFetcher(username, password string, insecureAllowHTTP, insecureSkipTLSVerification, debug bool) *OCIFetcher
NewOCIFetcher returns a new OCIFetcher, configured with the provided arguments.
Click to show internal directories.
Click to hide internal directories.