kubelet

package
v4.0.0-0.11.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeletRunConfig

type KubeletRunConfig struct {
	// ContainerBinds is a list of local/path:image/path pairs
	ContainerBinds []string
	// NodeImage is the docker image for openshift start node
	NodeImage   string
	PodImage    string
	Environment []string

	HTTPProxy  string
	HTTPSProxy string
	NoProxy    []string

	DockerRoot               string
	HostVolumesDir           string
	HostPersistentVolumesDir string
	UseNsenterMount          bool

	Args []string
}

func NewKubeletRunConfig

func NewKubeletRunConfig() *KubeletRunConfig

func (KubeletRunConfig) StartKubelet

func (opt KubeletRunConfig) StartKubelet(dockerClient util.Interface, podManifestDir, assetsDir, logdir string) (string, error)

Start starts the OpenShift master as a Docker container and returns a directory in the local file system where the OpenShift configuration has been copied

Jump to

Keyboard shortcuts

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