Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// FullChainCertPath specifies the path of the file containing the
// concatenated server certification and the intermediate certification for the tls endpoint
FullChainCertPath string `yaml:"full_chain_cert_path,omitempty"`
// PrivateKeyPath specifies the path of the private key file for the tls endpoint
PrivateKeyPath string `yaml:"private_key_path,omitempty"`
// ServeTLS is set to true once the Cert and Key files have been validated,
// indicating the consumer of this config can service requests over TLS
ServeTLS bool `yaml:"-"`
// InsecureSkipVerify indicates that the HTTPS Client in Trickster should bypass
// hostname verification for the origin's certificate when proxying requests
InsecureSkipVerify bool `yaml:"insecure_skip_verify,omitempty"`
// CertificateAuthorities provides a list of custom Certificate Authorities for the upstream origin
// which are considered in addition to any system CA's by the Trickster HTTPS Client
CertificateAuthorityPaths []string `yaml:"certificate_authority_paths,omitempty"`
// ClientCertPath provides the path to the Client Certificate when using Mutual Authorization
ClientCertPath string `yaml:"client_cert_path,omitempty"`
// ClientKeyPath provides the path to the Client Key when using Mutual Authorization
ClientKeyPath string `yaml:"client_key_path,omitempty"`
}
Options is a collection of TLS-related client and server configurations
func (*Options) Initialize ¶
Click to show internal directories.
Click to hide internal directories.