swarm

package
v0.0.0-...-4592af0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package swarm provides the cluster state and tasks that are going to be load balanced in the cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Swarm

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

func New

func New(swarmUrl string, tlsConfig *tls.Config) (*Swarm, error)

New constructs a client to access a Docker Swarm cluster state. If the cluster does not use TLS, tlsConfig must be nil.

func (*Swarm) Tasks

func (s *Swarm) Tasks() (task.ClusterState, error)

Tasks provides running containers in a Swarm cluster.

Jump to

Keyboard shortcuts

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