Documentation ¶
Index ¶
- Constants
- func New(frontendName string, ...) types.Frontend
- type Tgt
- func (t *Tgt) Endpoint() string
- func (t *Tgt) Expand(size int64) error
- func (t *Tgt) FrontendName() string
- func (t *Tgt) Init(name string, size, sectorSize int64) error
- func (t *Tgt) Shutdown() error
- func (t *Tgt) Startup(rwu types.ReaderWriterUnmapperAt) error
- func (t *Tgt) State() types.State
- func (t *Tgt) Upgrade(name string, size, sectorSize int64, rwu types.ReaderWriterUnmapperAt) error
Constants ¶
View Source
const ( DevPath = "/dev/longhorn/" DefaultTargetID = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.