proto

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package proto contains mostly auto-generated code for parsing/packing SCION capnp messages, as well as some helper functions to working with capnp in Go simpler.

The helper functions are all contained in cereal.go. They provide a simple interface to read/write any capnp messages that have a Go representation, relying on https://godoc.org/zombiezen.com/go/capnproto2/pogs to do the heavy lifting.

One thing to note is that these helper functions generally only operate on complete capnp messages. If you, for example, want to create an IFID proto, that needs to be nested inside a SCION control message. For example:

// Create new ifid instance
ifid1 := &ifid.IFID{OrigIfID: uint64(ifID)}
// Wrap it in a SCION control message.
cpld1, _ := ctrl.NewPld(ifid1)
// Pack the ctrl message to bytes.
b, _ := PackRoot(cpld1)
// Parse new ctrl message from bytes.
cpld2, _ := ParseFromRaw(b)
// Access the contents (unnamed union).
cont, _ := cpld2.Contents()
// Interface-assertion to IFID type.
ifid2 := cont.(*ifid.IFID)

Index

Constants

View Source
const ASEntry_TypeID = 0xd4a209e8e78874ff

ASEntry_TypeID is the unique identifier for the type ASEntry.

View Source
const Ack_ErrCode_TypeID = 0xdf6d763cff9bd528

Ack_ErrCode_TypeID is the unique identifier for the type Ack_ErrCode.

View Source
const Ack_TypeID = 0xf0ad983ad234aedc

Ack_TypeID is the unique identifier for the type Ack.

View Source
const AllocationBead_TypeID = 0xc8ba760a91de682a

AllocationBead_TypeID is the unique identifier for the type AllocationBead.

View Source
const ColibriRequestPayload_TypeID = 0xc571cc47a792000f

ColibriRequestPayload_TypeID is the unique identifier for the type ColibriRequestPayload.

View Source
const CtrlPld_TypeID = 0x8e6af2c877489f54

CtrlPld_TypeID is the unique identifier for the type CtrlPld.

View Source
const DRKeyMgmt_TypeID = 0xb1bdb7d6fb13f1ca

DRKeyMgmt_TypeID is the unique identifier for the type DRKeyMgmt.

View Source
const DRKeyRep_TypeID = 0xc3fe25dd82681d64

DRKeyRep_TypeID is the unique identifier for the type DRKeyRep.

View Source
const DRKeyReq_TypeID = 0x9f50d21c9d4ce7ef

DRKeyReq_TypeID is the unique identifier for the type DRKeyReq.

View Source
const E2EBase_TypeID = 0x830a81292c60dfee

E2EBase_TypeID is the unique identifier for the type E2EBase.

View Source
const E2ECleanupData_TypeID = 0x96ec60724ebd66d7

E2ECleanupData_TypeID is the unique identifier for the type E2ECleanupData.

View Source
const E2ECleanupResData_TypeID = 0xe04f6146370056c9

E2ECleanupResData_TypeID is the unique identifier for the type E2ECleanupResData.

View Source
const E2EReservationID_TypeID = 0xf621d7829e171884

E2EReservationID_TypeID is the unique identifier for the type E2EReservationID.

View Source
const E2ESetupReqData_TypeID = 0xfb1a873660b7e310

E2ESetupReqData_TypeID is the unique identifier for the type E2ESetupReqData.

View Source
const E2ESetupResData_TypeID = 0xb65a7701e86386b2

E2ESetupResData_TypeID is the unique identifier for the type E2ESetupResData.

View Source
const HPCfgReply_TypeID = 0xb27bf6e10de2aa8c

HPCfgReply_TypeID is the unique identifier for the type HPCfgReply.

View Source
const HPCfgReq_TypeID = 0xd24bad15bb2bab5e

HPCfgReq_TypeID is the unique identifier for the type HPCfgReq.

View Source
const HPCfg_TypeID = 0xf307100ab87a1963

HPCfg_TypeID is the unique identifier for the type HPCfg.

View Source
const HPGroupId_TypeID = 0xba21c7133ee44518

HPGroupId_TypeID is the unique identifier for the type HPGroupId.

View Source
const HPSegRecs_TypeID = 0xa56b96c8b25ce2e1

HPSegRecs_TypeID is the unique identifier for the type HPSegRecs.

View Source
const HPSegReply_TypeID = 0xaaf7fd9241668ed6

HPSegReply_TypeID is the unique identifier for the type HPSegReply.

View Source
const HPSegReq_TypeID = 0x8f51e8717b3fbe1c

HPSegReq_TypeID is the unique identifier for the type HPSegReq.

View Source
const HiddenPathSegExtn_TypeID = 0xff79b399e1e58cf3

HiddenPathSegExtn_TypeID is the unique identifier for the type HiddenPathSegExtn.

View Source
const HopEntry_TypeID = 0x8bb1ddafb4872b0b

HopEntry_TypeID is the unique identifier for the type HopEntry.

View Source
const HostInfo_TypeID = 0xe02e04db98f2686a

HostInfo_TypeID is the unique identifier for the type HostInfo.

View Source
const ISDAnnouncementExt_TypeID = 0xc586650e812cc6a1

ISDAnnouncementExt_TypeID is the unique identifier for the type ISDAnnouncementExt.

View Source
const LinkType_TypeID = 0x916c98f48c9bbb64

LinkType_TypeID is the unique identifier for the type LinkType.

View Source
const PCB_TypeID = 0xd6c04763377951e5

PCB_TypeID is the unique identifier for the type PCB.

View Source
const PathEndProps_TypeID = 0xbcacff128f5ddd26

PathEndProps_TypeID is the unique identifier for the type PathEndProps.

View Source
const PathMgmt_TypeID = 0xa12cfa420c9ad0ca

PathMgmt_TypeID is the unique identifier for the type PathMgmt.

View Source
const PathSegMeta_TypeID = 0x9f98567b3c0aba0f

PathSegMeta_TypeID is the unique identifier for the type PathSegMeta.

View Source
const PathSegType_TypeID = 0xa1f7a9650aa23880

PathSegType_TypeID is the unique identifier for the type PathSegType.

View Source
const PathSegmentSignedData_TypeID = 0xc7cf7a18177aec2a

PathSegmentSignedData_TypeID is the unique identifier for the type PathSegmentSignedData.

View Source
const PathSegment_TypeID = 0x939cc09a86ba70fa

PathSegment_TypeID is the unique identifier for the type PathSegment.

View Source
const Request_TypeID = 0xe16d5facdcc87244

Request_TypeID is the unique identifier for the type Request.

View Source
const ReservationIndexState_TypeID = 0xc790178ff054f9a1

ReservationIndexState_TypeID is the unique identifier for the type ReservationIndexState.

View Source
const Response_TypeID = 0xe0c72f2fd9ed587d

Response_TypeID is the unique identifier for the type Response.

View Source
const RevInfo_TypeID = 0xe40561cf10a34bc8

RevInfo_TypeID is the unique identifier for the type RevInfo.

View Source
const RoutingPolicyExt_TypeID = 0x96c1dab83835e4f9

RoutingPolicyExt_TypeID is the unique identifier for the type RoutingPolicyExt.

View Source
const SIGAddr_TypeID = 0xddf1fce11d9b0028

SIGAddr_TypeID is the unique identifier for the type SIGAddr.

View Source
const SIGCtrl_TypeID = 0xe15e242973323d08

SIGCtrl_TypeID is the unique identifier for the type SIGCtrl.

View Source
const SIGPoll_TypeID = 0x9ad73a0235a46141

SIGPoll_TypeID is the unique identifier for the type SIGPoll.

View Source
const SVCResolutionReply_TypeID = 0x85b2cdeba075551b

SVCResolutionReply_TypeID is the unique identifier for the type SVCResolutionReply.

View Source
const SegIds_TypeID = 0xabf979c3f68dae4b

SegIds_TypeID is the unique identifier for the type SegIds.

View Source
const SegmentBase_TypeID = 0x9668b2a783bf3465

SegmentBase_TypeID is the unique identifier for the type SegmentBase.

View Source
const SegmentCleanupData_TypeID = 0xd3e56d3f1e39ca3c

SegmentCleanupData_TypeID is the unique identifier for the type SegmentCleanupData.

View Source
const SegmentCleanupResData_TypeID = 0xa6f94955f188b848

SegmentCleanupResData_TypeID is the unique identifier for the type SegmentCleanupResData.

View Source
const SegmentIndexConfirmationData_TypeID = 0xc4264f5cf728f9ac

SegmentIndexConfirmationData_TypeID is the unique identifier for the type SegmentIndexConfirmationData.

View Source
const SegmentIndexConfirmationResData_TypeID = 0xaaff46584917b361

SegmentIndexConfirmationResData_TypeID is the unique identifier for the type SegmentIndexConfirmationResData.

View Source
const SegmentReservationID_TypeID = 0x8eeec8f2d8e7feb5

SegmentReservationID_TypeID is the unique identifier for the type SegmentReservationID.

View Source
const SegmentSetupReqData_TypeID = 0xa26d74bea4eb287e

SegmentSetupReqData_TypeID is the unique identifier for the type SegmentSetupReqData.

View Source
const SegmentSetupResData_TypeID = 0xaa345154c72e2fa5

SegmentSetupResData_TypeID is the unique identifier for the type SegmentSetupResData.

View Source
const SegmentTeardownReqData_TypeID = 0xa53b4bed5b0bc568

SegmentTeardownReqData_TypeID is the unique identifier for the type SegmentTeardownReqData.

View Source
const SegmentTeardownResData_TypeID = 0x8bd6c2ab5c4cf984

SegmentTeardownResData_TypeID is the unique identifier for the type SegmentTeardownResData.

View Source
const SegmentTelesSetupData_TypeID = 0xa953af3d8be428ba

SegmentTelesSetupData_TypeID is the unique identifier for the type SegmentTelesSetupData.

View Source
const ServiceType_TypeID = 0xe2522d291bd06774

ServiceType_TypeID is the unique identifier for the type ServiceType.

View Source
const SibraPCBExt_TypeID = 0xb8fde9b959e9608d

SibraPCBExt_TypeID is the unique identifier for the type SibraPCBExt.

View Source
const SibraPayload_TypeID = 0xf231c8f55f84c390

SibraPayload_TypeID is the unique identifier for the type SibraPayload.

View Source
const SignType_TypeID = 0xf6b5bc42e3072fc9

SignType_TypeID is the unique identifier for the type SignType.

View Source
const Sign_TypeID = 0x844d9464f44e810a

Sign_TypeID is the unique identifier for the type Sign.

View Source
const SignedBlob_TypeID = 0x9f32478537fae352

SignedBlob_TypeID is the unique identifier for the type SignedBlob.

View Source
const SignedCtrlPld_TypeID = 0xc34ac578b174f099

SignedCtrlPld_TypeID is the unique identifier for the type SignedCtrlPld.

View Source
const StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_TypeID = 0xd0676003f5393449

StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_TypeID is the unique identifier for the type StaticInfoExtn_BandwidthInfo_InterfaceBandwidth.

View Source
const StaticInfoExtn_BandwidthInfo_TypeID = 0xc6ff25e3b262348a

StaticInfoExtn_BandwidthInfo_TypeID is the unique identifier for the type StaticInfoExtn_BandwidthInfo.

View Source
const StaticInfoExtn_GeoInfo_Location_Coordinates_TypeID = 0xc7a6dc5be99844b2

StaticInfoExtn_GeoInfo_Location_Coordinates_TypeID is the unique identifier for the type StaticInfoExtn_GeoInfo_Location_Coordinates.

View Source
const StaticInfoExtn_GeoInfo_Location_TypeID = 0xddd46d94d5f5ee47

StaticInfoExtn_GeoInfo_Location_TypeID is the unique identifier for the type StaticInfoExtn_GeoInfo_Location.

View Source
const StaticInfoExtn_GeoInfo_TypeID = 0xd8c2ba2779275a74

StaticInfoExtn_GeoInfo_TypeID is the unique identifier for the type StaticInfoExtn_GeoInfo.

View Source
const StaticInfoExtn_InternalHopsInfo_InterfaceHops_TypeID = 0xcd7606ede67cf290

StaticInfoExtn_InternalHopsInfo_InterfaceHops_TypeID is the unique identifier for the type StaticInfoExtn_InternalHopsInfo_InterfaceHops.

View Source
const StaticInfoExtn_InternalHopsInfo_TypeID = 0xeb06bcceba87669a

StaticInfoExtn_InternalHopsInfo_TypeID is the unique identifier for the type StaticInfoExtn_InternalHopsInfo.

View Source
const StaticInfoExtn_LatencyInfo_ChildLatency_TypeID = 0x885e742db1fb5301

StaticInfoExtn_LatencyInfo_ChildLatency_TypeID is the unique identifier for the type StaticInfoExtn_LatencyInfo_ChildLatency.

View Source
const StaticInfoExtn_LatencyInfo_PeerLatency_TypeID = 0xea318fecf64edd5a

StaticInfoExtn_LatencyInfo_PeerLatency_TypeID is the unique identifier for the type StaticInfoExtn_LatencyInfo_PeerLatency.

View Source
const StaticInfoExtn_LatencyInfo_TypeID = 0x92ae8103dd768751

StaticInfoExtn_LatencyInfo_TypeID is the unique identifier for the type StaticInfoExtn_LatencyInfo.

View Source
const StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_TypeID = 0x9ab6cd3b4d0d17c7

StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_TypeID is the unique identifier for the type StaticInfoExtn_LinkTypeInfo_InterfaceLinkType.

View Source
const StaticInfoExtn_LinkTypeInfo_LinkType_TypeID = 0xb83b1b1b174f8aec

StaticInfoExtn_LinkTypeInfo_LinkType_TypeID is the unique identifier for the type StaticInfoExtn_LinkTypeInfo_LinkType.

View Source
const StaticInfoExtn_LinkTypeInfo_TypeID = 0xb4b9b8f861554bad

StaticInfoExtn_LinkTypeInfo_TypeID is the unique identifier for the type StaticInfoExtn_LinkTypeInfo.

View Source
const StaticInfoExtn_TypeID = 0xdb505e3694652d57

StaticInfoExtn_TypeID is the unique identifier for the type StaticInfoExtn.

View Source
const Transport_TypeID = 0xdec7fa6a5148fde5

Transport_TypeID is the unique identifier for the type Transport.

Variables

This section is empty.

Functions

func NewRootStruct added in v0.4.0

func NewRootStruct(id ProtoIdType, seg *capnp.Segment) (capnp.Struct, error)

NewRootStruct calls the appropriate NewRoot<x> function corresponding to the capnp proto type ID, and returns the inner capnp.Struct that it receives. This allows the helper functions in cereal.go to support generic capnp root struct types.

func PackRoot

func PackRoot(c Cerealizable) (common.RawBytes, error)

PackRoot creates a complete capnp message for c, and returns it encoded as bytes.

func ParseFromRaw

func ParseFromRaw(c Cerealizable, b common.RawBytes) error

ParseFromRaw is a utility function, which reads a capnp message from b and parses it into c.

func ParseFromReader

func ParseFromReader(c Cerealizable, r io.Reader) error

ParseFromReader is a utility function, which reads a capnp message from r and parses it into c.

func SafeDecode added in v0.4.0

func SafeDecode(decoder *capnp.Decoder) (msg *capnp.Message, err error)

SafeDecode calls the decode method on the argument, converting panics to errors.

func SafeExtract added in v0.4.0

func SafeExtract(val interface{}, typeID uint64, s capnp.Struct) (err error)

SafeExtract calls pogs.Extract, converting panics to errors.

func SerializeTo added in v0.4.0

func SerializeTo(c Cerealizable, wr io.Writer) error

SerializeTo writes a Cerealizable object to an io.Writer.

func WriteRoot

func WriteRoot(c Cerealizable, b common.RawBytes) (int, error)

WriteRoot creates a complete capnp message for c, and writes it out to b. The int return value is the number of bytes written.

Types

type ASEntry added in v0.4.0

type ASEntry struct{ capnp.Struct }

func NewASEntry added in v0.4.0

func NewASEntry(s *capnp.Segment) (ASEntry, error)

func NewRootASEntry added in v0.4.0

func NewRootASEntry(s *capnp.Segment) (ASEntry, error)

func ReadRootASEntry added in v0.4.0

func ReadRootASEntry(msg *capnp.Message) (ASEntry, error)

func (ASEntry) CertVer added in v0.4.0

func (s ASEntry) CertVer() uint64

func (ASEntry) Exts added in v0.4.0

func (s ASEntry) Exts() ASEntry_exts

func (ASEntry) GetStruct added in v0.4.0

func (s ASEntry) GetStruct() capnp.Struct

func (ASEntry) HasHops added in v0.4.0

func (s ASEntry) HasHops() bool

func (ASEntry) Hops added in v0.4.0

func (s ASEntry) Hops() (HopEntry_List, error)

func (ASEntry) IfIDSize added in v0.4.0

func (s ASEntry) IfIDSize() uint8

func (ASEntry) Isdas added in v0.4.0

func (s ASEntry) Isdas() uint64

func (ASEntry) Mtu added in v0.4.0

func (s ASEntry) Mtu() uint16

func (ASEntry) NewHops added in v0.4.0

func (s ASEntry) NewHops(n int32) (HopEntry_List, error)

NewHops sets the hops field to a newly allocated HopEntry_List, preferring placement in s's segment.

func (ASEntry) SetCertVer added in v0.4.0

func (s ASEntry) SetCertVer(v uint64)

func (ASEntry) SetHops added in v0.4.0

func (s ASEntry) SetHops(v HopEntry_List) error

func (ASEntry) SetIfIDSize added in v0.4.0

func (s ASEntry) SetIfIDSize(v uint8)

func (ASEntry) SetIsdas added in v0.4.0

func (s ASEntry) SetIsdas(v uint64)

func (ASEntry) SetMtu added in v0.4.0

func (s ASEntry) SetMtu(v uint16)

func (ASEntry) SetTrcVer added in v0.4.0

func (s ASEntry) SetTrcVer(v uint64)

func (ASEntry) String added in v0.4.0

func (s ASEntry) String() string

func (ASEntry) TrcVer added in v0.4.0

func (s ASEntry) TrcVer() uint64

type ASEntry_List added in v0.4.0

type ASEntry_List struct{ capnp.List }

ASEntry_List is a list of ASEntry.

func NewASEntry_List added in v0.4.0

func NewASEntry_List(s *capnp.Segment, sz int32) (ASEntry_List, error)

NewASEntry creates a new list of ASEntry.

func (ASEntry_List) At added in v0.4.0

func (s ASEntry_List) At(i int) ASEntry

func (ASEntry_List) Set added in v0.4.0

func (s ASEntry_List) Set(i int, v ASEntry) error

func (ASEntry_List) String added in v0.4.0

func (s ASEntry_List) String() string

type ASEntry_Promise added in v0.4.0

type ASEntry_Promise struct{ *capnp.Pipeline }

ASEntry_Promise is a wrapper for a ASEntry promised by a client call.

func (ASEntry_Promise) Exts added in v0.4.0

func (ASEntry_Promise) Struct added in v0.4.0

func (p ASEntry_Promise) Struct() (ASEntry, error)

type ASEntry_exts added in v0.4.0

type ASEntry_exts ASEntry

func (ASEntry_exts) HasHiddenPathSeg added in v0.4.0

func (s ASEntry_exts) HasHiddenPathSeg() bool

func (ASEntry_exts) HasRoutingPolicy added in v0.4.0

func (s ASEntry_exts) HasRoutingPolicy() bool

func (ASEntry_exts) HasSibra added in v0.4.0

func (s ASEntry_exts) HasSibra() bool

func (ASEntry_exts) HasStaticInfo added in v0.6.0

func (s ASEntry_exts) HasStaticInfo() bool

func (ASEntry_exts) HiddenPathSeg added in v0.4.0

func (s ASEntry_exts) HiddenPathSeg() (HiddenPathSegExtn, error)

func (ASEntry_exts) NewHiddenPathSeg added in v0.4.0

func (s ASEntry_exts) NewHiddenPathSeg() (HiddenPathSegExtn, error)

NewHiddenPathSeg sets the hiddenPathSeg field to a newly allocated HiddenPathSegExtn struct, preferring placement in s's segment.

func (ASEntry_exts) NewRoutingPolicy added in v0.4.0

func (s ASEntry_exts) NewRoutingPolicy() (RoutingPolicyExt, error)

NewRoutingPolicy sets the routingPolicy field to a newly allocated RoutingPolicyExt struct, preferring placement in s's segment.

func (ASEntry_exts) NewSibra added in v0.4.0

func (s ASEntry_exts) NewSibra() (SibraPCBExt, error)

NewSibra sets the sibra field to a newly allocated SibraPCBExt struct, preferring placement in s's segment.

func (ASEntry_exts) NewStaticInfo added in v0.6.0

func (s ASEntry_exts) NewStaticInfo() (StaticInfoExtn, error)

NewStaticInfo sets the staticInfo field to a newly allocated StaticInfoExtn struct, preferring placement in s's segment.

func (ASEntry_exts) RoutingPolicy added in v0.4.0

func (s ASEntry_exts) RoutingPolicy() (RoutingPolicyExt, error)

func (ASEntry_exts) SetHiddenPathSeg added in v0.4.0

func (s ASEntry_exts) SetHiddenPathSeg(v HiddenPathSegExtn) error

func (ASEntry_exts) SetRoutingPolicy added in v0.4.0

func (s ASEntry_exts) SetRoutingPolicy(v RoutingPolicyExt) error

func (ASEntry_exts) SetSibra added in v0.4.0

func (s ASEntry_exts) SetSibra(v SibraPCBExt) error

func (ASEntry_exts) SetStaticInfo added in v0.6.0

func (s ASEntry_exts) SetStaticInfo(v StaticInfoExtn) error

func (ASEntry_exts) Sibra added in v0.4.0

func (s ASEntry_exts) Sibra() (SibraPCBExt, error)

func (ASEntry_exts) StaticInfo added in v0.6.0

func (s ASEntry_exts) StaticInfo() (StaticInfoExtn, error)

type ASEntry_exts_Promise added in v0.4.0

type ASEntry_exts_Promise struct{ *capnp.Pipeline }

ASEntry_exts_Promise is a wrapper for a ASEntry_exts promised by a client call.

func (ASEntry_exts_Promise) HiddenPathSeg added in v0.4.0

func (ASEntry_exts_Promise) RoutingPolicy added in v0.4.0

func (ASEntry_exts_Promise) Sibra added in v0.4.0

func (ASEntry_exts_Promise) StaticInfo added in v0.6.0

func (ASEntry_exts_Promise) Struct added in v0.4.0

func (p ASEntry_exts_Promise) Struct() (ASEntry_exts, error)

type Ack added in v0.4.0

type Ack struct{ capnp.Struct }

func NewAck added in v0.4.0

func NewAck(s *capnp.Segment) (Ack, error)

func NewRootAck added in v0.4.0

func NewRootAck(s *capnp.Segment) (Ack, error)

func ReadRootAck added in v0.4.0

func ReadRootAck(msg *capnp.Message) (Ack, error)

func (Ack) Err added in v0.4.0

func (s Ack) Err() Ack_ErrCode

func (Ack) ErrDesc added in v0.4.0

func (s Ack) ErrDesc() (string, error)

func (Ack) ErrDescBytes added in v0.4.0

func (s Ack) ErrDescBytes() ([]byte, error)

func (Ack) HasErrDesc added in v0.4.0

func (s Ack) HasErrDesc() bool

func (Ack) SetErr added in v0.4.0

func (s Ack) SetErr(v Ack_ErrCode)

func (Ack) SetErrDesc added in v0.4.0

func (s Ack) SetErrDesc(v string) error

func (Ack) String added in v0.4.0

func (s Ack) String() string

type Ack_ErrCode added in v0.4.0

type Ack_ErrCode uint16
const (
	Ack_ErrCode_ok     Ack_ErrCode = 0
	Ack_ErrCode_retry  Ack_ErrCode = 1
	Ack_ErrCode_reject Ack_ErrCode = 2
)

Values of Ack_ErrCode.

func Ack_ErrCodeFromString added in v0.4.0

func Ack_ErrCodeFromString(c string) Ack_ErrCode

Ack_ErrCodeFromString returns the enum value with a name, or the zero value if there's no such value.

func (Ack_ErrCode) String added in v0.4.0

func (c Ack_ErrCode) String() string

String returns the enum's constant name.

type Ack_ErrCode_List added in v0.4.0

type Ack_ErrCode_List struct{ capnp.List }

func NewAck_ErrCode_List added in v0.4.0

func NewAck_ErrCode_List(s *capnp.Segment, sz int32) (Ack_ErrCode_List, error)

func (Ack_ErrCode_List) At added in v0.4.0

func (Ack_ErrCode_List) Set added in v0.4.0

func (l Ack_ErrCode_List) Set(i int, v Ack_ErrCode)

type Ack_List added in v0.4.0

type Ack_List struct{ capnp.List }

Ack_List is a list of Ack.

func NewAck_List added in v0.4.0

func NewAck_List(s *capnp.Segment, sz int32) (Ack_List, error)

NewAck creates a new list of Ack.

func (Ack_List) At added in v0.4.0

func (s Ack_List) At(i int) Ack

func (Ack_List) Set added in v0.4.0

func (s Ack_List) Set(i int, v Ack) error

func (Ack_List) String added in v0.4.0

func (s Ack_List) String() string

type Ack_Promise added in v0.4.0

type Ack_Promise struct{ *capnp.Pipeline }

Ack_Promise is a wrapper for a Ack promised by a client call.

func (Ack_Promise) Struct added in v0.4.0

func (p Ack_Promise) Struct() (Ack, error)

type AllocationBead added in v0.6.0

type AllocationBead struct{ capnp.Struct }

func NewAllocationBead added in v0.6.0

func NewAllocationBead(s *capnp.Segment) (AllocationBead, error)

func NewRootAllocationBead added in v0.6.0

func NewRootAllocationBead(s *capnp.Segment) (AllocationBead, error)

func ReadRootAllocationBead added in v0.6.0

func ReadRootAllocationBead(msg *capnp.Message) (AllocationBead, error)

func (AllocationBead) AllocBW added in v0.6.0

func (s AllocationBead) AllocBW() uint8

func (AllocationBead) MaxBW added in v0.6.0

func (s AllocationBead) MaxBW() uint8

func (AllocationBead) SetAllocBW added in v0.6.0

func (s AllocationBead) SetAllocBW(v uint8)

func (AllocationBead) SetMaxBW added in v0.6.0

func (s AllocationBead) SetMaxBW(v uint8)

func (AllocationBead) String added in v0.6.0

func (s AllocationBead) String() string

type AllocationBead_List added in v0.6.0

type AllocationBead_List struct{ capnp.List }

AllocationBead_List is a list of AllocationBead.

func NewAllocationBead_List added in v0.6.0

func NewAllocationBead_List(s *capnp.Segment, sz int32) (AllocationBead_List, error)

NewAllocationBead creates a new list of AllocationBead.

func (AllocationBead_List) At added in v0.6.0

func (AllocationBead_List) Set added in v0.6.0

func (AllocationBead_List) String added in v0.6.0

func (s AllocationBead_List) String() string

type AllocationBead_Promise added in v0.6.0

type AllocationBead_Promise struct{ *capnp.Pipeline }

AllocationBead_Promise is a wrapper for a AllocationBead promised by a client call.

func (AllocationBead_Promise) Struct added in v0.6.0

type Cerealizable

type Cerealizable interface {
	fmt.Stringer
	ProtoId() ProtoIdType
}

Cerealizable represents a type which has a corresponding Cap'n Proto (capnp) representation, and supports pogs insertion/extraction.

type ColibriRequestPayload added in v0.5.0

type ColibriRequestPayload struct{ capnp.Struct }

func NewColibriRequestPayload added in v0.5.0

func NewColibriRequestPayload(s *capnp.Segment) (ColibriRequestPayload, error)

func NewRootColibriRequestPayload added in v0.5.0

func NewRootColibriRequestPayload(s *capnp.Segment) (ColibriRequestPayload, error)

func ReadRootColibriRequestPayload added in v0.5.0

func ReadRootColibriRequestPayload(msg *capnp.Message) (ColibriRequestPayload, error)

func (ColibriRequestPayload) GetStruct added in v0.5.0

func (s ColibriRequestPayload) GetStruct() capnp.Struct

func (ColibriRequestPayload) HasRequest added in v0.5.0

func (s ColibriRequestPayload) HasRequest() bool

func (ColibriRequestPayload) HasResponse added in v0.5.0

func (s ColibriRequestPayload) HasResponse() bool

func (ColibriRequestPayload) NewRequest added in v0.5.0

func (s ColibriRequestPayload) NewRequest() (Request, error)

NewRequest sets the request field to a newly allocated Request struct, preferring placement in s's segment.

func (ColibriRequestPayload) NewResponse added in v0.5.0

func (s ColibriRequestPayload) NewResponse() (Response, error)

NewResponse sets the response field to a newly allocated Response struct, preferring placement in s's segment.

func (ColibriRequestPayload) Request added in v0.5.0

func (s ColibriRequestPayload) Request() (Request, error)

func (ColibriRequestPayload) Response added in v0.5.0

func (s ColibriRequestPayload) Response() (Response, error)

func (ColibriRequestPayload) SetRequest added in v0.5.0

func (s ColibriRequestPayload) SetRequest(v Request) error

func (ColibriRequestPayload) SetResponse added in v0.5.0

func (s ColibriRequestPayload) SetResponse(v Response) error

func (ColibriRequestPayload) SetTimestamp added in v0.5.0

func (s ColibriRequestPayload) SetTimestamp(v uint32)

func (ColibriRequestPayload) SetUnset added in v0.5.0

func (s ColibriRequestPayload) SetUnset()

func (ColibriRequestPayload) String added in v0.5.0

func (s ColibriRequestPayload) String() string

func (ColibriRequestPayload) Timestamp added in v0.5.0

func (s ColibriRequestPayload) Timestamp() uint32

func (ColibriRequestPayload) Which added in v0.5.0

type ColibriRequestPayload_List added in v0.5.0

type ColibriRequestPayload_List struct{ capnp.List }

ColibriRequestPayload_List is a list of ColibriRequestPayload.

func NewColibriRequestPayload_List added in v0.5.0

func NewColibriRequestPayload_List(s *capnp.Segment, sz int32) (ColibriRequestPayload_List, error)

NewColibriRequestPayload creates a new list of ColibriRequestPayload.

func (ColibriRequestPayload_List) At added in v0.5.0

func (ColibriRequestPayload_List) Set added in v0.5.0

func (ColibriRequestPayload_List) String added in v0.5.0

