etcd

package
v1.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 BootOp

func BootOp(nodes []*cke.Node, params cke.EtcdParams, domain string) cke.Operator

BootOp returns an Operator to bootstrap etcd cluster.

func BuiltInParams

func BuiltInParams(node *cke.Node, initialCluster []string, state string) cke.ServiceParams

BuiltInParams returns etcd parameters.

func DestroyMemberOp

func DestroyMemberOp(cp []*cke.Node, targets []*cke.Node, ids []uint64) cke.Operator

DestroyMemberOp returns an Operator to remove and destroy a member.

func RemoveMemberOp

func RemoveMemberOp(cp []*cke.Node, members []*etcdserverpb.Member) cke.Operator

RemoveMemberOp returns an Operator to remove member from etcd cluster.

func RestartOp

func RestartOp(cpNodes []*cke.Node, target *cke.Node, params cke.EtcdParams) cke.Operator

RestartOp returns an Operator to restart an etcd member.

func StartOp

func StartOp(nodes []*cke.Node, params cke.EtcdParams, domain string) cke.Operator

StartOp returns an Operator to start etcd containers.

func WaitClusterOp

func WaitClusterOp(nodes []*cke.Node) cke.Operator

WaitClusterOp returns an Operator to wait until etcd cluster becomes healthy

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL