executor

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrFoundSelfFailed found myself failed
	ErrFoundSelfFailed = errors.New("Failed to locate self node")
)

Functions

func RunExecutor added in v0.2.0

func RunExecutor(cfg *config.Config, getstate common.RetrieveState) error

RunExecutor starts the executor

Types

type ScaleIOExecutor

type ScaleIOExecutor struct {
	Config *config.Config

	ExecutorID  *mesos.ExecutorID
	FrameworkID *mesos.FrameworkID

	Client *client.Client

	Events   chan *exec.Event
	DoneChan chan struct{}

	ObservedFailures int
}

ScaleIOExecutor is the representation for an ScaleIO Executor process

func NewScaleIOExecutor

func NewScaleIOExecutor(cfg *config.Config) *ScaleIOExecutor

NewScaleIOExecutor creates a ScaleIO executor object

func (*ScaleIOExecutor) Start

func (e *ScaleIOExecutor) Start() <-chan struct{}

Start kicks off the executor workflow

Directories

Path Synopsis
pkgmgr
mgr

Jump to

Keyboard shortcuts

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