kubernetes/vendor/go.etcd.io/etcd/client/v3/kubernetes/client.go

// New creates Client from config.
// Caller is responsible to call Close() to clean up client.
func New(cfg clientv3.Config) (*Client, error) {}

type Client

var _

func (k Client) Get(ctx context.Context, key string, opts GetOptions) (resp GetResponse, err error) {}

func (k Client) List(ctx context.Context, prefix string, opts ListOptions) (resp ListResponse, err error) {}

func (k Client) Count(ctx context.Context, prefix string, _ CountOptions) (int64, error) {}

func (k Client) OptimisticPut(ctx context.Context, key string, value []byte, expectedRevision int64, opts PutOptions) (resp PutResponse, err error) {}

func (k Client) OptimisticDelete(ctx context.Context, key string, expectedRevision int64, opts DeleteOptions) (resp DeleteResponse, err error) {}

func kvFromTxnResponse(resp *pb.ResponseOp) *mvccpb.KeyValue {}