Documentation
¶
Index ¶
- func IsCapable() bool
- func WithLogger(log *plog.Logger) funcopt.O
- type T
- func (t T) Activate(ctx context.Context) error
- func (t *T) Create(ctx context.Context, level string, devs []string, spares int, layout string, ...) error
- func (t T) Deactivate(ctx context.Context) error
- func (t T) Devices(ctx context.Context) (device.L, error)
- func (t T) DisableAutoActivation() error
- func (t T) Exists(ctx context.Context) (bool, error)
- func (t T) IsActive(ctx context.Context) (bool, string, error)
- func (t T) IsAutoActivated() bool
- func (t T) Remove(ctx context.Context) error
- func (t T) Resync(ctx context.Context) error
- func (t T) UUID() string
- func (t T) Wipe(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (T) DisableAutoActivation ¶
func (T) IsAutoActivated ¶
Click to show internal directories.
Click to hide internal directories.