Documentation ¶
Index ¶
Constants ¶
View Source
const (
KubeletSubsystem = "kubelet"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterCredentialProviderPlugins ¶
RegisterCredentialProviderPlugins is called from kubelet to register external credential provider plugins according to the CredentialProviderConfig config file.
Types ¶
type Plugin ¶
type Plugin interface {
ExecPlugin(ctx context.Context, image string) (*credentialproviderapi.CredentialProviderResponse, error)
}
Plugin is the interface calling ExecPlugin. This is mainly for testability so tests don't have to actually exec any processes.
Click to show internal directories.
Click to hide internal directories.