type ColibriRequestPayload_Promise added in v0.5.0

type ColibriRequestPayload_Promise struct{ *capnp.Pipeline }

ColibriRequestPayload_Promise is a wrapper for a ColibriRequestPayload promised by a client call.

func (ColibriRequestPayload_Promise) Request added in v0.5.0

func (ColibriRequestPayload_Promise) Response added in v0.5.0

func (ColibriRequestPayload_Promise) Struct added in v0.5.0

type ColibriRequestPayload_Which added in v0.5.0

type ColibriRequestPayload_Which uint16
const (
	ColibriRequestPayload_Which_unset    ColibriRequestPayload_Which = 0
	ColibriRequestPayload_Which_request  ColibriRequestPayload_Which = 1
	ColibriRequestPayload_Which_response ColibriRequestPayload_Which = 2
)

func (ColibriRequestPayload_Which) String added in v0.5.0

type CtrlPld added in v0.4.0

type CtrlPld struct{ capnp.Struct }

func NewCtrlPld added in v0.4.0

func NewCtrlPld(s *capnp.Segment) (CtrlPld, error)

func NewRootCtrlPld added in v0.4.0

func NewRootCtrlPld(s *capnp.Segment) (CtrlPld, error)

func ReadRootCtrlPld added in v0.4.0

func ReadRootCtrlPld(msg *capnp.Message) (CtrlPld, error)

func (CtrlPld) Ack added in v0.4.0

func (s CtrlPld) Ack() (Ack, error)

func (CtrlPld) DrkeyMgmt added in v0.4.0

func (s CtrlPld) DrkeyMgmt() (DRKeyMgmt, error)

func (CtrlPld) GetStruct added in v0.4.0

func (s CtrlPld) GetStruct() capnp.Struct

func (CtrlPld) HasAck added in v0.4.0

func (s CtrlPld) HasAck() bool

func (CtrlPld) HasDrkeyMgmt added in v0.4.0

func (s CtrlPld) HasDrkeyMgmt() bool

func (CtrlPld) HasPathMgmt added in v0.4.0

func (s CtrlPld) HasPathMgmt() bool

func (CtrlPld) HasPcb added in v0.4.0

func (s CtrlPld) HasPcb() bool

func (CtrlPld) HasSibra added in v0.4.0

func (s CtrlPld) HasSibra() bool

func (CtrlPld) HasSig added in v0.4.0

func (s CtrlPld) HasSig() bool

func (CtrlPld) HasTraceId added in v0.4.0

func (s CtrlPld) HasTraceId() bool

func (CtrlPld) NewAck added in v0.4.0

func (s CtrlPld) NewAck() (Ack, error)

NewAck sets the ack field to a newly allocated Ack struct, preferring placement in s's segment.

func (CtrlPld) NewDrkeyMgmt added in v0.4.0

func (s CtrlPld) NewDrkeyMgmt() (DRKeyMgmt, error)

NewDrkeyMgmt sets the drkeyMgmt field to a newly allocated DRKeyMgmt struct, preferring placement in s's segment.

func (CtrlPld) NewPathMgmt added in v0.4.0

func (s CtrlPld) NewPathMgmt() (PathMgmt, error)

NewPathMgmt sets the pathMgmt field to a newly allocated PathMgmt struct, preferring placement in s's segment.

func (CtrlPld) NewPcb added in v0.4.0

func (s CtrlPld) NewPcb() (PCB, error)

NewPcb sets the pcb field to a newly allocated PCB struct, preferring placement in s's segment.

func (CtrlPld) NewSibra added in v0.4.0

func (s CtrlPld) NewSibra() (SibraPayload, error)

NewSibra sets the sibra field to a newly allocated SibraPayload struct, preferring placement in s's segment.

func (CtrlPld) NewSig added in v0.4.0

func (s CtrlPld) NewSig() (SIGCtrl, error)

NewSig sets the sig field to a newly allocated SIGCtrl struct, preferring placement in s's segment.

func (CtrlPld) PathMgmt added in v0.4.0

func (s CtrlPld) PathMgmt() (PathMgmt, error)

func (CtrlPld) Pcb added in v0.4.0

func (s CtrlPld) Pcb() (PCB, error)

func (CtrlPld) ReqId added in v0.4.0

func (s CtrlPld) ReqId() uint64

func (CtrlPld) SetAck added in v0.4.0

func (s CtrlPld) SetAck(v Ack) error

func (CtrlPld) SetDrkeyMgmt added in v0.4.0

func (s CtrlPld) SetDrkeyMgmt(v DRKeyMgmt) error

func (CtrlPld) SetPathMgmt added in v0.4.0

func (s CtrlPld) SetPathMgmt(v PathMgmt) error

func (CtrlPld) SetPcb added in v0.4.0

func (s CtrlPld) SetPcb(v PCB) error

func (CtrlPld) SetReqId added in v0.4.0

func (s CtrlPld) SetReqId(v uint64)

func (CtrlPld) SetSibra added in v0.4.0

func (s CtrlPld) SetSibra(v SibraPayload) error

func (CtrlPld) SetSig added in v0.4.0

func (s CtrlPld) SetSig(v SIGCtrl) error

func (CtrlPld) SetTraceId added in v0.4.0

func (s CtrlPld) SetTraceId(v []byte) error

func (CtrlPld) SetUnset added in v0.4.0

func (s CtrlPld) SetUnset()

func (CtrlPld) Sibra added in v0.4.0

func (s CtrlPld) Sibra() (SibraPayload, error)

func (CtrlPld) Sig added in v0.4.0

func (s CtrlPld) Sig() (SIGCtrl, error)

func (CtrlPld) String added in v0.4.0

func (s CtrlPld) String() string

func (CtrlPld) TraceId added in v0.4.0

func (s CtrlPld) TraceId() ([]byte, error)

func (CtrlPld) Which added in v0.4.0

func (s CtrlPld) Which() CtrlPld_Which

type CtrlPld_List added in v0.4.0

type CtrlPld_List struct{ capnp.List }

CtrlPld_List is a list of CtrlPld.

func NewCtrlPld_List added in v0.4.0

func NewCtrlPld_List(s *capnp.Segment, sz int32) (CtrlPld_List, error)

NewCtrlPld creates a new list of CtrlPld.

func (CtrlPld_List) At added in v0.4.0

func (s CtrlPld_List) At(i int) CtrlPld

func (CtrlPld_List) Set added in v0.4.0

func (s CtrlPld_List) Set(i int, v CtrlPld) error

func (CtrlPld_List) String added in v0.4.0

func (s CtrlPld_List) String() string

type CtrlPld_Promise added in v0.4.0

type CtrlPld_Promise struct{ *capnp.Pipeline }

CtrlPld_Promise is a wrapper for a CtrlPld promised by a client call.

func (CtrlPld_Promise) Ack added in v0.4.0

func (p CtrlPld_Promise) Ack() Ack_Promise

func (CtrlPld_Promise) DrkeyMgmt added in v0.4.0

func (p CtrlPld_Promise) DrkeyMgmt() DRKeyMgmt_Promise

func (CtrlPld_Promise) PathMgmt added in v0.4.0

func (p CtrlPld_Promise) PathMgmt() PathMgmt_Promise

func (CtrlPld_Promise) Pcb added in v0.4.0

func (p CtrlPld_Promise) Pcb() PCB_Promise

func (CtrlPld_Promise) Sibra added in v0.4.0

func (CtrlPld_Promise) Sig added in v0.4.0

func (CtrlPld_Promise) Struct added in v0.4.0

func (p CtrlPld_Promise) Struct() (CtrlPld, error)

type CtrlPld_Which added in v0.4.0

type CtrlPld_Which uint16
const (
	CtrlPld_Which_unset     CtrlPld_Which = 0
	CtrlPld_Which_pcb       CtrlPld_Which = 1
	CtrlPld_Which_pathMgmt  CtrlPld_Which = 2
	CtrlPld_Which_sibra     CtrlPld_Which = 3
	CtrlPld_Which_drkeyMgmt CtrlPld_Which = 4
	CtrlPld_Which_sig       CtrlPld_Which = 5
	CtrlPld_Which_ack       CtrlPld_Which = 6
)

func (CtrlPld_Which) String added in v0.4.0

func (w CtrlPld_Which) String() string

type DRKeyMgmt added in v0.4.0

type DRKeyMgmt struct{ capnp.Struct }

func NewDRKeyMgmt added in v0.4.0

func NewDRKeyMgmt(s *capnp.Segment) (DRKeyMgmt, error)

func NewRootDRKeyMgmt added in v0.4.0

func NewRootDRKeyMgmt(s *capnp.Segment) (DRKeyMgmt, error)

func ReadRootDRKeyMgmt added in v0.4.0

func ReadRootDRKeyMgmt(msg *capnp.Message) (DRKeyMgmt, error)

func (DRKeyMgmt) DrkeyRep added in v0.4.0

func (s DRKeyMgmt) DrkeyRep() (DRKeyRep, error)

func (DRKeyMgmt) DrkeyReq added in v0.4.0

func (s DRKeyMgmt) DrkeyReq() (DRKeyReq, error)

func (DRKeyMgmt) HasDrkeyRep added in v0.4.0

func (s DRKeyMgmt) HasDrkeyRep() bool

func (DRKeyMgmt) HasDrkeyReq added in v0.4.0

func (s DRKeyMgmt) HasDrkeyReq() bool

func (DRKeyMgmt) NewDrkeyRep added in v0.4.0

func (s DRKeyMgmt) NewDrkeyRep() (DRKeyRep, error)

NewDrkeyRep sets the drkeyRep field to a newly allocated DRKeyRep struct, preferring placement in s's segment.

func (DRKeyMgmt) NewDrkeyReq added in v0.4.0

func (s DRKeyMgmt) NewDrkeyReq() (DRKeyReq, error)

NewDrkeyReq sets the drkeyReq field to a newly allocated DRKeyReq struct, preferring placement in s's segment.

func (DRKeyMgmt) SetDrkeyRep added in v0.4.0

func (s DRKeyMgmt) SetDrkeyRep(v DRKeyRep) error

func (DRKeyMgmt) SetDrkeyReq added in v0.4.0

func (s DRKeyMgmt) SetDrkeyReq(v DRKeyReq) error

func (DRKeyMgmt) SetUnset added in v0.4.0

func (s DRKeyMgmt) SetUnset()

func (DRKeyMgmt) String added in v0.4.0

func (s DRKeyMgmt) String() string

func (DRKeyMgmt) Which added in v0.4.0

func (s DRKeyMgmt) Which() DRKeyMgmt_Which

type DRKeyMgmt_List added in v0.4.0

type DRKeyMgmt_List struct{ capnp.List }

DRKeyMgmt_List is a list of DRKeyMgmt.

func NewDRKeyMgmt_List added in v0.4.0

func NewDRKeyMgmt_List(s *capnp.Segment, sz int32) (DRKeyMgmt_List, error)

NewDRKeyMgmt creates a new list of DRKeyMgmt.

func (DRKeyMgmt_List) At added in v0.4.0

func (s DRKeyMgmt_List) At(i int) DRKeyMgmt

func (DRKeyMgmt_List) Set added in v0.4.0

func (s DRKeyMgmt_List) Set(i int, v DRKeyMgmt) error

func (DRKeyMgmt_List) String added in v0.4.0

func (s DRKeyMgmt_List) String() string

type DRKeyMgmt_Promise added in v0.4.0

type DRKeyMgmt_Promise struct{ *capnp.Pipeline }

DRKeyMgmt_Promise is a wrapper for a DRKeyMgmt promised by a client call.

func (DRKeyMgmt_Promise) DrkeyRep added in v0.4.0

func (p DRKeyMgmt_Promise) DrkeyRep() DRKeyRep_Promise

func (DRKeyMgmt_Promise) DrkeyReq added in v0.4.0

func (p DRKeyMgmt_Promise) DrkeyReq() DRKeyReq_Promise

func (DRKeyMgmt_Promise) Struct added in v0.4.0

func (p DRKeyMgmt_Promise) Struct() (DRKeyMgmt, error)

type DRKeyMgmt_Which added in v0.4.0

type DRKeyMgmt_Which uint16
const (
	DRKeyMgmt_Which_unset    DRKeyMgmt_Which = 0
	DRKeyMgmt_Which_drkeyReq DRKeyMgmt_Which = 1
	DRKeyMgmt_Which_drkeyRep DRKeyMgmt_Which = 2
)

func (DRKeyMgmt_Which) String added in v0.4.0

func (w DRKeyMgmt_Which) String() string

type DRKeyRep added in v0.4.0

type DRKeyRep struct{ capnp.Struct }

func NewDRKeyRep added in v0.4.0

func NewDRKeyRep(s *capnp.Segment) (DRKeyRep, error)

func NewRootDRKeyRep added in v0.4.0

func NewRootDRKeyRep(s *capnp.Segment) (DRKeyRep, error)

func ReadRootDRKeyRep added in v0.4.0

func ReadRootDRKeyRep(msg *capnp.Message) (DRKeyRep, error)

func (DRKeyRep) CertVerDst added in v0.4.0

func (s DRKeyRep) CertVerDst() uint32

func (DRKeyRep) CertVerSrc added in v0.4.0

func (s DRKeyRep) CertVerSrc() uint32

func (DRKeyRep) Cipher added in v0.4.0

func (s DRKeyRep) Cipher() ([]byte, error)

func (DRKeyRep) ExpTime added in v0.4.0

func (s DRKeyRep) ExpTime() uint32

func (DRKeyRep) HasCipher added in v0.4.0

func (s DRKeyRep) HasCipher() bool

func (DRKeyRep) HasSignature added in v0.4.0

func (s DRKeyRep) HasSignature() bool

func (DRKeyRep) Isdas added in v0.4.0

func (s DRKeyRep) Isdas() uint64

func (DRKeyRep) SetCertVerDst added in v0.4.0

func (s DRKeyRep) SetCertVerDst(v uint32)

func (DRKeyRep) SetCertVerSrc added in v0.4.0

func (s DRKeyRep) SetCertVerSrc(v uint32)

func (DRKeyRep) SetCipher added in v0.4.0

func (s DRKeyRep) SetCipher(v []byte) error

func (DRKeyRep) SetExpTime added in v0.4.0

func (s DRKeyRep) SetExpTime(v uint32)

func (DRKeyRep) SetIsdas added in v0.4.0

func (s DRKeyRep) SetIsdas(v uint64)

func (DRKeyRep) SetSignature added in v0.4.0

func (s DRKeyRep) SetSignature(v []byte) error

func (DRKeyRep) SetTimestamp added in v0.4.0

func (s DRKeyRep) SetTimestamp(v uint32)

func (DRKeyRep) SetTrcVer added in v0.4.0

func (s DRKeyRep) SetTrcVer(v uint32)

func (DRKeyRep) Signature added in v0.4.0

func (s DRKeyRep) Signature() ([]byte, error)

func (DRKeyRep) String added in v0.4.0

func (s DRKeyRep) String() string

func (DRKeyRep) Timestamp added in v0.4.0

func (s DRKeyRep) Timestamp() uint32

func (DRKeyRep) TrcVer added in v0.4.0

func (s DRKeyRep) TrcVer() uint32

type DRKeyRep_List added in v0.4.0

type DRKeyRep_List struct{ capnp.List }

DRKeyRep_List is a list of DRKeyRep.

func NewDRKeyRep_List added in v0.4.0

func NewDRKeyRep_List(s *capnp.Segment, sz int32) (DRKeyRep_List, error)

NewDRKeyRep creates a new list of DRKeyRep.

func (DRKeyRep_List) At added in v0.4.0

func (s DRKeyRep_List) At(i int) DRKeyRep

func (DRKeyRep_List) Set added in v0.4.0

func (s DRKeyRep_List) Set(i int, v DRKeyRep) error

func (DRKeyRep_List) String added in v0.4.0

func (s DRKeyRep_List) String() string

type DRKeyRep_Promise added in v0.4.0

type DRKeyRep_Promise struct{ *capnp.Pipeline }

DRKeyRep_Promise is a wrapper for a DRKeyRep promised by a client call.

func (DRKeyRep_Promise) Struct added in v0.4.0

func (p DRKeyRep_Promise) Struct() (DRKeyRep, error)

type DRKeyReq added in v0.4.0

type DRKeyReq struct{ capnp.Struct }

func NewDRKeyReq added in v0.4.0

func NewDRKeyReq(s *capnp.Segment) (DRKeyReq, error)

func NewRootDRKeyReq added in v0.4.0

func NewRootDRKeyReq(s *capnp.Segment) (DRKeyReq, error)

func ReadRootDRKeyReq added in v0.4.0

func ReadRootDRKeyReq(msg *capnp.Message) (DRKeyReq, error)

func (DRKeyReq) CertVer added in v0.4.0

func (s DRKeyReq) CertVer() uint32

func (DRKeyReq) Flags added in v0.4.0

func (s DRKeyReq) Flags() DRKeyReq_flags

func (DRKeyReq) HasSignature added in v0.4.0

func (s DRKeyReq) HasSignature() bool

func (DRKeyReq) Isdas added in v0.4.0

func (s DRKeyReq) Isdas() uint64

func (DRKeyReq) SetCertVer added in v0.4.0

func (s DRKeyReq) SetCertVer(v uint32)

func (DRKeyReq) SetIsdas added in v0.4.0

func (s DRKeyReq) SetIsdas(v uint64)

func (DRKeyReq) SetSignature added in v0.4.0

func (s DRKeyReq) SetSignature(v []byte) error

func (DRKeyReq) SetTimestamp added in v0.4.0

func (s DRKeyReq) SetTimestamp(v uint32)

func (DRKeyReq) SetTrcVer added in v0.4.0

func (s DRKeyReq) SetTrcVer(v uint32)

func (DRKeyReq) Signature added in v0.4.0

func (s DRKeyReq) Signature() ([]byte, error)

func (DRKeyReq) String added in v0.4.0

func (s DRKeyReq) String() string

func (DRKeyReq) Timestamp added in v0.4.0

func (s DRKeyReq) Timestamp() uint32

func (DRKeyReq) TrcVer added in v0.4.0

func (s DRKeyReq) TrcVer() uint32

type DRKeyReq_List added in v0.4.0

type DRKeyReq_List struct{ capnp.List }

DRKeyReq_List is a list of DRKeyReq.

func NewDRKeyReq_List added in v0.4.0

func NewDRKeyReq_List(s *capnp.Segment, sz int32) (DRKeyReq_List, error)

NewDRKeyReq creates a new list of DRKeyReq.

func (DRKeyReq_List) At added in v0.4.0

func (s DRKeyReq_List) At(i int) DRKeyReq

func (DRKeyReq_List) Set added in v0.4.0

func (s DRKeyReq_List) Set(i int, v DRKeyReq) error

func (DRKeyReq_List) String added in v0.4.0

func (s DRKeyReq_List) String() string

type DRKeyReq_Promise added in v0.4.0

type DRKeyReq_Promise struct{ *capnp.Pipeline }

DRKeyReq_Promise is a wrapper for a DRKeyReq promised by a client call.

func (DRKeyReq_Promise) Flags added in v0.4.0

func (DRKeyReq_Promise) Struct added in v0.4.0

func (p DRKeyReq_Promise) Struct() (DRKeyReq, error)

type DRKeyReq_flags added in v0.4.0

type DRKeyReq_flags DRKeyReq

func (DRKeyReq_flags) Prefetch added in v0.4.0

func (s DRKeyReq_flags) Prefetch() bool

func (DRKeyReq_flags) SetPrefetch added in v0.4.0

func (s DRKeyReq_flags) SetPrefetch(v bool)

type DRKeyReq_flags_Promise added in v0.4.0

type DRKeyReq_flags_Promise struct{ *capnp.Pipeline }

DRKeyReq_flags_Promise is a wrapper for a DRKeyReq_flags promised by a client call.

func (DRKeyReq_flags_Promise) Struct added in v0.4.0

type E2EBase added in v0.6.0

type E2EBase struct{ capnp.Struct }

func NewE2EBase added in v0.6.0

func NewE2EBase(s *capnp.Segment) (E2EBase, error)

func NewRootE2EBase added in v0.6.0

func NewRootE2EBase(s *capnp.Segment) (E2EBase, error)

func ReadRootE2EBase added in v0.6.0

func ReadRootE2EBase(msg *capnp.Message) (E2EBase, error)

func (E2EBase) HasId added in v0.6.0

func (s E2EBase) HasId() bool

func (E2EBase) Id added in v0.6.0

func (s E2EBase) Id() (E2EReservationID, error)

func (E2EBase) Index added in v0.6.0

func (s E2EBase) Index() uint8

func (E2EBase) NewId added in v0.6.0

func (s E2EBase) NewId() (E2EReservationID, error)

NewId sets the id field to a newly allocated E2EReservationID struct, preferring placement in s's segment.

func (E2EBase) SetId added in v0.6.0

func (s E2EBase) SetId(v E2EReservationID) error

func (E2EBase) SetIndex added in v0.6.0

func (s E2EBase) SetIndex(v uint8)

func (E2EBase) String added in v0.6.0

func (s E2EBase) String() string

type E2EBase_List added in v0.6.0

type E2EBase_List struct{ capnp.List }

E2EBase_List is a list of E2EBase.

func NewE2EBase_List added in v0.6.0

func NewE2EBase_List(s *capnp.Segment, sz int32) (E2EBase_List, error)

NewE2EBase creates a new list of E2EBase.

func (E2EBase_List) At added in v0.6.0

func (s E2EBase_List) At(i int) E2EBase

func (E2EBase_List) Set added in v0.6.0

func (s E2EBase_List) Set(i int, v E2EBase) error

func (E2EBase_List) String added in v0.6.0

func (s E2EBase_List) String() string

type E2EBase_Promise added in v0.6.0

type E2EBase_Promise struct{ *capnp.Pipeline }

E2EBase_Promise is a wrapper for a E2EBase promised by a client call.

func (E2EBase_Promise) Id added in v0.6.0

func (E2EBase_Promise) Struct added in v0.6.0

func (p E2EBase_Promise) Struct() (E2EBase, error)

type E2ECleanupData added in v0.5.0

type E2ECleanupData struct{ capnp.Struct }

func NewE2ECleanupData added in v0.5.0

func NewE2ECleanupData(s *capnp.Segment) (E2ECleanupData, error)

func NewRootE2ECleanupData added in v0.5.0

func NewRootE2ECleanupData(s *capnp.Segment) (E2ECleanupData, error)

func ReadRootE2ECleanupData added in v0.5.0

func ReadRootE2ECleanupData(msg *capnp.Message) (E2ECleanupData, error)

func (E2ECleanupData) Base added in v0.6.0

func (s E2ECleanupData) Base() (E2EBase, error)

func (E2ECleanupData) HasBase added in v0.6.0

func (s E2ECleanupData) HasBase() bool

func (E2ECleanupData) NewBase added in v0.6.0

func (s E2ECleanupData) NewBase() (E2EBase, error)

NewBase sets the base field to a newly allocated E2EBase struct, preferring placement in s's segment.

func (E2ECleanupData) SetBase added in v0.6.0

func (s E2ECleanupData) SetBase(v E2EBase) error

func (E2ECleanupData) String added in v0.5.0

func (s E2ECleanupData) String() string

type E2ECleanupData_List added in v0.5.0

type E2ECleanupData_List struct{ capnp.List }

E2ECleanupData_List is a list of E2ECleanupData.

func NewE2ECleanupData_List added in v0.5.0

func NewE2ECleanupData_List(s *capnp.Segment, sz int32) (E2ECleanupData_List, error)

NewE2ECleanupData creates a new list of E2ECleanupData.

func (E2ECleanupData_List) At added in v0.5.0

func (E2ECleanupData_List) Set added in v0.5.0

func (E2ECleanupData_List) String added in v0.5.0

func (s E2ECleanupData_List) String() string

type E2ECleanupData_Promise added in v0.5.0

type E2ECleanupData_Promise struct{ *capnp.Pipeline }

E2ECleanupData_Promise is a wrapper for a E2ECleanupData promised by a client call.

func (E2ECleanupData_Promise) Base added in v0.6.0

func (E2ECleanupData_Promise) Struct added in v0.5.0

type E2ECleanupResData added in v0.6.0

type E2ECleanupResData struct{ capnp.Struct }

func NewE2ECleanupResData added in v0.6.0

func NewE2ECleanupResData(s *capnp.Segment) (E2ECleanupResData, error)

func NewRootE2ECleanupResData added in v0.6.0

func NewRootE2ECleanupResData(s *capnp.Segment) (E2ECleanupResData, error)

func ReadRootE2ECleanupResData added in v0.6.0

func ReadRootE2ECleanupResData(msg *capnp.Message) (E2ECleanupResData, error)

func (E2ECleanupResData) Base added in v0.6.0

func (s E2ECleanupResData) Base() (E2EBase, error)

func (E2ECleanupResData) ErrorCode added in v0.6.0

func (s E2ECleanupResData) ErrorCode() uint8

func (E2ECleanupResData) HasBase added in v0.6.0

func (s E2ECleanupResData) HasBase() bool

func (E2ECleanupResData) NewBase added in v0.6.0

func (s E2ECleanupResData) NewBase() (E2EBase, error)

NewBase sets the base field to a newly allocated E2EBase struct, preferring placement in s's segment.

func (E2ECleanupResData) SetBase added in v0.6.0

func (s E2ECleanupResData) SetBase(v E2EBase) error

func (E2ECleanupResData) SetErrorCode added in v0.6.0

func (s E2ECleanupResData) SetErrorCode(v uint8)

func (E2ECleanupResData) String added in v0.6.0

func (s E2ECleanupResData) String() string

type E2ECleanupResData_List added in v0.6.0

type E2ECleanupResData_List struct{ capnp.List }

E2ECleanupResData_List is a list of E2ECleanupResData.

func NewE2ECleanupResData_List added in v0.6.0

func NewE2ECleanupResData_List(s *capnp.Segment, sz int32) (E2ECleanupResData_List, error)

NewE2ECleanupResData creates a new list of E2ECleanupResData.

func (E2ECleanupResData_List) At added in v0.6.0

func (E2ECleanupResData_List) Set added in v0.6.0

func (E2ECleanupResData_List) String added in v0.6.0

func (s E2ECleanupResData_List) String() string

type E2ECleanupResData_Promise added in v0.6.0

type E2ECleanupResData_Promise struct{ *capnp.Pipeline }

E2ECleanupResData_Promise is a wrapper for a E2ECleanupResData promised by a client call.

func (E2ECleanupResData_Promise) Base added in v0.6.0

func (E2ECleanupResData_Promise) Struct added in v0.6.0

type E2EReservationID added in v0.5.0

type E2EReservationID struct{ capnp.Struct }

func NewE2EReservationID added in v0.5.0

func NewE2EReservationID(s *capnp.Segment) (E2EReservationID, error)

func NewRootE2EReservationID added in v0.5.0

func NewRootE2EReservationID(s *capnp.Segment) (E2EReservationID, error)

func ReadRootE2EReservationID added in v0.5.0

func ReadRootE2EReservationID(msg *capnp.Message) (E2EReservationID, error)

func (E2EReservationID) Asid added in v0.5.0

func (s E2EReservationID) Asid() ([]byte, error)

func (E2EReservationID) HasAsid added in v0.5.0

func (s E2EReservationID) HasAsid() bool

func (E2EReservationID) HasSuffix added in v0.5.0

func (s E2EReservationID) HasSuffix() bool

func (E2EReservationID) SetAsid added in v0.5.0

func (s E2EReservationID) SetAsid(v []byte) error

func (E2EReservationID) SetSuffix added in v0.5.0

func (s E2EReservationID) SetSuffix(v []byte) error

func (E2EReservationID) String added in v0.5.0

func (s E2EReservationID) String() string

func (E2EReservationID) Suffix added in v0.5.0

func (s E2EReservationID) Suffix() ([]byte, error)

type E2EReservationID_List added in v0.5.0

type E2EReservationID_List struct{ capnp.List }

E2EReservationID_List is a list of E2EReservationID.

func NewE2EReservationID_List added in v0.5.0

func NewE2EReservationID_List(s *capnp.Segment, sz int32) (E2EReservationID_List, error)

NewE2EReservationID creates a new list of E2EReservationID.

func (E2EReservationID_List) At added in v0.5.0

func (E2EReservationID_List) Set added in v0.5.0

func (E2EReservationID_List) String added in v0.5.0

func (s E2EReservationID_List) String() string

type E2EReservationID_Promise added in v0.5.0

type E2EReservationID_Promise struct{ *capnp.Pipeline }

E2EReservationID_Promise is a wrapper for a E2EReservationID promised by a client call.

func (E2EReservationID_Promise) Struct added in v0.5.0

type E2ESetupReqData added in v0.6.0

type E2ESetupReqData struct{ capnp.Struct }

func NewE2ESetupReqData added in v0.6.0

func NewE2ESetupReqData(s *capnp.Segment) (E2ESetupReqData, error)

func NewRootE2ESetupReqData added in v0.6.0

func NewRootE2ESetupReqData(s *capnp.Segment) (E2ESetupReqData, error)

func ReadRootE2ESetupReqData added in v0.6.0

func ReadRootE2ESetupReqData(msg *capnp.Message) (E2ESetupReqData, error)

func (E2ESetupReqData) AllocationTrail added in v0.6.0

func (s E2ESetupReqData) AllocationTrail() (capnp.UInt8List, error)

func (E2ESetupReqData) Base added in v0.6.0

func (s E2ESetupReqData) Base() (E2EBase, error)

func (E2ESetupReqData) Failure added in v0.6.0

func (E2ESetupReqData) HasAllocationTrail added in v0.6.0

func (s E2ESetupReqData) HasAllocationTrail() bool

func (E2ESetupReqData) HasBase added in v0.6.0

func (s E2ESetupReqData) HasBase() bool

func (E2ESetupReqData) HasSegmentRsvASCount added in v0.6.0

func (s E2ESetupReqData) HasSegmentRsvASCount() bool

func (E2ESetupReqData) HasSegmentRsvs added in v0.6.0

func (s E2ESetupReqData) HasSegmentRsvs() bool

func (E2ESetupReqData) NewAllocationTrail added in v0.6.0

func (s E2ESetupReqData) NewAllocationTrail(n int32) (capnp.UInt8List, error)

NewAllocationTrail sets the allocationTrail field to a newly allocated capnp.UInt8List, preferring placement in s's segment.

func (E2ESetupReqData) NewBase added in v0.6.0

func (s E2ESetupReqData) NewBase() (E2EBase, error)

NewBase sets the base field to a newly allocated E2EBase struct, preferring placement in s's segment.

