We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 653fa12 commit deea5bdCopy full SHA for deea5bd
exporter/pulsarexporter/config.go
@@ -44,15 +44,21 @@ type Authentication struct {
44
Token configoptional.Optional[Token] `mapstructure:"token"`
45
Athenz configoptional.Optional[Athenz] `mapstructure:"athenz"`
46
OAuth2 configoptional.Optional[OAuth2] `mapstructure:"oauth2"`
47
+ // prevent unkeyed literal initialization
48
+ _ struct{}
49
}
50
51
type TLS struct {
52
CertFile string `mapstructure:"cert_file"`
53
KeyFile string `mapstructure:"key_file"`
54
55
56
57
58
type Token struct {
59
Token configopaque.String `mapstructure:"token"`
60
61
62
63
64
type Athenz struct {
0 commit comments