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(configFile string) (CredentialProvider, error)
NewAcrProvider creates a new instance of the ACR provider.
Click to show internal directories.
Click to hide internal directories.