plugin

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 3 Imported by: 12

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
}

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