Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultTemplateRule The default template for the default rule.
DefaultTemplateRule = "Host(`{{ normalize .Name }}`)"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { Constraints string `` /* 256-byte string literal not displayed */ Watch bool `description:"Watch provider." json:"watch,omitempty" toml:"watch,omitempty" yaml:"watch,omitempty" export:"true"` DefaultRule string `description:"Default rule." json:"defaultRule,omitempty" toml:"defaultRule,omitempty" yaml:"defaultRule,omitempty"` ExposedByDefault bool `` /* 159-byte string literal not displayed */ EnableServiceHealthFilter bool `` /* 215-byte string literal not displayed */ RefreshSeconds int `` /* 164-byte string literal not displayed */ IntervalPoll bool `` /* 185-byte string literal not displayed */ Prefix string `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
Provider holds configurations of the provider.
func (*Provider) Provide ¶
Provide allows the rancher provider to provide configurations to traefik using the given configuration channel.
func (*Provider) SetDefaults ¶
func (p *Provider) SetDefaults()
SetDefaults sets the default values.
Click to show internal directories.
Click to hide internal directories.