Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuthTransport ¶
func NewBasicAuthTransport ¶
func NewBasicAuthTransport(credentials CustomMetricsCredentials) *BasicAuthTransport
func (*BasicAuthTransport) Client ¶
func (bat *BasicAuthTransport) Client() *http.Client
type CustomMetricsCredentials ¶
type CustomMetricsCredentials struct { Username string `mapstructure:"username" json:"username"` Password string `mapstructure:"password" json:"password"` URL string `mapstructure:"url" json:"url"` MtlsURL string `mapstructure:"mtls_url" json:"mtls_url"` }
func (CustomMetricsCredentials) BasicAuthentication ¶
func (c CustomMetricsCredentials) BasicAuthentication(ctx context.Context, operationName string) (BasicAuthentication, error)
Click to show internal directories.
Click to hide internal directories.