docker

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: MIT Imports: 6 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 interface {
	GetServices(map[string]string) []swarm.Service
}

Client takes labels and returns matching docker services

func NewClient

func NewClient() Client

NewClient returns a new instance of the HTTP client

type HTTPClient added in v0.3.0

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

HTTPClient holds the configration needed for a connection to Docker's API

func (*HTTPClient) GetServices added in v0.3.0

func (c *HTTPClient) GetServices(filterList map[string]string) []swarm.Service

GetServices returns all Docker services mathcing the labels giben

Jump to

Keyboard shortcuts

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