etcd

package
v2.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is an etcd client that can be used to remove a member from an etcd cluster.

func New

func New(k8sClient client.Client) (*Client, error)

New creates a new Client.

func (*Client) Close

func (c *Client) Close() error

Close shuts down the client's etcd connections.

func (*Client) RemoveEtcdMemberFromCluster

func (c *Client) RemoveEtcdMemberFromCluster(ctx context.Context, vpcIP string) error

RemoveEtcdMemberFromCluster removes an etcd member from the cluster.

Jump to

Keyboard shortcuts

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