credentialprovider

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 21 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(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