executor

package
v0.1.0-alpha-target-23... Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(launchTimeout time.Duration) executor.Executor

New returns an an implementation of an etcd Mesos executor that runs the given command when tasks are launched.

Types

type EtcdParams

type EtcdParams struct {
	config.Node
	Cluster string
}

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

func (*Executor) Disconnected

func (e *Executor) Disconnected(_ executor.ExecutorDriver)

func (*Executor) Error

func (e *Executor) Error(_ executor.ExecutorDriver, err string)

func (*Executor) FrameworkMessage

func (e *Executor) FrameworkMessage(
	driver executor.ExecutorDriver,
	msg string,
)

func (*Executor) KillTask

func (e *Executor) KillTask(driver executor.ExecutorDriver, t *mesos.TaskID)

func (*Executor) LaunchTask

func (e *Executor) LaunchTask(
	driver executor.ExecutorDriver,
	taskInfo *mesos.TaskInfo,
)

func (*Executor) Registered

func (*Executor) Reregistered

func (e *Executor) Reregistered(
	_ executor.ExecutorDriver,
	si *mesos.SlaveInfo,
)

func (*Executor) Shutdown

func (e *Executor) Shutdown(_ executor.ExecutorDriver)

Jump to

Keyboard shortcuts

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