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.
Click to show internal directories.
Click to hide internal directories.