2020-09-15 10:08:03 +00:00
|
|
|
package static
|
|
|
|
|
|
|
|
// Pilot Configuration related to Traefik Pilot.
|
2022-06-13 09:04:08 +00:00
|
|
|
// Deprecated.
|
2020-09-15 10:08:03 +00:00
|
|
|
type Pilot struct {
|
2022-01-24 10:08:05 +00:00
|
|
|
Token string `description:"Traefik Pilot token." json:"token,omitempty" toml:"token,omitempty" yaml:"token,omitempty" loggable:"false"`
|
2021-03-22 18:18:04 +00:00
|
|
|
Dashboard bool `description:"Enable Traefik Pilot in the dashboard." json:"dashboard,omitempty" toml:"dashboard,omitempty" yaml:"dashboard,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetDefaults sets the default values.
|
|
|
|
func (p *Pilot) SetDefaults() {
|
|
|
|
p.Dashboard = true
|
2020-09-15 10:08:03 +00:00
|
|
|
}
|