mirror of
https://github.com/traefik/traefik.git
synced 2025-08-14 10:37:06 +02:00
Use dynamodbav tags to override json tags.
This commit is contained in:
parent
468e4ebd98
commit
32fd52c698
@ -408,14 +408,14 @@ type Users []string
|
||||
|
||||
// Basic HTTP basic authentication
|
||||
type Basic struct {
|
||||
Users `json:"-" mapstructure:","`
|
||||
Users `json:"-" mapstructure:"," dynamodbav:"users,omitempty"`
|
||||
UsersFile string `json:"usersFile,omitempty"`
|
||||
RemoveHeader bool `json:"removeHeader,omitempty"`
|
||||
}
|
||||
|
||||
// Digest HTTP authentication
|
||||
type Digest struct {
|
||||
Users `json:"-" mapstructure:","`
|
||||
Users `json:"-" mapstructure:"," dynamodbav:"users,omitempty"`
|
||||
UsersFile string `json:"usersFile,omitempty"`
|
||||
RemoveHeader bool `json:"removeHeader,omitempty"`
|
||||
}
|
||||
@ -511,7 +511,7 @@ type ClientTLS struct {
|
||||
CA string `description:"TLS CA" json:"ca,omitempty"`
|
||||
CAOptional bool `description:"TLS CA.Optional" json:"caOptional,omitempty"`
|
||||
Cert string `description:"TLS cert" json:"cert,omitempty"`
|
||||
Key string `description:"TLS key" json:"-"`
|
||||
Key string `description:"TLS key" json:"-" dynamodbav:"key,omitempty"`
|
||||
InsecureSkipVerify bool `description:"TLS insecure skip verify" json:"insecureSkipVerify,omitempty"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user