1e716a93ff
Co-authored-by: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com>
12 lines
460 B
Go
12 lines
460 B
Go
package static
|
|
|
|
// Pilot Configuration related to Traefik Pilot.
|
|
type Pilot struct {
|
|
Token string `description:"Traefik Pilot token." json:"token,omitempty" toml:"token,omitempty" yaml:"token,omitempty"`
|
|
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
|
|
}
|