func (E2ESetupReqData) NewSegmentRsvASCount added in v0.6.0

func (s E2ESetupReqData) NewSegmentRsvASCount(n int32) (capnp.UInt8List, error)

NewSegmentRsvASCount sets the segmentRsvASCount field to a newly allocated capnp.UInt8List, preferring placement in s's segment.

func (E2ESetupReqData) NewSegmentRsvs added in v0.6.0

func (s E2ESetupReqData) NewSegmentRsvs(n int32) (SegmentReservationID_List, error)

NewSegmentRsvs sets the segmentRsvs field to a newly allocated SegmentReservationID_List, preferring placement in s's segment.

func (E2ESetupReqData) RequestedBW added in v0.6.0

func (s E2ESetupReqData) RequestedBW() uint8

func (E2ESetupReqData) SegmentRsvASCount added in v0.6.0

func (s E2ESetupReqData) SegmentRsvASCount() (capnp.UInt8List, error)

func (E2ESetupReqData) SegmentRsvs added in v0.6.0

func (s E2ESetupReqData) SegmentRsvs() (SegmentReservationID_List, error)

func (E2ESetupReqData) SetAllocationTrail added in v0.6.0

func (s E2ESetupReqData) SetAllocationTrail(v capnp.UInt8List) error

func (E2ESetupReqData) SetBase added in v0.6.0

func (s E2ESetupReqData) SetBase(v E2EBase) error

func (E2ESetupReqData) SetFailure added in v0.6.0

func (s E2ESetupReqData) SetFailure()

func (E2ESetupReqData) SetRequestedBW added in v0.6.0

func (s E2ESetupReqData) SetRequestedBW(v uint8)

func (E2ESetupReqData) SetSegmentRsvASCount added in v0.6.0

func (s E2ESetupReqData) SetSegmentRsvASCount(v capnp.UInt8List) error

func (E2ESetupReqData) SetSegmentRsvs added in v0.6.0

func (s E2ESetupReqData) SetSegmentRsvs(v SegmentReservationID_List) error

func (E2ESetupReqData) SetSuccess added in v0.6.0

func (s E2ESetupReqData) SetSuccess()

func (E2ESetupReqData) SetUnset added in v0.6.0

func (s E2ESetupReqData) SetUnset()

func (E2ESetupReqData) String added in v0.6.0

func (s E2ESetupReqData) String() string

func (E2ESetupReqData) Success added in v0.6.0

func (E2ESetupReqData) Which added in v0.6.0

type E2ESetupReqData_List added in v0.6.0

type E2ESetupReqData_List struct{ capnp.List }

E2ESetupReqData_List is a list of E2ESetupReqData.

func NewE2ESetupReqData_List added in v0.6.0

func NewE2ESetupReqData_List(s *capnp.Segment, sz int32) (E2ESetupReqData_List, error)

NewE2ESetupReqData creates a new list of E2ESetupReqData.

func (E2ESetupReqData_List) At added in v0.6.0

func (E2ESetupReqData_List) Set added in v0.6.0

func (E2ESetupReqData_List) String added in v0.6.0

func (s E2ESetupReqData_List) String() string

type E2ESetupReqData_Promise added in v0.6.0

type E2ESetupReqData_Promise struct{ *capnp.Pipeline }

E2ESetupReqData_Promise is a wrapper for a E2ESetupReqData promised by a client call.

func (E2ESetupReqData_Promise) Base added in v0.6.0

func (E2ESetupReqData_Promise) Failure added in v0.6.0

func (E2ESetupReqData_Promise) Struct added in v0.6.0

func (E2ESetupReqData_Promise) Success added in v0.6.0

type E2ESetupReqData_Which added in v0.6.0

type E2ESetupReqData_Which uint16
const (
	E2ESetupReqData_Which_unset   E2ESetupReqData_Which = 0
	E2ESetupReqData_Which_success E2ESetupReqData_Which = 1
	E2ESetupReqData_Which_failure E2ESetupReqData_Which = 2
)

func (E2ESetupReqData_Which) String added in v0.6.0

func (w E2ESetupReqData_Which) String() string

type E2ESetupReqData_failure added in v0.6.0

type E2ESetupReqData_failure E2ESetupReqData

func (E2ESetupReqData_failure) ErrorCode added in v0.6.0

func (s E2ESetupReqData_failure) ErrorCode() uint8

func (E2ESetupReqData_failure) SetErrorCode added in v0.6.0

func (s E2ESetupReqData_failure) SetErrorCode(v uint8)

type E2ESetupReqData_failure_Promise added in v0.6.0

type E2ESetupReqData_failure_Promise struct{ *capnp.Pipeline }

E2ESetupReqData_failure_Promise is a wrapper for a E2ESetupReqData_failure promised by a client call.

func (E2ESetupReqData_failure_Promise) Struct added in v0.6.0

type E2ESetupReqData_success added in v0.6.0

type E2ESetupReqData_success E2ESetupReqData

func (E2ESetupReqData_success) HasToken added in v0.6.0

func (s E2ESetupReqData_success) HasToken() bool

func (E2ESetupReqData_success) SetToken added in v0.6.0

func (s E2ESetupReqData_success) SetToken(v []byte) error

func (E2ESetupReqData_success) Token added in v0.6.0

func (s E2ESetupReqData_success) Token() ([]byte, error)

type E2ESetupReqData_success_Promise added in v0.6.0

type E2ESetupReqData_success_Promise struct{ *capnp.Pipeline }

E2ESetupReqData_success_Promise is a wrapper for a E2ESetupReqData_success promised by a client call.

func (E2ESetupReqData_success_Promise) Struct added in v0.6.0

type E2ESetupResData added in v0.6.0

type E2ESetupResData struct{ capnp.Struct }

func NewE2ESetupResData added in v0.6.0

func NewE2ESetupResData(s *capnp.Segment) (E2ESetupResData, error)

func NewRootE2ESetupResData added in v0.6.0

func NewRootE2ESetupResData(s *capnp.Segment) (E2ESetupResData, error)

func ReadRootE2ESetupResData added in v0.6.0

func ReadRootE2ESetupResData(msg *capnp.Message) (E2ESetupResData, error)

func (E2ESetupResData) Base added in v0.6.0

func (s E2ESetupResData) Base() (E2EBase, error)

func (E2ESetupResData) Failure added in v0.6.0

func (E2ESetupResData) HasBase added in v0.6.0

func (s E2ESetupResData) HasBase() bool

func (E2ESetupResData) NewBase added in v0.6.0

func (s E2ESetupResData) NewBase() (E2EBase, error)

NewBase sets the base field to a newly allocated E2EBase struct, preferring placement in s's segment.

func (E2ESetupResData) SetBase added in v0.6.0

func (s E2ESetupResData) SetBase(v E2EBase) error

func (E2ESetupResData) SetFailure added in v0.6.0

func (s E2ESetupResData) SetFailure()

func (E2ESetupResData) SetSuccess added in v0.6.0

func (s E2ESetupResData) SetSuccess()

func (E2ESetupResData) SetUnset added in v0.6.0

func (s E2ESetupResData) SetUnset()

func (E2ESetupResData) String added in v0.6.0

func (s E2ESetupResData) String() string

func (E2ESetupResData) Success added in v0.6.0

func (E2ESetupResData) Which added in v0.6.0

type E2ESetupResData_List added in v0.6.0

type E2ESetupResData_List struct{ capnp.List }

E2ESetupResData_List is a list of E2ESetupResData.

func NewE2ESetupResData_List added in v0.6.0

func NewE2ESetupResData_List(s *capnp.Segment, sz int32) (E2ESetupResData_List, error)

NewE2ESetupResData creates a new list of E2ESetupResData.

func (E2ESetupResData_List) At added in v0.6.0

func (E2ESetupResData_List) Set added in v0.6.0

func (E2ESetupResData_List) String added in v0.6.0

func (s E2ESetupResData_List) String() string

type E2ESetupResData_Promise added in v0.6.0

type E2ESetupResData_Promise struct{ *capnp.Pipeline }

E2ESetupResData_Promise is a wrapper for a E2ESetupResData promised by a client call.

func (E2ESetupResData_Promise) Base added in v0.6.0

func (E2ESetupResData_Promise) Failure added in v0.6.0

func (E2ESetupResData_Promise) Struct added in v0.6.0

func (E2ESetupResData_Promise) Success added in v0.6.0

type E2ESetupResData_Which added in v0.6.0

type E2ESetupResData_Which uint16
const (
	E2ESetupResData_Which_unset   E2ESetupResData_Which = 0
	E2ESetupResData_Which_success E2ESetupResData_Which = 1
	E2ESetupResData_Which_failure E2ESetupResData_Which = 2
)

func (E2ESetupResData_Which) String added in v0.6.0

func (w E2ESetupResData_Which) String() string

type E2ESetupResData_failure added in v0.6.0

type E2ESetupResData_failure E2ESetupResData

func (E2ESetupResData_failure) AllocationTrail added in v0.6.0

func (s E2ESetupResData_failure) AllocationTrail() (capnp.UInt8List, error)

func (E2ESetupResData_failure) ErrorCode added in v0.6.0

func (s E2ESetupResData_failure) ErrorCode() uint8

func (E2ESetupResData_failure) HasAllocationTrail added in v0.6.0

func (s E2ESetupResData_failure) HasAllocationTrail() bool

func (E2ESetupResData_failure) NewAllocationTrail added in v0.6.0

func (s E2ESetupResData_failure) NewAllocationTrail(n int32) (capnp.UInt8List, error)

NewAllocationTrail sets the allocationTrail field to a newly allocated capnp.UInt8List, preferring placement in s's segment.

func (E2ESetupResData_failure) SetAllocationTrail added in v0.6.0

func (s E2ESetupResData_failure) SetAllocationTrail(v capnp.UInt8List) error

func (E2ESetupResData_failure) SetErrorCode added in v0.6.0

func (s E2ESetupResData_failure) SetErrorCode(v uint8)

type E2ESetupResData_failure_Promise added in v0.6.0

type E2ESetupResData_failure_Promise struct{ *capnp.Pipeline }

E2ESetupResData_failure_Promise is a wrapper for a E2ESetupResData_failure promised by a client call.

func (E2ESetupResData_failure_Promise) Struct added in v0.6.0

type E2ESetupResData_success added in v0.6.0

type E2ESetupResData_success E2ESetupResData

func (E2ESetupResData_success) HasToken added in v0.6.0

func (s E2ESetupResData_success) HasToken() bool

func (E2ESetupResData_success) SetToken added in v0.6.0

func (s E2ESetupResData_success) SetToken(v []byte) error

func (E2ESetupResData_success) Token added in v0.6.0

func (s E2ESetupResData_success) Token() ([]byte, error)

type E2ESetupResData_success_Promise added in v0.6.0

type E2ESetupResData_success_Promise struct{ *capnp.Pipeline }

E2ESetupResData_success_Promise is a wrapper for a E2ESetupResData_success promised by a client call.

func (E2ESetupResData_success_Promise) Struct added in v0.6.0

type HPCfg added in v0.4.0

type HPCfg struct{ capnp.Struct }

func NewHPCfg added in v0.4.0

func NewHPCfg(s *capnp.Segment) (HPCfg, error)

func NewRootHPCfg added in v0.4.0

func NewRootHPCfg(s *capnp.Segment) (HPCfg, error)

func ReadRootHPCfg added in v0.4.0

func ReadRootHPCfg(msg *capnp.Message) (HPCfg, error)

func (HPCfg) GroupId added in v0.4.0

func (s HPCfg) GroupId() (HPGroupId, error)

func (HPCfg) HasGroupId added in v0.4.0

func (s HPCfg) HasGroupId() bool

func (HPCfg) HasReaders added in v0.4.0

func (s HPCfg) HasReaders() bool

func (HPCfg) HasRegistries added in v0.4.0

func (s HPCfg) HasRegistries() bool

func (HPCfg) HasWriters added in v0.4.0

func (s HPCfg) HasWriters() bool

func (HPCfg) NewGroupId added in v0.4.0

func (s HPCfg) NewGroupId() (HPGroupId, error)

NewGroupId sets the groupId field to a newly allocated HPGroupId struct, preferring placement in s's segment.

func (HPCfg) NewReaders added in v0.4.0

func (s HPCfg) NewReaders(n int32) (capnp.UInt64List, error)

NewReaders sets the readers field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (HPCfg) NewRegistries added in v0.4.0

func (s HPCfg) NewRegistries(n int32) (capnp.UInt64List, error)

NewRegistries sets the registries field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (HPCfg) NewWriters added in v0.4.0

func (s HPCfg) NewWriters(n int32) (capnp.UInt64List, error)

NewWriters sets the writers field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (HPCfg) OwnerISD added in v0.4.0

func (s HPCfg) OwnerISD() uint16

func (HPCfg) Readers added in v0.4.0

func (s HPCfg) Readers() (capnp.UInt64List, error)

func (HPCfg) Registries added in v0.4.0

func (s HPCfg) Registries() (capnp.UInt64List, error)

func (HPCfg) SetGroupId added in v0.4.0

func (s HPCfg) SetGroupId(v HPGroupId) error

func (HPCfg) SetOwnerISD added in v0.4.0

func (s HPCfg) SetOwnerISD(v uint16)

func (HPCfg) SetReaders added in v0.4.0

func (s HPCfg) SetReaders(v capnp.UInt64List) error

func (HPCfg) SetRegistries added in v0.4.0

func (s HPCfg) SetRegistries(v capnp.UInt64List) error

func (HPCfg) SetVersion added in v0.4.0

func (s HPCfg) SetVersion(v uint32)

func (HPCfg) SetWriters added in v0.4.0

func (s HPCfg) SetWriters(v capnp.UInt64List) error

func (HPCfg) String added in v0.4.0

func (s HPCfg) String() string

func (HPCfg) Version added in v0.4.0

func (s HPCfg) Version() uint32

func (HPCfg) Writers added in v0.4.0

func (s HPCfg) Writers() (capnp.UInt64List, error)

type HPCfgReply added in v0.4.0

type HPCfgReply struct{ capnp.Struct }

func NewHPCfgReply added in v0.4.0

func NewHPCfgReply(s *capnp.Segment) (HPCfgReply, error)

func NewRootHPCfgReply added in v0.4.0

func NewRootHPCfgReply(s *capnp.Segment) (HPCfgReply, error)

func ReadRootHPCfgReply added in v0.4.0

func ReadRootHPCfgReply(msg *capnp.Message) (HPCfgReply, error)

func (HPCfgReply) Cfgs added in v0.4.0

func (s HPCfgReply) Cfgs() (HPCfg_List, error)

func (HPCfgReply) HasCfgs added in v0.4.0

func (s HPCfgReply) HasCfgs() bool

func (HPCfgReply) NewCfgs added in v0.4.0

func (s HPCfgReply) NewCfgs(n int32) (HPCfg_List, error)

NewCfgs sets the cfgs field to a newly allocated HPCfg_List, preferring placement in s's segment.

func (HPCfgReply) SetCfgs added in v0.4.0

func (s HPCfgReply) SetCfgs(v HPCfg_List) error

func (HPCfgReply) String added in v0.4.0

func (s HPCfgReply) String() string

type HPCfgReply_List added in v0.4.0

type HPCfgReply_List struct{ capnp.List }

HPCfgReply_List is a list of HPCfgReply.

func NewHPCfgReply_List added in v0.4.0

func NewHPCfgReply_List(s *capnp.Segment, sz int32) (HPCfgReply_List, error)

NewHPCfgReply creates a new list of HPCfgReply.

func (HPCfgReply_List) At added in v0.4.0

func (s HPCfgReply_List) At(i int) HPCfgReply

func (HPCfgReply_List) Set added in v0.4.0

func (s HPCfgReply_List) Set(i int, v HPCfgReply) error

func (HPCfgReply_List) String added in v0.4.0

func (s HPCfgReply_List) String() string

type HPCfgReply_Promise added in v0.4.0

type HPCfgReply_Promise struct{ *capnp.Pipeline }

HPCfgReply_Promise is a wrapper for a HPCfgReply promised by a client call.

func (HPCfgReply_Promise) Struct added in v0.4.0

func (p HPCfgReply_Promise) Struct() (HPCfgReply, error)

type HPCfgReq added in v0.4.0

type HPCfgReq struct{ capnp.Struct }

func NewHPCfgReq added in v0.4.0

func NewHPCfgReq(s *capnp.Segment) (HPCfgReq, error)

func NewRootHPCfgReq added in v0.4.0

func NewRootHPCfgReq(s *capnp.Segment) (HPCfgReq, error)

func ReadRootHPCfgReq added in v0.4.0

func ReadRootHPCfgReq(msg *capnp.Message) (HPCfgReq, error)

func (HPCfgReq) ChangedSince added in v0.4.0

func (s HPCfgReq) ChangedSince() uint32

func (HPCfgReq) SetChangedSince added in v0.4.0

func (s HPCfgReq) SetChangedSince(v uint32)

func (HPCfgReq) String added in v0.4.0

func (s HPCfgReq) String() string

type HPCfgReq_List added in v0.4.0

type HPCfgReq_List struct{ capnp.List }

HPCfgReq_List is a list of HPCfgReq.

func NewHPCfgReq_List added in v0.4.0

func NewHPCfgReq_List(s *capnp.Segment, sz int32) (HPCfgReq_List, error)

NewHPCfgReq creates a new list of HPCfgReq.

func (HPCfgReq_List) At added in v0.4.0

func (s HPCfgReq_List) At(i int) HPCfgReq

func (HPCfgReq_List) Set added in v0.4.0

func (s HPCfgReq_List) Set(i int, v HPCfgReq) error

func (HPCfgReq_List) String added in v0.4.0

func (s HPCfgReq_List) String() string

type HPCfgReq_Promise added in v0.4.0

type HPCfgReq_Promise struct{ *capnp.Pipeline }

HPCfgReq_Promise is a wrapper for a HPCfgReq promised by a client call.

func (HPCfgReq_Promise) Struct added in v0.4.0

func (p HPCfgReq_Promise) Struct() (HPCfgReq, error)

type HPCfg_List added in v0.4.0

type HPCfg_List struct{ capnp.List }

HPCfg_List is a list of HPCfg.

func NewHPCfg_List added in v0.4.0

func NewHPCfg_List(s *capnp.Segment, sz int32) (HPCfg_List, error)

NewHPCfg creates a new list of HPCfg.

func (HPCfg_List) At added in v0.4.0

func (s HPCfg_List) At(i int) HPCfg

func (HPCfg_List) Set added in v0.4.0

func (s HPCfg_List) Set(i int, v HPCfg) error

func (HPCfg_List) String added in v0.4.0

func (s HPCfg_List) String() string

type HPCfg_Promise added in v0.4.0

type HPCfg_Promise struct{ *capnp.Pipeline }

HPCfg_Promise is a wrapper for a HPCfg promised by a client call.

func (HPCfg_Promise) GroupId added in v0.4.0

func (p HPCfg_Promise) GroupId() HPGroupId_Promise

func (HPCfg_Promise) Struct added in v0.4.0

func (p HPCfg_Promise) Struct() (HPCfg, error)

type HPGroupId added in v0.4.0

type HPGroupId struct{ capnp.Struct }

func NewHPGroupId added in v0.4.0

func NewHPGroupId(s *capnp.Segment) (HPGroupId, error)

func NewRootHPGroupId added in v0.4.0

func NewRootHPGroupId(s *capnp.Segment) (HPGroupId, error)

func ReadRootHPGroupId added in v0.4.0

func ReadRootHPGroupId(msg *capnp.Message) (HPGroupId, error)

func (HPGroupId) GroupId added in v0.4.0

func (s HPGroupId) GroupId() uint16

func (HPGroupId) OwnerAS added in v0.4.0

func (s HPGroupId) OwnerAS() uint64

func (HPGroupId) SetGroupId added in v0.4.0

func (s HPGroupId) SetGroupId(v uint16)

func (HPGroupId) SetOwnerAS added in v0.4.0

func (s HPGroupId) SetOwnerAS(v uint64)

func (HPGroupId) String added in v0.4.0

func (s HPGroupId) String() string

type HPGroupId_List added in v0.4.0

type HPGroupId_List struct{ capnp.List }

HPGroupId_List is a list of HPGroupId.

func NewHPGroupId_List added in v0.4.0

func NewHPGroupId_List(s *capnp.Segment, sz int32) (HPGroupId_List, error)

NewHPGroupId creates a new list of HPGroupId.

func (HPGroupId_List) At added in v0.4.0

func (s HPGroupId_List) At(i int) HPGroupId

func (HPGroupId_List) Set added in v0.4.0

func (s HPGroupId_List) Set(i int, v HPGroupId) error

func (HPGroupId_List) String added in v0.4.0

func (s HPGroupId_List) String() string

type HPGroupId_Promise added in v0.4.0

type HPGroupId_Promise struct{ *capnp.Pipeline }

HPGroupId_Promise is a wrapper for a HPGroupId promised by a client call.

func (HPGroupId_Promise) Struct added in v0.4.0

func (p HPGroupId_Promise) Struct() (HPGroupId, error)

type HPSegRecs added in v0.4.0

type HPSegRecs struct{ capnp.Struct }

func NewHPSegRecs added in v0.4.0

func NewHPSegRecs(s *capnp.Segment) (HPSegRecs, error)

func NewRootHPSegRecs added in v0.4.0

func NewRootHPSegRecs(s *capnp.Segment) (HPSegRecs, error)

func ReadRootHPSegRecs added in v0.4.0

func ReadRootHPSegRecs(msg *capnp.Message) (HPSegRecs, error)

func (HPSegRecs) Err added in v0.4.0

func (s HPSegRecs) Err() (string, error)

func (HPSegRecs) ErrBytes added in v0.4.0

func (s HPSegRecs) ErrBytes() ([]byte, error)

func (HPSegRecs) GroupId added in v0.4.0

func (s HPSegRecs) GroupId() (HPGroupId, error)

func (HPSegRecs) HasErr added in v0.4.0

func (s HPSegRecs) HasErr() bool

func (HPSegRecs) HasGroupId added in v0.4.0

func (s HPSegRecs) HasGroupId() bool

func (HPSegRecs) HasRecs added in v0.4.0

func (s HPSegRecs) HasRecs() bool

func (HPSegRecs) NewGroupId added in v0.4.0

func (s HPSegRecs) NewGroupId() (HPGroupId, error)

NewGroupId sets the groupId field to a newly allocated HPGroupId struct, preferring placement in s's segment.

func (HPSegRecs) NewRecs added in v0.4.0

func (s HPSegRecs) NewRecs(n int32) (PathSegMeta_List, error)

NewRecs sets the recs field to a newly allocated PathSegMeta_List, preferring placement in s's segment.

func (HPSegRecs) Recs added in v0.4.0

func (s HPSegRecs) Recs() (PathSegMeta_List, error)

func (HPSegRecs) SetErr added in v0.4.0

func (s HPSegRecs) SetErr(v string) error

func (HPSegRecs) SetGroupId added in v0.4.0

func (s HPSegRecs) SetGroupId(v HPGroupId) error

func (HPSegRecs) SetRecs added in v0.4.0

func (s HPSegRecs) SetRecs(v PathSegMeta_List) error

func (HPSegRecs) String added in v0.4.0

func (s HPSegRecs) String() string

type HPSegRecs_List added in v0.4.0

type HPSegRecs_List struct{ capnp.List }

HPSegRecs_List is a list of HPSegRecs.

func NewHPSegRecs_List added in v0.4.0

func NewHPSegRecs_List(s *capnp.Segment, sz int32) (HPSegRecs_List, error)

NewHPSegRecs creates a new list of HPSegRecs.

func (HPSegRecs_List) At added in v0.4.0

func (s HPSegRecs_List) At(i int) HPSegRecs

func (HPSegRecs_List) Set added in v0.4.0

func (s HPSegRecs_List) Set(i int, v HPSegRecs) error

func (HPSegRecs_List) String added in v0.4.0

func (s HPSegRecs_List) String() string

type HPSegRecs_Promise added in v0.4.0

type HPSegRecs_Promise struct{ *capnp.Pipeline }

HPSegRecs_Promise is a wrapper for a HPSegRecs promised by a client call.

func (HPSegRecs_Promise) GroupId added in v0.4.0

func (HPSegRecs_Promise) Struct added in v0.4.0

func (p HPSegRecs_Promise) Struct() (HPSegRecs, error)

type HPSegReply added in v0.4.0

type HPSegReply struct{ capnp.Struct }

func NewHPSegReply added in v0.4.0

func NewHPSegReply(s *capnp.Segment) (HPSegReply, error)

func NewRootHPSegReply added in v0.4.0

func NewRootHPSegReply(s *capnp.Segment) (HPSegReply, error)

func ReadRootHPSegReply added in v0.4.0

func ReadRootHPSegReply(msg *capnp.Message) (HPSegReply, error)

func (HPSegReply) HasRecs added in v0.4.0

func (s HPSegReply) HasRecs() bool

func (HPSegReply) NewRecs added in v0.4.0

func (s HPSegReply) NewRecs(n int32) (HPSegRecs_List, error)

NewRecs sets the recs field to a newly allocated HPSegRecs_List, preferring placement in s's segment.

func (HPSegReply) Recs added in v0.4.0

func (s HPSegReply) Recs() (HPSegRecs_List, error)

func (HPSegReply) SetRecs added in v0.4.0

func (s HPSegReply) SetRecs(v HPSegRecs_List) error

func (HPSegReply) String added in v0.4.0

func (s HPSegReply) String() string

type HPSegReply_List added in v0.4.0

type HPSegReply_List struct{ capnp.List }

HPSegReply_List is a list of HPSegReply.

func NewHPSegReply_List added in v0.4.0

func NewHPSegReply_List(s *capnp.Segment, sz int32) (HPSegReply_List, error)

NewHPSegReply creates a new list of HPSegReply.

func (HPSegReply_List) At added in v0.4.0

func (s HPSegReply_List) At(i int) HPSegReply

func (HPSegReply_List) Set added in v0.4.0

func (s HPSegReply_List) Set(i int, v HPSegReply) error

func (HPSegReply_List) String added in v0.4.0

func (s HPSegReply_List) String() string

type HPSegReply_Promise added in v0.4.0

type HPSegReply_Promise struct{ *capnp.Pipeline }

HPSegReply_Promise is a wrapper for a HPSegReply promised by a client call.

func (HPSegReply_Promise) Struct added in v0.4.0

func (p HPSegReply_Promise) Struct() (HPSegReply, error)

type HPSegReq added in v0.4.0

type HPSegReq struct{ capnp.Struct }

func NewHPSegReq added in v0.4.0

func NewHPSegReq(s *capnp.Segment) (HPSegReq, error)

func NewRootHPSegReq added in v0.4.0

func NewRootHPSegReq(s *capnp.Segment) (HPSegReq, error)

func ReadRootHPSegReq added in v0.4.0

func ReadRootHPSegReq(msg *capnp.Message) (HPSegReq, error)

func (HPSegReq) DstIA added in v0.4.0

func (s HPSegReq) DstIA() uint64

func (HPSegReq) GroupIds added in v0.4.0

func (s HPSegReq) GroupIds() (HPGroupId_List, error)

func (HPSegReq) HasGroupIds added in v0.4.0

func (s HPSegReq) HasGroupIds() bool

func (HPSegReq) NewGroupIds added in v0.4.0

func (s HPSegReq) NewGroupIds(n int32) (HPGroupId_List, error)

NewGroupIds sets the groupIds field to a newly allocated HPGroupId_List, preferring placement in s's segment.

func (HPSegReq) SetDstIA added in v0.4.0

func (s HPSegReq) SetDstIA(v uint64)

func (HPSegReq) SetGroupIds added in v0.4.0

func (s HPSegReq) SetGroupIds(v HPGroupId_List) error

func (HPSegReq) String added in v0.4.0

func (s HPSegReq) String() string

type HPSegReq_List added in v0.4.0

type HPSegReq_List struct{ capnp.List }

HPSegReq_List is a list of HPSegReq.

func NewHPSegReq_List added in v0.4.0

func NewHPSegReq_List(s *capnp.Segment, sz int32) (HPSegReq_List, error)

NewHPSegReq creates a new list of HPSegReq.

func (HPSegReq_List) At added in v0.4.0

func (s HPSegReq_List) At(i int) HPSegReq

func (HPSegReq_List) Set added in v0.4.0

func (s HPSegReq_List) Set(i int, v HPSegReq) error

func (HPSegReq_List) String added in v0.4.0

func (s HPSegReq_List) String() string

type HPSegReq_Promise added in v0.4.0

type HPSegReq_Promise struct{ *capnp.Pipeline }

HPSegReq_Promise is a wrapper for a HPSegReq promised by a client call.

func (HPSegReq_Promise) Struct added in v0.4.0

func (p HPSegReq_Promise) Struct() (HPSegReq, error)

type HiddenPathSegExtn added in v0.4.0

type HiddenPathSegExtn struct{ capnp.Struct }

func NewHiddenPathSegExtn added in v0.4.0

func NewHiddenPathSegExtn(s *capnp.Segment) (HiddenPathSegExtn, error)

func NewRootHiddenPathSegExtn added in v0.4.0

func NewRootHiddenPathSegExtn(s *capnp.Segment) (HiddenPathSegExtn, error)

func ReadRootHiddenPathSegExtn added in v0.4.0

func ReadRootHiddenPathSegExtn(msg *capnp.Message) (HiddenPathSegExtn, error)

func (HiddenPathSegExtn) Set added in v0.4.0

func (s HiddenPathSegExtn) Set() bool

func (HiddenPathSegExtn) SetSet added in v0.4.0

func (s HiddenPathSegExtn) SetSet(v bool)

func (HiddenPathSegExtn) String added in v0.4.0

func (s HiddenPathSegExtn) String() string

type HiddenPathSegExtn_List added in v0.4.0

type HiddenPathSegExtn_List struct{ capnp.List }

HiddenPathSegExtn_List is a list of HiddenPathSegExtn.

func NewHiddenPathSegExtn_List added in v0.4.0

func NewHiddenPathSegExtn_List(s *capnp.Segment, sz int32) (HiddenPathSegExtn_List, error)

NewHiddenPathSegExtn creates a new list of HiddenPathSegExtn.

func (HiddenPathSegExtn_List) At added in v0.4.0

func (HiddenPathSegExtn_List) Set added in v0.4.0

func (HiddenPathSegExtn_List) String added in v0.4.0

func (s HiddenPathSegExtn_List) String() string

type HiddenPathSegExtn_Promise added in v0.4.0

type HiddenPathSegExtn_Promise struct{ *capnp.Pipeline }

