Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccessKeyProvider ¶ added in v1.4.0
func NewAccessKeyProvider() credentials.Provider
func NewManagedIdentityProvider ¶ added in v1.4.0
func NewManagedIdentityProvider(ctx context.Context) credentials.Provider
Types ¶
type AccessKeyProvider ¶ added in v1.4.0
type AccessKeyProvider struct {
// contains filtered or unexported fields
}
func (*AccessKeyProvider) GetCredentials ¶ added in v1.4.0
func (p *AccessKeyProvider) GetCredentials( ctx context.Context, _ string, credType credentials.Type, repoURL string, data map[string][]byte, ) (*credentials.Credentials, error)
func (*AccessKeyProvider) Supports ¶ added in v1.4.0
func (p *AccessKeyProvider) Supports(credType credentials.Type, repoURL string, data map[string][]byte) bool
type ManagedIdentityProvider ¶ added in v1.4.0
type ManagedIdentityProvider struct {
// contains filtered or unexported fields
}
func (*ManagedIdentityProvider) GetCredentials ¶ added in v1.4.0
func (p *ManagedIdentityProvider) GetCredentials( ctx context.Context, project string, credType credentials.Type, repoURL string, _ map[string][]byte, ) (*credentials.Credentials, error)
func (*ManagedIdentityProvider) Supports ¶ added in v1.4.0
func (p *ManagedIdentityProvider) Supports(credType credentials.Type, repoURL string, _ map[string][]byte) bool
Click to show internal directories.
Click to hide internal directories.