rancher

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: MIT Imports: 17 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 {
	provider.BaseProvider     `mapstructure:",squash"`
	Endpoint                  string `description:"Rancher server HTTP(S) endpoint."`
	AccessKey                 string `description:"Rancher server access key."`
	SecretKey                 string `description:"Rancher server Secret Key."`
	ExposedByDefault          bool   `description:"Expose Services by default"`
	Domain                    string `description:"Default domain used"`
	RefreshSeconds            int    `description:"Polling interval (in seconds)"`
	EnableServiceHealthFilter bool   `description:"Filter services with unhealthy states and health states."`
}

Provider holds configurations of the provider.

func (*Provider) Provide

func (p *Provider) Provide(configurationChan chan<- types.ConfigMessage, pool *safe.Pool, constraints types.Constraints) error

Provide allows the rancher provider to provide configurations to traefik using the given configuration channel.

Jump to

Keyboard shortcuts

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