Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Issues []string `json:"issues"`
ID string `json:"id"`
Name string `json:"name"`
Nodes Nodes `json:"nodes"`
DNS []string `json:"dns"`
CASecPaths []string `json:"ca_sec_paths"`
Listener ConfigListener `json:"listener"`
Quorum bool `json:"quorum"`
// contains filtered or unexported fields
}
Config describes the cluster id, name and nodes The cluster name is used as the right most part of cluster dns names.
func (*Config) SSHKeyFile ¶
SSHKeyFile returns the configured SSH key file path and a boolean indicating if the file exists and is regular.
func (*Config) SetSSHKeyFile ¶
type ConfigListener ¶
type ConfigListener struct {
CRL string `json:"crl"`
Addr string `json:"addr"`
Port int `json:"port"`
OpenIDIssuer string `json:"openid_issuer"`
OpenIDClientID string `json:"openid_client_id"`
DNSSockGID string `json:"dns_sock_gid"`
DNSSockUID string `json:"dns_sock_uid"`
RateLimiter RateLimiterConfig `json:"rate_limiter"`
}
Click to show internal directories.
Click to hide internal directories.