Help us shape the future of Go! Take the 2026 Go Developer Survey

getter

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDeprecatedTLSConfig = errors.New("TLS configured in a deprecated manner")

Functions

This section is empty.

Types

type ClientOpts added in v1.1.0

type ClientOpts struct {
	Authenticator authn.Authenticator
	Keychain      authn.Keychain
	TLSConfig     *tls.Config
	GetterOpts    []helmgetter.Option
	Insecure      bool
	OCIAuth       auth.CredentialFunc
}

ClientOpts contains the various options to use while constructing a Helm repository client.

func GetClientOpts added in v1.1.0

func GetClientOpts(ctx context.Context, c client.Client, obj *sourcev1.HelmRepository, url string) (*ClientOpts, error)

GetClientOpts uses the provided HelmRepository object and a normalized URL to construct a HelmClientOpts object. If obj is an OCI HelmRepository, then the returned options object will also contain the required registry auth mechanisms.

Jump to

Keyboard shortcuts

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