Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caller ¶
type Caller struct { Credentials auth.Credentials Provider director_http.AuthorizationProvider // contains filtered or unexported fields }
Caller can be used to call secured http endpoints with given credentials
func NewCaller ¶
func NewCaller(config CallerConfig) (*Caller, error)
NewCaller creates a new Caller
type CallerConfig ¶
type CallerConfig struct { Credentials auth.Credentials ClientTimeout time.Duration SkipSSLValidation bool Cache credloader.CertCache ExternalClientCertSecretName string }
CallerConfig holds the configuration for Caller
Click to show internal directories.
Click to hide internal directories.