HiddenPathSegExtn_Promise is a wrapper for a HiddenPathSegExtn promised by a client call.

func (HiddenPathSegExtn_Promise) Struct added in v0.4.0

type HopEntry added in v0.4.0

type HopEntry struct{ capnp.Struct }

func NewHopEntry added in v0.4.0

func NewHopEntry(s *capnp.Segment) (HopEntry, error)

func NewRootHopEntry added in v0.4.0

func NewRootHopEntry(s *capnp.Segment) (HopEntry, error)

func ReadRootHopEntry added in v0.4.0

func ReadRootHopEntry(msg *capnp.Message) (HopEntry, error)

func (HopEntry) HasHopF added in v0.4.0

func (s HopEntry) HasHopF() bool

func (HopEntry) HopF added in v0.4.0

func (s HopEntry) HopF() ([]byte, error)

func (HopEntry) HopField added in v0.6.0

func (s HopEntry) HopField() HopEntry_hopField

func (HopEntry) InIA added in v0.4.0

func (s HopEntry) InIA() uint64

func (HopEntry) InMTU added in v0.4.0

func (s HopEntry) InMTU() uint16

func (HopEntry) OutIA added in v0.4.0

func (s HopEntry) OutIA() uint64

func (HopEntry) RemoteInIF added in v0.4.0

func (s HopEntry) RemoteInIF() uint64

func (HopEntry) RemoteOutIF added in v0.4.0

func (s HopEntry) RemoteOutIF() uint64

func (HopEntry) SetHopF added in v0.4.0

func (s HopEntry) SetHopF(v []byte) error

func (HopEntry) SetInIA added in v0.4.0

func (s HopEntry) SetInIA(v uint64)

func (HopEntry) SetInMTU added in v0.4.0

func (s HopEntry) SetInMTU(v uint16)

func (HopEntry) SetOutIA added in v0.4.0

func (s HopEntry) SetOutIA(v uint64)

func (HopEntry) SetRemoteInIF added in v0.4.0

func (s HopEntry) SetRemoteInIF(v uint64)

func (HopEntry) SetRemoteOutIF added in v0.4.0

func (s HopEntry) SetRemoteOutIF(v uint64)

func (HopEntry) String added in v0.4.0

func (s HopEntry) String() string

type HopEntry_List added in v0.4.0

type HopEntry_List struct{ capnp.List }

HopEntry_List is a list of HopEntry.

func NewHopEntry_List added in v0.4.0

func NewHopEntry_List(s *capnp.Segment, sz int32) (HopEntry_List, error)

NewHopEntry creates a new list of HopEntry.

func (HopEntry_List) At added in v0.4.0

func (s HopEntry_List) At(i int) HopEntry

func (HopEntry_List) Set added in v0.4.0

func (s HopEntry_List) Set(i int, v HopEntry) error

func (HopEntry_List) String added in v0.4.0

func (s HopEntry_List) String() string

type HopEntry_Promise added in v0.4.0

type HopEntry_Promise struct{ *capnp.Pipeline }

HopEntry_Promise is a wrapper for a HopEntry promised by a client call.

func (HopEntry_Promise) HopField added in v0.6.0

func (HopEntry_Promise) Struct added in v0.4.0

func (p HopEntry_Promise) Struct() (HopEntry, error)

type HopEntry_hopField added in v0.6.0

type HopEntry_hopField HopEntry

func (HopEntry_hopField) ConsEgress added in v0.6.0

func (s HopEntry_hopField) ConsEgress() uint16

func (HopEntry_hopField) ConsIngress added in v0.6.0

func (s HopEntry_hopField) ConsIngress() uint16

func (HopEntry_hopField) ExpTime added in v0.6.0

func (s HopEntry_hopField) ExpTime() uint8

func (HopEntry_hopField) HasMac added in v0.6.0

func (s HopEntry_hopField) HasMac() bool

func (HopEntry_hopField) Mac added in v0.6.0

func (s HopEntry_hopField) Mac() ([]byte, error)

func (HopEntry_hopField) SetConsEgress added in v0.6.0

func (s HopEntry_hopField) SetConsEgress(v uint16)

func (HopEntry_hopField) SetConsIngress added in v0.6.0

func (s HopEntry_hopField) SetConsIngress(v uint16)

func (HopEntry_hopField) SetExpTime added in v0.6.0

func (s HopEntry_hopField) SetExpTime(v uint8)

func (HopEntry_hopField) SetMac added in v0.6.0

func (s HopEntry_hopField) SetMac(v []byte) error

type HopEntry_hopField_Promise added in v0.6.0

type HopEntry_hopField_Promise struct{ *capnp.Pipeline }

HopEntry_hopField_Promise is a wrapper for a HopEntry_hopField promised by a client call.

func (HopEntry_hopField_Promise) Struct added in v0.6.0

type HostInfo added in v0.4.0

type HostInfo struct{ capnp.Struct }

func NewHostInfo added in v0.4.0

func NewHostInfo(s *capnp.Segment) (HostInfo, error)

func NewRootHostInfo added in v0.4.0

func NewRootHostInfo(s *capnp.Segment) (HostInfo, error)

func ReadRootHostInfo added in v0.4.0

func ReadRootHostInfo(msg *capnp.Message) (HostInfo, error)

func (HostInfo) Addrs added in v0.4.0

func (s HostInfo) Addrs() HostInfo_addrs

func (HostInfo) Port added in v0.4.0

func (s HostInfo) Port() uint16

func (HostInfo) SetPort added in v0.4.0

func (s HostInfo) SetPort(v uint16)

func (HostInfo) String added in v0.4.0

func (s HostInfo) String() string

type HostInfo_List added in v0.4.0

type HostInfo_List struct{ capnp.List }

HostInfo_List is a list of HostInfo.

func NewHostInfo_List added in v0.4.0

func NewHostInfo_List(s *capnp.Segment, sz int32) (HostInfo_List, error)

NewHostInfo creates a new list of HostInfo.

func (HostInfo_List) At added in v0.4.0

func (s HostInfo_List) At(i int) HostInfo

func (HostInfo_List) Set added in v0.4.0

func (s HostInfo_List) Set(i int, v HostInfo) error

func (HostInfo_List) String added in v0.4.0

func (s HostInfo_List) String() string

type HostInfo_Promise added in v0.4.0

type HostInfo_Promise struct{ *capnp.Pipeline }

HostInfo_Promise is a wrapper for a HostInfo promised by a client call.

func (HostInfo_Promise) Addrs added in v0.4.0

func (HostInfo_Promise) Struct added in v0.4.0

func (p HostInfo_Promise) Struct() (HostInfo, error)

type HostInfo_addrs added in v0.4.0

type HostInfo_addrs HostInfo

func (HostInfo_addrs) HasIpv4 added in v0.4.0

func (s HostInfo_addrs) HasIpv4() bool

func (HostInfo_addrs) HasIpv6 added in v0.4.0

func (s HostInfo_addrs) HasIpv6() bool

func (HostInfo_addrs) Ipv4 added in v0.4.0

func (s HostInfo_addrs) Ipv4() ([]byte, error)

func (HostInfo_addrs) Ipv6 added in v0.4.0

func (s HostInfo_addrs) Ipv6() ([]byte, error)

func (HostInfo_addrs) SetIpv4 added in v0.4.0

func (s HostInfo_addrs) SetIpv4(v []byte) error

func (HostInfo_addrs) SetIpv6 added in v0.4.0

func (s HostInfo_addrs) SetIpv6(v []byte) error

type HostInfo_addrs_Promise added in v0.4.0

type HostInfo_addrs_Promise struct{ *capnp.Pipeline }

HostInfo_addrs_Promise is a wrapper for a HostInfo_addrs promised by a client call.

func (HostInfo_addrs_Promise) Struct added in v0.4.0

type ISDAnnouncementExt added in v0.4.0

type ISDAnnouncementExt struct{ capnp.Struct }

func NewISDAnnouncementExt added in v0.4.0

func NewISDAnnouncementExt(s *capnp.Segment) (ISDAnnouncementExt, error)

func NewRootISDAnnouncementExt added in v0.4.0

func NewRootISDAnnouncementExt(s *capnp.Segment) (ISDAnnouncementExt, error)

func ReadRootISDAnnouncementExt added in v0.4.0

func ReadRootISDAnnouncementExt(msg *capnp.Message) (ISDAnnouncementExt, error)

func (ISDAnnouncementExt) Set added in v0.4.0

func (s ISDAnnouncementExt) Set() bool

func (ISDAnnouncementExt) SetSet added in v0.4.0

func (s ISDAnnouncementExt) SetSet(v bool)

func (ISDAnnouncementExt) String added in v0.4.0

func (s ISDAnnouncementExt) String() string

type ISDAnnouncementExt_List added in v0.4.0

type ISDAnnouncementExt_List struct{ capnp.List }

ISDAnnouncementExt_List is a list of ISDAnnouncementExt.

func NewISDAnnouncementExt_List added in v0.4.0

func NewISDAnnouncementExt_List(s *capnp.Segment, sz int32) (ISDAnnouncementExt_List, error)

NewISDAnnouncementExt creates a new list of ISDAnnouncementExt.

func (ISDAnnouncementExt_List) At added in v0.4.0

func (ISDAnnouncementExt_List) Set added in v0.4.0

func (ISDAnnouncementExt_List) String added in v0.4.0

func (s ISDAnnouncementExt_List) String() string

type ISDAnnouncementExt_Promise added in v0.4.0

type ISDAnnouncementExt_Promise struct{ *capnp.Pipeline }

ISDAnnouncementExt_Promise is a wrapper for a ISDAnnouncementExt promised by a client call.

func (ISDAnnouncementExt_Promise) Struct added in v0.4.0

type LinkType added in v0.4.0

type LinkType uint16
const (
	LinkType_unset  LinkType = 0
	LinkType_core   LinkType = 1
	LinkType_parent LinkType = 2
	LinkType_child  LinkType = 3
	LinkType_peer   LinkType = 4
)

Values of LinkType.

func LinkTypeFromString added in v0.4.0

func LinkTypeFromString(c string) LinkType

LinkTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (LinkType) String added in v0.4.0

func (c LinkType) String() string

String returns the enum's constant name.

type LinkType_List added in v0.4.0

type LinkType_List struct{ capnp.List }

func NewLinkType_List added in v0.4.0

func NewLinkType_List(s *capnp.Segment, sz int32) (LinkType_List, error)

func (LinkType_List) At added in v0.4.0

func (l LinkType_List) At(i int) LinkType

func (LinkType_List) Set added in v0.4.0

func (l LinkType_List) Set(i int, v LinkType)

type PCB added in v0.4.0

type PCB struct{ capnp.Struct }

func NewPCB added in v0.4.0

func NewPCB(s *capnp.Segment) (PCB, error)

func NewRootPCB added in v0.4.0

func NewRootPCB(s *capnp.Segment) (PCB, error)

func ReadRootPCB added in v0.4.0

func ReadRootPCB(msg *capnp.Message) (PCB, error)

func (PCB) HasPathSeg added in v0.4.0

func (s PCB) HasPathSeg() bool

func (PCB) IfID added in v0.4.0

func (s PCB) IfID() uint64

func (PCB) NewPathSeg added in v0.4.0

func (s PCB) NewPathSeg() (PathSegment, error)

NewPathSeg sets the pathSeg field to a newly allocated PathSegment struct, preferring placement in s's segment.

func (PCB) PathSeg added in v0.4.0

func (s PCB) PathSeg() (PathSegment, error)

func (PCB) SetIfID added in v0.4.0

func (s PCB) SetIfID(v uint64)

func (PCB) SetPathSeg added in v0.4.0

func (s PCB) SetPathSeg(v PathSegment) error

func (PCB) String added in v0.4.0

func (s PCB) String() string

type PCB_List added in v0.4.0

type PCB_List struct{ capnp.List }

PCB_List is a list of PCB.

func NewPCB_List added in v0.4.0

func NewPCB_List(s *capnp.Segment, sz int32) (PCB_List, error)

NewPCB creates a new list of PCB.

func (PCB_List) At added in v0.4.0

func (s PCB_List) At(i int) PCB

func (PCB_List) Set added in v0.4.0

func (s PCB_List) Set(i int, v PCB) error

func (PCB_List) String added in v0.4.0

func (s PCB_List) String() string

type PCB_Promise added in v0.4.0

type PCB_Promise struct{ *capnp.Pipeline }

PCB_Promise is a wrapper for a PCB promised by a client call.

func (PCB_Promise) PathSeg added in v0.4.0

func (p PCB_Promise) PathSeg() PathSegment_Promise

func (PCB_Promise) Struct added in v0.4.0

func (p PCB_Promise) Struct() (PCB, error)

type PathEndProps added in v0.5.0

type PathEndProps struct{ capnp.Struct }

func NewPathEndProps added in v0.5.0

func NewPathEndProps(s *capnp.Segment) (PathEndProps, error)

func NewRootPathEndProps added in v0.5.0

func NewRootPathEndProps(s *capnp.Segment) (PathEndProps, error)

func ReadRootPathEndProps added in v0.5.0

func ReadRootPathEndProps(msg *capnp.Message) (PathEndProps, error)

func (PathEndProps) Local added in v0.5.0

func (s PathEndProps) Local() bool

func (PathEndProps) SetLocal added in v0.5.0

func (s PathEndProps) SetLocal(v bool)

func (PathEndProps) SetTransfer added in v0.5.0

func (s PathEndProps) SetTransfer(v bool)

func (PathEndProps) String added in v0.5.0

func (s PathEndProps) String() string

func (PathEndProps) Transfer added in v0.5.0

func (s PathEndProps) Transfer() bool

type PathEndProps_List added in v0.5.0

type PathEndProps_List struct{ capnp.List }

PathEndProps_List is a list of PathEndProps.

func NewPathEndProps_List added in v0.5.0

func NewPathEndProps_List(s *capnp.Segment, sz int32) (PathEndProps_List, error)

NewPathEndProps creates a new list of PathEndProps.

func (PathEndProps_List) At added in v0.5.0

func (PathEndProps_List) Set added in v0.5.0

func (PathEndProps_List) String added in v0.5.0

func (s PathEndProps_List) String() string

type PathEndProps_Promise added in v0.5.0

type PathEndProps_Promise struct{ *capnp.Pipeline }

PathEndProps_Promise is a wrapper for a PathEndProps promised by a client call.

func (PathEndProps_Promise) Struct added in v0.5.0

func (p PathEndProps_Promise) Struct() (PathEndProps, error)

type PathMgmt added in v0.4.0

type PathMgmt struct{ capnp.Struct }

func NewPathMgmt added in v0.4.0

func NewPathMgmt(s *capnp.Segment) (PathMgmt, error)

func NewRootPathMgmt added in v0.4.0

func NewRootPathMgmt(s *capnp.Segment) (PathMgmt, error)

func ReadRootPathMgmt added in v0.4.0

func ReadRootPathMgmt(msg *capnp.Message) (PathMgmt, error)

func (PathMgmt) HasHpCfgReply added in v0.4.0

func (s PathMgmt) HasHpCfgReply() bool

func (PathMgmt) HasHpCfgReq added in v0.4.0

func (s PathMgmt) HasHpCfgReq() bool

func (PathMgmt) HasHpSegReg added in v0.4.0

func (s PathMgmt) HasHpSegReg() bool

func (PathMgmt) HasHpSegReply added in v0.4.0

func (s PathMgmt) HasHpSegReply() bool

func (PathMgmt) HasHpSegReq added in v0.4.0

func (s PathMgmt) HasHpSegReq() bool

func (PathMgmt) HasSRevInfo added in v0.4.0

func (s PathMgmt) HasSRevInfo() bool

func (PathMgmt) HpCfgReply added in v0.4.0

func (s PathMgmt) HpCfgReply() (HPCfgReply, error)

func (PathMgmt) HpCfgReq added in v0.4.0

func (s PathMgmt) HpCfgReq() (HPCfgReq, error)

func (PathMgmt) HpSegReg added in v0.4.0

func (s PathMgmt) HpSegReg() (HPSegRecs, error)

func (PathMgmt) HpSegReply added in v0.4.0

func (s PathMgmt) HpSegReply() (HPSegReply, error)

func (PathMgmt) HpSegReq added in v0.4.0

func (s PathMgmt) HpSegReq() (HPSegReq, error)

func (PathMgmt) NewHpCfgReply added in v0.4.0

func (s PathMgmt) NewHpCfgReply() (HPCfgReply, error)

NewHpCfgReply sets the hpCfgReply field to a newly allocated HPCfgReply struct, preferring placement in s's segment.

func (PathMgmt) NewHpCfgReq added in v0.4.0

func (s PathMgmt) NewHpCfgReq() (HPCfgReq, error)

NewHpCfgReq sets the hpCfgReq field to a newly allocated HPCfgReq struct, preferring placement in s's segment.

func (PathMgmt) NewHpSegReg added in v0.4.0

func (s PathMgmt) NewHpSegReg() (HPSegRecs, error)

NewHpSegReg sets the hpSegReg field to a newly allocated HPSegRecs struct, preferring placement in s's segment.

func (PathMgmt) NewHpSegReply added in v0.4.0

func (s PathMgmt) NewHpSegReply() (HPSegReply, error)

NewHpSegReply sets the hpSegReply field to a newly allocated HPSegReply struct, preferring placement in s's segment.

func (PathMgmt) NewHpSegReq added in v0.4.0

func (s PathMgmt) NewHpSegReq() (HPSegReq, error)

NewHpSegReq sets the hpSegReq field to a newly allocated HPSegReq struct, preferring placement in s's segment.

func (PathMgmt) NewSRevInfo added in v0.4.0

func (s PathMgmt) NewSRevInfo() (SignedBlob, error)

NewSRevInfo sets the sRevInfo field to a newly allocated SignedBlob struct, preferring placement in s's segment.

func (PathMgmt) SRevInfo added in v0.4.0

func (s PathMgmt) SRevInfo() (SignedBlob, error)

func (PathMgmt) SetHpCfgReply added in v0.4.0

func (s PathMgmt) SetHpCfgReply(v HPCfgReply) error

func (PathMgmt) SetHpCfgReq added in v0.4.0

func (s PathMgmt) SetHpCfgReq(v HPCfgReq) error

func (PathMgmt) SetHpSegReg added in v0.4.0

func (s PathMgmt) SetHpSegReg(v HPSegRecs) error

func (PathMgmt) SetHpSegReply added in v0.4.0

func (s PathMgmt) SetHpSegReply(v HPSegReply) error

func (PathMgmt) SetHpSegReq added in v0.4.0

func (s PathMgmt) SetHpSegReq(v HPSegReq) error

func (PathMgmt) SetSRevInfo added in v0.4.0

func (s PathMgmt) SetSRevInfo(v SignedBlob) error

func (PathMgmt) SetUnset added in v0.4.0

func (s PathMgmt) SetUnset()

func (PathMgmt) String added in v0.4.0

func (s PathMgmt) String() string

func (PathMgmt) Which added in v0.4.0

func (s PathMgmt) Which() PathMgmt_Which

type PathMgmt_List added in v0.4.0

type PathMgmt_List struct{ capnp.List }

PathMgmt_List is a list of PathMgmt.

func NewPathMgmt_List added in v0.4.0

func NewPathMgmt_List(s *capnp.Segment, sz int32) (PathMgmt_List, error)

NewPathMgmt creates a new list of PathMgmt.

func (PathMgmt_List) At added in v0.4.0

func (s PathMgmt_List) At(i int) PathMgmt

func (PathMgmt_List) Set added in v0.4.0

func (s PathMgmt_List) Set(i int, v PathMgmt) error

func (PathMgmt_List) String added in v0.4.0

func (s PathMgmt_List) String() string

type PathMgmt_Promise added in v0.4.0

type PathMgmt_Promise struct{ *capnp.Pipeline }

PathMgmt_Promise is a wrapper for a PathMgmt promised by a client call.

func (PathMgmt_Promise) HpCfgReply added in v0.4.0

func (p PathMgmt_Promise) HpCfgReply() HPCfgReply_Promise

func (PathMgmt_Promise) HpCfgReq added in v0.4.0

func (p PathMgmt_Promise) HpCfgReq() HPCfgReq_Promise

func (PathMgmt_Promise) HpSegReg added in v0.4.0

func (p PathMgmt_Promise) HpSegReg() HPSegRecs_Promise

func (PathMgmt_Promise) HpSegReply added in v0.4.0

func (p PathMgmt_Promise) HpSegReply() HPSegReply_Promise

func (PathMgmt_Promise) HpSegReq added in v0.4.0

func (p PathMgmt_Promise) HpSegReq() HPSegReq_Promise

func (PathMgmt_Promise) SRevInfo added in v0.4.0

func (p PathMgmt_Promise) SRevInfo() SignedBlob_Promise

func (PathMgmt_Promise) Struct added in v0.4.0

func (p PathMgmt_Promise) Struct() (PathMgmt, error)

type PathMgmt_Which added in v0.4.0

type PathMgmt_Which uint16
const (
	PathMgmt_Which_unset      PathMgmt_Which = 0
	PathMgmt_Which_sRevInfo   PathMgmt_Which = 1
	PathMgmt_Which_hpSegReq   PathMgmt_Which = 2
	PathMgmt_Which_hpSegReply PathMgmt_Which = 3
	PathMgmt_Which_hpSegReg   PathMgmt_Which = 4
	PathMgmt_Which_hpCfgReq   PathMgmt_Which = 5
	PathMgmt_Which_hpCfgReply PathMgmt_Which = 6
)

func (PathMgmt_Which) String added in v0.4.0

func (w PathMgmt_Which) String() string

type PathSegMeta added in v0.4.0

type PathSegMeta struct{ capnp.Struct }

func NewPathSegMeta added in v0.4.0

func NewPathSegMeta(s *capnp.Segment) (PathSegMeta, error)

func NewRootPathSegMeta added in v0.4.0

func NewRootPathSegMeta(s *capnp.Segment) (PathSegMeta, error)

func ReadRootPathSegMeta added in v0.4.0

func ReadRootPathSegMeta(msg *capnp.Message) (PathSegMeta, error)

func (PathSegMeta) HasPathSeg added in v0.4.0

func (s PathSegMeta) HasPathSeg() bool

func (PathSegMeta) NewPathSeg added in v0.4.0

func (s PathSegMeta) NewPathSeg() (PathSegment, error)

NewPathSeg sets the pathSeg field to a newly allocated PathSegment struct, preferring placement in s's segment.

func (PathSegMeta) PathSeg added in v0.4.0

func (s PathSegMeta) PathSeg() (PathSegment, error)

func (PathSegMeta) SetPathSeg added in v0.4.0

func (s PathSegMeta) SetPathSeg(v PathSegment) error

func (PathSegMeta) SetType added in v0.4.0

func (s PathSegMeta) SetType(v PathSegType)

func (PathSegMeta) String added in v0.4.0

func (s PathSegMeta) String() string

func (PathSegMeta) Type added in v0.4.0

func (s PathSegMeta) Type() PathSegType

type PathSegMeta_List added in v0.4.0

type PathSegMeta_List struct{ capnp.List }

PathSegMeta_List is a list of PathSegMeta.

func NewPathSegMeta_List added in v0.4.0

func NewPathSegMeta_List(s *capnp.Segment, sz int32) (PathSegMeta_List, error)

NewPathSegMeta creates a new list of PathSegMeta.

func (PathSegMeta_List) At added in v0.4.0

func (PathSegMeta_List) Set added in v0.4.0

func (s PathSegMeta_List) Set(i int, v PathSegMeta) error

func (PathSegMeta_List) String added in v0.4.0

func (s PathSegMeta_List) String() string

type PathSegMeta_Promise added in v0.4.0

type PathSegMeta_Promise struct{ *capnp.Pipeline }

PathSegMeta_Promise is a wrapper for a PathSegMeta promised by a client call.

func (PathSegMeta_Promise) PathSeg added in v0.4.0

func (PathSegMeta_Promise) Struct added in v0.4.0

func (p PathSegMeta_Promise) Struct() (PathSegMeta, error)

type PathSegType added in v0.4.0

type PathSegType uint16
const (
	PathSegType_unset PathSegType = 0
	PathSegType_up    PathSegType = 1
	PathSegType_down  PathSegType = 2
	PathSegType_core  PathSegType = 3
)

Values of PathSegType.

func PathSegTypeFromString added in v0.4.0

func PathSegTypeFromString(c string) PathSegType

PathSegTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (PathSegType) String added in v0.4.0

func (c PathSegType) String() string

String returns the enum's constant name.

type PathSegType_List added in v0.4.0

type PathSegType_List struct{ capnp.List }

func NewPathSegType_List added in v0.4.0

func NewPathSegType_List(s *capnp.Segment, sz int32) (PathSegType_List, error)

func (PathSegType_List) At added in v0.4.0

func (PathSegType_List) Set added in v0.4.0

func (l PathSegType_List) Set(i int, v PathSegType)

type PathSegment added in v0.4.0

type PathSegment struct{ capnp.Struct }

func NewPathSegment added in v0.4.0

func NewPathSegment(s *capnp.Segment) (PathSegment, error)

func NewRootPathSegment added in v0.4.0

func NewRootPathSegment(s *capnp.Segment) (PathSegment, error)

func ReadRootPathSegment added in v0.4.0

func ReadRootPathSegment(msg *capnp.Message) (PathSegment, error)

func (PathSegment) AsEntries added in v0.4.0

func (s PathSegment) AsEntries() (SignedBlob_List, error)

func (PathSegment) GetStruct added in v0.4.0

func (s PathSegment) GetStruct() capnp.Struct

func (PathSegment) HasAsEntries added in v0.4.0

func (s PathSegment) HasAsEntries() bool

func (PathSegment) HasSdata added in v0.4.0

func (s PathSegment) HasSdata() bool

func (PathSegment) NewAsEntries added in v0.4.0

func (s PathSegment) NewAsEntries(n int32) (SignedBlob_List, error)

NewAsEntries sets the asEntries field to a newly allocated SignedBlob_List, preferring placement in s's segment.

func (PathSegment) Sdata added in v0.4.0

func (s PathSegment) Sdata() ([]byte, error)

func (PathSegment) SetAsEntries added in v0.4.0

func (s PathSegment) SetAsEntries(v SignedBlob_List) error

func (PathSegment) SetSdata added in v0.4.0

func (s PathSegment) SetSdata(v []byte) error

func (PathSegment) String added in v0.4.0

func (s PathSegment) String() string

type PathSegmentSignedData added in v0.4.0

type PathSegmentSignedData struct{ capnp.Struct }

func NewPathSegmentSignedData added in v0.4.0

func NewPathSegmentSignedData(s *capnp.Segment) (PathSegmentSignedData, error)

func NewRootPathSegmentSignedData added in v0.4.0

func NewRootPathSegmentSignedData(s *capnp.Segment) (PathSegmentSignedData, error)

func ReadRootPathSegmentSignedData added in v0.4.0

func ReadRootPathSegmentSignedData(msg *capnp.Message) (PathSegmentSignedData, error)

func (PathSegmentSignedData) GetStruct added in v0.4.0

func (s PathSegmentSignedData) GetStruct() capnp.Struct

func (PathSegmentSignedData) HasInfoF added in v0.4.0

func (s PathSegmentSignedData) HasInfoF() bool

func (PathSegmentSignedData) InfoF added in v0.4.0

func (s PathSegmentSignedData) InfoF() ([]byte, error)

func (PathSegmentSignedData) SegID added in v0.6.0

func (s PathSegmentSignedData) SegID() uint16

func (PathSegmentSignedData) SetInfoF added in v0.4.0

func (s PathSegmentSignedData) SetInfoF(v []byte) error

func (PathSegmentSignedData) SetSegID added in v0.6.0

func (s PathSegmentSignedData) SetSegID(v uint16)

func (PathSegmentSignedData) SetTimestamp added in v0.6.0

func (s PathSegmentSignedData) SetTimestamp(v uint32)

func (PathSegmentSignedData) String added in v0.4.0

func (s PathSegmentSignedData) String() string

func (PathSegmentSignedData) Timestamp added in v0.6.0

func (s PathSegmentSignedData) Timestamp() uint32

type PathSegmentSignedData_List added in v0.4.0

type PathSegmentSignedData_List struct{ capnp.List }

PathSegmentSignedData_List is a list of PathSegmentSignedData.

func NewPathSegmentSignedData_List added in v0.4.0

func NewPathSegmentSignedData_List(s *capnp.Segment, sz int32) (PathSegmentSignedData_List, error)

NewPathSegmentSignedData creates a new list of PathSegmentSignedData.

func (PathSegmentSignedData_List) At added in v0.4.0

func (PathSegmentSignedData_List) Set added in v0.4.0

func (PathSegmentSignedData_List) String added in v0.4.0

type PathSegmentSignedData_Promise added in v0.4.0

type PathSegmentSignedData_Promise struct{ *capnp.Pipeline }

PathSegmentSignedData_Promise is a wrapper for a PathSegmentSignedData promised by a client call.

func (PathSegmentSignedData_Promise) Struct added in v0.4.0

type PathSegment_List added in v0.4.0

type PathSegment_List struct{ capnp.List }

PathSegment_List is a list of PathSegment.

func NewPathSegment_List added in v0.4.0

func NewPathSegment_List(s *capnp.Segment, sz int32) (PathSegment_List, error)

NewPathSegment creates a new list of PathSegment.

func (PathSegment_List) At added in v0.4.0

func (PathSegment_List) Set added in v0.4.0

func (s PathSegment_List) Set(i int, v PathSegment) error

func (PathSegment_List) String added in v0.4.0

func (s PathSegment_List) String() string

type PathSegment_Promise added in v0.4.0

type PathSegment_Promise struct{ *capnp.Pipeline }

PathSegment_Promise is a wrapper for a PathSegment promised by a client call.

func (PathSegment_Promise) Struct added in v0.4.0

func (p PathSegment_Promise) Struct() (PathSegment, error)

type ProtoIdType

type ProtoIdType uint64

ProtoIdType represents a capnp struct Id.

func (ProtoIdType) String

func (p ProtoIdType) String() string

type Request added in v0.5.0

type Request struct{ capnp.Struct }

func NewRequest added in v0.5.0

func NewRequest(s *capnp.Segment) (Request, error)

func NewRootRequest added in v0.5.0

func NewRootRequest(s *capnp.Segment) (Request, error)

func ReadRootRequest added in v0.5.0

func ReadRootRequest(msg *capnp.Message) (Request, error)

func (Request) E2eCleanup added in v0.5.0

func (s Request) E2eCleanup() (E2ECleanupData, error)

func (Request) E2eRenewal added in v0.5.0

func (s Request) E2eRenewal() (E2ESetupReqData, error)

