credentialprovider

package
v1.28.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 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