ecs

package
v2.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTemplateRule = "Host(`{{ normalize .Name }}`)"

DefaultTemplateRule The default template for the default rule.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Constraints      string `` /* 256-byte string literal not displayed */
	ExposedByDefault bool   `` /* 156-byte string literal not displayed */
	RefreshSeconds   int    `` /* 153-byte string literal not displayed */
	DefaultRule      string `description:"Default rule." json:"defaultRule,omitempty" toml:"defaultRule,omitempty" yaml:"defaultRule,omitempty"`

	// Provider lookup parameters.
	Clusters             []string `description:"ECS Clusters name" json:"clusters,omitempty" toml:"clusters,omitempty" yaml:"clusters,omitempty" export:"true"`
	AutoDiscoverClusters bool     `` /* 163-byte string literal not displayed */
	Region               string   `` /* 135-byte string literal not displayed */
	AccessKeyID          string   `` /* 158-byte string literal not displayed */
	SecretAccessKey      string   `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

Provider holds configurations of the provider.

func (*Provider) Init

func (p *Provider) Init() error

Init the provider.

func (Provider) Provide

func (p Provider) Provide(configurationChan chan<- dynamic.Message, pool *safe.Pool) error

Provide configuration to traefik from ECS.

func (*Provider) SetDefaults

func (p *Provider) SetDefaults()

SetDefaults sets the default values.

Jump to

Keyboard shortcuts

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