package plugin

import "k8s.io/kubernetes/pkg/credentialprovider/plugin"

Index

Constants

const (
	KubeletSubsystem = "kubelet"
)

Functions

func RegisterCredentialProviderPlugins

func RegisterCredentialProviderPlugins(pluginConfigFile, pluginBinDir string) error

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.

Source Files

config.go metrics.go plugin.go

Version
v1.23.1-rc.0
Published
Dec 7, 2021
Platform
js/wasm
Imports
28 packages
Last checked
1 minute ago

Tools for package owners.