MCPcopy Create free account

hub / github.com/Merovius/nbd / types & classes

Types & classes38 in github.com/Merovius/nbd

↓ 1 callersTypeAliasServerFlags
ServerFlags specify what optional features the server supports.
nbdnl/nbd.go:148
↓ 1 callersTypeAliaserrno
types.go:160
StructBlockSizeConstraints
BlockSizeConstraints optionally specifies possible block sizes for a given export.
handshake.go:38
StructClient
Client performs the client-side of the NBD network protocol handshake and can be used to query information about the exports from a server.
handshake.go:134
TypeAliasClientFlags
ClientFlags are flags configuring client behavior.
nbdnl/nbd.go:136
FuncTypeConnectOption
ConnectOption is an optional setting to configure the in-kernel NBD client.
nbdnl/nbd.go:111
InterfaceDevice
Device is the interface that should be implemented to expose an NBD device to the network or the kernel. Errors returned should implement Error - othe
transmission.go:37
StructDeviceStatus
DeviceStatus is the status of an NBD device.
nbdnl/nbd.go:390
TypeAliasErrno
Errno is an error code suitable to be sent over the wire. It mostly corresponds to syscall.Errno, though the constants in this package are specified a
types.go:419
InterfaceError
Error combines the normal error interface with an Errno method, that returns an NBD error number. All of Device's methods should return an Error - oth
transmission.go:29
StructExport
Export specifies the data needed for the NBD network protocol.
handshake.go:27
StructconnParameters
handshake.go:46
StructconnectCmd
cmd/nbd/connect.go:37
Structcrashable
cmd/nbd/lo.go:109
StructctxRW
ctxRW wraps a net.Conn to respect context cancellation. It does so by starting a goroutine that sets the connection's read/write deadline in the past
transmission.go:169
StructdiscCmd
cmd/nbd/disc.go:32
Structencoder
encoder provides helper methods for easy de-/encoding of binary data. If an error occurs, it calls check, which is expected to panic if its non-nil. I
handshake.go:345
Structerrf
types.go:455
StructindexFlag
cmd/nbd/nbd.go:40
StructinfoBlockSize
types.go:354
StructinfoDescription
types.go:334
StructinfoExport
types.go:293
StructinfoName
types.go:314
StructlistCmd
cmd/nbd/list.go:36
StructloCmd
cmd/nbd/lo.go:37
StructoptAbort
types.go:94
StructoptExportName
types.go:83
StructoptInfo
types.go:120
StructoptList
types.go:107
InterfaceoptionReply
types.go:200
InterfaceoptionRequest
types.go:36
StructrepAck
types.go:224
StructrepError
types.go:378
StructrepServer
types.go:236
Structrequest
types.go:492
StructserveCmd
cmd/nbd/serve.go:34
StructsimpleReply
types.go:536
StructstructuredReply
types.go:561