executor

package
v0.0.0-...-6091764 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultExecutor

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

func (*DefaultExecutor) Message

func (e *DefaultExecutor) Message(data []byte) error

func (*DefaultExecutor) Subscribe

func (e *DefaultExecutor) Subscribe(eventChan chan *exec.Event) error

func (*DefaultExecutor) Update

func (e *DefaultExecutor) Update(taskStatus *mesos_v1.TaskStatus) error

type Executor

type Executor interface {
	Subscribe(chan *exec.Event) error
	Update(*mesos_v1.TaskStatus) error
	Message([]byte) error
}

func NewDefaultExecutor

func NewDefaultExecutor(
	f *mesos_v1.FrameworkID,
	e *mesos_v1.ExecutorID,
	c client.Client,
	lgr logging.Logger) Executor

Creates a new default executor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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