etcdserver

package
v0.10.13 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.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 EtcdServerClient

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

Client structure

func NewEtcdServerClient

func NewEtcdServerClient(cloudFQDN string, authorizer auth.Authorizer) (*EtcdServerClient, error)

NewClient method returns new client

func (*EtcdServerClient) CreateOrUpdate

func (c *EtcdServerClient) CreateOrUpdate(ctx context.Context, group, name string, server *etcdcluster.EtcdServer) (*etcdcluster.EtcdServer, error)

CreateOrUpdate methods invokes create or update on the client

func (*EtcdServerClient) Delete

func (c *EtcdServerClient) Delete(ctx context.Context, group, name, clusterName string) error

Delete methods invokes delete of the etcdcluster resource

func (*EtcdServerClient) Get

func (c *EtcdServerClient) Get(ctx context.Context, group, name, clusterName string) (*[]etcdcluster.EtcdServer, error)

Get methods invokes the client Get method

type Service

Service interface

Jump to

Keyboard shortcuts

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