Documentation
¶
Index ¶
- func DefaultAdvertiseClientURLs(cfg *EtcdAdmConfig) error
- func DefaultAdvertisePeerURLs(cfg *EtcdAdmConfig) error
- func DefaultClientURLs(cfg *EtcdAdmConfig) error
- func DefaultListenClientURLs(cfg *EtcdAdmConfig) error
- func DefaultListenPeerURLs(cfg *EtcdAdmConfig) error
- func DefaultLoopbackClientURL(cfg *EtcdAdmConfig)
- func DefaultPeerCertSANs(cfg *EtcdAdmConfig)
- func DefaultPeerURLs(cfg *EtcdAdmConfig) error
- func DefaultServerCertSANs(cfg *EtcdAdmConfig)
- func InitialClusterInit(cfg *EtcdAdmConfig) string
- func SetDownloadDynamicDefaults(cfg *EtcdAdmConfig) error
- func SetInfoDynamicDefaults(cfg *EtcdAdmConfig) error
- func SetInitDynamicDefaults(cfg *EtcdAdmConfig) error
- func SetJoinDynamicDefaults(cfg *EtcdAdmConfig) error
- func SetResetDynamicDefaults(cfg *EtcdAdmConfig) error
- type EndpointStatus
- type EtcdAdmConfig
- type EtcdMember
- type URLList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAdvertiseClientURLs ¶
func DefaultAdvertiseClientURLs(cfg *EtcdAdmConfig) error
func DefaultAdvertisePeerURLs ¶
func DefaultAdvertisePeerURLs(cfg *EtcdAdmConfig) error
func DefaultClientURLs ¶
func DefaultClientURLs(cfg *EtcdAdmConfig) error
func DefaultListenClientURLs ¶
func DefaultListenClientURLs(cfg *EtcdAdmConfig) error
func DefaultListenPeerURLs ¶
func DefaultListenPeerURLs(cfg *EtcdAdmConfig) error
func DefaultLoopbackClientURL ¶
func DefaultLoopbackClientURL(cfg *EtcdAdmConfig)
func DefaultPeerCertSANs ¶
func DefaultPeerCertSANs(cfg *EtcdAdmConfig)
func DefaultPeerURLs ¶
func DefaultPeerURLs(cfg *EtcdAdmConfig) error
func DefaultServerCertSANs ¶
func DefaultServerCertSANs(cfg *EtcdAdmConfig)
func InitialClusterInit ¶
func InitialClusterInit(cfg *EtcdAdmConfig) string
func SetDownloadDynamicDefaults ¶
func SetDownloadDynamicDefaults(cfg *EtcdAdmConfig) error
SetDownloadDynamicDefaults checks and sets configuration values used by the download verb
func SetInfoDynamicDefaults ¶
func SetInfoDynamicDefaults(cfg *EtcdAdmConfig) error
SetInfoDynamicDefaults checks and sets configuration values used by the info verb
func SetInitDynamicDefaults ¶
func SetInitDynamicDefaults(cfg *EtcdAdmConfig) error
SetInitDynamicDefaults checks and sets configuration values used by the init verb
func SetJoinDynamicDefaults ¶
func SetJoinDynamicDefaults(cfg *EtcdAdmConfig) error
SetJoinDynamicDefaults checks and sets configuration values used by the join verb
func SetResetDynamicDefaults ¶
func SetResetDynamicDefaults(cfg *EtcdAdmConfig) error
SetResetDynamicDefaults checks and sets configuration values used by the reset verb
Types ¶
type EndpointStatus ¶
type EndpointStatus struct {
EtcdMember
}
type EtcdAdmConfig ¶
type EtcdAdmConfig struct { Version string ReleaseURL string InstallBaseDir string CertificatesDir string DataDir string InstallDir string CacheDir string UnitFile string EnvironmentFile string EtcdExecutable string EtcdctlEnvFile string AdvertisePeerURLs URLList ListenPeerURLs URLList AdvertiseClientURLs URLList ListenClientURLs URLList LoopbackClientURL url.URL // ServerCertSANs sets extra Subject Alternative Names for the etcd server signing cert. ServerCertSANs []string // PeerCertSANs sets extra Subject Alternative Names for the etcd peer signing cert. PeerCertSANs []string Name string InitialCluster string InitialClusterTokenDeclaration string InitialClusterState string // GOMAXPROCS sets the max num of etcd processes will use GOMAXPROCS int }
EtcdAdmConfig holds etcdadm configuration
type EtcdMember ¶
type EtcdMember struct { // ID is the member ID for this member. ID uint64 `json:"ID,omitempty"` // name is the human-readable name of the member. If the member is not started, the name will be an empty string. Name string `json:"name,omitempty"` // peerURLs is the list of URLs the member exposes to the cluster for communication. PeerURLs []string `json:"peerURLs,omitempty"` // clientURLs is the list of URLs the member exposes to clients for communication. If the member is not started, clientURLs will be empty. ClientURLs []string `json:"clientURLs,omitempty"` }
Click to show internal directories.
Click to hide internal directories.