func (Request) E2eSetup added in v0.5.0

func (s Request) E2eSetup() (E2ESetupReqData, error)

func (Request) HasE2eCleanup added in v0.5.0

func (s Request) HasE2eCleanup() bool

func (Request) HasE2eRenewal added in v0.5.0

func (s Request) HasE2eRenewal() bool

func (Request) HasE2eSetup added in v0.5.0

func (s Request) HasE2eSetup() bool

func (Request) HasSegmentCleanup added in v0.5.0

func (s Request) HasSegmentCleanup() bool

func (Request) HasSegmentIndexConfirmation added in v0.5.0

func (s Request) HasSegmentIndexConfirmation() bool

func (Request) HasSegmentRenewal added in v0.5.0

func (s Request) HasSegmentRenewal() bool

func (Request) HasSegmentSetup added in v0.5.0

func (s Request) HasSegmentSetup() bool

func (Request) HasSegmentTeardown added in v0.5.0

func (s Request) HasSegmentTeardown() bool

func (Request) HasSegmentTelesRenewal added in v0.5.0

func (s Request) HasSegmentTelesRenewal() bool

func (Request) HasSegmentTelesSetup added in v0.5.0

func (s Request) HasSegmentTelesSetup() bool

func (Request) NewE2eCleanup added in v0.5.0

func (s Request) NewE2eCleanup() (E2ECleanupData, error)

NewE2eCleanup sets the e2eCleanup field to a newly allocated E2ECleanupData struct, preferring placement in s's segment.

func (Request) NewE2eRenewal added in v0.5.0

func (s Request) NewE2eRenewal() (E2ESetupReqData, error)

NewE2eRenewal sets the e2eRenewal field to a newly allocated E2ESetupReqData struct, preferring placement in s's segment.

func (Request) NewE2eSetup added in v0.5.0

func (s Request) NewE2eSetup() (E2ESetupReqData, error)

NewE2eSetup sets the e2eSetup field to a newly allocated E2ESetupReqData struct, preferring placement in s's segment.

func (Request) NewSegmentCleanup added in v0.5.0

func (s Request) NewSegmentCleanup() (SegmentCleanupData, error)

NewSegmentCleanup sets the segmentCleanup field to a newly allocated SegmentCleanupData struct, preferring placement in s's segment.

func (Request) NewSegmentIndexConfirmation added in v0.5.0

func (s Request) NewSegmentIndexConfirmation() (SegmentIndexConfirmationData, error)

NewSegmentIndexConfirmation sets the segmentIndexConfirmation field to a newly allocated SegmentIndexConfirmationData struct, preferring placement in s's segment.

func (Request) NewSegmentRenewal added in v0.5.0

func (s Request) NewSegmentRenewal() (SegmentSetupReqData, error)

NewSegmentRenewal sets the segmentRenewal field to a newly allocated SegmentSetupReqData struct, preferring placement in s's segment.

func (Request) NewSegmentSetup added in v0.5.0

func (s Request) NewSegmentSetup() (SegmentSetupReqData, error)

NewSegmentSetup sets the segmentSetup field to a newly allocated SegmentSetupReqData struct, preferring placement in s's segment.

func (Request) NewSegmentTeardown added in v0.5.0

func (s Request) NewSegmentTeardown() (SegmentTeardownReqData, error)

NewSegmentTeardown sets the segmentTeardown field to a newly allocated SegmentTeardownReqData struct, preferring placement in s's segment.

func (Request) NewSegmentTelesRenewal added in v0.5.0

func (s Request) NewSegmentTelesRenewal() (SegmentTelesSetupData, error)

NewSegmentTelesRenewal sets the segmentTelesRenewal field to a newly allocated SegmentTelesSetupData struct, preferring placement in s's segment.

func (Request) NewSegmentTelesSetup added in v0.5.0

func (s Request) NewSegmentTelesSetup() (SegmentTelesSetupData, error)

NewSegmentTelesSetup sets the segmentTelesSetup field to a newly allocated SegmentTelesSetupData struct, preferring placement in s's segment.

func (Request) SegmentCleanup added in v0.5.0

func (s Request) SegmentCleanup() (SegmentCleanupData, error)

func (Request) SegmentIndexConfirmation added in v0.5.0

func (s Request) SegmentIndexConfirmation() (SegmentIndexConfirmationData, error)

func (Request) SegmentRenewal added in v0.5.0

func (s Request) SegmentRenewal() (SegmentSetupReqData, error)

func (Request) SegmentSetup added in v0.5.0

func (s Request) SegmentSetup() (SegmentSetupReqData, error)

func (Request) SegmentTeardown added in v0.5.0

func (s Request) SegmentTeardown() (SegmentTeardownReqData, error)

func (Request) SegmentTelesRenewal added in v0.5.0

func (s Request) SegmentTelesRenewal() (SegmentTelesSetupData, error)

func (Request) SegmentTelesSetup added in v0.5.0

func (s Request) SegmentTelesSetup() (SegmentTelesSetupData, error)

func (Request) SetE2eCleanup added in v0.5.0

func (s Request) SetE2eCleanup(v E2ECleanupData) error

func (Request) SetE2eRenewal added in v0.5.0

func (s Request) SetE2eRenewal(v E2ESetupReqData) error

func (Request) SetE2eSetup added in v0.5.0

func (s Request) SetE2eSetup(v E2ESetupReqData) error

func (Request) SetSegmentCleanup added in v0.5.0

func (s Request) SetSegmentCleanup(v SegmentCleanupData) error

func (Request) SetSegmentIndexConfirmation added in v0.5.0

func (s Request) SetSegmentIndexConfirmation(v SegmentIndexConfirmationData) error

func (Request) SetSegmentRenewal added in v0.5.0

func (s Request) SetSegmentRenewal(v SegmentSetupReqData) error

func (Request) SetSegmentSetup added in v0.5.0

func (s Request) SetSegmentSetup(v SegmentSetupReqData) error

func (Request) SetSegmentTeardown added in v0.5.0

func (s Request) SetSegmentTeardown(v SegmentTeardownReqData) error

func (Request) SetSegmentTelesRenewal added in v0.5.0

func (s Request) SetSegmentTelesRenewal(v SegmentTelesSetupData) error

func (Request) SetSegmentTelesSetup added in v0.5.0

func (s Request) SetSegmentTelesSetup(v SegmentTelesSetupData) error

func (Request) SetUnset added in v0.5.0

func (s Request) SetUnset()

func (Request) String added in v0.5.0

func (s Request) String() string

func (Request) Which added in v0.5.0

func (s Request) Which() Request_Which

type Request_List added in v0.5.0

type Request_List struct{ capnp.List }

Request_List is a list of Request.

func NewRequest_List added in v0.5.0

func NewRequest_List(s *capnp.Segment, sz int32) (Request_List, error)

NewRequest creates a new list of Request.

func (Request_List) At added in v0.5.0

func (s Request_List) At(i int) Request

func (Request_List) Set added in v0.5.0

func (s Request_List) Set(i int, v Request) error

func (Request_List) String added in v0.5.0

func (s Request_List) String() string

type Request_Promise added in v0.5.0

type Request_Promise struct{ *capnp.Pipeline }

Request_Promise is a wrapper for a Request promised by a client call.

func (Request_Promise) E2eCleanup added in v0.5.0

func (p Request_Promise) E2eCleanup() E2ECleanupData_Promise

func (Request_Promise) E2eRenewal added in v0.5.0

func (Request_Promise) E2eSetup added in v0.5.0

func (Request_Promise) SegmentCleanup added in v0.5.0

func (p Request_Promise) SegmentCleanup() SegmentCleanupData_Promise

func (Request_Promise) SegmentIndexConfirmation added in v0.5.0

func (p Request_Promise) SegmentIndexConfirmation() SegmentIndexConfirmationData_Promise

func (Request_Promise) SegmentRenewal added in v0.5.0

func (p Request_Promise) SegmentRenewal() SegmentSetupReqData_Promise

func (Request_Promise) SegmentSetup added in v0.5.0

func (Request_Promise) SegmentTeardown added in v0.5.0

func (p Request_Promise) SegmentTeardown() SegmentTeardownReqData_Promise

func (Request_Promise) SegmentTelesRenewal added in v0.5.0

func (p Request_Promise) SegmentTelesRenewal() SegmentTelesSetupData_Promise

func (Request_Promise) SegmentTelesSetup added in v0.5.0

func (p Request_Promise) SegmentTelesSetup() SegmentTelesSetupData_Promise

func (Request_Promise) Struct added in v0.5.0

func (p Request_Promise) Struct() (Request, error)

type Request_Which added in v0.5.0

type Request_Which uint16
const (
	Request_Which_unset                    Request_Which = 0
	Request_Which_segmentSetup             Request_Which = 1
	Request_Which_segmentRenewal           Request_Which = 2
	Request_Which_segmentTelesSetup        Request_Which = 3
	Request_Which_segmentTelesRenewal      Request_Which = 4
	Request_Which_segmentTeardown          Request_Which = 5
	Request_Which_segmentIndexConfirmation Request_Which = 6
	Request_Which_segmentCleanup           Request_Which = 7
	Request_Which_e2eSetup                 Request_Which = 8
	Request_Which_e2eRenewal               Request_Which = 9
	Request_Which_e2eCleanup               Request_Which = 10
)

func (Request_Which) String added in v0.5.0

func (w Request_Which) String() string

type ReservationIndexState added in v0.5.0

type ReservationIndexState uint16
const (
	ReservationIndexState_pending ReservationIndexState = 0
	ReservationIndexState_active  ReservationIndexState = 1
)

Values of ReservationIndexState.

func ReservationIndexStateFromString added in v0.5.0

func ReservationIndexStateFromString(c string) ReservationIndexState

ReservationIndexStateFromString returns the enum value with a name, or the zero value if there's no such value.

func (ReservationIndexState) String added in v0.5.0

func (c ReservationIndexState) String() string

String returns the enum's constant name.

type ReservationIndexState_List added in v0.5.0

type ReservationIndexState_List struct{ capnp.List }

func NewReservationIndexState_List added in v0.5.0

func NewReservationIndexState_List(s *capnp.Segment, sz int32) (ReservationIndexState_List, error)

func (ReservationIndexState_List) At added in v0.5.0

func (ReservationIndexState_List) Set added in v0.5.0

type Response added in v0.5.0

type Response struct{ capnp.Struct }

func NewResponse added in v0.5.0

func NewResponse(s *capnp.Segment) (Response, error)

func NewRootResponse added in v0.5.0

func NewRootResponse(s *capnp.Segment) (Response, error)

func ReadRootResponse added in v0.5.0

func ReadRootResponse(msg *capnp.Message) (Response, error)

func (Response) Accepted added in v0.5.0

func (s Response) Accepted() bool

func (Response) E2eCleanup added in v0.5.0

func (s Response) E2eCleanup() (E2ECleanupResData, error)

func (Response) E2eRenewal added in v0.5.0

func (s Response) E2eRenewal() (E2ESetupResData, error)

func (Response) E2eSetup added in v0.5.0

func (s Response) E2eSetup() (E2ESetupResData, error)

func (Response) FailedHop added in v0.5.0

func (s Response) FailedHop() uint8

func (Response) HasE2eCleanup added in v0.5.0

func (s Response) HasE2eCleanup() bool

func (Response) HasE2eRenewal added in v0.5.0

func (s Response) HasE2eRenewal() bool

func (Response) HasE2eSetup added in v0.5.0

func (s Response) HasE2eSetup() bool

func (Response) HasSegmentCleanup added in v0.5.0

func (s Response) HasSegmentCleanup() bool

func (Response) HasSegmentIndexConfirmation added in v0.5.0

func (s Response) HasSegmentIndexConfirmation() bool

func (Response) HasSegmentRenewal added in v0.5.0

func (s Response) HasSegmentRenewal() bool

func (Response) HasSegmentSetup added in v0.5.0

func (s Response) HasSegmentSetup() bool

func (Response) HasSegmentTeardown added in v0.5.0

func (s Response) HasSegmentTeardown() bool

func (Response) NewE2eCleanup added in v0.5.0

func (s Response) NewE2eCleanup() (E2ECleanupResData, error)

NewE2eCleanup sets the e2eCleanup field to a newly allocated E2ECleanupResData struct, preferring placement in s's segment.

func (Response) NewE2eRenewal added in v0.5.0

func (s Response) NewE2eRenewal() (E2ESetupResData, error)

NewE2eRenewal sets the e2eRenewal field to a newly allocated E2ESetupResData struct, preferring placement in s's segment.

func (Response) NewE2eSetup added in v0.5.0

func (s Response) NewE2eSetup() (E2ESetupResData, error)

NewE2eSetup sets the e2eSetup field to a newly allocated E2ESetupResData struct, preferring placement in s's segment.

func (Response) NewSegmentCleanup added in v0.5.0

func (s Response) NewSegmentCleanup() (SegmentCleanupResData, error)

NewSegmentCleanup sets the segmentCleanup field to a newly allocated SegmentCleanupResData struct, preferring placement in s's segment.

func (Response) NewSegmentIndexConfirmation added in v0.5.0

func (s Response) NewSegmentIndexConfirmation() (SegmentIndexConfirmationResData, error)

NewSegmentIndexConfirmation sets the segmentIndexConfirmation field to a newly allocated SegmentIndexConfirmationResData struct, preferring placement in s's segment.

func (Response) NewSegmentRenewal added in v0.5.0

func (s Response) NewSegmentRenewal() (SegmentSetupResData, error)

NewSegmentRenewal sets the segmentRenewal field to a newly allocated SegmentSetupResData struct, preferring placement in s's segment.

func (Response) NewSegmentSetup added in v0.5.0

func (s Response) NewSegmentSetup() (SegmentSetupResData, error)

NewSegmentSetup sets the segmentSetup field to a newly allocated SegmentSetupResData struct, preferring placement in s's segment.

func (Response) NewSegmentTeardown added in v0.5.0

func (s Response) NewSegmentTeardown() (SegmentTeardownResData, error)

NewSegmentTeardown sets the segmentTeardown field to a newly allocated SegmentTeardownResData struct, preferring placement in s's segment.

func (Response) SegmentCleanup added in v0.5.0

func (s Response) SegmentCleanup() (SegmentCleanupResData, error)

func (Response) SegmentIndexConfirmation added in v0.5.0

func (s Response) SegmentIndexConfirmation() (SegmentIndexConfirmationResData, error)

func (Response) SegmentRenewal added in v0.5.0

func (s Response) SegmentRenewal() (SegmentSetupResData, error)

func (Response) SegmentSetup added in v0.5.0

func (s Response) SegmentSetup() (SegmentSetupResData, error)

func (Response) SegmentTeardown added in v0.5.0

func (s Response) SegmentTeardown() (SegmentTeardownResData, error)

func (Response) SetAccepted added in v0.5.0

func (s Response) SetAccepted(v bool)

func (Response) SetE2eCleanup added in v0.5.0

func (s Response) SetE2eCleanup(v E2ECleanupResData) error

func (Response) SetE2eRenewal added in v0.5.0

func (s Response) SetE2eRenewal(v E2ESetupResData) error

func (Response) SetE2eSetup added in v0.5.0

func (s Response) SetE2eSetup(v E2ESetupResData) error

func (Response) SetFailedHop added in v0.5.0

func (s Response) SetFailedHop(v uint8)

func (Response) SetSegmentCleanup added in v0.5.0

func (s Response) SetSegmentCleanup(v SegmentCleanupResData) error

func (Response) SetSegmentIndexConfirmation added in v0.5.0

func (s Response) SetSegmentIndexConfirmation(v SegmentIndexConfirmationResData) error

func (Response) SetSegmentRenewal added in v0.5.0

func (s Response) SetSegmentRenewal(v SegmentSetupResData) error

func (Response) SetSegmentSetup added in v0.5.0

func (s Response) SetSegmentSetup(v SegmentSetupResData) error

func (Response) SetSegmentTeardown added in v0.5.0

func (s Response) SetSegmentTeardown(v SegmentTeardownResData) error

func (Response) SetUnset added in v0.5.0

func (s Response) SetUnset()

func (Response) String added in v0.5.0

func (s Response) String() string

func (Response) Which added in v0.5.0

func (s Response) Which() Response_Which

type Response_List added in v0.5.0

type Response_List struct{ capnp.List }

Response_List is a list of Response.

func NewResponse_List added in v0.5.0

func NewResponse_List(s *capnp.Segment, sz int32) (Response_List, error)

NewResponse creates a new list of Response.

func (Response_List) At added in v0.5.0

func (s Response_List) At(i int) Response

func (Response_List) Set added in v0.5.0

func (s Response_List) Set(i int, v Response) error

func (Response_List) String added in v0.5.0

func (s Response_List) String() string

type Response_Promise added in v0.5.0

type Response_Promise struct{ *capnp.Pipeline }

Response_Promise is a wrapper for a Response promised by a client call.

func (Response_Promise) E2eCleanup added in v0.5.0

func (Response_Promise) E2eRenewal added in v0.5.0

func (Response_Promise) E2eSetup added in v0.5.0

func (Response_Promise) SegmentCleanup added in v0.5.0

func (Response_Promise) SegmentIndexConfirmation added in v0.5.0

func (p Response_Promise) SegmentIndexConfirmation() SegmentIndexConfirmationResData_Promise

func (Response_Promise) SegmentRenewal added in v0.5.0

func (p Response_Promise) SegmentRenewal() SegmentSetupResData_Promise

func (Response_Promise) SegmentSetup added in v0.5.0

func (Response_Promise) SegmentTeardown added in v0.5.0

func (Response_Promise) Struct added in v0.5.0

func (p Response_Promise) Struct() (Response, error)

type Response_Which added in v0.5.0

type Response_Which uint16
const (
	Response_Which_unset                    Response_Which = 0
	Response_Which_segmentSetup             Response_Which = 1
	Response_Which_segmentRenewal           Response_Which = 2
	Response_Which_segmentTeardown          Response_Which = 3
	Response_Which_segmentIndexConfirmation Response_Which = 4
	Response_Which_segmentCleanup           Response_Which = 5
	Response_Which_e2eSetup                 Response_Which = 6
	Response_Which_e2eRenewal               Response_Which = 7
	Response_Which_e2eCleanup               Response_Which = 8
)

func (Response_Which) String added in v0.5.0

func (w Response_Which) String() string

type RevInfo added in v0.4.0

type RevInfo struct{ capnp.Struct }

func NewRevInfo added in v0.4.0

func NewRevInfo(s *capnp.Segment) (RevInfo, error)

func NewRootRevInfo added in v0.4.0

func NewRootRevInfo(s *capnp.Segment) (RevInfo, error)

func ReadRootRevInfo added in v0.4.0

func ReadRootRevInfo(msg *capnp.Message) (RevInfo, error)

func (RevInfo) GetStruct added in v0.4.0

func (s RevInfo) GetStruct() capnp.Struct

func (RevInfo) IfID added in v0.4.0

func (s RevInfo) IfID() uint64

func (RevInfo) Isdas added in v0.4.0

func (s RevInfo) Isdas() uint64

func (RevInfo) LinkType added in v0.4.0

func (s RevInfo) LinkType() LinkType

func (RevInfo) SetIfID added in v0.4.0

func (s RevInfo) SetIfID(v uint64)

func (RevInfo) SetIsdas added in v0.4.0

func (s RevInfo) SetIsdas(v uint64)

func (RevInfo) SetLinkType added in v0.4.0

func (s RevInfo) SetLinkType(v LinkType)

func (RevInfo) SetTimestamp added in v0.4.0

func (s RevInfo) SetTimestamp(v uint32)

func (RevInfo) SetTtl added in v0.4.0

func (s RevInfo) SetTtl(v uint32)

func (RevInfo) String added in v0.4.0

func (s RevInfo) String() string

func (RevInfo) Timestamp added in v0.4.0

func (s RevInfo) Timestamp() uint32

func (RevInfo) Ttl added in v0.4.0

func (s RevInfo) Ttl() uint32

type RevInfo_List added in v0.4.0

type RevInfo_List struct{ capnp.List }

RevInfo_List is a list of RevInfo.

func NewRevInfo_List added in v0.4.0

func NewRevInfo_List(s *capnp.Segment, sz int32) (RevInfo_List, error)

NewRevInfo creates a new list of RevInfo.

func (RevInfo_List) At added in v0.4.0

func (s RevInfo_List) At(i int) RevInfo

func (RevInfo_List) Set added in v0.4.0

func (s RevInfo_List) Set(i int, v RevInfo) error

func (RevInfo_List) String added in v0.4.0

func (s RevInfo_List) String() string

type RevInfo_Promise added in v0.4.0

type RevInfo_Promise struct{ *capnp.Pipeline }

RevInfo_Promise is a wrapper for a RevInfo promised by a client call.

func (RevInfo_Promise) Struct added in v0.4.0

func (p RevInfo_Promise) Struct() (RevInfo, error)

type RoutingPolicyExt added in v0.4.0

type RoutingPolicyExt struct{ capnp.Struct }

func NewRootRoutingPolicyExt added in v0.4.0

func NewRootRoutingPolicyExt(s *capnp.Segment) (RoutingPolicyExt, error)

func NewRoutingPolicyExt added in v0.4.0

func NewRoutingPolicyExt(s *capnp.Segment) (RoutingPolicyExt, error)

func ReadRootRoutingPolicyExt added in v0.4.0

func ReadRootRoutingPolicyExt(msg *capnp.Message) (RoutingPolicyExt, error)

func (RoutingPolicyExt) HasIsdases added in v0.4.0

func (s RoutingPolicyExt) HasIsdases() bool

func (RoutingPolicyExt) IfID added in v0.4.0

func (s RoutingPolicyExt) IfID() uint64

func (RoutingPolicyExt) Isdases added in v0.4.0

func (s RoutingPolicyExt) Isdases() (capnp.UInt64List, error)

func (RoutingPolicyExt) NewIsdases added in v0.4.0

func (s RoutingPolicyExt) NewIsdases(n int32) (capnp.UInt64List, error)

NewIsdases sets the isdases field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (RoutingPolicyExt) PolType added in v0.4.0

func (s RoutingPolicyExt) PolType() uint8

func (RoutingPolicyExt) Set added in v0.4.0

func (s RoutingPolicyExt) Set() bool

func (RoutingPolicyExt) SetIfID added in v0.4.0

func (s RoutingPolicyExt) SetIfID(v uint64)

func (RoutingPolicyExt) SetIsdases added in v0.4.0

func (s RoutingPolicyExt) SetIsdases(v capnp.UInt64List) error

func (RoutingPolicyExt) SetPolType added in v0.4.0

func (s RoutingPolicyExt) SetPolType(v uint8)

func (RoutingPolicyExt) SetSet added in v0.4.0

func (s RoutingPolicyExt) SetSet(v bool)

func (RoutingPolicyExt) String added in v0.4.0

func (s RoutingPolicyExt) String() string

type RoutingPolicyExt_List added in v0.4.0

type RoutingPolicyExt_List struct{ capnp.List }

RoutingPolicyExt_List is a list of RoutingPolicyExt.

func NewRoutingPolicyExt_List added in v0.4.0

func NewRoutingPolicyExt_List(s *capnp.Segment, sz int32) (RoutingPolicyExt_List, error)

NewRoutingPolicyExt creates a new list of RoutingPolicyExt.

func (RoutingPolicyExt_List) At added in v0.4.0

func (RoutingPolicyExt_List) Set added in v0.4.0

func (RoutingPolicyExt_List) String added in v0.4.0

func (s RoutingPolicyExt_List) String() string

type RoutingPolicyExt_Promise added in v0.4.0

type RoutingPolicyExt_Promise struct{ *capnp.Pipeline }

RoutingPolicyExt_Promise is a wrapper for a RoutingPolicyExt promised by a client call.

func (RoutingPolicyExt_Promise) Struct added in v0.4.0

type SIGAddr added in v0.4.0

type SIGAddr struct{ capnp.Struct }

func NewRootSIGAddr added in v0.4.0

func NewRootSIGAddr(s *capnp.Segment) (SIGAddr, error)

func NewSIGAddr added in v0.4.0

func NewSIGAddr(s *capnp.Segment) (SIGAddr, error)

func ReadRootSIGAddr added in v0.4.0

func ReadRootSIGAddr(msg *capnp.Message) (SIGAddr, error)

func (SIGAddr) Ctrl added in v0.4.0

func (s SIGAddr) Ctrl() (HostInfo, error)

func (SIGAddr) Data added in v0.5.0

func (s SIGAddr) Data() (HostInfo, error)

func (SIGAddr) HasCtrl added in v0.4.0

func (s SIGAddr) HasCtrl() bool

func (SIGAddr) HasData added in v0.5.0

func (s SIGAddr) HasData() bool

func (SIGAddr) NewCtrl added in v0.4.0

func (s SIGAddr) NewCtrl() (HostInfo, error)

NewCtrl sets the ctrl field to a newly allocated HostInfo struct, preferring placement in s's segment.

func (SIGAddr) NewData added in v0.5.0

func (s SIGAddr) NewData() (HostInfo, error)

NewData sets the data field to a newly allocated HostInfo struct, preferring placement in s's segment.

func (SIGAddr) SetCtrl added in v0.4.0

func (s SIGAddr) SetCtrl(v HostInfo) error

func (SIGAddr) SetData added in v0.5.0

func (s SIGAddr) SetData(v HostInfo) error

func (SIGAddr) String added in v0.4.0

func (s SIGAddr) String() string

type SIGAddr_List added in v0.4.0

type SIGAddr_List struct{ capnp.List }

SIGAddr_List is a list of SIGAddr.

func NewSIGAddr_List added in v0.4.0

func NewSIGAddr_List(s *capnp.Segment, sz int32) (SIGAddr_List, error)

NewSIGAddr creates a new list of SIGAddr.

func (SIGAddr_List) At added in v0.4.0

func (s SIGAddr_List) At(i int) SIGAddr

func (SIGAddr_List) Set added in v0.4.0

func (s SIGAddr_List) Set(i int, v SIGAddr) error

func (SIGAddr_List) String added in v0.4.0

func (s SIGAddr_List) String() string

type SIGAddr_Promise added in v0.4.0

type SIGAddr_Promise struct{ *capnp.Pipeline }

SIGAddr_Promise is a wrapper for a SIGAddr promised by a client call.

func (SIGAddr_Promise) Ctrl added in v0.4.0

func (SIGAddr_Promise) Data added in v0.5.0

func (SIGAddr_Promise) Struct added in v0.4.0

func (p SIGAddr_Promise) Struct() (SIGAddr, error)

type SIGCtrl added in v0.4.0

type SIGCtrl struct{ capnp.Struct }

func NewRootSIGCtrl added in v0.4.0

func NewRootSIGCtrl(s *capnp.Segment) (SIGCtrl, error)

func NewSIGCtrl added in v0.4.0

func NewSIGCtrl(s *capnp.Segment) (SIGCtrl, error)

func ReadRootSIGCtrl added in v0.4.0

func ReadRootSIGCtrl(msg *capnp.Message) (SIGCtrl, error)

func (SIGCtrl) HasPollRep added in v0.4.0

func (s SIGCtrl) HasPollRep() bool

func (SIGCtrl) HasPollReq added in v0.4.0

func (s SIGCtrl) HasPollReq() bool

func (SIGCtrl) Id added in v0.4.0

func (s SIGCtrl) Id() uint64

func (SIGCtrl) NewPollRep added in v0.4.0

func (s SIGCtrl) NewPollRep() (SIGPoll, error)

NewPollRep sets the pollRep field to a newly allocated SIGPoll struct, preferring placement in s's segment.

func (SIGCtrl) NewPollReq added in v0.4.0

func (s SIGCtrl) NewPollReq() (SIGPoll, error)

NewPollReq sets the pollReq field to a newly allocated SIGPoll struct, preferring placement in s's segment.

func (SIGCtrl) PollRep added in v0.4.0

func (s SIGCtrl) PollRep() (SIGPoll, error)

func (SIGCtrl) PollReq added in v0.4.0

func (s SIGCtrl) PollReq() (SIGPoll, error)

func (SIGCtrl) SetId added in v0.4.0

func (s SIGCtrl) SetId(v uint64)

func (SIGCtrl) SetPollRep added in v0.4.0

func (s SIGCtrl) SetPollRep(v SIGPoll) error

func (SIGCtrl) SetPollReq added in v0.4.0

func (s SIGCtrl) SetPollReq(v SIGPoll) error

func (SIGCtrl) SetUnset added in v0.4.0

func (s SIGCtrl) SetUnset()

func (SIGCtrl) String added in v0.4.0

func (s SIGCtrl) String() string

func (SIGCtrl) Which added in v0.4.0

func (s SIGCtrl) Which() SIGCtrl_Which

type SIGCtrl_List added in v0.4.0

type SIGCtrl_List struct{ capnp.List }

SIGCtrl_List is a list of SIGCtrl.

func NewSIGCtrl_List added in v0.4.0

func NewSIGCtrl_List(s *capnp.Segment, sz int32) (SIGCtrl_List, error)

NewSIGCtrl creates a new list of SIGCtrl.

func (SIGCtrl_List) At added in v0.4.0

func (s SIGCtrl_List) At(i int) SIGCtrl

func (SIGCtrl_List) Set added in v0.4.0

func (s SIGCtrl_List) Set(i int, v SIGCtrl) error

func (SIGCtrl_List) String added in v0.4.0

func (s SIGCtrl_List) String() string

type SIGCtrl_Promise added in v0.4.0

type SIGCtrl_Promise struct{ *capnp.Pipeline }

SIGCtrl_Promise is a wrapper for a SIGCtrl promised by a client call.

func (SIGCtrl_Promise) PollRep added in v0.4.0

func (p SIGCtrl_Promise) PollRep() SIGPoll_Promise

func (SIGCtrl_Promise) PollReq added in v0.4.0

func (p SIGCtrl_Promise) PollReq() SIGPoll_Promise

func (SIGCtrl_Promise) Struct added in v0.4.0

func (p SIGCtrl_Promise) Struct() (SIGCtrl, error)

type SIGCtrl_Which added in v0.4.0

type SIGCtrl_Which uint16
const (
	SIGCtrl_Which_unset   SIGCtrl_Which = 0
	SIGCtrl_Which_pollReq SIGCtrl_Which = 1
	SIGCtrl_Which_pollRep SIGCtrl_Which = 2
)

func (SIGCtrl_Which) String added in v0.4.0

func (w SIGCtrl_Which) String() string

type SIGPoll added in v0.4.0

type SIGPoll struct{ capnp.Struct }

func NewRootSIGPoll added in v0.4.0

func NewRootSIGPoll(s *capnp.Segment) (SIGPoll, error)

