etcd

package
v0.7.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEtcd

func NewEtcd(logger logger.Logger) bindings.OutputBinding

NewEtcd returns a new etcd binding instance.

Types

type Etcd

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

func (*Etcd) GetRole

func (e *Etcd) GetRole(ctx context.Context, req *bindings.InvokeRequest, resp *bindings.InvokeResponse) (string, error)

func (*Etcd) GetRoleOps

func (e *Etcd) GetRoleOps(ctx context.Context, req *bindings.InvokeRequest, resp *bindings.InvokeResponse) (OpsResult, error)

func (*Etcd) GetRunningPort

func (e *Etcd) GetRunningPort() int

func (*Etcd) Init

func (e *Etcd) Init(metadata bindings.Metadata) error

func (*Etcd) InitDelay

func (e *Etcd) InitDelay() error

func (*Etcd) StatusCheck

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

Jump to

Keyboard shortcuts

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