docker

package
v0.0.0-...-0704e8f Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvClient

func GetEnvClient() (*client.Client, error)

GetEnvClient return the environment client instance

func SwarmDeployContainer

func SwarmDeployContainer() error

SwarmDeployContainer return the available nodes metadata

func SwarmNodesInspect

func SwarmNodesInspect() ([]swarm.Node, error)

SwarmNodesInspect return the available nodes metadata

func WatchEvents

func WatchEvents() error

WatchEvents watch for docker events

Types

type Event

type Event struct {
	Message events.Message
}

Event wrapper event for emitter

func (*Event) GetRaw

func (ev *Event) GetRaw() interface{}

GetRaw return message as interface

Jump to

Keyboard shortcuts

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