func NewSIGPoll added in v0.4.0

func NewSIGPoll(s *capnp.Segment) (SIGPoll, error)

func ReadRootSIGPoll added in v0.4.0

func ReadRootSIGPoll(msg *capnp.Message) (SIGPoll, error)

func (SIGPoll) Addr added in v0.4.0

func (s SIGPoll) Addr() (SIGAddr, error)

func (SIGPoll) HasAddr added in v0.4.0

func (s SIGPoll) HasAddr() bool

func (SIGPoll) NewAddr added in v0.4.0

func (s SIGPoll) NewAddr() (SIGAddr, error)

NewAddr sets the addr field to a newly allocated SIGAddr struct, preferring placement in s's segment.

func (SIGPoll) Session added in v0.4.0

func (s SIGPoll) Session() uint8

func (SIGPoll) SetAddr added in v0.4.0

func (s SIGPoll) SetAddr(v SIGAddr) error

func (SIGPoll) SetSession added in v0.4.0

func (s SIGPoll) SetSession(v uint8)

func (SIGPoll) String added in v0.4.0

func (s SIGPoll) String() string

type SIGPoll_List added in v0.4.0

type SIGPoll_List struct{ capnp.List }

SIGPoll_List is a list of SIGPoll.

func NewSIGPoll_List added in v0.4.0

func NewSIGPoll_List(s *capnp.Segment, sz int32) (SIGPoll_List, error)

NewSIGPoll creates a new list of SIGPoll.

func (SIGPoll_List) At added in v0.4.0

func (s SIGPoll_List) At(i int) SIGPoll

func (SIGPoll_List) Set added in v0.4.0

func (s SIGPoll_List) Set(i int, v SIGPoll) error

func (SIGPoll_List) String added in v0.4.0

func (s SIGPoll_List) String() string

type SIGPoll_Promise added in v0.4.0

type SIGPoll_Promise struct{ *capnp.Pipeline }

SIGPoll_Promise is a wrapper for a SIGPoll promised by a client call.

func (SIGPoll_Promise) Addr added in v0.4.0

func (SIGPoll_Promise) Struct added in v0.4.0

func (p SIGPoll_Promise) Struct() (SIGPoll, error)

type SVCResolutionReply added in v0.4.0

type SVCResolutionReply struct{ capnp.Struct }

func NewRootSVCResolutionReply added in v0.4.0

func NewRootSVCResolutionReply(s *capnp.Segment) (SVCResolutionReply, error)

func NewSVCResolutionReply added in v0.4.0

func NewSVCResolutionReply(s *capnp.Segment) (SVCResolutionReply, error)

func ReadRootSVCResolutionReply added in v0.4.0

func ReadRootSVCResolutionReply(msg *capnp.Message) (SVCResolutionReply, error)

func (SVCResolutionReply) GetStruct added in v0.4.0

func (s SVCResolutionReply) GetStruct() capnp.Struct

func (SVCResolutionReply) HasTransports added in v0.4.0

func (s SVCResolutionReply) HasTransports() bool

func (SVCResolutionReply) NewTransports added in v0.4.0

func (s SVCResolutionReply) NewTransports(n int32) (Transport_List, error)

NewTransports sets the transports field to a newly allocated Transport_List, preferring placement in s's segment.

func (SVCResolutionReply) SetTransports added in v0.4.0

func (s SVCResolutionReply) SetTransports(v Transport_List) error

func (SVCResolutionReply) String added in v0.4.0

func (s SVCResolutionReply) String() string

func (SVCResolutionReply) Transports added in v0.4.0

func (s SVCResolutionReply) Transports() (Transport_List, error)

type SVCResolutionReply_List added in v0.4.0

type SVCResolutionReply_List struct{ capnp.List }

SVCResolutionReply_List is a list of SVCResolutionReply.

func NewSVCResolutionReply_List added in v0.4.0

func NewSVCResolutionReply_List(s *capnp.Segment, sz int32) (SVCResolutionReply_List, error)

NewSVCResolutionReply creates a new list of SVCResolutionReply.

func (SVCResolutionReply_List) At added in v0.4.0

func (SVCResolutionReply_List) Set added in v0.4.0

func (SVCResolutionReply_List) String added in v0.4.0

func (s SVCResolutionReply_List) String() string

type SVCResolutionReply_Promise added in v0.4.0

type SVCResolutionReply_Promise struct{ *capnp.Pipeline }

SVCResolutionReply_Promise is a wrapper for a SVCResolutionReply promised by a client call.

func (SVCResolutionReply_Promise) Struct added in v0.4.0

type SegIds added in v0.4.0

type SegIds struct{ capnp.Struct }

func NewRootSegIds added in v0.4.0

func NewRootSegIds(s *capnp.Segment) (SegIds, error)

func NewSegIds added in v0.4.0

func NewSegIds(s *capnp.Segment) (SegIds, error)

func ReadRootSegIds added in v0.4.0

func ReadRootSegIds(msg *capnp.Message) (SegIds, error)

func (SegIds) FullId added in v0.4.0

func (s SegIds) FullId() ([]byte, error)

func (SegIds) HasFullId added in v0.4.0

func (s SegIds) HasFullId() bool

func (SegIds) HasSegId added in v0.4.0

func (s SegIds) HasSegId() bool

func (SegIds) SegId added in v0.4.0

func (s SegIds) SegId() ([]byte, error)

func (SegIds) SetFullId added in v0.4.0

func (s SegIds) SetFullId(v []byte) error

func (SegIds) SetSegId added in v0.4.0

func (s SegIds) SetSegId(v []byte) error

func (SegIds) String added in v0.4.0

func (s SegIds) String() string

type SegIds_List added in v0.4.0

type SegIds_List struct{ capnp.List }

SegIds_List is a list of SegIds.

func NewSegIds_List added in v0.4.0

func NewSegIds_List(s *capnp.Segment, sz int32) (SegIds_List, error)

NewSegIds creates a new list of SegIds.

func (SegIds_List) At added in v0.4.0

func (s SegIds_List) At(i int) SegIds

func (SegIds_List) Set added in v0.4.0

func (s SegIds_List) Set(i int, v SegIds) error

func (SegIds_List) String added in v0.4.0

func (s SegIds_List) String() string

type SegIds_Promise added in v0.4.0

type SegIds_Promise struct{ *capnp.Pipeline }

SegIds_Promise is a wrapper for a SegIds promised by a client call.

func (SegIds_Promise) Struct added in v0.4.0

func (p SegIds_Promise) Struct() (SegIds, error)

type SegmentBase added in v0.6.0

type SegmentBase struct{ capnp.Struct }

func NewRootSegmentBase added in v0.6.0

func NewRootSegmentBase(s *capnp.Segment) (SegmentBase, error)

func NewSegmentBase added in v0.6.0

func NewSegmentBase(s *capnp.Segment) (SegmentBase, error)

func ReadRootSegmentBase added in v0.6.0

func ReadRootSegmentBase(msg *capnp.Message) (SegmentBase, error)

func (SegmentBase) HasId added in v0.6.0

func (s SegmentBase) HasId() bool

func (SegmentBase) Id added in v0.6.0

func (SegmentBase) Index added in v0.6.0

func (s SegmentBase) Index() uint8

func (SegmentBase) NewId added in v0.6.0

func (s SegmentBase) NewId() (SegmentReservationID, error)

NewId sets the id field to a newly allocated SegmentReservationID struct, preferring placement in s's segment.

func (SegmentBase) SetId added in v0.6.0

func (SegmentBase) SetIndex added in v0.6.0

func (s SegmentBase) SetIndex(v uint8)

func (SegmentBase) String added in v0.6.0

func (s SegmentBase) String() string

type SegmentBase_List added in v0.6.0

type SegmentBase_List struct{ capnp.List }

SegmentBase_List is a list of SegmentBase.

func NewSegmentBase_List added in v0.6.0

func NewSegmentBase_List(s *capnp.Segment, sz int32) (SegmentBase_List, error)

NewSegmentBase creates a new list of SegmentBase.

func (SegmentBase_List) At added in v0.6.0

func (SegmentBase_List) Set added in v0.6.0

func (s SegmentBase_List) Set(i int, v SegmentBase) error

func (SegmentBase_List) String added in v0.6.0

func (s SegmentBase_List) String() string

type SegmentBase_Promise added in v0.6.0

type SegmentBase_Promise struct{ *capnp.Pipeline }

SegmentBase_Promise is a wrapper for a SegmentBase promised by a client call.

func (SegmentBase_Promise) Id added in v0.6.0

func (SegmentBase_Promise) Struct added in v0.6.0

func (p SegmentBase_Promise) Struct() (SegmentBase, error)

type SegmentCleanupData added in v0.5.0

type SegmentCleanupData struct{ capnp.Struct }

func NewRootSegmentCleanupData added in v0.5.0

func NewRootSegmentCleanupData(s *capnp.Segment) (SegmentCleanupData, error)

func NewSegmentCleanupData added in v0.5.0

func NewSegmentCleanupData(s *capnp.Segment) (SegmentCleanupData, error)

func ReadRootSegmentCleanupData added in v0.5.0

func ReadRootSegmentCleanupData(msg *capnp.Message) (SegmentCleanupData, error)

func (SegmentCleanupData) Base added in v0.6.0

func (s SegmentCleanupData) Base() (SegmentBase, error)

func (SegmentCleanupData) HasBase added in v0.6.0

func (s SegmentCleanupData) HasBase() bool

func (SegmentCleanupData) NewBase added in v0.6.0

func (s SegmentCleanupData) NewBase() (SegmentBase, error)

NewBase sets the base field to a newly allocated SegmentBase struct, preferring placement in s's segment.

func (SegmentCleanupData) SetBase added in v0.6.0

func (s SegmentCleanupData) SetBase(v SegmentBase) error

func (SegmentCleanupData) String added in v0.5.0

func (s SegmentCleanupData) String() string

type SegmentCleanupData_List added in v0.5.0

type SegmentCleanupData_List struct{ capnp.List }

SegmentCleanupData_List is a list of SegmentCleanupData.

func NewSegmentCleanupData_List added in v0.5.0

func NewSegmentCleanupData_List(s *capnp.Segment, sz int32) (SegmentCleanupData_List, error)

NewSegmentCleanupData creates a new list of SegmentCleanupData.

func (SegmentCleanupData_List) At added in v0.5.0

func (SegmentCleanupData_List) Set added in v0.5.0

func (SegmentCleanupData_List) String added in v0.5.0

func (s SegmentCleanupData_List) String() string

type SegmentCleanupData_Promise added in v0.5.0

type SegmentCleanupData_Promise struct{ *capnp.Pipeline }

SegmentCleanupData_Promise is a wrapper for a SegmentCleanupData promised by a client call.

func (SegmentCleanupData_Promise) Base added in v0.6.0

func (SegmentCleanupData_Promise) Struct added in v0.5.0

type SegmentCleanupResData added in v0.6.0

type SegmentCleanupResData struct{ capnp.Struct }

func NewRootSegmentCleanupResData added in v0.6.0

func NewRootSegmentCleanupResData(s *capnp.Segment) (SegmentCleanupResData, error)

func NewSegmentCleanupResData added in v0.6.0

func NewSegmentCleanupResData(s *capnp.Segment) (SegmentCleanupResData, error)

func ReadRootSegmentCleanupResData added in v0.6.0

func ReadRootSegmentCleanupResData(msg *capnp.Message) (SegmentCleanupResData, error)

func (SegmentCleanupResData) Base added in v0.6.0

func (SegmentCleanupResData) ErrorCode added in v0.6.0

func (s SegmentCleanupResData) ErrorCode() uint8

func (SegmentCleanupResData) HasBase added in v0.6.0

func (s SegmentCleanupResData) HasBase() bool

func (SegmentCleanupResData) NewBase added in v0.6.0

func (s SegmentCleanupResData) NewBase() (SegmentBase, error)

NewBase sets the base field to a newly allocated SegmentBase struct, preferring placement in s's segment.

func (SegmentCleanupResData) SetBase added in v0.6.0

func (SegmentCleanupResData) SetErrorCode added in v0.6.0

func (s SegmentCleanupResData) SetErrorCode(v uint8)

func (SegmentCleanupResData) String added in v0.6.0

func (s SegmentCleanupResData) String() string

type SegmentCleanupResData_List added in v0.6.0

type SegmentCleanupResData_List struct{ capnp.List }

SegmentCleanupResData_List is a list of SegmentCleanupResData.

func NewSegmentCleanupResData_List added in v0.6.0

func NewSegmentCleanupResData_List(s *capnp.Segment, sz int32) (SegmentCleanupResData_List, error)

NewSegmentCleanupResData creates a new list of SegmentCleanupResData.

func (SegmentCleanupResData_List) At added in v0.6.0

func (SegmentCleanupResData_List) Set added in v0.6.0

func (SegmentCleanupResData_List) String added in v0.6.0

type SegmentCleanupResData_Promise added in v0.6.0

type SegmentCleanupResData_Promise struct{ *capnp.Pipeline }

SegmentCleanupResData_Promise is a wrapper for a SegmentCleanupResData promised by a client call.

func (SegmentCleanupResData_Promise) Base added in v0.6.0

func (SegmentCleanupResData_Promise) Struct added in v0.6.0

type SegmentIndexConfirmationData added in v0.5.0

type SegmentIndexConfirmationData struct{ capnp.Struct }

func NewRootSegmentIndexConfirmationData added in v0.5.0

func NewRootSegmentIndexConfirmationData(s *capnp.Segment) (SegmentIndexConfirmationData, error)

func NewSegmentIndexConfirmationData added in v0.5.0

func NewSegmentIndexConfirmationData(s *capnp.Segment) (SegmentIndexConfirmationData, error)

func ReadRootSegmentIndexConfirmationData added in v0.5.0

func ReadRootSegmentIndexConfirmationData(msg *capnp.Message) (SegmentIndexConfirmationData, error)

func (SegmentIndexConfirmationData) Base added in v0.6.0

func (SegmentIndexConfirmationData) HasBase added in v0.6.0

func (s SegmentIndexConfirmationData) HasBase() bool

func (SegmentIndexConfirmationData) NewBase added in v0.6.0

NewBase sets the base field to a newly allocated SegmentBase struct, preferring placement in s's segment.

func (SegmentIndexConfirmationData) SetBase added in v0.6.0

func (SegmentIndexConfirmationData) SetState added in v0.5.0

func (SegmentIndexConfirmationData) State added in v0.5.0

func (SegmentIndexConfirmationData) String added in v0.5.0

type SegmentIndexConfirmationData_List added in v0.5.0

type SegmentIndexConfirmationData_List struct{ capnp.List }

SegmentIndexConfirmationData_List is a list of SegmentIndexConfirmationData.

func NewSegmentIndexConfirmationData_List added in v0.5.0

func NewSegmentIndexConfirmationData_List(s *capnp.Segment, sz int32) (SegmentIndexConfirmationData_List, error)

NewSegmentIndexConfirmationData creates a new list of SegmentIndexConfirmationData.

func (SegmentIndexConfirmationData_List) At added in v0.5.0

func (SegmentIndexConfirmationData_List) Set added in v0.5.0

func (SegmentIndexConfirmationData_List) String added in v0.5.0

type SegmentIndexConfirmationData_Promise added in v0.5.0

type SegmentIndexConfirmationData_Promise struct{ *capnp.Pipeline }

SegmentIndexConfirmationData_Promise is a wrapper for a SegmentIndexConfirmationData promised by a client call.

func (SegmentIndexConfirmationData_Promise) Base added in v0.6.0

func (SegmentIndexConfirmationData_Promise) Struct added in v0.5.0

type SegmentIndexConfirmationResData added in v0.6.0

type SegmentIndexConfirmationResData struct{ capnp.Struct }

func NewRootSegmentIndexConfirmationResData added in v0.6.0

func NewRootSegmentIndexConfirmationResData(s *capnp.Segment) (SegmentIndexConfirmationResData, error)

func NewSegmentIndexConfirmationResData added in v0.6.0

func NewSegmentIndexConfirmationResData(s *capnp.Segment) (SegmentIndexConfirmationResData, error)

func ReadRootSegmentIndexConfirmationResData added in v0.6.0

func ReadRootSegmentIndexConfirmationResData(msg *capnp.Message) (SegmentIndexConfirmationResData, error)

func (SegmentIndexConfirmationResData) Base added in v0.6.0

func (SegmentIndexConfirmationResData) ErrorCode added in v0.6.0

func (s SegmentIndexConfirmationResData) ErrorCode() uint8

func (SegmentIndexConfirmationResData) HasBase added in v0.6.0

func (SegmentIndexConfirmationResData) NewBase added in v0.6.0

NewBase sets the base field to a newly allocated SegmentBase struct, preferring placement in s's segment.

func (SegmentIndexConfirmationResData) SetBase added in v0.6.0

func (SegmentIndexConfirmationResData) SetErrorCode added in v0.6.0

func (s SegmentIndexConfirmationResData) SetErrorCode(v uint8)

func (SegmentIndexConfirmationResData) String added in v0.6.0

type SegmentIndexConfirmationResData_List added in v0.6.0

type SegmentIndexConfirmationResData_List struct{ capnp.List }

SegmentIndexConfirmationResData_List is a list of SegmentIndexConfirmationResData.

func NewSegmentIndexConfirmationResData_List added in v0.6.0

func NewSegmentIndexConfirmationResData_List(s *capnp.Segment, sz int32) (SegmentIndexConfirmationResData_List, error)

NewSegmentIndexConfirmationResData creates a new list of SegmentIndexConfirmationResData.

func (SegmentIndexConfirmationResData_List) At added in v0.6.0

func (SegmentIndexConfirmationResData_List) Set added in v0.6.0

func (SegmentIndexConfirmationResData_List) String added in v0.6.0

type SegmentIndexConfirmationResData_Promise added in v0.6.0

type SegmentIndexConfirmationResData_Promise struct{ *capnp.Pipeline }

SegmentIndexConfirmationResData_Promise is a wrapper for a SegmentIndexConfirmationResData promised by a client call.

func (SegmentIndexConfirmationResData_Promise) Base added in v0.6.0

func (SegmentIndexConfirmationResData_Promise) Struct added in v0.6.0

type SegmentReservationID added in v0.5.0

type SegmentReservationID struct{ capnp.Struct }

func NewRootSegmentReservationID added in v0.5.0

func NewRootSegmentReservationID(s *capnp.Segment) (SegmentReservationID, error)

func NewSegmentReservationID added in v0.5.0

func NewSegmentReservationID(s *capnp.Segment) (SegmentReservationID, error)

func ReadRootSegmentReservationID added in v0.5.0

func ReadRootSegmentReservationID(msg *capnp.Message) (SegmentReservationID, error)

func (SegmentReservationID) Asid added in v0.5.0

func (s SegmentReservationID) Asid() ([]byte, error)

func (SegmentReservationID) HasAsid added in v0.5.0

func (s SegmentReservationID) HasAsid() bool

func (SegmentReservationID) HasSuffix added in v0.5.0

func (s SegmentReservationID) HasSuffix() bool

func (SegmentReservationID) SetAsid added in v0.5.0

func (s SegmentReservationID) SetAsid(v []byte) error

func (SegmentReservationID) SetSuffix added in v0.5.0

func (s SegmentReservationID) SetSuffix(v []byte) error

func (SegmentReservationID) String added in v0.5.0

func (s SegmentReservationID) String() string

func (SegmentReservationID) Suffix added in v0.5.0

func (s SegmentReservationID) Suffix() ([]byte, error)

type SegmentReservationID_List added in v0.5.0

type SegmentReservationID_List struct{ capnp.List }

SegmentReservationID_List is a list of SegmentReservationID.

func NewSegmentReservationID_List added in v0.5.0

func NewSegmentReservationID_List(s *capnp.Segment, sz int32) (SegmentReservationID_List, error)

NewSegmentReservationID creates a new list of SegmentReservationID.

func (SegmentReservationID_List) At added in v0.5.0

func (SegmentReservationID_List) Set added in v0.5.0

func (SegmentReservationID_List) String added in v0.5.0

func (s SegmentReservationID_List) String() string

type SegmentReservationID_Promise added in v0.5.0

type SegmentReservationID_Promise struct{ *capnp.Pipeline }

SegmentReservationID_Promise is a wrapper for a SegmentReservationID promised by a client call.

func (SegmentReservationID_Promise) Struct added in v0.5.0

type SegmentSetupReqData added in v0.5.0

type SegmentSetupReqData struct{ capnp.Struct }

func NewRootSegmentSetupReqData added in v0.5.0

func NewRootSegmentSetupReqData(s *capnp.Segment) (SegmentSetupReqData, error)

func NewSegmentSetupReqData added in v0.5.0

func NewSegmentSetupReqData(s *capnp.Segment) (SegmentSetupReqData, error)

func ReadRootSegmentSetupReqData added in v0.5.0

func ReadRootSegmentSetupReqData(msg *capnp.Message) (SegmentSetupReqData, error)

func (SegmentSetupReqData) AllocationTrail added in v0.5.0

func (s SegmentSetupReqData) AllocationTrail() (AllocationBead_List, error)

func (SegmentSetupReqData) Base added in v0.6.0

func (SegmentSetupReqData) EndProps added in v0.5.0

func (s SegmentSetupReqData) EndProps() (PathEndProps, error)

func (SegmentSetupReqData) HasAllocationTrail added in v0.5.0

func (s SegmentSetupReqData) HasAllocationTrail() bool

func (SegmentSetupReqData) HasBase added in v0.6.0

func (s SegmentSetupReqData) HasBase() bool

func (SegmentSetupReqData) HasEndProps added in v0.5.0

func (s SegmentSetupReqData) HasEndProps() bool

func (SegmentSetupReqData) HasInfoField added in v0.6.0

func (s SegmentSetupReqData) HasInfoField() bool

func (SegmentSetupReqData) HasStartProps added in v0.5.0

func (s SegmentSetupReqData) HasStartProps() bool

func (SegmentSetupReqData) InfoField added in v0.6.0

func (s SegmentSetupReqData) InfoField() ([]byte, error)

func (SegmentSetupReqData) MaxBW added in v0.5.0

func (s SegmentSetupReqData) MaxBW() uint8

func (SegmentSetupReqData) MinBW added in v0.5.0

func (s SegmentSetupReqData) MinBW() uint8

func (SegmentSetupReqData) NewAllocationTrail added in v0.5.0

func (s SegmentSetupReqData) NewAllocationTrail(n int32) (AllocationBead_List, error)

NewAllocationTrail sets the allocationTrail field to a newly allocated AllocationBead_List, preferring placement in s's segment.

func (SegmentSetupReqData) NewBase added in v0.6.0

func (s SegmentSetupReqData) NewBase() (SegmentBase, error)

NewBase sets the base field to a newly allocated SegmentBase struct, preferring placement in s's segment.

func (SegmentSetupReqData) NewEndProps added in v0.5.0

func (s SegmentSetupReqData) NewEndProps() (PathEndProps, error)

NewEndProps sets the endProps field to a newly allocated PathEndProps struct, preferring placement in s's segment.

func (SegmentSetupReqData) NewStartProps added in v0.5.0

func (s SegmentSetupReqData) NewStartProps() (PathEndProps, error)

NewStartProps sets the startProps field to a newly allocated PathEndProps struct, preferring placement in s's segment.

func (SegmentSetupReqData) SetAllocationTrail added in v0.5.0

func (s SegmentSetupReqData) SetAllocationTrail(v AllocationBead_List) error

func (SegmentSetupReqData) SetBase added in v0.6.0

func (s SegmentSetupReqData) SetBase(v SegmentBase) error

func (SegmentSetupReqData) SetEndProps added in v0.5.0

func (s SegmentSetupReqData) SetEndProps(v PathEndProps) error

func (SegmentSetupReqData) SetInfoField added in v0.6.0

func (s SegmentSetupReqData) SetInfoField(v []byte) error

func (SegmentSetupReqData) SetMaxBW added in v0.5.0

func (s SegmentSetupReqData) SetMaxBW(v uint8)

func (SegmentSetupReqData) SetMinBW added in v0.5.0

func (s SegmentSetupReqData) SetMinBW(v uint8)

func (SegmentSetupReqData) SetSplitCls added in v0.5.0

func (s SegmentSetupReqData) SetSplitCls(v uint8)

func (SegmentSetupReqData) SetStartProps added in v0.5.0

func (s SegmentSetupReqData) SetStartProps(v PathEndProps) error

func (SegmentSetupReqData) SplitCls added in v0.5.0

func (s SegmentSetupReqData) SplitCls() uint8

func (SegmentSetupReqData) StartProps added in v0.5.0

func (s SegmentSetupReqData) StartProps() (PathEndProps, error)

func (SegmentSetupReqData) String added in v0.5.0

func (s SegmentSetupReqData) String() string

type SegmentSetupReqData_List added in v0.5.0

type SegmentSetupReqData_List struct{ capnp.List }

SegmentSetupReqData_List is a list of SegmentSetupReqData.

func NewSegmentSetupReqData_List added in v0.5.0

func NewSegmentSetupReqData_List(s *capnp.Segment, sz int32) (SegmentSetupReqData_List, error)

NewSegmentSetupReqData creates a new list of SegmentSetupReqData.

func (SegmentSetupReqData_List) At added in v0.5.0

func (SegmentSetupReqData_List) Set added in v0.5.0

func (SegmentSetupReqData_List) String added in v0.5.0

func (s SegmentSetupReqData_List) String() string

type SegmentSetupReqData_Promise added in v0.5.0

type SegmentSetupReqData_Promise struct{ *capnp.Pipeline }

SegmentSetupReqData_Promise is a wrapper for a SegmentSetupReqData promised by a client call.

func (SegmentSetupReqData_Promise) Base added in v0.6.0

func (SegmentSetupReqData_Promise) EndProps added in v0.5.0

func (SegmentSetupReqData_Promise) StartProps added in v0.5.0

func (SegmentSetupReqData_Promise) Struct added in v0.5.0

type SegmentSetupResData added in v0.5.0

type SegmentSetupResData struct{ capnp.Struct }

func NewRootSegmentSetupResData added in v0.5.0

func NewRootSegmentSetupResData(s *capnp.Segment) (SegmentSetupResData, error)

func NewSegmentSetupResData added in v0.5.0

func NewSegmentSetupResData(s *capnp.Segment) (SegmentSetupResData, error)

func ReadRootSegmentSetupResData added in v0.5.0

func ReadRootSegmentSetupResData(msg *capnp.Message) (SegmentSetupResData, error)

func (SegmentSetupResData) Base added in v0.6.0

func (SegmentSetupResData) Failure added in v0.5.0

func (SegmentSetupResData) HasBase added in v0.6.0

func (s SegmentSetupResData) HasBase() bool

func (SegmentSetupResData) HasFailure added in v0.5.0

func (s SegmentSetupResData) HasFailure() bool

func (SegmentSetupResData) HasToken added in v0.5.0

func (s SegmentSetupResData) HasToken() bool

func (SegmentSetupResData) NewBase added in v0.6.0

func (s SegmentSetupResData) NewBase() (SegmentBase, error)

NewBase sets the base field to a newly allocated SegmentBase struct, preferring placement in s's segment.

func (SegmentSetupResData) NewFailure added in v0.5.0

func (s SegmentSetupResData) NewFailure() (SegmentSetupReqData, error)

NewFailure sets the failure field to a newly allocated SegmentSetupReqData struct, preferring placement in s's segment.

func (SegmentSetupResData) SetBase added in v0.6.0

func (s SegmentSetupResData) SetBase(v SegmentBase) error

func (SegmentSetupResData) SetFailure added in v0.5.0

func (SegmentSetupResData) SetToken added in v0.5.0

func (s SegmentSetupResData) SetToken(v []byte) error

func (SegmentSetupResData) SetUnset added in v0.5.0

func (s SegmentSetupResData) SetUnset()

func (SegmentSetupResData) String added in v0.5.0

func (s SegmentSetupResData) String() string

func (SegmentSetupResData) Token added in v0.5.0

func (s SegmentSetupResData) Token() ([]byte, error)

func (SegmentSetupResData) Which added in v0.5.0

type SegmentSetupResData_List added in v0.5.0

type SegmentSetupResData_List struct{ capnp.List }

SegmentSetupResData_List is a list of SegmentSetupResData.

func NewSegmentSetupResData_List added in v0.5.0

func NewSegmentSetupResData_List(s *capnp.Segment, sz int32) (SegmentSetupResData_List, error)

NewSegmentSetupResData creates a new list of SegmentSetupResData.

func (SegmentSetupResData_List) At added in v0.5.0

func (SegmentSetupResData_List) Set added in v0.5.0

func (SegmentSetupResData_List) String added in v0.5.0

func (s SegmentSetupResData_List) String() string

type SegmentSetupResData_Promise added in v0.5.0

type SegmentSetupResData_Promise struct{ *capnp.Pipeline }

SegmentSetupResData_Promise is a wrapper for a SegmentSetupResData promised by a client call.

func (SegmentSetupResData_Promise) Base added in v0.6.0

func (SegmentSetupResData_Promise) Failure added in v0.5.0

func (SegmentSetupResData_Promise) Struct added in v0.5.0

type SegmentSetupResData_Which added in v0.5.0

type SegmentSetupResData_Which uint16
const (
	SegmentSetupResData_Which_unset   SegmentSetupResData_Which = 0
	SegmentSetupResData_Which_failure SegmentSetupResData_Which = 1
	SegmentSetupResData_Which_token   SegmentSetupResData_Which = 2
)

func (SegmentSetupResData_Which) String added in v0.5.0

func (w SegmentSetupResData_Which) String() string

type SegmentTeardownReqData added in v0.5.0

type SegmentTeardownReqData struct{ capnp.Struct }

func NewRootSegmentTeardownReqData added in v0.5.0

func NewRootSegmentTeardownReqData(s *capnp.Segment) (SegmentTeardownReqData, error)

func NewSegmentTeardownReqData added in v0.5.0

func NewSegmentTeardownReqData(s *capnp.Segment) (SegmentTeardownReqData, error)

func ReadRootSegmentTeardownReqData added in v0.5.0

func ReadRootSegmentTeardownReqData(msg *capnp.Message) (SegmentTeardownReqData, error)

func (SegmentTeardownReqData) Base added in v0.6.0

func (SegmentTeardownReqData) HasBase added in v0.6.0

func (s SegmentTeardownReqData) HasBase() bool

func (SegmentTeardownReqData) NewBase added in v0.6.0

func (s SegmentTeardownReqData) NewBase() (SegmentBase, error)

NewBase sets the base field to a newly allocated SegmentBase struct, preferring placement in s's segment.

