Documentation ¶
Index ¶
- Constants
- type DataProcessorWrapper
- type Socket
- func (t *Socket) Endpoint() string
- func (t *Socket) Expand(size int64) error
- func (t *Socket) FrontendName() string
- func (t *Socket) GetSocketPath() string
- func (t *Socket) Init(name string, size, sectorSize int64) error
- func (t *Socket) Shutdown() error
- func (t *Socket) Startup(rwu types.ReaderWriterUnmapperAt) error
- func (t *Socket) State() types.State
- func (t *Socket) Upgrade(name string, size, sectorSize int64, rwu types.ReaderWriterUnmapperAt) error
Constants ¶
View Source
const ( SocketDirectory = "/var/run" DevPath = "/dev/longhorn/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataProcessorWrapper ¶
type DataProcessorWrapper struct {
// contains filtered or unexported fields
}
func NewDataProcessorWrapper ¶
func NewDataProcessorWrapper(rwu types.ReaderWriterUnmapperAt) DataProcessorWrapper
func (DataProcessorWrapper) PingResponse ¶
func (d DataProcessorWrapper) PingResponse() error
func (DataProcessorWrapper) ReadAt ¶
func (d DataProcessorWrapper) ReadAt(p []byte, off int64) (n int, err error)
Click to show internal directories.
Click to hide internal directories.