swarm

package
v0.0.0-...-c76ca94 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(rpiName string) (*Client, error)

func (*Client) FetchResources

func (c *Client) FetchResources() ([]*lxtypes.Resource, error)

func (*Client) GetStatuses

func (c *Client) GetStatuses() ([]*mesosproto.TaskStatus, error)

func (*Client) KillTask

func (c *Client) KillTask(taskID string) error

func (*Client) LaunchTasks

func (c *Client) LaunchTasks(launchTasksMessage layerx_rpi_client.LaunchTasksMessage) error

Jump to

Keyboard shortcuts

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