storagenode

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

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

func New

func New(t *testing.T, opts ...Option) *Node

func (*Node) Address

func (node *Node) Address() string

func (*Node) Name

func (node *Node) Name() string

func (*Node) Running

func (node *Node) Running() bool

func (*Node) Start

func (node *Node) Start(t *testing.T)

func (*Node) Stop

func (node *Node) Stop(t *testing.T)

func (*Node) StorageNodeID

func (node *Node) StorageNodeID() types.StorageNodeID

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithAddress

func WithAddress(addr string) Option

func WithClusterID

func WithClusterID(cid types.ClusterID) Option

func WithExecutable

func WithExecutable(executable string) Option

func WithLogger

func WithLogger(logger *zap.Logger) Option

func WithNodeName

func WithNodeName(name string) Option

func WithStorageNodeID

func WithStorageNodeID(snid types.StorageNodeID) Option

func WithVolumes

func WithVolumes(volumes ...string) Option

Jump to

Keyboard shortcuts

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