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 ClientConfig ¶
type ClientConfig struct {
Username string `` /* 131-byte string literal not displayed */
Password string `` /* 131-byte string literal not displayed */
Endpoint string `` /* 155-byte string literal not displayed */
TLS *types.ClientTLS `description:"Enable Docker TLS support." json:"tls,omitempty" toml:"tls,omitempty" yaml:"tls,omitempty" export:"true"`
HTTPClientTimeout ptypes.Duration `` /* 169-byte string literal not displayed */
}
type DynConfBuilder ¶
type DynConfBuilder struct {
// contains filtered or unexported fields
}
func NewDynConfBuilder ¶
func NewDynConfBuilder(configuration Shared, apiClient client.APIClient, swarm bool) *DynConfBuilder
type Provider ¶
type Provider struct {
ClientConfig `yaml:",inline" export:"true"`
}
Provider holds configurations of the provider.
func (*Provider) Provide ¶
Provide allows the docker provider to provide configurations to ingress using the given configuration channel.
func (*Provider) SetDefaults ¶
func (p *Provider) SetDefaults()
SetDefaults sets the default values.
type SwarmProvider ¶
type SwarmProvider struct {
ClientConfig `yaml:",inline" export:"true"`
RefreshSeconds ptypes.Duration `` /* 156-byte string literal not displayed */
}
SwarmProvider holds configurations of the provider.
func (*SwarmProvider) Provide ¶
Provide allows the docker provider to provide configurations to ingress using the given configuration channel.
func (*SwarmProvider) SetDefaults ¶
func (p *SwarmProvider) SetDefaults()
SetDefaults sets the default values.
Click to show internal directories.
Click to hide internal directories.