etcd

package
v0.7.2-beta.19 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Etcd

type Etcd struct {
	BaseOperations
	// contains filtered or unexported fields
}

func NewEtcd

func NewEtcd() *Etcd

NewEtcd returns a new etcd binding instance.

func (*Etcd) GetLogger

func (e *Etcd) GetLogger() logr.Logger

func (*Etcd) GetRole

func (e *Etcd) GetRole(ctx context.Context, req *ProbeRequest, resp *ProbeResponse) (string, error)

func (*Etcd) GetRoleOps

func (e *Etcd) GetRoleOps(ctx context.Context, req *ProbeRequest, resp *ProbeResponse) (OpsResult, error)

func (*Etcd) GetRunningPort

func (e *Etcd) GetRunningPort() int

func (*Etcd) Init

func (e *Etcd) Init(metadata component.Properties) error

func (*Etcd) InitDelay

func (e *Etcd) InitDelay() error

func (*Etcd) InternalExec

func (e *Etcd) InternalExec(ctx context.Context, sql string) (int64, error)

func (*Etcd) InternalQuery

func (e *Etcd) InternalQuery(ctx context.Context, sql string) ([]byte, error)

func (*Etcd) StatusCheck

func (e *Etcd) StatusCheck(ctx context.Context, cmd string, response *ProbeResponse) ([]byte, error)

Jump to

Keyboard shortcuts

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