Documentation ¶
Index ¶
- type AuthEntry
- func (a *AuthEntry) BuildCraneOptions() ([]crane.Option, error)
- func (a *AuthEntry) BuildDockerConfig(ctx context.Context, host string) (string, error)
- func (a *AuthEntry) BuildHelmRegistryOptions(ctx context.Context, host string) ([]registry.ClientOption, func(), error)
- func (a *AuthEntry) BuildHttpTransport() (*http.Transport, error)
- type ListAuthProvider
- type OciAuthProvider
- type OciAuthProviders
- type OciDockerConfigAuthProvider
- type OciEnvAuthProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthEntry ¶
type AuthEntry struct { Registry string RepoGlob glob.Glob RepoStr string AuthConfig authn.AuthConfig Key []byte Cert []byte CA []byte PlainHTTP bool InsecureSkipTlsVerify bool }
func (*AuthEntry) BuildCraneOptions ¶
func (*AuthEntry) BuildDockerConfig ¶
func (*AuthEntry) BuildHelmRegistryOptions ¶
type ListAuthProvider ¶
type ListAuthProvider struct {
// contains filtered or unexported fields
}
func (*ListAuthProvider) AddEntry ¶
func (a *ListAuthProvider) AddEntry(e AuthEntry)
func (*ListAuthProvider) FindAuthEntry ¶
type OciAuthProvider ¶
type OciAuthProviders ¶
type OciAuthProviders struct {
// contains filtered or unexported fields
}
func NewDefaultAuthProviders ¶
func NewDefaultAuthProviders(envPrefix string) *OciAuthProviders
func (*OciAuthProviders) FindAuthEntry ¶
func (*OciAuthProviders) RegisterAuthProvider ¶
func (a *OciAuthProviders) RegisterAuthProvider(p OciAuthProvider, last bool)
type OciDockerConfigAuthProvider ¶
type OciDockerConfigAuthProvider struct { }
func (OciDockerConfigAuthProvider) FindAuthEntry ¶
type OciEnvAuthProvider ¶
type OciEnvAuthProvider struct { Prefix string // contains filtered or unexported fields }
func (*OciEnvAuthProvider) FindAuthEntry ¶
Click to show internal directories.
Click to hide internal directories.