swarm

package
v0.1.2-0...-6576f98 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Endpoint               string        `yaml:"endpoint"`
	LabelSelector          []string      `yaml:"labelSelector"`
	TLSCa                  string        `yaml:"tlsCa"`
	TLSCert                string        `yaml:"tlsCert"`
	TLSKey                 string        `yaml:"tlsKey"`
	PollInterval           time.Duration `yaml:"pollInterval"`
	DefaultPortPublishMode string        `yaml:"defaultPortPublishMode"`
	// contains filtered or unexported fields
}

Provider holds the provider configuration

func (*Provider) RefreshService

func (p *Provider) RefreshService(msg comm.Message)

func (*Provider) Start

func (p *Provider) Start(receive <-chan comm.Message, send chan<- comm.Message) error

func (*Provider) Stop

func (p *Provider) Stop() error

Jump to

Keyboard shortcuts

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