credentialprovider

package
v1.31.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialProvider

type CredentialProvider interface {
	GetCredentials(ctx context.Context, image string, args []string) (response *v1.CredentialProviderResponse, err error)
}

CredentialProvider is an interface implemented by the kubelet credential provider plugin to fetch the username/password based on the provided image name.

func NewAcrProvider

func NewAcrProvider(config *providerconfig.AzureAuthConfig, environment *azclient.Environment, credential azcore.TokenCredential) CredentialProvider

func NewAcrProviderFromConfig added in v1.29.11

func NewAcrProviderFromConfig(configFile string) (CredentialProvider, error)

NewAcrProvider creates a new instance of the ACR provider.

Jump to

Keyboard shortcuts

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