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 { provider.Constrainer `description:"List of constraints used to filter out some containers." export:"true"` Watch bool `description:"Watch provider." export:"true"` DefaultRule string `description:"Default rule."` ExposedByDefault bool `description:"Expose containers by default." export:"true"` EnableServiceHealthFilter bool `description:"Filter services with unhealthy states and inactive states." export:"true"` RefreshSeconds int `description:"Defines the polling interval in seconds." export:"true"` IntervalPoll bool `description:"Poll the Rancher metadata service every 'rancher.refreshseconds' (less accurate)."` Prefix string `description:"Prefix used for accessing the Rancher metadata service."` // 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.