Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { ClusterDomainName string `json:"clusterDomainName"` KITTClusterEnv string `json:"kittClusterEnv"` Kube2iamAccount string `json:"kube2iamAccount"` }
func (*Cluster) DefaultAndValdiate ¶
type Location ¶
type Location struct { Account voyager.Account `json:"account"` Region voyager.Region `json:"region"` EnvType voyager.EnvType `json:"envType"` }
func (Location) ClusterLocation ¶
func (l Location) ClusterLocation() voyager.ClusterLocation
ClusterLocation generates a ClusterLocation based on the Location's coordinates
func (*Location) DefaultAndValidate ¶
type ServerConfig ¶
type ServerConfig struct { // TLSCert is the location of the tls cert file TLSCert string `json:"tlsCert"` // TLSKey is the location of the tls key file TLSKey string `json:"tlsKey"` // ClientRootCAs is the concatenated list of CAs for client cert validation ClientRootCAs string `json:"clientRootCAs"` // ServerAddr is the Address to serve on. Defaults to port 443 ServerAddr string `json:"serverAddr"` // DisableTLS indicates whether to disable TLS; // should be used only for local testing and integration tests DisableTLS bool `json:"disableTls"` }
ServerConfig contains options for running HTTP servers
func (*ServerConfig) DefaultAndValidate ¶
func (conf *ServerConfig) DefaultAndValidate() []error
Click to show internal directories.
Click to hide internal directories.