Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthEntry ¶
type AuthEntry struct { CredentialsId string Host string PathGlob glob.Glob PathStr string Username string Password string Cert []byte Key []byte CA []byte InsecureSkipTLSverify bool PassCredentialsAll bool }
func (*AuthEntry) BuildEntry ¶
type CleanupFunc ¶
type CleanupFunc func()
type HelmAuthProvider ¶
type HelmAuthProviders ¶
type HelmAuthProviders struct {
// contains filtered or unexported fields
}
func NewDefaultAuthProviders ¶
func NewDefaultAuthProviders(envPrefix string) *HelmAuthProviders
func (*HelmAuthProviders) FindAuthEntry ¶
func (a *HelmAuthProviders) FindAuthEntry(ctx context.Context, repoUrl url.URL, credentialsId string) (*repo.Entry, CleanupFunc, error)
func (*HelmAuthProviders) RegisterAuthProvider ¶
func (a *HelmAuthProviders) RegisterAuthProvider(p HelmAuthProvider, last bool)
type HelmConfigAuthProvider ¶
type HelmConfigAuthProvider struct { }
func (*HelmConfigAuthProvider) FindAuthEntry ¶
func (a *HelmConfigAuthProvider) FindAuthEntry(ctx context.Context, repoUrl url.URL, credentialsId string) (*repo.Entry, CleanupFunc, error)
type HelmEnvAuthProvider ¶
type HelmEnvAuthProvider struct { Prefix string // contains filtered or unexported fields }
func (*HelmEnvAuthProvider) FindAuthEntry ¶
func (a *HelmEnvAuthProvider) FindAuthEntry(ctx context.Context, repoUrl url.URL, credentialsId string) (*repo.Entry, CleanupFunc, error)
type ListAuthProvider ¶
type ListAuthProvider struct {
// contains filtered or unexported fields
}
func (*ListAuthProvider) AddEntry ¶
func (a *ListAuthProvider) AddEntry(e AuthEntry)
func (*ListAuthProvider) FindAuthEntry ¶
func (a *ListAuthProvider) FindAuthEntry(ctx context.Context, repoUrl url.URL, credentialsId string) (*repo.Entry, CleanupFunc, error)
Click to show internal directories.
Click to hide internal directories.