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 ¶
Click to show internal directories.
Click to hide internal directories.