Documentation ¶
Index ¶
- type Node
- type Option
- func WithAddress(addr string) Option
- func WithClusterID(cid types.ClusterID) Option
- func WithExecutable(executable string) Option
- func WithLogger(logger *zap.Logger) Option
- func WithNodeName(name string) Option
- func WithStorageNodeID(snid types.StorageNodeID) Option
- func WithVolumes(volumes ...string) Option
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 (*Node) StorageNodeID ¶
func (node *Node) StorageNodeID() types.StorageNodeID
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithAddress ¶
func WithClusterID ¶
func WithExecutable ¶
func WithLogger ¶
func WithNodeName ¶
func WithStorageNodeID ¶
func WithStorageNodeID(snid types.StorageNodeID) Option
func WithVolumes ¶
Click to show internal directories.
Click to hide internal directories.