plugin

package
v1.59.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvUserDataRequest names the environment variable containing
	// the user data request.
	EnvUserDataRequest = "MACHINE_CONTROLLER_USER_DATA_REQUEST"

	// EnvPluginDir names the environment variable containing
	// a user defined location of the plugins.
	EnvPluginDir = "MACHINE_CONTROLLER_USERDATA_PLUGIN_DIR"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {
	Err string
}

ErrorResponse contains a single responded error.

type UserDataRequest

type UserDataRequest struct {
	MachineSpec              clusterv1alpha1.MachineSpec
	Kubeconfig               *clientcmdapi.Config
	CloudProviderName        string
	CloudConfig              string
	DNSIPs                   []net.IP
	ExternalCloudProvider    bool
	HTTPProxy                string
	NoProxy                  string
	PauseImage               string
	KubeletCloudProviderName string
	KubeletFeatureGates      map[string]bool
	KubeletConfigs           map[string]string
	ContainerRuntime         containerruntime.Config
	NodePortRange            string
}

UserDataRequest requests user data with the given arguments.

type UserDataResponse

type UserDataResponse struct {
	UserData string
	Err      string
}

UserDataResponse contains the responded user data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL