md

package
v3.0.0-beta13 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 16 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(ctx context.Context) error

func (*T) Create

func (t *T) Create(ctx context.Context, level string, devs []string, spares int, layout string, chunk *int64, bitmap string) error

func (T) Deactivate

func (t T) Deactivate(ctx context.Context) error

func (T) Devices

func (t T) Devices(ctx context.Context) (device.L, error)

func (T) DisableAutoActivation

func (t T) DisableAutoActivation() error

func (T) Exists

func (t T) Exists(ctx context.Context) (bool, error)

func (T) IsActive

func (t T) IsActive(ctx context.Context) (bool, string, error)

func (T) IsAutoActivated

func (t T) IsAutoActivated() bool

func (T) Remove

func (t T) Remove(ctx context.Context) error

func (T) Resync

func (t T) Resync(ctx context.Context) error

func (T) UUID

func (t T) UUID() string

func (T) Wipe

func (t T) Wipe(ctx context.Context) error

Jump to

Keyboard shortcuts

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