minion

package
v1.2.0-alpha.1....-a06d8bc Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2015 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package minion contains the executor and proxy bootstrap code for a Mesos slave

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinionServer

type MinionServer struct {
	// embed the executor server to be able to use its flags
	// TODO(sttts): get rid of this mixing of the minion and the executor server with a multiflags implementation for km
	KubeletExecutorServer *exservice.KubeletExecutorServer
	// contains filtered or unexported fields
}

func NewMinionServer

func NewMinionServer() *MinionServer

NewMinionServer creates the MinionServer struct with default values to be used by hyperkube

func (*MinionServer) AddExecutorFlags

func (ms *MinionServer) AddExecutorFlags(fs *pflag.FlagSet)

func (*MinionServer) AddMinionFlags

func (ms *MinionServer) AddMinionFlags(fs *pflag.FlagSet)

func (*MinionServer) Run

func (ms *MinionServer) Run(hks hyperkube.Interface, _ []string) error

runs the main kubelet loop, closing the kubeletFinished chan when the loop exits. never returns.

Directories

Path Synopsis
Package config contains minion configuration constants.
Package config contains minion configuration constants.
Package tasks provides an API for supervising system processes as Task's.
Package tasks provides an API for supervising system processes as Task's.

Jump to

Keyboard shortcuts

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