md

package
v0.0.0-...-0a8b275 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCapable

func IsCapable() bool

func WithLogger

func WithLogger(log *plog.Logger) funcopt.O

Types

type T

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

func New

func New(name string, uuid string, opts ...funcopt.O) *T

func (T) Activate

func (t T) Activate() error

func (*T) Create

func (t *T) Create(level string, devs []string, spares int, layout string, chunk *int64) error

func (T) Deactivate

func (t T) Deactivate() error

func (T) Devices

func (t T) Devices() (device.L, error)

func (T) DisableAutoActivation

func (t T) DisableAutoActivation() error

func (T) Exists

func (t T) Exists() (bool, error)

func (T) IsActive

func (t T) IsActive() (bool, string, error)

func (T) IsAutoActivated

func (t T) IsAutoActivated() bool

func (T) Remove

func (t T) Remove() error

func (T) Resync

func (t T) Resync() error

func (T) UUID

func (t T) UUID() string

func (T) Wipe

func (t T) Wipe() error

Jump to

Keyboard shortcuts

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