Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyNewIPRange ¶
ApplyNewIPRange is used to apply IP range from ectd
Types ¶
type AuthCfg ¶
type AuthCfg struct { Client AuthClient `json:"client"` Peer AuthPeer `json:"peer"` }
type AuthClient ¶
type EtcdJSONCfg ¶
type EtcdJSONCfg struct { Name string `json:"name"` Endpoints string `json:"endpoints"` // Namespace string `json:"namespace"` // ClientPort string `json:"clientPort"` // Replicas int `json:"replicas` Auth AuthCfg `json:"auth"` }
EtcdJSONCfg is the struct of stored etcd information
Click to show internal directories.
Click to hide internal directories.