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) Shutdown() error
- func (t *Tgt) Startup(name string, size, sectorSize int64, rw types.ReaderWriterAt) error
- func (t *Tgt) State() types.State
- func (t *Tgt) Upgrade(name string, size, sectorSize int64, rw types.ReaderWriterAt) 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.