Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugString ¶
func DebugString(o interface{}) string
Types ¶
type EtcdClusterSpec ¶
type EtcdClusterSpec struct { // ClusterKey is a key that identifies the etcd cluster (main or events) ClusterKey string `json:"clusterKey,omitempty"` // NodeName is my nodename in the cluster NodeName string `json:"nodeName,omitempty"` // NodeNames is a collection of node members in the cluster NodeNames []string `json:"nodeNames,omitempty"` }
EtcdClusterSpec is configuration for the etcd cluster
func ParseEtcdClusterSpec ¶
func ParseEtcdClusterSpec(clusterKey, v string) (*EtcdClusterSpec, error)
ParseEtcdClusterSpec parses a tag on a volume that encodes an etcd cluster role The format is "<myname>/<allnames>", e.g. "node1/node1,node2,node3"
func (*EtcdClusterSpec) String ¶
func (e *EtcdClusterSpec) String() string
String returns a string representation of the EtcdClusterSpec
Click to show internal directories.
Click to hide internal directories.