diff --git a/provider/eureka/eureka.go b/provider/eureka/eureka.go index b724f6025..a848280b2 100644 --- a/provider/eureka/eureka.go +++ b/provider/eureka/eureka.go @@ -19,8 +19,8 @@ import ( // Provider holds configuration of the Provider provider. type Provider struct { provider.BaseProvider `mapstructure:",squash"` - Endpoint string - Delay string + Endpoint string `description:"Eureka server endpoint"` + Delay string `description:"Override default configuration time between refresh"` } // Provide allows the eureka provider to provide configurations to traefik diff --git a/provider/marathon/marathon.go b/provider/marathon/marathon.go index 217b986dc..de1d5bbdf 100644 --- a/provider/marathon/marathon.go +++ b/provider/marathon/marathon.go @@ -45,14 +45,14 @@ type Provider struct { DialerTimeout flaeg.Duration `description:"Set a non-default connection timeout for Marathon"` KeepAlive flaeg.Duration `description:"Set a non-default TCP Keep Alive time in seconds"` ForceTaskHostname bool `description:"Force to use the task's hostname."` - Basic *Basic + Basic *Basic `description:"Enable basic authentication"` marathonClient marathon.Marathon } // Basic holds basic authentication specific configurations type Basic struct { - HTTPBasicAuthUser string - HTTPBasicPassword string + HTTPBasicAuthUser string `description:"Basic authentication User"` + HTTPBasicPassword string `description:"Basic authentication Password"` } type lightMarathonClient interface {