func (SegmentTeardownReqData) SetBase added in v0.6.0

func (SegmentTeardownReqData) String added in v0.5.0

func (s SegmentTeardownReqData) String() string

type SegmentTeardownReqData_List added in v0.5.0

type SegmentTeardownReqData_List struct{ capnp.List }

SegmentTeardownReqData_List is a list of SegmentTeardownReqData.

func NewSegmentTeardownReqData_List added in v0.5.0

func NewSegmentTeardownReqData_List(s *capnp.Segment, sz int32) (SegmentTeardownReqData_List, error)

NewSegmentTeardownReqData creates a new list of SegmentTeardownReqData.

func (SegmentTeardownReqData_List) At added in v0.5.0

func (SegmentTeardownReqData_List) Set added in v0.5.0

func (SegmentTeardownReqData_List) String added in v0.5.0

type SegmentTeardownReqData_Promise added in v0.5.0

type SegmentTeardownReqData_Promise struct{ *capnp.Pipeline }

SegmentTeardownReqData_Promise is a wrapper for a SegmentTeardownReqData promised by a client call.

func (SegmentTeardownReqData_Promise) Base added in v0.6.0

func (SegmentTeardownReqData_Promise) Struct added in v0.5.0

type SegmentTeardownResData added in v0.5.0

type SegmentTeardownResData struct{ capnp.Struct }

func NewRootSegmentTeardownResData added in v0.5.0

func NewRootSegmentTeardownResData(s *capnp.Segment) (SegmentTeardownResData, error)

func NewSegmentTeardownResData added in v0.5.0

func NewSegmentTeardownResData(s *capnp.Segment) (SegmentTeardownResData, error)

func ReadRootSegmentTeardownResData added in v0.5.0

func ReadRootSegmentTeardownResData(msg *capnp.Message) (SegmentTeardownResData, error)

func (SegmentTeardownResData) Base added in v0.6.0

func (SegmentTeardownResData) ErrorCode added in v0.5.0

func (s SegmentTeardownResData) ErrorCode() uint8

func (SegmentTeardownResData) HasBase added in v0.6.0

func (s SegmentTeardownResData) HasBase() bool

func (SegmentTeardownResData) NewBase added in v0.6.0

func (s SegmentTeardownResData) NewBase() (SegmentBase, error)

NewBase sets the base field to a newly allocated SegmentBase struct, preferring placement in s's segment.

func (SegmentTeardownResData) SetBase added in v0.6.0

func (SegmentTeardownResData) SetErrorCode added in v0.5.0

func (s SegmentTeardownResData) SetErrorCode(v uint8)

func (SegmentTeardownResData) String added in v0.5.0

func (s SegmentTeardownResData) String() string

type SegmentTeardownResData_List added in v0.5.0

type SegmentTeardownResData_List struct{ capnp.List }

SegmentTeardownResData_List is a list of SegmentTeardownResData.

func NewSegmentTeardownResData_List added in v0.5.0

func NewSegmentTeardownResData_List(s *capnp.Segment, sz int32) (SegmentTeardownResData_List, error)

NewSegmentTeardownResData creates a new list of SegmentTeardownResData.

func (SegmentTeardownResData_List) At added in v0.5.0

func (SegmentTeardownResData_List) Set added in v0.5.0

func (SegmentTeardownResData_List) String added in v0.5.0

type SegmentTeardownResData_Promise added in v0.5.0

type SegmentTeardownResData_Promise struct{ *capnp.Pipeline }

SegmentTeardownResData_Promise is a wrapper for a SegmentTeardownResData promised by a client call.

func (SegmentTeardownResData_Promise) Base added in v0.6.0

func (SegmentTeardownResData_Promise) Struct added in v0.5.0

type SegmentTelesSetupData added in v0.5.0

type SegmentTelesSetupData struct{ capnp.Struct }

func NewRootSegmentTelesSetupData added in v0.5.0

func NewRootSegmentTelesSetupData(s *capnp.Segment) (SegmentTelesSetupData, error)

func NewSegmentTelesSetupData added in v0.5.0

func NewSegmentTelesSetupData(s *capnp.Segment) (SegmentTelesSetupData, error)

func ReadRootSegmentTelesSetupData added in v0.5.0

func ReadRootSegmentTelesSetupData(msg *capnp.Message) (SegmentTelesSetupData, error)

func (SegmentTelesSetupData) BaseID added in v0.5.0

func (SegmentTelesSetupData) HasBaseID added in v0.5.0

func (s SegmentTelesSetupData) HasBaseID() bool

func (SegmentTelesSetupData) HasSetup added in v0.5.0

func (s SegmentTelesSetupData) HasSetup() bool

func (SegmentTelesSetupData) NewBaseID added in v0.5.0

NewBaseID sets the baseID field to a newly allocated SegmentReservationID struct, preferring placement in s's segment.

func (SegmentTelesSetupData) NewSetup added in v0.5.0

NewSetup sets the setup field to a newly allocated SegmentSetupReqData struct, preferring placement in s's segment.

func (SegmentTelesSetupData) SetBaseID added in v0.5.0

func (SegmentTelesSetupData) SetSetup added in v0.5.0

func (SegmentTelesSetupData) Setup added in v0.5.0

func (SegmentTelesSetupData) String added in v0.5.0

func (s SegmentTelesSetupData) String() string

type SegmentTelesSetupData_List added in v0.5.0

type SegmentTelesSetupData_List struct{ capnp.List }

SegmentTelesSetupData_List is a list of SegmentTelesSetupData.

func NewSegmentTelesSetupData_List added in v0.5.0

func NewSegmentTelesSetupData_List(s *capnp.Segment, sz int32) (SegmentTelesSetupData_List, error)

NewSegmentTelesSetupData creates a new list of SegmentTelesSetupData.

func (SegmentTelesSetupData_List) At added in v0.5.0

func (SegmentTelesSetupData_List) Set added in v0.5.0

func (SegmentTelesSetupData_List) String added in v0.5.0

type SegmentTelesSetupData_Promise added in v0.5.0

type SegmentTelesSetupData_Promise struct{ *capnp.Pipeline }

SegmentTelesSetupData_Promise is a wrapper for a SegmentTelesSetupData promised by a client call.

func (SegmentTelesSetupData_Promise) BaseID added in v0.5.0

func (SegmentTelesSetupData_Promise) Setup added in v0.5.0

func (SegmentTelesSetupData_Promise) Struct added in v0.5.0

type ServiceType added in v0.4.0

type ServiceType uint16
const (
	ServiceType_unset ServiceType = 0
	ServiceType_bs    ServiceType = 1
	ServiceType_ps    ServiceType = 2
	ServiceType_cs    ServiceType = 3
	ServiceType_sb    ServiceType = 4
	ServiceType_ds    ServiceType = 5
	ServiceType_br    ServiceType = 6
	ServiceType_sig   ServiceType = 7
	ServiceType_hps   ServiceType = 8
)

Values of ServiceType.

func ServiceTypeFromString added in v0.4.0

func ServiceTypeFromString(c string) ServiceType

ServiceTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (ServiceType) String added in v0.4.0

func (c ServiceType) String() string

String returns the enum's constant name.

type ServiceType_List added in v0.4.0

type ServiceType_List struct{ capnp.List }

func NewServiceType_List added in v0.4.0

func NewServiceType_List(s *capnp.Segment, sz int32) (ServiceType_List, error)

func (ServiceType_List) At added in v0.4.0

func (ServiceType_List) Set added in v0.4.0

func (l ServiceType_List) Set(i int, v ServiceType)

type SibraPCBExt added in v0.4.0

type SibraPCBExt struct{ capnp.Struct }

func NewRootSibraPCBExt added in v0.4.0

func NewRootSibraPCBExt(s *capnp.Segment) (SibraPCBExt, error)

func NewSibraPCBExt added in v0.4.0

func NewSibraPCBExt(s *capnp.Segment) (SibraPCBExt, error)

func ReadRootSibraPCBExt added in v0.4.0

func ReadRootSibraPCBExt(msg *capnp.Message) (SibraPCBExt, error)

func (SibraPCBExt) HasId added in v0.4.0

func (s SibraPCBExt) HasId() bool

func (SibraPCBExt) HasInfo added in v0.4.0

func (s SibraPCBExt) HasInfo() bool

func (SibraPCBExt) HasSofs added in v0.4.0

func (s SibraPCBExt) HasSofs() bool

func (SibraPCBExt) Id added in v0.4.0

func (s SibraPCBExt) Id() ([]byte, error)

func (SibraPCBExt) Info added in v0.4.0

func (s SibraPCBExt) Info() ([]byte, error)

func (SibraPCBExt) NewSofs added in v0.4.0

func (s SibraPCBExt) NewSofs(n int32) (capnp.DataList, error)

NewSofs sets the sofs field to a newly allocated capnp.DataList, preferring placement in s's segment.

func (SibraPCBExt) SetId added in v0.4.0

func (s SibraPCBExt) SetId(v []byte) error

func (SibraPCBExt) SetInfo added in v0.4.0

func (s SibraPCBExt) SetInfo(v []byte) error

func (SibraPCBExt) SetSofs added in v0.4.0

func (s SibraPCBExt) SetSofs(v capnp.DataList) error

func (SibraPCBExt) SetUp added in v0.4.0

func (s SibraPCBExt) SetUp(v bool)

func (SibraPCBExt) Sofs added in v0.4.0

func (s SibraPCBExt) Sofs() (capnp.DataList, error)

func (SibraPCBExt) String added in v0.4.0

func (s SibraPCBExt) String() string

func (SibraPCBExt) Up added in v0.4.0

func (s SibraPCBExt) Up() bool

type SibraPCBExt_List added in v0.4.0

type SibraPCBExt_List struct{ capnp.List }

SibraPCBExt_List is a list of SibraPCBExt.

func NewSibraPCBExt_List added in v0.4.0

func NewSibraPCBExt_List(s *capnp.Segment, sz int32) (SibraPCBExt_List, error)

NewSibraPCBExt creates a new list of SibraPCBExt.

func (SibraPCBExt_List) At added in v0.4.0

func (SibraPCBExt_List) Set added in v0.4.0

func (s SibraPCBExt_List) Set(i int, v SibraPCBExt) error

func (SibraPCBExt_List) String added in v0.4.0

func (s SibraPCBExt_List) String() string

type SibraPCBExt_Promise added in v0.4.0

type SibraPCBExt_Promise struct{ *capnp.Pipeline }

SibraPCBExt_Promise is a wrapper for a SibraPCBExt promised by a client call.

func (SibraPCBExt_Promise) Struct added in v0.4.0

func (p SibraPCBExt_Promise) Struct() (SibraPCBExt, error)

type SibraPayload added in v0.4.0

type SibraPayload struct{ capnp.Struct }

func NewRootSibraPayload added in v0.4.0

func NewRootSibraPayload(s *capnp.Segment) (SibraPayload, error)

func NewSibraPayload added in v0.4.0

func NewSibraPayload(s *capnp.Segment) (SibraPayload, error)

func ReadRootSibraPayload added in v0.4.0

func ReadRootSibraPayload(msg *capnp.Message) (SibraPayload, error)

func (SibraPayload) String added in v0.4.0

func (s SibraPayload) String() string

type SibraPayload_List added in v0.4.0

type SibraPayload_List struct{ capnp.List }

SibraPayload_List is a list of SibraPayload.

func NewSibraPayload_List added in v0.4.0

func NewSibraPayload_List(s *capnp.Segment, sz int32) (SibraPayload_List, error)

NewSibraPayload creates a new list of SibraPayload.

func (SibraPayload_List) At added in v0.4.0

func (SibraPayload_List) Set added in v0.4.0

func (SibraPayload_List) String added in v0.4.0

func (s SibraPayload_List) String() string

type SibraPayload_Promise added in v0.4.0

type SibraPayload_Promise struct{ *capnp.Pipeline }

SibraPayload_Promise is a wrapper for a SibraPayload promised by a client call.

func (SibraPayload_Promise) Struct added in v0.4.0

func (p SibraPayload_Promise) Struct() (SibraPayload, error)

type Sign added in v0.4.0

type Sign struct{ capnp.Struct }

func NewRootSign added in v0.4.0

func NewRootSign(s *capnp.Segment) (Sign, error)

func NewSign added in v0.4.0

func NewSign(s *capnp.Segment) (Sign, error)

func ReadRootSign added in v0.4.0

func ReadRootSign(msg *capnp.Message) (Sign, error)

func (Sign) HasSignature added in v0.4.0

func (s Sign) HasSignature() bool

func (Sign) HasSrc added in v0.4.0

func (s Sign) HasSrc() bool

func (Sign) SetSignature added in v0.4.0

func (s Sign) SetSignature(v []byte) error

func (Sign) SetSrc added in v0.4.0

func (s Sign) SetSrc(v []byte) error

func (Sign) SetTimestamp added in v0.4.0

func (s Sign) SetTimestamp(v uint32)

func (Sign) SetType added in v0.4.0

func (s Sign) SetType(v SignType)

func (Sign) Signature added in v0.4.0

func (s Sign) Signature() ([]byte, error)

func (Sign) Src added in v0.4.0

func (s Sign) Src() ([]byte, error)

func (Sign) String added in v0.4.0

func (s Sign) String() string

func (Sign) Timestamp added in v0.4.0

func (s Sign) Timestamp() uint32

func (Sign) Type added in v0.4.0

func (s Sign) Type() SignType

type SignS

type SignS struct {
	Timestamp uint32
	// Type indicates the signature algorithm
	//
	// Deprecated: This is redundant information and only exists for historic
	// reasons. Signautres based on X.509 should neither set nor read this
	// value.
	Type SignType
	// Src holds the required metadata to verify the signature. The format is "STRING: METADATA".
	// The prefix consists of "STRING: " and is required to match the regex "^\w+\: ".
	// There are no format restrictions on the metadata.
	Src       common.RawBytes
	Signature common.RawBytes
}

func NewSignS

func NewSignS(type_ SignType, src common.RawBytes) *SignS

func (*SignS) Copy

func (s *SignS) Copy() *SignS

func (*SignS) Pack

func (s *SignS) Pack() common.RawBytes

Pack serializes the signature metadata including the signature.

func (*SignS) ProtoId

func (s *SignS) ProtoId() ProtoIdType

func (*SignS) SetTimestamp added in v0.4.0

func (s *SignS) SetTimestamp(ts time.Time)

SetTimestamp sets the timestamp.

func (*SignS) SigInput added in v0.4.0

func (s *SignS) SigInput(msg common.RawBytes, setTimestamp bool) common.RawBytes

SigInput serializes the signature metadata to the signature input including the provided message. If setTimestamp is set, the timestamp of the signature metadata is updated to the current time, before creating the signature input. It should be true when signing to provide a recent timestamp. When verifying, it should be false to guarantee the same produced input.

func (*SignS) String

func (s *SignS) String() string

func (*SignS) Time

func (s *SignS) Time() time.Time

Time returns the timestamp. If the receiver is nil, the zero value is returned.

func (*SignS) Valid added in v0.5.0

func (s *SignS) Valid(threshold time.Duration) error

Valid reports whether the signature is valid.

type SignType added in v0.4.0

type SignType uint16
const (
	SignType_none    SignType = 0
	SignType_ed25519 SignType = 1
)

Values of SignType.

func SignTypeFromString added in v0.4.0

func SignTypeFromString(c string) SignType

SignTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (SignType) String added in v0.4.0

func (c SignType) String() string

String returns the enum's constant name.

type SignType_List added in v0.4.0

type SignType_List struct{ capnp.List }

func NewSignType_List added in v0.4.0

func NewSignType_List(s *capnp.Segment, sz int32) (SignType_List, error)

func (SignType_List) At added in v0.4.0

func (l SignType_List) At(i int) SignType

func (SignType_List) Set added in v0.4.0

func (l SignType_List) Set(i int, v SignType)

type Sign_List added in v0.4.0

type Sign_List struct{ capnp.List }

Sign_List is a list of Sign.

func NewSign_List added in v0.4.0

func NewSign_List(s *capnp.Segment, sz int32) (Sign_List, error)

NewSign creates a new list of Sign.

func (Sign_List) At added in v0.4.0

func (s Sign_List) At(i int) Sign

func (Sign_List) Set added in v0.4.0

func (s Sign_List) Set(i int, v Sign) error

func (Sign_List) String added in v0.4.0

func (s Sign_List) String() string

type Sign_Promise added in v0.4.0

type Sign_Promise struct{ *capnp.Pipeline }

Sign_Promise is a wrapper for a Sign promised by a client call.

func (Sign_Promise) Struct added in v0.4.0

func (p Sign_Promise) Struct() (Sign, error)

type SignedBlob added in v0.4.0

type SignedBlob struct{ capnp.Struct }

func NewRootSignedBlob added in v0.4.0

func NewRootSignedBlob(s *capnp.Segment) (SignedBlob, error)

func NewSignedBlob added in v0.4.0

func NewSignedBlob(s *capnp.Segment) (SignedBlob, error)

func ReadRootSignedBlob added in v0.4.0

func ReadRootSignedBlob(msg *capnp.Message) (SignedBlob, error)

func (SignedBlob) Blob added in v0.4.0

func (s SignedBlob) Blob() ([]byte, error)

func (SignedBlob) GetStruct added in v0.4.0

func (s SignedBlob) GetStruct() capnp.Struct

func (SignedBlob) HasBlob added in v0.4.0

func (s SignedBlob) HasBlob() bool

func (SignedBlob) HasSign added in v0.4.0

func (s SignedBlob) HasSign() bool

func (SignedBlob) NewSign added in v0.4.0

func (s SignedBlob) NewSign() (Sign, error)

NewSign sets the sign field to a newly allocated Sign struct, preferring placement in s's segment.

func (SignedBlob) SetBlob added in v0.4.0

func (s SignedBlob) SetBlob(v []byte) error

func (SignedBlob) SetSign added in v0.4.0

func (s SignedBlob) SetSign(v Sign) error

func (SignedBlob) Sign added in v0.4.0

func (s SignedBlob) Sign() (Sign, error)

func (SignedBlob) String added in v0.4.0

func (s SignedBlob) String() string

type SignedBlobS

type SignedBlobS struct {
	Blob common.RawBytes
	Sign *SignS
}

func (*SignedBlobS) Pack

func (sbs *SignedBlobS) Pack() common.RawBytes

func (*SignedBlobS) ProtoId

func (sbs *SignedBlobS) ProtoId() ProtoIdType

func (*SignedBlobS) String

func (sbs *SignedBlobS) String() string

type SignedBlob_List added in v0.4.0

type SignedBlob_List struct{ capnp.List }

SignedBlob_List is a list of SignedBlob.

func NewSignedBlob_List added in v0.4.0

func NewSignedBlob_List(s *capnp.Segment, sz int32) (SignedBlob_List, error)

NewSignedBlob creates a new list of SignedBlob.

func (SignedBlob_List) At added in v0.4.0

func (s SignedBlob_List) At(i int) SignedBlob

func (SignedBlob_List) Set added in v0.4.0

func (s SignedBlob_List) Set(i int, v SignedBlob) error

func (SignedBlob_List) String added in v0.4.0

func (s SignedBlob_List) String() string

type SignedBlob_Promise added in v0.4.0

type SignedBlob_Promise struct{ *capnp.Pipeline }

SignedBlob_Promise is a wrapper for a SignedBlob promised by a client call.

func (SignedBlob_Promise) Sign added in v0.4.0

func (SignedBlob_Promise) Struct added in v0.4.0

func (p SignedBlob_Promise) Struct() (SignedBlob, error)

type SignedCtrlPld added in v0.4.0

type SignedCtrlPld struct{ capnp.Struct }

func NewRootSignedCtrlPld added in v0.4.0

func NewRootSignedCtrlPld(s *capnp.Segment) (SignedCtrlPld, error)

func NewSignedCtrlPld added in v0.4.0

func NewSignedCtrlPld(s *capnp.Segment) (SignedCtrlPld, error)

func ReadRootSignedCtrlPld added in v0.4.0

func ReadRootSignedCtrlPld(msg *capnp.Message) (SignedCtrlPld, error)

func (SignedCtrlPld) Blob added in v0.4.0

func (s SignedCtrlPld) Blob() ([]byte, error)

func (SignedCtrlPld) GetStruct added in v0.4.0

func (s SignedCtrlPld) GetStruct() capnp.Struct

func (SignedCtrlPld) HasBlob added in v0.4.0

func (s SignedCtrlPld) HasBlob() bool

func (SignedCtrlPld) HasSign added in v0.4.0

func (s SignedCtrlPld) HasSign() bool

func (SignedCtrlPld) NewSign added in v0.4.0

func (s SignedCtrlPld) NewSign() (Sign, error)

NewSign sets the sign field to a newly allocated Sign struct, preferring placement in s's segment.

func (SignedCtrlPld) SetBlob added in v0.4.0

func (s SignedCtrlPld) SetBlob(v []byte) error

func (SignedCtrlPld) SetSign added in v0.4.0

func (s SignedCtrlPld) SetSign(v Sign) error

func (SignedCtrlPld) Sign added in v0.4.0

func (s SignedCtrlPld) Sign() (Sign, error)

func (SignedCtrlPld) String added in v0.4.0

func (s SignedCtrlPld) String() string

type SignedCtrlPld_List added in v0.4.0

type SignedCtrlPld_List struct{ capnp.List }

SignedCtrlPld_List is a list of SignedCtrlPld.

func NewSignedCtrlPld_List added in v0.4.0

func NewSignedCtrlPld_List(s *capnp.Segment, sz int32) (SignedCtrlPld_List, error)

NewSignedCtrlPld creates a new list of SignedCtrlPld.

func (SignedCtrlPld_List) At added in v0.4.0

func (SignedCtrlPld_List) Set added in v0.4.0

func (SignedCtrlPld_List) String added in v0.4.0

func (s SignedCtrlPld_List) String() string

type SignedCtrlPld_Promise added in v0.4.0

type SignedCtrlPld_Promise struct{ *capnp.Pipeline }

SignedCtrlPld_Promise is a wrapper for a SignedCtrlPld promised by a client call.

func (SignedCtrlPld_Promise) Sign added in v0.4.0

func (SignedCtrlPld_Promise) Struct added in v0.4.0

type StaticInfoExtn added in v0.6.0

type StaticInfoExtn struct{ capnp.Struct }

func NewRootStaticInfoExtn added in v0.6.0

func NewRootStaticInfoExtn(s *capnp.Segment) (StaticInfoExtn, error)

func NewStaticInfoExtn added in v0.6.0

func NewStaticInfoExtn(s *capnp.Segment) (StaticInfoExtn, error)

func ReadRootStaticInfoExtn added in v0.6.0

func ReadRootStaticInfoExtn(msg *capnp.Message) (StaticInfoExtn, error)

func (StaticInfoExtn) Bandwidth added in v0.6.0

func (StaticInfoExtn) Geo added in v0.6.0

func (StaticInfoExtn) HasBandwidth added in v0.6.0

func (s StaticInfoExtn) HasBandwidth() bool

func (StaticInfoExtn) HasGeo added in v0.6.0

func (s StaticInfoExtn) HasGeo() bool

func (StaticInfoExtn) HasInternalHops added in v0.6.0

func (s StaticInfoExtn) HasInternalHops() bool

func (StaticInfoExtn) HasLatency added in v0.6.0

func (s StaticInfoExtn) HasLatency() bool

func (StaticInfoExtn) HasLinktype added in v0.6.0

func (s StaticInfoExtn) HasLinktype() bool

func (StaticInfoExtn) HasNote added in v0.6.0

func (s StaticInfoExtn) HasNote() bool

func (StaticInfoExtn) InternalHops added in v0.6.0

func (StaticInfoExtn) Latency added in v0.6.0

func (StaticInfoExtn) Linktype added in v0.6.0

func (StaticInfoExtn) NewBandwidth added in v0.6.0

NewBandwidth sets the bandwidth field to a newly allocated StaticInfoExtn_BandwidthInfo struct, preferring placement in s's segment.

func (StaticInfoExtn) NewGeo added in v0.6.0

NewGeo sets the geo field to a newly allocated StaticInfoExtn_GeoInfo struct, preferring placement in s's segment.

func (StaticInfoExtn) NewInternalHops added in v0.6.0

func (s StaticInfoExtn) NewInternalHops() (StaticInfoExtn_InternalHopsInfo, error)

NewInternalHops sets the internalHops field to a newly allocated StaticInfoExtn_InternalHopsInfo struct, preferring placement in s's segment.

func (StaticInfoExtn) NewLatency added in v0.6.0

NewLatency sets the latency field to a newly allocated StaticInfoExtn_LatencyInfo struct, preferring placement in s's segment.

func (StaticInfoExtn) NewLinktype added in v0.6.0

NewLinktype sets the linktype field to a newly allocated StaticInfoExtn_LinkTypeInfo struct, preferring placement in s's segment.

func (StaticInfoExtn) Note added in v0.6.0

func (s StaticInfoExtn) Note() (string, error)

func (StaticInfoExtn) NoteBytes added in v0.6.0

func (s StaticInfoExtn) NoteBytes() ([]byte, error)

func (StaticInfoExtn) SetBandwidth added in v0.6.0

func (StaticInfoExtn) SetGeo added in v0.6.0

func (StaticInfoExtn) SetInternalHops added in v0.6.0

func (StaticInfoExtn) SetLatency added in v0.6.0

func (StaticInfoExtn) SetLinktype added in v0.6.0

func (StaticInfoExtn) SetNote added in v0.6.0

func (s StaticInfoExtn) SetNote(v string) error

func (StaticInfoExtn) String added in v0.6.0

func (s StaticInfoExtn) String() string

type StaticInfoExtn_BandwidthInfo added in v0.6.0

type StaticInfoExtn_BandwidthInfo struct{ capnp.Struct }

func NewRootStaticInfoExtn_BandwidthInfo added in v0.6.0

func NewRootStaticInfoExtn_BandwidthInfo(s *capnp.Segment) (StaticInfoExtn_BandwidthInfo, error)

func NewStaticInfoExtn_BandwidthInfo added in v0.6.0

func NewStaticInfoExtn_BandwidthInfo(s *capnp.Segment) (StaticInfoExtn_BandwidthInfo, error)

func ReadRootStaticInfoExtn_BandwidthInfo added in v0.6.0

func ReadRootStaticInfoExtn_BandwidthInfo(msg *capnp.Message) (StaticInfoExtn_BandwidthInfo, error)

func (StaticInfoExtn_BandwidthInfo) Bandwidths added in v0.6.0

func (StaticInfoExtn_BandwidthInfo) EgressBW added in v0.6.0

func (s StaticInfoExtn_BandwidthInfo) EgressBW() uint32

func (StaticInfoExtn_BandwidthInfo) HasBandwidths added in v0.6.0

func (s StaticInfoExtn_BandwidthInfo) HasBandwidths() bool

func (StaticInfoExtn_BandwidthInfo) IngressToEgressBW added in v0.6.0

func (s StaticInfoExtn_BandwidthInfo) IngressToEgressBW() uint32

func (StaticInfoExtn_BandwidthInfo) NewBandwidths added in v0.6.0

NewBandwidths sets the bandwidths field to a newly allocated StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List, preferring placement in s's segment.

func (StaticInfoExtn_BandwidthInfo) SetBandwidths added in v0.6.0

func (StaticInfoExtn_BandwidthInfo) SetEgressBW added in v0.6.0

func (s StaticInfoExtn_BandwidthInfo) SetEgressBW(v uint32)

func (StaticInfoExtn_BandwidthInfo) SetIngressToEgressBW added in v0.6.0

func (s StaticInfoExtn_BandwidthInfo) SetIngressToEgressBW(v uint32)

func (StaticInfoExtn_BandwidthInfo) String added in v0.6.0

type StaticInfoExtn_BandwidthInfo_InterfaceBandwidth added in v0.6.0

type StaticInfoExtn_BandwidthInfo_InterfaceBandwidth struct{ capnp.Struct }

func NewRootStaticInfoExtn_BandwidthInfo_InterfaceBandwidth added in v0.6.0

func NewRootStaticInfoExtn_BandwidthInfo_InterfaceBandwidth(s *capnp.Segment) (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth, error)

func NewStaticInfoExtn_BandwidthInfo_InterfaceBandwidth added in v0.6.0

func NewStaticInfoExtn_BandwidthInfo_InterfaceBandwidth(s *capnp.Segment) (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth, error)

func ReadRootStaticInfoExtn_BandwidthInfo_InterfaceBandwidth added in v0.6.0

func ReadRootStaticInfoExtn_BandwidthInfo_InterfaceBandwidth(msg *capnp.Message) (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth, error)

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth) Bw added in v0.6.0

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth) IfID added in v0.6.0

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth) SetBw added in v0.6.0

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth) SetIfID added in v0.6.0

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth) String added in v0.6.0

type StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List added in v0.6.0

type StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List struct{ capnp.List }

StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List is a list of StaticInfoExtn_BandwidthInfo_InterfaceBandwidth.

func NewStaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List added in v0.6.0

func NewStaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List(s *capnp.Segment, sz int32) (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List, error)

NewStaticInfoExtn_BandwidthInfo_InterfaceBandwidth creates a new list of StaticInfoExtn_BandwidthInfo_InterfaceBandwidth.

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List) At added in v0.6.0

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List) Set added in v0.6.0

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_List) String added in v0.6.0

type StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_Promise added in v0.6.0

type StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_Promise is a wrapper for a StaticInfoExtn_BandwidthInfo_InterfaceBandwidth promised by a client call.

func (StaticInfoExtn_BandwidthInfo_InterfaceBandwidth_Promise) Struct added in v0.6.0

type StaticInfoExtn_BandwidthInfo_List added in v0.6.0

type StaticInfoExtn_BandwidthInfo_List struct{ capnp.List }

StaticInfoExtn_BandwidthInfo_List is a list of StaticInfoExtn_BandwidthInfo.

func NewStaticInfoExtn_BandwidthInfo_List added in v0.6.0

func NewStaticInfoExtn_BandwidthInfo_List(s *capnp.Segment, sz int32) (StaticInfoExtn_BandwidthInfo_List, error)

NewStaticInfoExtn_BandwidthInfo creates a new list of StaticInfoExtn_BandwidthInfo.

func (StaticInfoExtn_BandwidthInfo_List) At added in v0.6.0

func (StaticInfoExtn_BandwidthInfo_List) Set added in v0.6.0

func (StaticInfoExtn_BandwidthInfo_List) String added in v0.6.0

type StaticInfoExtn_BandwidthInfo_Promise added in v0.6.0

type StaticInfoExtn_BandwidthInfo_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_BandwidthInfo_Promise is a wrapper for a StaticInfoExtn_BandwidthInfo promised by a client call.

