docker

package
v6.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutodiscoverBuilder

func AutodiscoverBuilder(bus bus.Bus, c *common.Config) (autodiscover.Provider, error)

AutodiscoverBuilder builds and returns an autodiscover provider

Types

type Config

type Config struct {
	Host      string                  `config:"host"`
	TLS       *docker.TLSConfig       `config:"ssl"`
	Templates template.MapperSettings `config:"templates"`
}

Config for docker autodiscover provider

type Provider

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

Provider implements autodiscover provider for docker containers

func (*Provider) Start

func (d *Provider) Start()

Start the autodiscover process

func (*Provider) Stop

func (d *Provider) Stop()

Stop the autodiscover process

func (*Provider) String

func (d *Provider) String() string

Jump to

Keyboard shortcuts

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