Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endpoint ¶
type Endpoint struct { ServerURL string ProxyURL string CertificateAuthorityData string ClientCertificateData string ClientKeyData string Token string Username string Password string Insecure bool Debug bool }
func (*Endpoint) HasBasicAuth ¶
HasBasicAuth returns whether the configuration has basic authentication or not.
func (*Endpoint) HasCA ¶
HasCA returns whether the configuration has a certificate authority or not.
func (*Endpoint) HasCertAuth ¶
HasCertAuth returns whether the configuration has certificate authentication or not.
func (*Endpoint) HasTokenAuth ¶
HasTokenAuth returns whether the configuration has token authentication or not.
Click to show internal directories.
Click to hide internal directories.