Documentation ¶
Index ¶
- Constants
- type Extent
- func (s Extent) Blocks() uint32
- func (s Extent) HasUriSuffix() bool
- func (s Extent) Padding() uint16
- func (s Extent) SetBlocks(v uint32)
- func (s Extent) SetPadding(v uint16)
- func (s Extent) SetUriPrefix(v uint32)
- func (s Extent) SetUriSuffix(v string) error
- func (s Extent) String() string
- func (s Extent) UriPrefix() uint32
- func (s Extent) UriSuffix() (string, error)
- func (s Extent) UriSuffixBytes() ([]byte, error)
- type Extent_List
- type Extent_Promise
- type ITrie
- type ITrie_List
- type ITrie_Promise
- type VDisc
- func (s VDisc) BlockSize() uint16
- func (s VDisc) Extents() (Extent_List, error)
- func (s VDisc) FsType() (string, error)
- func (s VDisc) FsTypeBytes() ([]byte, error)
- func (s VDisc) HasExtents() bool
- func (s VDisc) HasFsType() bool
- func (s VDisc) HasUris() bool
- func (s VDisc) NewExtents(n int32) (Extent_List, error)
- func (s VDisc) NewUris(n int32) (ITrie_List, error)
- func (s VDisc) SetBlockSize(v uint16)
- func (s VDisc) SetExtents(v Extent_List) error
- func (s VDisc) SetFsType(v string) error
- func (s VDisc) SetUris(v ITrie_List) error
- func (s VDisc) String() string
- func (s VDisc) Uris() (ITrie_List, error)
- type VDisc_List
- type VDisc_Promise
Constants ¶
const Extent_TypeID = 0xa4d7434c98251eb9
Extent_TypeID is the unique identifier for the type Extent.
const ITrie_TypeID = 0xb59ee0bfc7a99f7e
ITrie_TypeID is the unique identifier for the type ITrie.
const VDisc_TypeID = 0xedec5a16c6a1a062
VDisc_TypeID is the unique identifier for the type VDisc.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extent ¶
func (Extent) HasUriSuffix ¶
func (Extent) SetPadding ¶
func (Extent) SetUriPrefix ¶
func (Extent) SetUriSuffix ¶
func (Extent) UriSuffixBytes ¶
type Extent_List ¶
Extent_List is a list of Extent.
func NewExtent_List ¶
func NewExtent_List(s *capnp.Segment, sz int32) (Extent_List, error)
NewExtent creates a new list of Extent.
func (Extent_List) At ¶
func (s Extent_List) At(i int) Extent
func (Extent_List) String ¶
func (s Extent_List) String() string
type Extent_Promise ¶
Extent_Promise is a wrapper for a Extent promised by a client call.
func (Extent_Promise) Struct ¶
func (p Extent_Promise) Struct() (Extent, error)
type ITrie_List ¶
ITrie_List is a list of ITrie.
func NewITrie_List ¶
func NewITrie_List(s *capnp.Segment, sz int32) (ITrie_List, error)
NewITrie creates a new list of ITrie.
func (ITrie_List) At ¶
func (s ITrie_List) At(i int) ITrie
func (ITrie_List) String ¶
func (s ITrie_List) String() string
type ITrie_Promise ¶
ITrie_Promise is a wrapper for a ITrie promised by a client call.
func (ITrie_Promise) Struct ¶
func (p ITrie_Promise) Struct() (ITrie, error)
type VDisc ¶
func (VDisc) Extents ¶
func (s VDisc) Extents() (Extent_List, error)
func (VDisc) FsTypeBytes ¶
func (VDisc) HasExtents ¶
func (VDisc) NewExtents ¶
func (s VDisc) NewExtents(n int32) (Extent_List, error)
NewExtents sets the extents field to a newly allocated Extent_List, preferring placement in s's segment.
func (VDisc) NewUris ¶
func (s VDisc) NewUris(n int32) (ITrie_List, error)
NewUris sets the uris field to a newly allocated ITrie_List, preferring placement in s's segment.
func (VDisc) SetBlockSize ¶
func (VDisc) SetExtents ¶
func (s VDisc) SetExtents(v Extent_List) error
func (VDisc) SetUris ¶
func (s VDisc) SetUris(v ITrie_List) error
func (VDisc) Uris ¶
func (s VDisc) Uris() (ITrie_List, error)
type VDisc_List ¶
VDisc_List is a list of VDisc.
func NewVDisc_List ¶
func NewVDisc_List(s *capnp.Segment, sz int32) (VDisc_List, error)
NewVDisc creates a new list of VDisc.
func (VDisc_List) At ¶
func (s VDisc_List) At(i int) VDisc
func (VDisc_List) String ¶
func (s VDisc_List) String() string
type VDisc_Promise ¶
VDisc_Promise is a wrapper for a VDisc promised by a client call.
func (VDisc_Promise) Struct ¶
func (p VDisc_Promise) Struct() (VDisc, error)