ecs

package
v3.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 28 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   `` /* 157-byte string literal not displayed */
	RefreshSeconds   int    `` /* 154-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 Cluster names." json:"clusters,omitempty" toml:"clusters,omitempty" yaml:"clusters,omitempty" export:"true"`
	AutoDiscoverClusters bool     `` /* 164-byte string literal not displayed */
	HealthyTasksOnly     bool     `` /* 180-byte string literal not displayed */
	ECSAnywhere          bool     `` /* 143-byte string literal not displayed */
	Region               string   `` /* 132-byte string literal not displayed */
	AccessKeyID          string   `` /* 175-byte string literal not displayed */
	SecretAccessKey      string   `` /* 184-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