Documentation ¶
Index ¶
- func AddMemberOp(cp []*cke.Node, targetNode *cke.Node, params cke.EtcdParams, domain string) cke.Operator
- func BootOp(nodes []*cke.Node, params cke.EtcdParams, domain string) cke.Operator
- func BuiltInParams(node *cke.Node, initialCluster []string, state string) cke.ServiceParams
- func DestroyMemberOp(cp []*cke.Node, targets []*cke.Node, ids []uint64) cke.Operator
- func RemoveMemberOp(cp []*cke.Node, members []*etcdserverpb.Member) cke.Operator
- func RestartOp(cpNodes []*cke.Node, target *cke.Node, params cke.EtcdParams) cke.Operator
- func StartOp(nodes []*cke.Node, params cke.EtcdParams, domain string) cke.Operator
- func WaitClusterOp(nodes []*cke.Node) cke.Operator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMemberOp ¶
func AddMemberOp(cp []*cke.Node, targetNode *cke.Node, params cke.EtcdParams, domain string) cke.Operator
AddMemberOp returns an Operator to add member to etcd cluster.
func BuiltInParams ¶
BuiltInParams returns etcd parameters.
func DestroyMemberOp ¶
DestroyMemberOp returns an Operator to remove and destroy a member.
func RemoveMemberOp ¶
RemoveMemberOp returns an Operator to remove member from etcd cluster.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.