Versions in this module Expand all Collapse all v3 v3.12.0 Jun 12, 2023 Changes in this version + type Constructor func(options ...Option) (Getter, error) + func NewPluginGetter(command string, settings *cli.EnvSettings, name, base string) Constructor + type Getter interface + Get func(url string, options ...Option) (*bytes.Buffer, error) + func NewHTTPGetter(options ...Option) (Getter, error) + func NewOCIGetter(ops ...Option) (Getter, error) + type HTTPGetter struct + func (g *HTTPGetter) Get(href string, options ...Option) (*bytes.Buffer, error) + type OCIGetter struct + func (g *OCIGetter) Get(href string, options ...Option) (*bytes.Buffer, error) + type Option func(*options) + func WithBasicAuth(username, password string) Option + func WithInsecureSkipVerifyTLS(insecureSkipVerifyTLS bool) Option + func WithPassCredentialsAll(pass bool) Option + func WithRegistryClient(client *registry.Client) Option + func WithTLSClientConfig(certFile, keyFile, caFile string) Option + func WithTagName(tagname string) Option + func WithTimeout(timeout time.Duration) Option + func WithTransport(transport *http.Transport) Option + func WithURL(url string) Option + func WithUntar() Option + func WithUserAgent(userAgent string) Option + type Provider struct + New Constructor + Schemes []string + func (p Provider) Provides(scheme string) bool + type Providers []Provider + func All(settings *cli.EnvSettings) Providers + func (p Providers) ByScheme(scheme string) (Getter, error)