func (StaticInfoExtn_BandwidthInfo_Promise) Struct added in v0.6.0

type StaticInfoExtn_GeoInfo added in v0.6.0

type StaticInfoExtn_GeoInfo struct{ capnp.Struct }

func NewRootStaticInfoExtn_GeoInfo added in v0.6.0

func NewRootStaticInfoExtn_GeoInfo(s *capnp.Segment) (StaticInfoExtn_GeoInfo, error)

func NewStaticInfoExtn_GeoInfo added in v0.6.0

func NewStaticInfoExtn_GeoInfo(s *capnp.Segment) (StaticInfoExtn_GeoInfo, error)

func ReadRootStaticInfoExtn_GeoInfo added in v0.6.0

func ReadRootStaticInfoExtn_GeoInfo(msg *capnp.Message) (StaticInfoExtn_GeoInfo, error)

func (StaticInfoExtn_GeoInfo) HasLocations added in v0.6.0

func (s StaticInfoExtn_GeoInfo) HasLocations() bool

func (StaticInfoExtn_GeoInfo) Locations added in v0.6.0

func (StaticInfoExtn_GeoInfo) NewLocations added in v0.6.0

NewLocations sets the locations field to a newly allocated StaticInfoExtn_GeoInfo_Location_List, preferring placement in s's segment.

func (StaticInfoExtn_GeoInfo) SetLocations added in v0.6.0

func (StaticInfoExtn_GeoInfo) String added in v0.6.0

func (s StaticInfoExtn_GeoInfo) String() string

type StaticInfoExtn_GeoInfo_List added in v0.6.0

type StaticInfoExtn_GeoInfo_List struct{ capnp.List }

StaticInfoExtn_GeoInfo_List is a list of StaticInfoExtn_GeoInfo.

func NewStaticInfoExtn_GeoInfo_List added in v0.6.0

func NewStaticInfoExtn_GeoInfo_List(s *capnp.Segment, sz int32) (StaticInfoExtn_GeoInfo_List, error)

NewStaticInfoExtn_GeoInfo creates a new list of StaticInfoExtn_GeoInfo.

func (StaticInfoExtn_GeoInfo_List) At added in v0.6.0

func (StaticInfoExtn_GeoInfo_List) Set added in v0.6.0

func (StaticInfoExtn_GeoInfo_List) String added in v0.6.0

type StaticInfoExtn_GeoInfo_Location added in v0.6.0

type StaticInfoExtn_GeoInfo_Location struct{ capnp.Struct }

func NewRootStaticInfoExtn_GeoInfo_Location added in v0.6.0

func NewRootStaticInfoExtn_GeoInfo_Location(s *capnp.Segment) (StaticInfoExtn_GeoInfo_Location, error)

func NewStaticInfoExtn_GeoInfo_Location added in v0.6.0

func NewStaticInfoExtn_GeoInfo_Location(s *capnp.Segment) (StaticInfoExtn_GeoInfo_Location, error)

func ReadRootStaticInfoExtn_GeoInfo_Location added in v0.6.0

func ReadRootStaticInfoExtn_GeoInfo_Location(msg *capnp.Message) (StaticInfoExtn_GeoInfo_Location, error)

func (StaticInfoExtn_GeoInfo_Location) GpsData added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location) HasGpsData added in v0.6.0

func (s StaticInfoExtn_GeoInfo_Location) HasGpsData() bool

func (StaticInfoExtn_GeoInfo_Location) HasInterfaces added in v0.6.0

func (s StaticInfoExtn_GeoInfo_Location) HasInterfaces() bool

func (StaticInfoExtn_GeoInfo_Location) Interfaces added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location) NewGpsData added in v0.6.0

NewGpsData sets the gpsData field to a newly allocated StaticInfoExtn_GeoInfo_Location_Coordinates struct, preferring placement in s's segment.

func (StaticInfoExtn_GeoInfo_Location) NewInterfaces added in v0.6.0

NewInterfaces sets the interfaces field to a newly allocated capnp.UInt64List, preferring placement in s's segment.

func (StaticInfoExtn_GeoInfo_Location) SetGpsData added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location) SetInterfaces added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location) String added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_Coordinates added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_Coordinates struct{ capnp.Struct }

func NewRootStaticInfoExtn_GeoInfo_Location_Coordinates added in v0.6.0

func NewRootStaticInfoExtn_GeoInfo_Location_Coordinates(s *capnp.Segment) (StaticInfoExtn_GeoInfo_Location_Coordinates, error)

func NewStaticInfoExtn_GeoInfo_Location_Coordinates added in v0.6.0

func NewStaticInfoExtn_GeoInfo_Location_Coordinates(s *capnp.Segment) (StaticInfoExtn_GeoInfo_Location_Coordinates, error)

func ReadRootStaticInfoExtn_GeoInfo_Location_Coordinates added in v0.6.0

func ReadRootStaticInfoExtn_GeoInfo_Location_Coordinates(msg *capnp.Message) (StaticInfoExtn_GeoInfo_Location_Coordinates, error)

func (StaticInfoExtn_GeoInfo_Location_Coordinates) Address added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates) AddressBytes added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates) HasAddress added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates) Latitude added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates) Longitude added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates) SetAddress added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates) SetLatitude added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates) SetLongitude added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates) String added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_Coordinates_List added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_Coordinates_List struct{ capnp.List }

StaticInfoExtn_GeoInfo_Location_Coordinates_List is a list of StaticInfoExtn_GeoInfo_Location_Coordinates.

func NewStaticInfoExtn_GeoInfo_Location_Coordinates_List added in v0.6.0

func NewStaticInfoExtn_GeoInfo_Location_Coordinates_List(s *capnp.Segment, sz int32) (StaticInfoExtn_GeoInfo_Location_Coordinates_List, error)

NewStaticInfoExtn_GeoInfo_Location_Coordinates creates a new list of StaticInfoExtn_GeoInfo_Location_Coordinates.

func (StaticInfoExtn_GeoInfo_Location_Coordinates_List) At added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates_List) Set added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Coordinates_List) String added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_Coordinates_Promise added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_Coordinates_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_GeoInfo_Location_Coordinates_Promise is a wrapper for a StaticInfoExtn_GeoInfo_Location_Coordinates promised by a client call.

func (StaticInfoExtn_GeoInfo_Location_Coordinates_Promise) Struct added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_List added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_List struct{ capnp.List }

StaticInfoExtn_GeoInfo_Location_List is a list of StaticInfoExtn_GeoInfo_Location.

func NewStaticInfoExtn_GeoInfo_Location_List added in v0.6.0

func NewStaticInfoExtn_GeoInfo_Location_List(s *capnp.Segment, sz int32) (StaticInfoExtn_GeoInfo_Location_List, error)

NewStaticInfoExtn_GeoInfo_Location creates a new list of StaticInfoExtn_GeoInfo_Location.

func (StaticInfoExtn_GeoInfo_Location_List) At added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_List) Set added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_List) String added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_Promise added in v0.6.0

type StaticInfoExtn_GeoInfo_Location_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_GeoInfo_Location_Promise is a wrapper for a StaticInfoExtn_GeoInfo_Location promised by a client call.

func (StaticInfoExtn_GeoInfo_Location_Promise) GpsData added in v0.6.0

func (StaticInfoExtn_GeoInfo_Location_Promise) Struct added in v0.6.0

type StaticInfoExtn_GeoInfo_Promise added in v0.6.0

type StaticInfoExtn_GeoInfo_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_GeoInfo_Promise is a wrapper for a StaticInfoExtn_GeoInfo promised by a client call.

func (StaticInfoExtn_GeoInfo_Promise) Struct added in v0.6.0

type StaticInfoExtn_InternalHopsInfo added in v0.6.0

type StaticInfoExtn_InternalHopsInfo struct{ capnp.Struct }

func NewRootStaticInfoExtn_InternalHopsInfo added in v0.6.0

func NewRootStaticInfoExtn_InternalHopsInfo(s *capnp.Segment) (StaticInfoExtn_InternalHopsInfo, error)

func NewStaticInfoExtn_InternalHopsInfo added in v0.6.0

func NewStaticInfoExtn_InternalHopsInfo(s *capnp.Segment) (StaticInfoExtn_InternalHopsInfo, error)

func ReadRootStaticInfoExtn_InternalHopsInfo added in v0.6.0

func ReadRootStaticInfoExtn_InternalHopsInfo(msg *capnp.Message) (StaticInfoExtn_InternalHopsInfo, error)

func (StaticInfoExtn_InternalHopsInfo) HasInterfaceHops added in v0.6.0

func (s StaticInfoExtn_InternalHopsInfo) HasInterfaceHops() bool

func (StaticInfoExtn_InternalHopsInfo) InToOutHops added in v0.6.0

func (s StaticInfoExtn_InternalHopsInfo) InToOutHops() uint8

func (StaticInfoExtn_InternalHopsInfo) InterfaceHops added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo) NewInterfaceHops added in v0.6.0

NewInterfaceHops sets the interfaceHops field to a newly allocated StaticInfoExtn_InternalHopsInfo_InterfaceHops_List, preferring placement in s's segment.

func (StaticInfoExtn_InternalHopsInfo) SetInToOutHops added in v0.6.0

func (s StaticInfoExtn_InternalHopsInfo) SetInToOutHops(v uint8)

func (StaticInfoExtn_InternalHopsInfo) SetInterfaceHops added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo) String added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_InterfaceHops added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_InterfaceHops struct{ capnp.Struct }

func NewRootStaticInfoExtn_InternalHopsInfo_InterfaceHops added in v0.6.0

func NewRootStaticInfoExtn_InternalHopsInfo_InterfaceHops(s *capnp.Segment) (StaticInfoExtn_InternalHopsInfo_InterfaceHops, error)

func NewStaticInfoExtn_InternalHopsInfo_InterfaceHops added in v0.6.0

func NewStaticInfoExtn_InternalHopsInfo_InterfaceHops(s *capnp.Segment) (StaticInfoExtn_InternalHopsInfo_InterfaceHops, error)

func ReadRootStaticInfoExtn_InternalHopsInfo_InterfaceHops added in v0.6.0

func ReadRootStaticInfoExtn_InternalHopsInfo_InterfaceHops(msg *capnp.Message) (StaticInfoExtn_InternalHopsInfo_InterfaceHops, error)

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops) Hops added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops) IfID added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops) SetHops added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops) SetIfID added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops) String added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_InterfaceHops_List added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_InterfaceHops_List struct{ capnp.List }

StaticInfoExtn_InternalHopsInfo_InterfaceHops_List is a list of StaticInfoExtn_InternalHopsInfo_InterfaceHops.

func NewStaticInfoExtn_InternalHopsInfo_InterfaceHops_List added in v0.6.0

func NewStaticInfoExtn_InternalHopsInfo_InterfaceHops_List(s *capnp.Segment, sz int32) (StaticInfoExtn_InternalHopsInfo_InterfaceHops_List, error)

NewStaticInfoExtn_InternalHopsInfo_InterfaceHops creates a new list of StaticInfoExtn_InternalHopsInfo_InterfaceHops.

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops_List) At added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops_List) Set added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops_List) String added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_InterfaceHops_Promise added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_InterfaceHops_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_InternalHopsInfo_InterfaceHops_Promise is a wrapper for a StaticInfoExtn_InternalHopsInfo_InterfaceHops promised by a client call.

func (StaticInfoExtn_InternalHopsInfo_InterfaceHops_Promise) Struct added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_List added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_List struct{ capnp.List }

StaticInfoExtn_InternalHopsInfo_List is a list of StaticInfoExtn_InternalHopsInfo.

func NewStaticInfoExtn_InternalHopsInfo_List added in v0.6.0

func NewStaticInfoExtn_InternalHopsInfo_List(s *capnp.Segment, sz int32) (StaticInfoExtn_InternalHopsInfo_List, error)

NewStaticInfoExtn_InternalHopsInfo creates a new list of StaticInfoExtn_InternalHopsInfo.

func (StaticInfoExtn_InternalHopsInfo_List) At added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo_List) Set added in v0.6.0

func (StaticInfoExtn_InternalHopsInfo_List) String added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_Promise added in v0.6.0

type StaticInfoExtn_InternalHopsInfo_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_InternalHopsInfo_Promise is a wrapper for a StaticInfoExtn_InternalHopsInfo promised by a client call.

func (StaticInfoExtn_InternalHopsInfo_Promise) Struct added in v0.6.0

type StaticInfoExtn_LatencyInfo added in v0.6.0

type StaticInfoExtn_LatencyInfo struct{ capnp.Struct }

func NewRootStaticInfoExtn_LatencyInfo added in v0.6.0

func NewRootStaticInfoExtn_LatencyInfo(s *capnp.Segment) (StaticInfoExtn_LatencyInfo, error)

func NewStaticInfoExtn_LatencyInfo added in v0.6.0

func NewStaticInfoExtn_LatencyInfo(s *capnp.Segment) (StaticInfoExtn_LatencyInfo, error)

func ReadRootStaticInfoExtn_LatencyInfo added in v0.6.0

func ReadRootStaticInfoExtn_LatencyInfo(msg *capnp.Message) (StaticInfoExtn_LatencyInfo, error)

func (StaticInfoExtn_LatencyInfo) ChildLatencies added in v0.6.0

func (StaticInfoExtn_LatencyInfo) EgressLatency added in v0.6.0

func (s StaticInfoExtn_LatencyInfo) EgressLatency() uint16

func (StaticInfoExtn_LatencyInfo) HasChildLatencies added in v0.6.0

func (s StaticInfoExtn_LatencyInfo) HasChildLatencies() bool

func (StaticInfoExtn_LatencyInfo) HasPeeringLatencies added in v0.6.0

func (s StaticInfoExtn_LatencyInfo) HasPeeringLatencies() bool

func (StaticInfoExtn_LatencyInfo) IngressToEgressLatency added in v0.6.0

func (s StaticInfoExtn_LatencyInfo) IngressToEgressLatency() uint16

func (StaticInfoExtn_LatencyInfo) NewChildLatencies added in v0.6.0

NewChildLatencies sets the childLatencies field to a newly allocated StaticInfoExtn_LatencyInfo_ChildLatency_List, preferring placement in s's segment.

func (StaticInfoExtn_LatencyInfo) NewPeeringLatencies added in v0.6.0

NewPeeringLatencies sets the peeringLatencies field to a newly allocated StaticInfoExtn_LatencyInfo_PeerLatency_List, preferring placement in s's segment.

func (StaticInfoExtn_LatencyInfo) PeeringLatencies added in v0.6.0

func (StaticInfoExtn_LatencyInfo) SetChildLatencies added in v0.6.0

func (StaticInfoExtn_LatencyInfo) SetEgressLatency added in v0.6.0

func (s StaticInfoExtn_LatencyInfo) SetEgressLatency(v uint16)

func (StaticInfoExtn_LatencyInfo) SetIngressToEgressLatency added in v0.6.0

func (s StaticInfoExtn_LatencyInfo) SetIngressToEgressLatency(v uint16)

func (StaticInfoExtn_LatencyInfo) SetPeeringLatencies added in v0.6.0

func (StaticInfoExtn_LatencyInfo) String added in v0.6.0

type StaticInfoExtn_LatencyInfo_ChildLatency added in v0.6.0

type StaticInfoExtn_LatencyInfo_ChildLatency struct{ capnp.Struct }

func NewRootStaticInfoExtn_LatencyInfo_ChildLatency added in v0.6.0

func NewRootStaticInfoExtn_LatencyInfo_ChildLatency(s *capnp.Segment) (StaticInfoExtn_LatencyInfo_ChildLatency, error)

func NewStaticInfoExtn_LatencyInfo_ChildLatency added in v0.6.0

func NewStaticInfoExtn_LatencyInfo_ChildLatency(s *capnp.Segment) (StaticInfoExtn_LatencyInfo_ChildLatency, error)

func ReadRootStaticInfoExtn_LatencyInfo_ChildLatency added in v0.6.0

func ReadRootStaticInfoExtn_LatencyInfo_ChildLatency(msg *capnp.Message) (StaticInfoExtn_LatencyInfo_ChildLatency, error)

func (StaticInfoExtn_LatencyInfo_ChildLatency) IfID added in v0.6.0

func (StaticInfoExtn_LatencyInfo_ChildLatency) Intra added in v0.6.0

func (StaticInfoExtn_LatencyInfo_ChildLatency) SetIfID added in v0.6.0

func (StaticInfoExtn_LatencyInfo_ChildLatency) SetIntra added in v0.6.0

func (StaticInfoExtn_LatencyInfo_ChildLatency) String added in v0.6.0

type StaticInfoExtn_LatencyInfo_ChildLatency_List added in v0.6.0

type StaticInfoExtn_LatencyInfo_ChildLatency_List struct{ capnp.List }

StaticInfoExtn_LatencyInfo_ChildLatency_List is a list of StaticInfoExtn_LatencyInfo_ChildLatency.

func NewStaticInfoExtn_LatencyInfo_ChildLatency_List added in v0.6.0

func NewStaticInfoExtn_LatencyInfo_ChildLatency_List(s *capnp.Segment, sz int32) (StaticInfoExtn_LatencyInfo_ChildLatency_List, error)

NewStaticInfoExtn_LatencyInfo_ChildLatency creates a new list of StaticInfoExtn_LatencyInfo_ChildLatency.

func (StaticInfoExtn_LatencyInfo_ChildLatency_List) At added in v0.6.0

func (StaticInfoExtn_LatencyInfo_ChildLatency_List) Set added in v0.6.0

func (StaticInfoExtn_LatencyInfo_ChildLatency_List) String added in v0.6.0

type StaticInfoExtn_LatencyInfo_ChildLatency_Promise added in v0.6.0

type StaticInfoExtn_LatencyInfo_ChildLatency_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_LatencyInfo_ChildLatency_Promise is a wrapper for a StaticInfoExtn_LatencyInfo_ChildLatency promised by a client call.

func (StaticInfoExtn_LatencyInfo_ChildLatency_Promise) Struct added in v0.6.0

type StaticInfoExtn_LatencyInfo_List added in v0.6.0

type StaticInfoExtn_LatencyInfo_List struct{ capnp.List }

StaticInfoExtn_LatencyInfo_List is a list of StaticInfoExtn_LatencyInfo.

func NewStaticInfoExtn_LatencyInfo_List added in v0.6.0

func NewStaticInfoExtn_LatencyInfo_List(s *capnp.Segment, sz int32) (StaticInfoExtn_LatencyInfo_List, error)

NewStaticInfoExtn_LatencyInfo creates a new list of StaticInfoExtn_LatencyInfo.

func (StaticInfoExtn_LatencyInfo_List) At added in v0.6.0

func (StaticInfoExtn_LatencyInfo_List) Set added in v0.6.0

func (StaticInfoExtn_LatencyInfo_List) String added in v0.6.0

type StaticInfoExtn_LatencyInfo_PeerLatency added in v0.6.0

type StaticInfoExtn_LatencyInfo_PeerLatency struct{ capnp.Struct }

func NewRootStaticInfoExtn_LatencyInfo_PeerLatency added in v0.6.0

func NewRootStaticInfoExtn_LatencyInfo_PeerLatency(s *capnp.Segment) (StaticInfoExtn_LatencyInfo_PeerLatency, error)

func NewStaticInfoExtn_LatencyInfo_PeerLatency added in v0.6.0

func NewStaticInfoExtn_LatencyInfo_PeerLatency(s *capnp.Segment) (StaticInfoExtn_LatencyInfo_PeerLatency, error)

func ReadRootStaticInfoExtn_LatencyInfo_PeerLatency added in v0.6.0

func ReadRootStaticInfoExtn_LatencyInfo_PeerLatency(msg *capnp.Message) (StaticInfoExtn_LatencyInfo_PeerLatency, error)

func (StaticInfoExtn_LatencyInfo_PeerLatency) IfID added in v0.6.0

func (StaticInfoExtn_LatencyInfo_PeerLatency) Inter added in v0.6.0

func (StaticInfoExtn_LatencyInfo_PeerLatency) Intra added in v0.6.0

func (StaticInfoExtn_LatencyInfo_PeerLatency) SetIfID added in v0.6.0

func (StaticInfoExtn_LatencyInfo_PeerLatency) SetInter added in v0.6.0

func (StaticInfoExtn_LatencyInfo_PeerLatency) SetIntra added in v0.6.0

func (StaticInfoExtn_LatencyInfo_PeerLatency) String added in v0.6.0

type StaticInfoExtn_LatencyInfo_PeerLatency_List added in v0.6.0

type StaticInfoExtn_LatencyInfo_PeerLatency_List struct{ capnp.List }

StaticInfoExtn_LatencyInfo_PeerLatency_List is a list of StaticInfoExtn_LatencyInfo_PeerLatency.

func NewStaticInfoExtn_LatencyInfo_PeerLatency_List added in v0.6.0

func NewStaticInfoExtn_LatencyInfo_PeerLatency_List(s *capnp.Segment, sz int32) (StaticInfoExtn_LatencyInfo_PeerLatency_List, error)

NewStaticInfoExtn_LatencyInfo_PeerLatency creates a new list of StaticInfoExtn_LatencyInfo_PeerLatency.

func (StaticInfoExtn_LatencyInfo_PeerLatency_List) At added in v0.6.0

func (StaticInfoExtn_LatencyInfo_PeerLatency_List) Set added in v0.6.0

func (StaticInfoExtn_LatencyInfo_PeerLatency_List) String added in v0.6.0

type StaticInfoExtn_LatencyInfo_PeerLatency_Promise added in v0.6.0

type StaticInfoExtn_LatencyInfo_PeerLatency_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_LatencyInfo_PeerLatency_Promise is a wrapper for a StaticInfoExtn_LatencyInfo_PeerLatency promised by a client call.

func (StaticInfoExtn_LatencyInfo_PeerLatency_Promise) Struct added in v0.6.0

type StaticInfoExtn_LatencyInfo_Promise added in v0.6.0

type StaticInfoExtn_LatencyInfo_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_LatencyInfo_Promise is a wrapper for a StaticInfoExtn_LatencyInfo promised by a client call.

func (StaticInfoExtn_LatencyInfo_Promise) Struct added in v0.6.0

type StaticInfoExtn_LinkTypeInfo added in v0.6.0

type StaticInfoExtn_LinkTypeInfo struct{ capnp.Struct }

func NewRootStaticInfoExtn_LinkTypeInfo added in v0.6.0

func NewRootStaticInfoExtn_LinkTypeInfo(s *capnp.Segment) (StaticInfoExtn_LinkTypeInfo, error)

func NewStaticInfoExtn_LinkTypeInfo added in v0.6.0

func NewStaticInfoExtn_LinkTypeInfo(s *capnp.Segment) (StaticInfoExtn_LinkTypeInfo, error)

func ReadRootStaticInfoExtn_LinkTypeInfo added in v0.6.0

func ReadRootStaticInfoExtn_LinkTypeInfo(msg *capnp.Message) (StaticInfoExtn_LinkTypeInfo, error)

func (StaticInfoExtn_LinkTypeInfo) EgressLinkType added in v0.6.0

func (s StaticInfoExtn_LinkTypeInfo) HasPeeringLinks() bool

NewPeeringLinks sets the peeringLinks field to a newly allocated StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List, preferring placement in s's segment.

func (StaticInfoExtn_LinkTypeInfo) SetEgressLinkType added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo) String added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_InterfaceLinkType added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_InterfaceLinkType struct{ capnp.Struct }

func NewRootStaticInfoExtn_LinkTypeInfo_InterfaceLinkType added in v0.6.0

func NewRootStaticInfoExtn_LinkTypeInfo_InterfaceLinkType(s *capnp.Segment) (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType, error)

func NewStaticInfoExtn_LinkTypeInfo_InterfaceLinkType added in v0.6.0

func NewStaticInfoExtn_LinkTypeInfo_InterfaceLinkType(s *capnp.Segment) (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType, error)

func ReadRootStaticInfoExtn_LinkTypeInfo_InterfaceLinkType added in v0.6.0

func ReadRootStaticInfoExtn_LinkTypeInfo_InterfaceLinkType(msg *capnp.Message) (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType, error)

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType) IfID added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType) LinkType added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType) SetIfID added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType) SetLinkType added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType) String added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List struct{ capnp.List }

StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List is a list of StaticInfoExtn_LinkTypeInfo_InterfaceLinkType.

func NewStaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List added in v0.6.0

func NewStaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List(s *capnp.Segment, sz int32) (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List, error)

NewStaticInfoExtn_LinkTypeInfo_InterfaceLinkType creates a new list of StaticInfoExtn_LinkTypeInfo_InterfaceLinkType.

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List) At added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List) Set added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_List) String added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_Promise added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_Promise is a wrapper for a StaticInfoExtn_LinkTypeInfo_InterfaceLinkType promised by a client call.

func (StaticInfoExtn_LinkTypeInfo_InterfaceLinkType_Promise) Struct added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_LinkType added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_LinkType uint16
const (
	StaticInfoExtn_LinkTypeInfo_LinkType_direct   StaticInfoExtn_LinkTypeInfo_LinkType = 0
	StaticInfoExtn_LinkTypeInfo_LinkType_multiHop StaticInfoExtn_LinkTypeInfo_LinkType = 1
	StaticInfoExtn_LinkTypeInfo_LinkType_openNet  StaticInfoExtn_LinkTypeInfo_LinkType = 2
)

Values of StaticInfoExtn_LinkTypeInfo_LinkType.

func StaticInfoExtn_LinkTypeInfo_LinkTypeFromString added in v0.6.0

func StaticInfoExtn_LinkTypeInfo_LinkTypeFromString(c string) StaticInfoExtn_LinkTypeInfo_LinkType

StaticInfoExtn_LinkTypeInfo_LinkTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (StaticInfoExtn_LinkTypeInfo_LinkType) String added in v0.6.0

String returns the enum's constant name.

type StaticInfoExtn_LinkTypeInfo_LinkType_List added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_LinkType_List struct{ capnp.List }

func NewStaticInfoExtn_LinkTypeInfo_LinkType_List added in v0.6.0

func NewStaticInfoExtn_LinkTypeInfo_LinkType_List(s *capnp.Segment, sz int32) (StaticInfoExtn_LinkTypeInfo_LinkType_List, error)

func (StaticInfoExtn_LinkTypeInfo_LinkType_List) At added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_LinkType_List) Set added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_List added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_List struct{ capnp.List }

StaticInfoExtn_LinkTypeInfo_List is a list of StaticInfoExtn_LinkTypeInfo.

func NewStaticInfoExtn_LinkTypeInfo_List added in v0.6.0

func NewStaticInfoExtn_LinkTypeInfo_List(s *capnp.Segment, sz int32) (StaticInfoExtn_LinkTypeInfo_List, error)

NewStaticInfoExtn_LinkTypeInfo creates a new list of StaticInfoExtn_LinkTypeInfo.

func (StaticInfoExtn_LinkTypeInfo_List) At added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_List) Set added in v0.6.0

func (StaticInfoExtn_LinkTypeInfo_List) String added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_Promise added in v0.6.0

type StaticInfoExtn_LinkTypeInfo_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_LinkTypeInfo_Promise is a wrapper for a StaticInfoExtn_LinkTypeInfo promised by a client call.

func (StaticInfoExtn_LinkTypeInfo_Promise) Struct added in v0.6.0

type StaticInfoExtn_List added in v0.6.0

type StaticInfoExtn_List struct{ capnp.List }

StaticInfoExtn_List is a list of StaticInfoExtn.

func NewStaticInfoExtn_List added in v0.6.0

func NewStaticInfoExtn_List(s *capnp.Segment, sz int32) (StaticInfoExtn_List, error)

NewStaticInfoExtn creates a new list of StaticInfoExtn.

func (StaticInfoExtn_List) At added in v0.6.0

func (StaticInfoExtn_List) Set added in v0.6.0

func (StaticInfoExtn_List) String added in v0.6.0

func (s StaticInfoExtn_List) String() string

type StaticInfoExtn_Promise added in v0.6.0

type StaticInfoExtn_Promise struct{ *capnp.Pipeline }

StaticInfoExtn_Promise is a wrapper for a StaticInfoExtn promised by a client call.

func (StaticInfoExtn_Promise) Bandwidth added in v0.6.0

func (StaticInfoExtn_Promise) Geo added in v0.6.0

func (StaticInfoExtn_Promise) InternalHops added in v0.6.0

func (StaticInfoExtn_Promise) Latency added in v0.6.0

func (StaticInfoExtn_Promise) Linktype added in v0.6.0

func (StaticInfoExtn_Promise) Struct added in v0.6.0

type Transport added in v0.4.0

type Transport struct{ capnp.Struct }

func NewRootTransport added in v0.4.0

func NewRootTransport(s *capnp.Segment) (Transport, error)

func NewTransport added in v0.4.0

func NewTransport(s *capnp.Segment) (Transport, error)

func ReadRootTransport added in v0.4.0

func ReadRootTransport(msg *capnp.Message) (Transport, error)

func (Transport) HasKey added in v0.4.0

func (s Transport) HasKey() bool

func (Transport) HasValue added in v0.4.0

func (s Transport) HasValue() bool

func (Transport) Key added in v0.4.0

func (s Transport) Key() (string, error)

func (Transport) KeyBytes added in v0.4.0

func (s Transport) KeyBytes() ([]byte, error)

func (Transport) SetKey added in v0.4.0

func (s Transport) SetKey(v string) error

func (Transport) SetValue added in v0.4.0

func (s Transport) SetValue(v string) error

func (Transport) String added in v0.4.0

func (s Transport) String() string

func (Transport) Value added in v0.4.0

func (s Transport) Value() (string, error)

func (Transport) ValueBytes added in v0.4.0

func (s Transport) ValueBytes() ([]byte, error)

type Transport_List added in v0.4.0

type Transport_List struct{ capnp.List }

Transport_List is a list of Transport.

func NewTransport_List added in v0.4.0

func NewTransport_List(s *capnp.Segment, sz int32) (Transport_List, error)

NewTransport creates a new list of Transport.

func (Transport_List) At added in v0.4.0

func (s Transport_List) At(i int) Transport

func (Transport_List) Set added in v0.4.0

func (s Transport_List) Set(i int, v Transport) error

func (Transport_List) String added in v0.4.0

func (s Transport_List) String() string

type Transport_Promise added in v0.4.0

type Transport_Promise struct{ *capnp.Pipeline }

Transport_Promise is a wrapper for a Transport promised by a client call.

func (Transport_Promise) Struct added in v0.4.0

func (p Transport_Promise) Struct() (Transport, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL