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
- func NewRootStruct(id ProtoIdType, seg *capnp.Segment) (capnp.Struct, error)
- func PackRoot(c Cerealizable) (common.RawBytes, error)
- func ParseFromRaw(c Cerealizable, b common.RawBytes) error
- func ParseFromReader(c Cerealizable, r io.Reader) error
- func SafeDecode(decoder *capnp.Decoder) (msg *capnp.Message, err error)
- func SafeExtract(val interface{}, typeID uint64, s capnp.Struct) (err error)
- func SerializeTo(c Cerealizable, wr io.Writer) error
- func WriteRoot(c Cerealizable, b common.RawBytes) (int, error)
- type ASEntry
- func (s ASEntry) CertVer() uint64
- func (s ASEntry) Exts() ASEntry_exts
- func (s ASEntry) GetStruct() capnp.Struct
- func (s ASEntry) HasHops() bool
- func (s ASEntry) Hops() (HopEntry_List, error)
- func (s ASEntry) IfIDSize() uint8
- func (s ASEntry) Isdas() uint64
- func (s ASEntry) Mtu() uint16
- func (s ASEntry) NewHops(n int32) (HopEntry_List, error)
- func (s ASEntry) SetCertVer(v uint64)
- func (s ASEntry) SetHops(v HopEntry_List) error
- func (s ASEntry) SetIfIDSize(v uint8)
- func (s ASEntry) SetIsdas(v uint64)
- func (s ASEntry) SetMtu(v uint16)
- func (s ASEntry) SetTrcVer(v uint64)
- func (s ASEntry) String() string
- func (s ASEntry) TrcVer() uint64
- type ASEntry_List
- type ASEntry_Promise
- type ASEntry_exts
- func (s ASEntry_exts) HasHiddenPathSeg() bool
- func (s ASEntry_exts) HasRoutingPolicy() bool
- func (s ASEntry_exts) HasSibra() bool
- func (s ASEntry_exts) HiddenPathSeg() (HiddenPathSegExtn, error)
- func (s ASEntry_exts) NewHiddenPathSeg() (HiddenPathSegExtn, error)
- func (s ASEntry_exts) NewRoutingPolicy() (RoutingPolicyExt, error)
- func (s ASEntry_exts) NewSibra() (SibraPCBExt, error)
- func (s ASEntry_exts) RoutingPolicy() (RoutingPolicyExt, error)
- func (s ASEntry_exts) SetHiddenPathSeg(v HiddenPathSegExtn) error
- func (s ASEntry_exts) SetRoutingPolicy(v RoutingPolicyExt) error
- func (s ASEntry_exts) SetSibra(v SibraPCBExt) error
- func (s ASEntry_exts) Sibra() (SibraPCBExt, error)
- type ASEntry_exts_Promise
- type ASInfoReply
- type ASInfoReplyEntry
- type ASInfoReplyEntry_List
- type ASInfoReplyEntry_Promise
- type ASInfoReply_List
- type ASInfoReply_Promise
- type ASInfoReq
- type ASInfoReq_List
- type ASInfoReq_Promise
- type Ack
- type Ack_ErrCode
- type Ack_ErrCode_List
- type Ack_List
- type Ack_Promise
- type Addr
- type Addr_List
- type Addr_Promise
- type Cerealizable
- type CertChain
- type CertChainIssRep
- type CertChainIssRep_List
- type CertChainIssRep_Promise
- type CertChainIssReq
- type CertChainIssReq_List
- type CertChainIssReq_Promise
- type CertChainReq
- type CertChainReq_List
- type CertChainReq_Promise
- type CertChain_List
- type CertChain_Promise
- type CertMgmt
- func (s CertMgmt) CertChain() (CertChain, error)
- func (s CertMgmt) CertChainIssRep() (CertChainIssRep, error)
- func (s CertMgmt) CertChainIssReq() (CertChainIssReq, error)
- func (s CertMgmt) CertChainReq() (CertChainReq, error)
- func (s CertMgmt) HasCertChain() bool
- func (s CertMgmt) HasCertChainIssRep() bool
- func (s CertMgmt) HasCertChainIssReq() bool
- func (s CertMgmt) HasCertChainReq() bool
- func (s CertMgmt) HasTrc() bool
- func (s CertMgmt) HasTrcReq() bool
- func (s CertMgmt) NewCertChain() (CertChain, error)
- func (s CertMgmt) NewCertChainIssRep() (CertChainIssRep, error)
- func (s CertMgmt) NewCertChainIssReq() (CertChainIssReq, error)
- func (s CertMgmt) NewCertChainReq() (CertChainReq, error)
- func (s CertMgmt) NewTrc() (TRC, error)
- func (s CertMgmt) NewTrcReq() (TRCReq, error)
- func (s CertMgmt) SetCertChain(v CertChain) error
- func (s CertMgmt) SetCertChainIssRep(v CertChainIssRep) error
- func (s CertMgmt) SetCertChainIssReq(v CertChainIssReq) error
- func (s CertMgmt) SetCertChainReq(v CertChainReq) error
- func (s CertMgmt) SetTrc(v TRC) error
- func (s CertMgmt) SetTrcReq(v TRCReq) error
- func (s CertMgmt) SetUnset()
- func (s CertMgmt) String() string
- func (s CertMgmt) Trc() (TRC, error)
- func (s CertMgmt) TrcReq() (TRCReq, error)
- func (s CertMgmt) Which() CertMgmt_Which
- type CertMgmt_List
- type CertMgmt_Promise
- func (p CertMgmt_Promise) CertChain() CertChain_Promise
- func (p CertMgmt_Promise) CertChainIssRep() CertChainIssRep_Promise
- func (p CertMgmt_Promise) CertChainIssReq() CertChainIssReq_Promise
- func (p CertMgmt_Promise) CertChainReq() CertChainReq_Promise
- func (p CertMgmt_Promise) Struct() (CertMgmt, error)
- func (p CertMgmt_Promise) Trc() TRC_Promise
- func (p CertMgmt_Promise) TrcReq() TRCReq_Promise
- type CertMgmt_Which
- type CtrlExtnData
- type CtrlExtnDataList
- type CtrlExtnDataList_List
- type CtrlExtnDataList_Promise
- type CtrlExtnData_List
- type CtrlExtnData_Promise
- type CtrlPld
- func (s CtrlPld) Ack() (Ack, error)
- func (s CtrlPld) CertMgmt() (CertMgmt, error)
- func (s CtrlPld) DrkeyMgmt() (DRKeyMgmt, error)
- func (s CtrlPld) Extn() (CtrlExtnDataList, error)
- func (s CtrlPld) GetStruct() capnp.Struct
- func (s CtrlPld) HasAck() bool
- func (s CtrlPld) HasCertMgmt() bool
- func (s CtrlPld) HasDrkeyMgmt() bool
- func (s CtrlPld) HasExtn() bool
- func (s CtrlPld) HasIfid() bool
- func (s CtrlPld) HasPathMgmt() bool
- func (s CtrlPld) HasPcb() bool
- func (s CtrlPld) HasSibra() bool
- func (s CtrlPld) HasSig() bool
- func (s CtrlPld) HasTraceId() bool
- func (s CtrlPld) Ifid() (IFID, error)
- func (s CtrlPld) NewAck() (Ack, error)
- func (s CtrlPld) NewCertMgmt() (CertMgmt, error)
- func (s CtrlPld) NewDrkeyMgmt() (DRKeyMgmt, error)
- func (s CtrlPld) NewExtn() (CtrlExtnDataList, error)
- func (s CtrlPld) NewIfid() (IFID, error)
- func (s CtrlPld) NewPathMgmt() (PathMgmt, error)
- func (s CtrlPld) NewPcb() (PCB, error)
- func (s CtrlPld) NewSibra() (SibraPayload, error)
- func (s CtrlPld) NewSig() (SIGCtrl, error)
- func (s CtrlPld) PathMgmt() (PathMgmt, error)
- func (s CtrlPld) Pcb() (PCB, error)
- func (s CtrlPld) ReqId() uint64
- func (s CtrlPld) SetAck(v Ack) error
- func (s CtrlPld) SetCertMgmt(v CertMgmt) error
- func (s CtrlPld) SetDrkeyMgmt(v DRKeyMgmt) error
- func (s CtrlPld) SetExtn(v CtrlExtnDataList) error
- func (s CtrlPld) SetIfid(v IFID) error
- func (s CtrlPld) SetPathMgmt(v PathMgmt) error
- func (s CtrlPld) SetPcb(v PCB) error
- func (s CtrlPld) SetReqId(v uint64)
- func (s CtrlPld) SetSibra(v SibraPayload) error
- func (s CtrlPld) SetSig(v SIGCtrl) error
- func (s CtrlPld) SetTraceId(v []byte) error
- func (s CtrlPld) SetUnset()
- func (s CtrlPld) Sibra() (SibraPayload, error)
- func (s CtrlPld) Sig() (SIGCtrl, error)
- func (s CtrlPld) String() string
- func (s CtrlPld) TraceId() ([]byte, error)
- func (s CtrlPld) Which() CtrlPld_Which
- type CtrlPld_List
- type CtrlPld_Promise
- func (p CtrlPld_Promise) Ack() Ack_Promise
- func (p CtrlPld_Promise) CertMgmt() CertMgmt_Promise
- func (p CtrlPld_Promise) DrkeyMgmt() DRKeyMgmt_Promise
- func (p CtrlPld_Promise) Extn() CtrlExtnDataList_Promise
- func (p CtrlPld_Promise) Ifid() IFID_Promise
- func (p CtrlPld_Promise) PathMgmt() PathMgmt_Promise
- func (p CtrlPld_Promise) Pcb() PCB_Promise
- func (p CtrlPld_Promise) Sibra() SibraPayload_Promise
- func (p CtrlPld_Promise) Sig() SIGCtrl_Promise
- func (p CtrlPld_Promise) Struct() (CtrlPld, error)
- type CtrlPld_Which
- type DRKeyMgmt
- func (s DRKeyMgmt) DrkeyRep() (DRKeyRep, error)
- func (s DRKeyMgmt) DrkeyReq() (DRKeyReq, error)
- func (s DRKeyMgmt) HasDrkeyRep() bool
- func (s DRKeyMgmt) HasDrkeyReq() bool
- func (s DRKeyMgmt) NewDrkeyRep() (DRKeyRep, error)
- func (s DRKeyMgmt) NewDrkeyReq() (DRKeyReq, error)
- func (s DRKeyMgmt) SetDrkeyRep(v DRKeyRep) error
- func (s DRKeyMgmt) SetDrkeyReq(v DRKeyReq) error
- func (s DRKeyMgmt) SetUnset()
- func (s DRKeyMgmt) String() string
- func (s DRKeyMgmt) Which() DRKeyMgmt_Which
- type DRKeyMgmt_List
- type DRKeyMgmt_Promise
- type DRKeyMgmt_Which
- type DRKeyRep
- func (s DRKeyRep) CertVerDst() uint32
- func (s DRKeyRep) CertVerSrc() uint32
- func (s DRKeyRep) Cipher() ([]byte, error)
- func (s DRKeyRep) ExpTime() uint32
- func (s DRKeyRep) HasCipher() bool
- func (s DRKeyRep) HasSignature() bool
- func (s DRKeyRep) Isdas() uint64
- func (s DRKeyRep) SetCertVerDst(v uint32)
- func (s DRKeyRep) SetCertVerSrc(v uint32)
- func (s DRKeyRep) SetCipher(v []byte) error
- func (s DRKeyRep) SetExpTime(v uint32)
- func (s DRKeyRep) SetIsdas(v uint64)
- func (s DRKeyRep) SetSignature(v []byte) error
- func (s DRKeyRep) SetTimestamp(v uint32)
- func (s DRKeyRep) SetTrcVer(v uint32)
- func (s DRKeyRep) Signature() ([]byte, error)
- func (s DRKeyRep) String() string
- func (s DRKeyRep) Timestamp() uint32
- func (s DRKeyRep) TrcVer() uint32
- type DRKeyRep_List
- type DRKeyRep_Promise
- type DRKeyReq
- func (s DRKeyReq) CertVer() uint32
- func (s DRKeyReq) Flags() DRKeyReq_flags
- func (s DRKeyReq) HasSignature() bool
- func (s DRKeyReq) Isdas() uint64
- func (s DRKeyReq) SetCertVer(v uint32)
- func (s DRKeyReq) SetIsdas(v uint64)
- func (s DRKeyReq) SetSignature(v []byte) error
- func (s DRKeyReq) SetTimestamp(v uint32)
- func (s DRKeyReq) SetTrcVer(v uint32)
- func (s DRKeyReq) Signature() ([]byte, error)
- func (s DRKeyReq) String() string
- func (s DRKeyReq) Timestamp() uint32
- func (s DRKeyReq) TrcVer() uint32
- type DRKeyReq_List
- type DRKeyReq_Promise
- type DRKeyReq_flags
- type DRKeyReq_flags_Promise
- type FwdPathMeta
- func (s FwdPathMeta) ExpTime() uint32
- func (s FwdPathMeta) FwdPath() ([]byte, error)
- func (s FwdPathMeta) HasFwdPath() bool
- func (s FwdPathMeta) HasInterfaces() bool
- func (s FwdPathMeta) Interfaces() (PathInterface_List, error)
- func (s FwdPathMeta) Mtu() uint16
- func (s FwdPathMeta) NewInterfaces(n int32) (PathInterface_List, error)
- func (s FwdPathMeta) SetExpTime(v uint32)
- func (s FwdPathMeta) SetFwdPath(v []byte) error
- func (s FwdPathMeta) SetInterfaces(v PathInterface_List) error
- func (s FwdPathMeta) SetMtu(v uint16)
- func (s FwdPathMeta) String() string
- type FwdPathMeta_List
- type FwdPathMeta_Promise
- type HPCfg
- func (s HPCfg) GroupId() (HPGroupId, error)
- func (s HPCfg) HasGroupId() bool
- func (s HPCfg) HasReaders() bool
- func (s HPCfg) HasRegistries() bool
- func (s HPCfg) HasWriters() bool
- func (s HPCfg) NewGroupId() (HPGroupId, error)
- func (s HPCfg) NewReaders(n int32) (capnp.UInt64List, error)
- func (s HPCfg) NewRegistries(n int32) (capnp.UInt64List, error)
- func (s HPCfg) NewWriters(n int32) (capnp.UInt64List, error)
- func (s HPCfg) OwnerISD() uint16
- func (s HPCfg) Readers() (capnp.UInt64List, error)
- func (s HPCfg) Registries() (capnp.UInt64List, error)
- func (s HPCfg) SetGroupId(v HPGroupId) error
- func (s HPCfg) SetOwnerISD(v uint16)
- func (s HPCfg) SetReaders(v capnp.UInt64List) error
- func (s HPCfg) SetRegistries(v capnp.UInt64List) error
- func (s HPCfg) SetVersion(v uint32)
- func (s HPCfg) SetWriters(v capnp.UInt64List) error
- func (s HPCfg) String() string
- func (s HPCfg) Version() uint32
- func (s HPCfg) Writers() (capnp.UInt64List, error)
- type HPCfgReply
- type HPCfgReply_List
- type HPCfgReply_Promise
- type HPCfgReq
- type HPCfgReq_List
- type HPCfgReq_Promise
- type HPCfg_List
- type HPCfg_Promise
- type HPGroupId
- type HPGroupId_List
- type HPGroupId_Promise
- type HPSegRecs
- func (s HPSegRecs) Err() (string, error)
- func (s HPSegRecs) ErrBytes() ([]byte, error)
- func (s HPSegRecs) GroupId() (HPGroupId, error)
- func (s HPSegRecs) HasErr() bool
- func (s HPSegRecs) HasGroupId() bool
- func (s HPSegRecs) HasRecs() bool
- func (s HPSegRecs) NewGroupId() (HPGroupId, error)
- func (s HPSegRecs) NewRecs(n int32) (PathSegMeta_List, error)
- func (s HPSegRecs) Recs() (PathSegMeta_List, error)
- func (s HPSegRecs) SetErr(v string) error
- func (s HPSegRecs) SetGroupId(v HPGroupId) error
- func (s HPSegRecs) SetRecs(v PathSegMeta_List) error
- func (s HPSegRecs) String() string
- type HPSegRecs_List
- type HPSegRecs_Promise
- type HPSegReply
- type HPSegReply_List
- type HPSegReply_Promise
- type HPSegReq
- func (s HPSegReq) DstIA() uint64
- func (s HPSegReq) GroupIds() (HPGroupId_List, error)
- func (s HPSegReq) HasGroupIds() bool
- func (s HPSegReq) NewGroupIds(n int32) (HPGroupId_List, error)
- func (s HPSegReq) SetDstIA(v uint64)
- func (s HPSegReq) SetGroupIds(v HPGroupId_List) error
- func (s HPSegReq) String() string
- type HPSegReq_List
- type HPSegReq_Promise
- type HiddenPathSegExtn
- type HiddenPathSegExtn_List
- type HiddenPathSegExtn_Promise
- type HopEntry
- func (s HopEntry) HasHopF() bool
- func (s HopEntry) HopF() ([]byte, error)
- func (s HopEntry) InIA() uint64
- func (s HopEntry) InMTU() uint16
- func (s HopEntry) OutIA() uint64
- func (s HopEntry) RemoteInIF() uint64
- func (s HopEntry) RemoteOutIF() uint64
- func (s HopEntry) SetHopF(v []byte) error
- func (s HopEntry) SetInIA(v uint64)
- func (s HopEntry) SetInMTU(v uint16)
- func (s HopEntry) SetOutIA(v uint64)
- func (s HopEntry) SetRemoteInIF(v uint64)
- func (s HopEntry) SetRemoteOutIF(v uint64)
- func (s HopEntry) String() string
- type HopEntry_List
- type HopEntry_Promise
- type HostInfo
- type HostInfo_List
- type HostInfo_Promise
- type HostInfo_addrs
- type HostInfo_addrs_Promise
- type IFID
- type IFID_List
- type IFID_Promise
- type IFInfoReply
- type IFInfoReplyEntry
- func (s IFInfoReplyEntry) HasHostInfo() bool
- func (s IFInfoReplyEntry) HostInfo() (HostInfo, error)
- func (s IFInfoReplyEntry) IfID() uint64
- func (s IFInfoReplyEntry) NewHostInfo() (HostInfo, error)
- func (s IFInfoReplyEntry) SetHostInfo(v HostInfo) error
- func (s IFInfoReplyEntry) SetIfID(v uint64)
- func (s IFInfoReplyEntry) String() string
- type IFInfoReplyEntry_List
- type IFInfoReplyEntry_Promise
- type IFInfoReply_List
- type IFInfoReply_Promise
- type IFInfoRequest
- type IFInfoRequest_List
- type IFInfoRequest_Promise
- type IFStateInfo
- func (s IFStateInfo) Active() bool
- func (s IFStateInfo) HasSRevInfo() bool
- func (s IFStateInfo) IfID() uint64
- func (s IFStateInfo) NewSRevInfo() (SignedBlob, error)
- func (s IFStateInfo) SRevInfo() (SignedBlob, error)
- func (s IFStateInfo) SetActive(v bool)
- func (s IFStateInfo) SetIfID(v uint64)
- func (s IFStateInfo) SetSRevInfo(v SignedBlob) error
- func (s IFStateInfo) String() string
- type IFStateInfo_List
- type IFStateInfo_Promise
- type IFStateInfos
- type IFStateInfos_List
- type IFStateInfos_Promise
- type IFStateReq
- type IFStateReq_List
- type IFStateReq_Promise
- type ISDAnnouncementExt
- type ISDAnnouncementExt_List
- type ISDAnnouncementExt_Promise
- type LinkType
- type LinkType_List
- type PCB
- type PCB_List
- type PCB_Promise
- type PathInterface
- type PathInterface_List
- type PathInterface_Promise
- type PathMgmt
- func (s PathMgmt) HasHpCfgReply() bool
- func (s PathMgmt) HasHpCfgReq() bool
- func (s PathMgmt) HasHpSegReg() bool
- func (s PathMgmt) HasHpSegReply() bool
- func (s PathMgmt) HasHpSegReq() bool
- func (s PathMgmt) HasIfStateInfos() bool
- func (s PathMgmt) HasIfStateReq() bool
- func (s PathMgmt) HasSRevInfo() bool
- func (s PathMgmt) HasSegChangesIdReply() bool
- func (s PathMgmt) HasSegChangesIdReq() bool
- func (s PathMgmt) HasSegChangesReply() bool
- func (s PathMgmt) HasSegChangesReq() bool
- func (s PathMgmt) HasSegReg() bool
- func (s PathMgmt) HasSegReply() bool
- func (s PathMgmt) HasSegReq() bool
- func (s PathMgmt) HasSegSync() bool
- func (s PathMgmt) HpCfgReply() (HPCfgReply, error)
- func (s PathMgmt) HpCfgReq() (HPCfgReq, error)
- func (s PathMgmt) HpSegReg() (HPSegRecs, error)
- func (s PathMgmt) HpSegReply() (HPSegReply, error)
- func (s PathMgmt) HpSegReq() (HPSegReq, error)
- func (s PathMgmt) IfStateInfos() (IFStateInfos, error)
- func (s PathMgmt) IfStateReq() (IFStateReq, error)
- func (s PathMgmt) NewHpCfgReply() (HPCfgReply, error)
- func (s PathMgmt) NewHpCfgReq() (HPCfgReq, error)
- func (s PathMgmt) NewHpSegReg() (HPSegRecs, error)
- func (s PathMgmt) NewHpSegReply() (HPSegReply, error)
- func (s PathMgmt) NewHpSegReq() (HPSegReq, error)
- func (s PathMgmt) NewIfStateInfos() (IFStateInfos, error)
- func (s PathMgmt) NewIfStateReq() (IFStateReq, error)
- func (s PathMgmt) NewSRevInfo() (SignedBlob, error)
- func (s PathMgmt) NewSegChangesIdReply() (SegChangesIdReply, error)
- func (s PathMgmt) NewSegChangesIdReq() (SegChangesIdReq, error)
- func (s PathMgmt) NewSegChangesReply() (SegRecs, error)
- func (s PathMgmt) NewSegChangesReq() (SegChangesReq, error)
- func (s PathMgmt) NewSegReg() (SegRecs, error)
- func (s PathMgmt) NewSegReply() (SegReply, error)
- func (s PathMgmt) NewSegReq() (SegReq, error)
- func (s PathMgmt) NewSegSync() (SegRecs, error)
- func (s PathMgmt) SRevInfo() (SignedBlob, error)
- func (s PathMgmt) SegChangesIdReply() (SegChangesIdReply, error)
- func (s PathMgmt) SegChangesIdReq() (SegChangesIdReq, error)
- func (s PathMgmt) SegChangesReply() (SegRecs, error)
- func (s PathMgmt) SegChangesReq() (SegChangesReq, error)
- func (s PathMgmt) SegReg() (SegRecs, error)
- func (s PathMgmt) SegReply() (SegReply, error)
- func (s PathMgmt) SegReq() (SegReq, error)
- func (s PathMgmt) SegSync() (SegRecs, error)
- func (s PathMgmt) SetHpCfgReply(v HPCfgReply) error
- func (s PathMgmt) SetHpCfgReq(v HPCfgReq) error
- func (s PathMgmt) SetHpSegReg(v HPSegRecs) error
- func (s PathMgmt) SetHpSegReply(v HPSegReply) error
- func (s PathMgmt) SetHpSegReq(v HPSegReq) error
- func (s PathMgmt) SetIfStateInfos(v IFStateInfos) error
- func (s PathMgmt) SetIfStateReq(v IFStateReq) error
- func (s PathMgmt) SetSRevInfo(v SignedBlob) error
- func (s PathMgmt) SetSegChangesIdReply(v SegChangesIdReply) error
- func (s PathMgmt) SetSegChangesIdReq(v SegChangesIdReq) error
- func (s PathMgmt) SetSegChangesReply(v SegRecs) error
- func (s PathMgmt) SetSegChangesReq(v SegChangesReq) error
- func (s PathMgmt) SetSegReg(v SegRecs) error
- func (s PathMgmt) SetSegReply(v SegReply) error
- func (s PathMgmt) SetSegReq(v SegReq) error
- func (s PathMgmt) SetSegSync(v SegRecs) error
- func (s PathMgmt) SetUnset()
- func (s PathMgmt) String() string
- func (s PathMgmt) Which() PathMgmt_Which
- type PathMgmt_List
- type PathMgmt_Promise
- func (p PathMgmt_Promise) HpCfgReply() HPCfgReply_Promise
- func (p PathMgmt_Promise) HpCfgReq() HPCfgReq_Promise
- func (p PathMgmt_Promise) HpSegReg() HPSegRecs_Promise
- func (p PathMgmt_Promise) HpSegReply() HPSegReply_Promise
- func (p PathMgmt_Promise) HpSegReq() HPSegReq_Promise
- func (p PathMgmt_Promise) IfStateInfos() IFStateInfos_Promise
- func (p PathMgmt_Promise) IfStateReq() IFStateReq_Promise
- func (p PathMgmt_Promise) SRevInfo() SignedBlob_Promise
- func (p PathMgmt_Promise) SegChangesIdReply() SegChangesIdReply_Promise
- func (p PathMgmt_Promise) SegChangesIdReq() SegChangesIdReq_Promise
- func (p PathMgmt_Promise) SegChangesReply() SegRecs_Promise
- func (p PathMgmt_Promise) SegChangesReq() SegChangesReq_Promise
- func (p PathMgmt_Promise) SegReg() SegRecs_Promise
- func (p PathMgmt_Promise) SegReply() SegReply_Promise
- func (p PathMgmt_Promise) SegReq() SegReq_Promise
- func (p PathMgmt_Promise) SegSync() SegRecs_Promise
- func (p PathMgmt_Promise) Struct() (PathMgmt, error)
- type PathMgmt_Which
- type PathReply
- func (s PathReply) Entries() (PathReplyEntry_List, error)
- func (s PathReply) ErrorCode() uint16
- func (s PathReply) HasEntries() bool
- func (s PathReply) NewEntries(n int32) (PathReplyEntry_List, error)
- func (s PathReply) SetEntries(v PathReplyEntry_List) error
- func (s PathReply) SetErrorCode(v uint16)
- func (s PathReply) String() string
- type PathReplyEntry
- func (s PathReplyEntry) HasHostInfo() bool
- func (s PathReplyEntry) HasPath() bool
- func (s PathReplyEntry) HostInfo() (HostInfo, error)
- func (s PathReplyEntry) NewHostInfo() (HostInfo, error)
- func (s PathReplyEntry) NewPath() (FwdPathMeta, error)
- func (s PathReplyEntry) Path() (FwdPathMeta, error)
- func (s PathReplyEntry) SetHostInfo(v HostInfo) error
- func (s PathReplyEntry) SetPath(v FwdPathMeta) error
- func (s PathReplyEntry) String() string
- type PathReplyEntry_List
- type PathReplyEntry_Promise
- type PathReply_List
- type PathReply_Promise
- type PathReq
- func (s PathReq) Dst() uint64
- func (s PathReq) Flags() PathReq_flags
- func (s PathReq) HasHpCfgs() bool
- func (s PathReq) HpCfgs() (HPGroupId_List, error)
- func (s PathReq) MaxPaths() uint16
- func (s PathReq) NewHpCfgs(n int32) (HPGroupId_List, error)
- func (s PathReq) SetDst(v uint64)
- func (s PathReq) SetHpCfgs(v HPGroupId_List) error
- func (s PathReq) SetMaxPaths(v uint16)
- func (s PathReq) SetSrc(v uint64)
- func (s PathReq) Src() uint64
- func (s PathReq) String() string
- type PathReq_List
- type PathReq_Promise
- type PathReq_flags
- type PathReq_flags_Promise
- type PathSegMeta
- func (s PathSegMeta) HasPathSeg() bool
- func (s PathSegMeta) NewPathSeg() (PathSegment, error)
- func (s PathSegMeta) PathSeg() (PathSegment, error)
- func (s PathSegMeta) SetPathSeg(v PathSegment) error
- func (s PathSegMeta) SetType(v PathSegType)
- func (s PathSegMeta) String() string
- func (s PathSegMeta) Type() PathSegType
- type PathSegMeta_List
- type PathSegMeta_Promise
- type PathSegType
- type PathSegType_List
- type PathSegment
- func (s PathSegment) AsEntries() (SignedBlob_List, error)
- func (s PathSegment) GetStruct() capnp.Struct
- func (s PathSegment) HasAsEntries() bool
- func (s PathSegment) HasSdata() bool
- func (s PathSegment) NewAsEntries(n int32) (SignedBlob_List, error)
- func (s PathSegment) Sdata() ([]byte, error)
- func (s PathSegment) SetAsEntries(v SignedBlob_List) error
- func (s PathSegment) SetSdata(v []byte) error
- func (s PathSegment) String() string
- type PathSegmentSignedData
- type PathSegmentSignedData_List
- type PathSegmentSignedData_Promise
- type PathSegment_List
- type PathSegment_Promise
- type ProtoIdType
- type RevInfo
- func (s RevInfo) GetStruct() capnp.Struct
- func (s RevInfo) IfID() uint64
- func (s RevInfo) Isdas() uint64
- func (s RevInfo) LinkType() LinkType
- func (s RevInfo) SetIfID(v uint64)
- func (s RevInfo) SetIsdas(v uint64)
- func (s RevInfo) SetLinkType(v LinkType)
- func (s RevInfo) SetTimestamp(v uint32)
- func (s RevInfo) SetTtl(v uint32)
- func (s RevInfo) String() string
- func (s RevInfo) Timestamp() uint32
- func (s RevInfo) Ttl() uint32
- type RevInfo_List
- type RevInfo_Promise
- type RevNotification
- type RevNotification_List
- type RevNotification_Promise
- type RevReply
- type RevReply_List
- type RevReply_Promise
- type RoutingPolicyExt
- func (s RoutingPolicyExt) HasIsdases() bool
- func (s RoutingPolicyExt) IfID() uint64
- func (s RoutingPolicyExt) Isdases() (capnp.UInt64List, error)
- func (s RoutingPolicyExt) NewIsdases(n int32) (capnp.UInt64List, error)
- func (s RoutingPolicyExt) PolType() uint8
- func (s RoutingPolicyExt) Set() bool
- func (s RoutingPolicyExt) SetIfID(v uint64)
- func (s RoutingPolicyExt) SetIsdases(v capnp.UInt64List) error
- func (s RoutingPolicyExt) SetPolType(v uint8)
- func (s RoutingPolicyExt) SetSet(v bool)
- func (s RoutingPolicyExt) String() string
- type RoutingPolicyExt_List
- type RoutingPolicyExt_Promise
- type SCIONDMsg
- func (s SCIONDMsg) AsInfoReply() (ASInfoReply, error)
- func (s SCIONDMsg) AsInfoReq() (ASInfoReq, error)
- func (s SCIONDMsg) GetStruct() capnp.Struct
- func (s SCIONDMsg) HasAsInfoReply() bool
- func (s SCIONDMsg) HasAsInfoReq() bool
- func (s SCIONDMsg) HasIfInfoReply() bool
- func (s SCIONDMsg) HasIfInfoRequest() bool
- func (s SCIONDMsg) HasPathReply() bool
- func (s SCIONDMsg) HasPathReq() bool
- func (s SCIONDMsg) HasRevNotification() bool
- func (s SCIONDMsg) HasRevReply() bool
- func (s SCIONDMsg) HasSegTypeHopReply() bool
- func (s SCIONDMsg) HasSegTypeHopReq() bool
- func (s SCIONDMsg) HasServiceInfoReply() bool
- func (s SCIONDMsg) HasServiceInfoRequest() bool
- func (s SCIONDMsg) Id() uint64
- func (s SCIONDMsg) IfInfoReply() (IFInfoReply, error)
- func (s SCIONDMsg) IfInfoRequest() (IFInfoRequest, error)
- func (s SCIONDMsg) NewAsInfoReply() (ASInfoReply, error)
- func (s SCIONDMsg) NewAsInfoReq() (ASInfoReq, error)
- func (s SCIONDMsg) NewIfInfoReply() (IFInfoReply, error)
- func (s SCIONDMsg) NewIfInfoRequest() (IFInfoRequest, error)
- func (s SCIONDMsg) NewPathReply() (PathReply, error)
- func (s SCIONDMsg) NewPathReq() (PathReq, error)
- func (s SCIONDMsg) NewRevNotification() (RevNotification, error)
- func (s SCIONDMsg) NewRevReply() (RevReply, error)
- func (s SCIONDMsg) NewSegTypeHopReply() (SegTypeHopReply, error)
- func (s SCIONDMsg) NewSegTypeHopReq() (SegTypeHopReq, error)
- func (s SCIONDMsg) NewServiceInfoReply() (ServiceInfoReply, error)
- func (s SCIONDMsg) NewServiceInfoRequest() (ServiceInfoRequest, error)
- func (s SCIONDMsg) PathReply() (PathReply, error)
- func (s SCIONDMsg) PathReq() (PathReq, error)
- func (s SCIONDMsg) RevNotification() (RevNotification, error)
- func (s SCIONDMsg) RevReply() (RevReply, error)
- func (s SCIONDMsg) SegTypeHopReply() (SegTypeHopReply, error)
- func (s SCIONDMsg) SegTypeHopReq() (SegTypeHopReq, error)
- func (s SCIONDMsg) ServiceInfoReply() (ServiceInfoReply, error)
- func (s SCIONDMsg) ServiceInfoRequest() (ServiceInfoRequest, error)
- func (s SCIONDMsg) SetAsInfoReply(v ASInfoReply) error
- func (s SCIONDMsg) SetAsInfoReq(v ASInfoReq) error
- func (s SCIONDMsg) SetId(v uint64)
- func (s SCIONDMsg) SetIfInfoReply(v IFInfoReply) error
- func (s SCIONDMsg) SetIfInfoRequest(v IFInfoRequest) error
- func (s SCIONDMsg) SetPathReply(v PathReply) error
- func (s SCIONDMsg) SetPathReq(v PathReq) error
- func (s SCIONDMsg) SetRevNotification(v RevNotification) error
- func (s SCIONDMsg) SetRevReply(v RevReply) error
- func (s SCIONDMsg) SetSegTypeHopReply(v SegTypeHopReply) error
- func (s SCIONDMsg) SetSegTypeHopReq(v SegTypeHopReq) error
- func (s SCIONDMsg) SetServiceInfoReply(v ServiceInfoReply) error
- func (s SCIONDMsg) SetServiceInfoRequest(v ServiceInfoRequest) error
- func (s SCIONDMsg) SetUnset()
- func (s SCIONDMsg) String() string
- func (s SCIONDMsg) Which() SCIONDMsg_Which
- type SCIONDMsg_List
- type SCIONDMsg_Promise
- func (p SCIONDMsg_Promise) AsInfoReply() ASInfoReply_Promise
- func (p SCIONDMsg_Promise) AsInfoReq() ASInfoReq_Promise
- func (p SCIONDMsg_Promise) IfInfoReply() IFInfoReply_Promise
- func (p SCIONDMsg_Promise) IfInfoRequest() IFInfoRequest_Promise
- func (p SCIONDMsg_Promise) PathReply() PathReply_Promise
- func (p SCIONDMsg_Promise) PathReq() PathReq_Promise
- func (p SCIONDMsg_Promise) RevNotification() RevNotification_Promise
- func (p SCIONDMsg_Promise) RevReply() RevReply_Promise
- func (p SCIONDMsg_Promise) SegTypeHopReply() SegTypeHopReply_Promise
- func (p SCIONDMsg_Promise) SegTypeHopReq() SegTypeHopReq_Promise
- func (p SCIONDMsg_Promise) ServiceInfoReply() ServiceInfoReply_Promise
- func (p SCIONDMsg_Promise) ServiceInfoRequest() ServiceInfoRequest_Promise
- func (p SCIONDMsg_Promise) Struct() (SCIONDMsg, error)
- type SCIONDMsg_Which
- type SIGAddr
- type SIGAddr_List
- type SIGAddr_Promise
- type SIGCtrl
- func (s SIGCtrl) HasPollRep() bool
- func (s SIGCtrl) HasPollReq() bool
- func (s SIGCtrl) Id() uint64
- func (s SIGCtrl) NewPollRep() (SIGPoll, error)
- func (s SIGCtrl) NewPollReq() (SIGPoll, error)
- func (s SIGCtrl) PollRep() (SIGPoll, error)
- func (s SIGCtrl) PollReq() (SIGPoll, error)
- func (s SIGCtrl) SetId(v uint64)
- func (s SIGCtrl) SetPollRep(v SIGPoll) error
- func (s SIGCtrl) SetPollReq(v SIGPoll) error
- func (s SIGCtrl) SetUnset()
- func (s SIGCtrl) String() string
- func (s SIGCtrl) Which() SIGCtrl_Which
- type SIGCtrl_List
- type SIGCtrl_Promise
- type SIGCtrl_Which
- type SIGPoll
- type SIGPoll_List
- type SIGPoll_Promise
- type SVCResolutionReply
- func (s SVCResolutionReply) GetStruct() capnp.Struct
- func (s SVCResolutionReply) HasTransports() bool
- func (s SVCResolutionReply) NewTransports(n int32) (Transport_List, error)
- func (s SVCResolutionReply) SetTransports(v Transport_List) error
- func (s SVCResolutionReply) String() string
- func (s SVCResolutionReply) Transports() (Transport_List, error)
- type SVCResolutionReply_List
- type SVCResolutionReply_Promise
- type SegChangesIdReply
- type SegChangesIdReply_List
- type SegChangesIdReply_Promise
- type SegChangesIdReq
- type SegChangesIdReq_List
- type SegChangesIdReq_Promise
- type SegChangesReq
- type SegChangesReq_List
- type SegChangesReq_Promise
- type SegIds
- type SegIds_List
- type SegIds_Promise
- type SegRecs
- func (s SegRecs) HasRecs() bool
- func (s SegRecs) HasSRevInfos() bool
- func (s SegRecs) NewRecs(n int32) (PathSegMeta_List, error)
- func (s SegRecs) NewSRevInfos(n int32) (SignedBlob_List, error)
- func (s SegRecs) Recs() (PathSegMeta_List, error)
- func (s SegRecs) SRevInfos() (SignedBlob_List, error)
- func (s SegRecs) SetRecs(v PathSegMeta_List) error
- func (s SegRecs) SetSRevInfos(v SignedBlob_List) error
- func (s SegRecs) String() string
- type SegRecs_List
- type SegRecs_Promise
- type SegReply
- func (s SegReply) HasRecs() bool
- func (s SegReply) HasReq() bool
- func (s SegReply) NewRecs() (SegRecs, error)
- func (s SegReply) NewReq() (SegReq, error)
- func (s SegReply) Recs() (SegRecs, error)
- func (s SegReply) Req() (SegReq, error)
- func (s SegReply) SetRecs(v SegRecs) error
- func (s SegReply) SetReq(v SegReq) error
- func (s SegReply) String() string
- type SegReply_List
- type SegReply_Promise
- type SegReq
- type SegReq_List
- type SegReq_Promise
- type SegReq_flags
- type SegReq_flags_Promise
- type SegTypeHopReply
- func (s SegTypeHopReply) Entries() (SegTypeHopReplyEntry_List, error)
- func (s SegTypeHopReply) HasEntries() bool
- func (s SegTypeHopReply) NewEntries(n int32) (SegTypeHopReplyEntry_List, error)
- func (s SegTypeHopReply) SetEntries(v SegTypeHopReplyEntry_List) error
- func (s SegTypeHopReply) String() string
- type SegTypeHopReplyEntry
- func (s SegTypeHopReplyEntry) ExpTime() uint32
- func (s SegTypeHopReplyEntry) HasInterfaces() bool
- func (s SegTypeHopReplyEntry) Interfaces() (PathInterface_List, error)
- func (s SegTypeHopReplyEntry) NewInterfaces(n int32) (PathInterface_List, error)
- func (s SegTypeHopReplyEntry) SetExpTime(v uint32)
- func (s SegTypeHopReplyEntry) SetInterfaces(v PathInterface_List) error
- func (s SegTypeHopReplyEntry) SetTimestamp(v uint32)
- func (s SegTypeHopReplyEntry) String() string
- func (s SegTypeHopReplyEntry) Timestamp() uint32
- type SegTypeHopReplyEntry_List
- type SegTypeHopReplyEntry_Promise
- type SegTypeHopReply_List
- type SegTypeHopReply_Promise
- type SegTypeHopReq
- type SegTypeHopReq_List
- type SegTypeHopReq_Promise
- type ServiceInfoReply
- func (s ServiceInfoReply) Entries() (ServiceInfoReplyEntry_List, error)
- func (s ServiceInfoReply) HasEntries() bool
- func (s ServiceInfoReply) NewEntries(n int32) (ServiceInfoReplyEntry_List, error)
- func (s ServiceInfoReply) SetEntries(v ServiceInfoReplyEntry_List) error
- func (s ServiceInfoReply) String() string
- type ServiceInfoReplyEntry
- func (s ServiceInfoReplyEntry) HasHostInfos() bool
- func (s ServiceInfoReplyEntry) HostInfos() (HostInfo_List, error)
- func (s ServiceInfoReplyEntry) NewHostInfos(n int32) (HostInfo_List, error)
- func (s ServiceInfoReplyEntry) ServiceType() ServiceType
- func (s ServiceInfoReplyEntry) SetHostInfos(v HostInfo_List) error
- func (s ServiceInfoReplyEntry) SetServiceType(v ServiceType)
- func (s ServiceInfoReplyEntry) SetTtl(v uint32)
- func (s ServiceInfoReplyEntry) String() string
- func (s ServiceInfoReplyEntry) Ttl() uint32
- type ServiceInfoReplyEntry_List
- type ServiceInfoReplyEntry_Promise
- type ServiceInfoReply_List
- type ServiceInfoReply_Promise
- type ServiceInfoRequest
- func (s ServiceInfoRequest) HasServiceTypes() bool
- func (s ServiceInfoRequest) NewServiceTypes(n int32) (ServiceType_List, error)
- func (s ServiceInfoRequest) ServiceTypes() (ServiceType_List, error)
- func (s ServiceInfoRequest) SetServiceTypes(v ServiceType_List) error
- func (s ServiceInfoRequest) String() string
- type ServiceInfoRequest_List
- type ServiceInfoRequest_Promise
- type ServiceType
- type ServiceType_List
- type SibraPCBExt
- func (s SibraPCBExt) HasId() bool
- func (s SibraPCBExt) HasInfo() bool
- func (s SibraPCBExt) HasSofs() bool
- func (s SibraPCBExt) Id() ([]byte, error)
- func (s SibraPCBExt) Info() ([]byte, error)
- func (s SibraPCBExt) NewSofs(n int32) (capnp.DataList, error)
- func (s SibraPCBExt) SetId(v []byte) error
- func (s SibraPCBExt) SetInfo(v []byte) error
- func (s SibraPCBExt) SetSofs(v capnp.DataList) error
- func (s SibraPCBExt) SetUp(v bool)
- func (s SibraPCBExt) Sofs() (capnp.DataList, error)
- func (s SibraPCBExt) String() string
- func (s SibraPCBExt) Up() bool
- type SibraPCBExt_List
- type SibraPCBExt_Promise
- type SibraPayload
- type SibraPayload_List
- type SibraPayload_Promise
- type Sign
- func (s Sign) HasSignature() bool
- func (s Sign) HasSrc() bool
- func (s Sign) SetSignature(v []byte) error
- func (s Sign) SetSrc(v []byte) error
- func (s Sign) SetTimestamp(v uint32)
- func (s Sign) SetType(v SignType)
- func (s Sign) Signature() ([]byte, error)
- func (s Sign) Src() ([]byte, error)
- func (s Sign) String() string
- func (s Sign) Timestamp() uint32
- func (s Sign) Type() SignType
- type SignS
- type SignType
- type SignType_List
- type Sign_List
- type Sign_Promise
- type SignedBlob
- func (s SignedBlob) Blob() ([]byte, error)
- func (s SignedBlob) GetStruct() capnp.Struct
- func (s SignedBlob) HasBlob() bool
- func (s SignedBlob) HasSign() bool
- func (s SignedBlob) NewSign() (Sign, error)
- func (s SignedBlob) SetBlob(v []byte) error
- func (s SignedBlob) SetSign(v Sign) error
- func (s SignedBlob) Sign() (Sign, error)
- func (s SignedBlob) String() string
- type SignedBlobS
- type SignedBlob_List
- type SignedBlob_Promise
- type SignedCtrlPld
- func (s SignedCtrlPld) Blob() ([]byte, error)
- func (s SignedCtrlPld) GetStruct() capnp.Struct
- func (s SignedCtrlPld) HasBlob() bool
- func (s SignedCtrlPld) HasSign() bool
- func (s SignedCtrlPld) NewSign() (Sign, error)
- func (s SignedCtrlPld) SetBlob(v []byte) error
- func (s SignedCtrlPld) SetSign(v Sign) error
- func (s SignedCtrlPld) Sign() (Sign, error)
- func (s SignedCtrlPld) String() string
- type SignedCtrlPld_List
- type SignedCtrlPld_Promise
- type TRC
- type TRCReq
- type TRCReq_List
- type TRCReq_Promise
- type TRC_List
- type TRC_Promise
- type Transport
- func (s Transport) HasKey() bool
- func (s Transport) HasValue() bool
- func (s Transport) Key() (string, error)
- func (s Transport) KeyBytes() ([]byte, error)
- func (s Transport) SetKey(v string) error
- func (s Transport) SetValue(v string) error
- func (s Transport) String() string
- func (s Transport) Value() (string, error)
- func (s Transport) ValueBytes() ([]byte, error)
- type Transport_List
- type Transport_Promise
- type ZkId
- func (s ZkId) Addrs() (Addr_List, error)
- func (s ZkId) HasAddrs() bool
- func (s ZkId) HasId() bool
- func (s ZkId) Id() (string, error)
- func (s ZkId) IdBytes() ([]byte, error)
- func (s ZkId) Isdas() uint64
- func (s ZkId) NewAddrs(n int32) (Addr_List, error)
- func (s ZkId) SetAddrs(v Addr_List) error
- func (s ZkId) SetId(v string) error
- func (s ZkId) SetIsdas(v uint64)
- func (s ZkId) String() string
- type ZkId_List
- type ZkId_Promise
Constants ¶
const ASEntry_TypeID = 0xd4a209e8e78874ff
ASEntry_TypeID is the unique identifier for the type ASEntry.
const ASInfoReplyEntry_TypeID = 0xfab1a3b4477ab6b3
ASInfoReplyEntry_TypeID is the unique identifier for the type ASInfoReplyEntry.
const ASInfoReply_TypeID = 0x947e1828e214e89d
ASInfoReply_TypeID is the unique identifier for the type ASInfoReply.
const ASInfoReq_TypeID = 0xcc65a2a89c24e6a5
ASInfoReq_TypeID is the unique identifier for the type ASInfoReq.
const Ack_ErrCode_TypeID = 0xdf6d763cff9bd528
Ack_ErrCode_TypeID is the unique identifier for the type Ack_ErrCode.
const Ack_TypeID = 0xf0ad983ad234aedc
Ack_TypeID is the unique identifier for the type Ack.
const Addr_TypeID = 0x8982abce7c93c140
Addr_TypeID is the unique identifier for the type Addr.
const CertChainIssRep_TypeID = 0xc95b16276878cfc1
CertChainIssRep_TypeID is the unique identifier for the type CertChainIssRep.
const CertChainIssReq_TypeID = 0xb2de94224c009676
CertChainIssReq_TypeID is the unique identifier for the type CertChainIssReq.
const CertChainReq_TypeID = 0xc464d1e0777e54d3
CertChainReq_TypeID is the unique identifier for the type CertChainReq.
const CertChain_TypeID = 0xadadc71f7e190917
CertChain_TypeID is the unique identifier for the type CertChain.
const CertMgmt_TypeID = 0xa19070b486ecd839
CertMgmt_TypeID is the unique identifier for the type CertMgmt.
const CtrlExtnDataList_TypeID = 0xcd601dbe8602c166
CtrlExtnDataList_TypeID is the unique identifier for the type CtrlExtnDataList.
const CtrlExtnData_TypeID = 0xbd3bde9856b0a03f
CtrlExtnData_TypeID is the unique identifier for the type CtrlExtnData.
const CtrlPld_TypeID = 0x8e6af2c877489f54
CtrlPld_TypeID is the unique identifier for the type CtrlPld.
const DRKeyMgmt_TypeID = 0xb1bdb7d6fb13f1ca
DRKeyMgmt_TypeID is the unique identifier for the type DRKeyMgmt.
const DRKeyRep_TypeID = 0xc3fe25dd82681d64
DRKeyRep_TypeID is the unique identifier for the type DRKeyRep.
const DRKeyReq_TypeID = 0x9f50d21c9d4ce7ef
DRKeyReq_TypeID is the unique identifier for the type DRKeyReq.
const FwdPathMeta_TypeID = 0x8adfcabe5ff9daf4
FwdPathMeta_TypeID is the unique identifier for the type FwdPathMeta.
const HPCfgReply_TypeID = 0xb27bf6e10de2aa8c
HPCfgReply_TypeID is the unique identifier for the type HPCfgReply.
const HPCfgReq_TypeID = 0xd24bad15bb2bab5e
HPCfgReq_TypeID is the unique identifier for the type HPCfgReq.
const HPCfg_TypeID = 0xf307100ab87a1963
HPCfg_TypeID is the unique identifier for the type HPCfg.
const HPGroupId_TypeID = 0xba21c7133ee44518
HPGroupId_TypeID is the unique identifier for the type HPGroupId.
const HPSegRecs_TypeID = 0xa56b96c8b25ce2e1
HPSegRecs_TypeID is the unique identifier for the type HPSegRecs.
const HPSegReply_TypeID = 0xaaf7fd9241668ed6
HPSegReply_TypeID is the unique identifier for the type HPSegReply.
const HPSegReq_TypeID = 0x8f51e8717b3fbe1c
HPSegReq_TypeID is the unique identifier for the type HPSegReq.
const HiddenPathSegExtn_TypeID = 0xff79b399e1e58cf3
HiddenPathSegExtn_TypeID is the unique identifier for the type HiddenPathSegExtn.
const HopEntry_TypeID = 0x8bb1ddafb4872b0b
HopEntry_TypeID is the unique identifier for the type HopEntry.
const HostInfo_TypeID = 0xb21a270577932520
HostInfo_TypeID is the unique identifier for the type HostInfo.
const IFID_TypeID = 0x9d95fb13f80529b9
IFID_TypeID is the unique identifier for the type IFID.
const IFInfoReplyEntry_TypeID = 0xf0c5156786d72738
IFInfoReplyEntry_TypeID is the unique identifier for the type IFInfoReplyEntry.
const IFInfoReply_TypeID = 0xe7f7d11a5652e06c
IFInfoReply_TypeID is the unique identifier for the type IFInfoReply.
const IFInfoRequest_TypeID = 0x877af4eba6adb0f3
IFInfoRequest_TypeID is the unique identifier for the type IFInfoRequest.
const IFStateInfo_TypeID = 0xc778fb6f09a6fd58
IFStateInfo_TypeID is the unique identifier for the type IFStateInfo.
const IFStateInfos_TypeID = 0xd320ce32f5fc0bbe
IFStateInfos_TypeID is the unique identifier for the type IFStateInfos.
const IFStateReq_TypeID = 0xe8ed776bc19c66a9
IFStateReq_TypeID is the unique identifier for the type IFStateReq.
const ISDAnnouncementExt_TypeID = 0xc586650e812cc6a1
ISDAnnouncementExt_TypeID is the unique identifier for the type ISDAnnouncementExt.
const LinkType_TypeID = 0x916c98f48c9bbb64
LinkType_TypeID is the unique identifier for the type LinkType.
const PCB_TypeID = 0xd6c04763377951e5
PCB_TypeID is the unique identifier for the type PCB.
const PathInterface_TypeID = 0x95794035a80b7da1
PathInterface_TypeID is the unique identifier for the type PathInterface.
const PathMgmt_TypeID = 0xa12cfa420c9ad0ca
PathMgmt_TypeID is the unique identifier for the type PathMgmt.
const PathReplyEntry_TypeID = 0xc5ff2e54709776ec
PathReplyEntry_TypeID is the unique identifier for the type PathReplyEntry.
const PathReply_TypeID = 0xf10fe9b6293ee63f
PathReply_TypeID is the unique identifier for the type PathReply.
const PathReq_TypeID = 0xc4c61531dcc4a3eb
PathReq_TypeID is the unique identifier for the type PathReq.
const PathSegMeta_TypeID = 0x9f98567b3c0aba0f
PathSegMeta_TypeID is the unique identifier for the type PathSegMeta.
const PathSegType_TypeID = 0xa1f7a9650aa23880
PathSegType_TypeID is the unique identifier for the type PathSegType.
const PathSegmentSignedData_TypeID = 0xc7cf7a18177aec2a
PathSegmentSignedData_TypeID is the unique identifier for the type PathSegmentSignedData.
const PathSegment_TypeID = 0x939cc09a86ba70fa
PathSegment_TypeID is the unique identifier for the type PathSegment.
const RevInfo_TypeID = 0xe40561cf10a34bc8
RevInfo_TypeID is the unique identifier for the type RevInfo.
const RevNotification_TypeID = 0x9b0685a785df42e9
RevNotification_TypeID is the unique identifier for the type RevNotification.
const RevReply_TypeID = 0x8f8172e4469c111a
RevReply_TypeID is the unique identifier for the type RevReply.
const RoutingPolicyExt_TypeID = 0x96c1dab83835e4f9
RoutingPolicyExt_TypeID is the unique identifier for the type RoutingPolicyExt.
const SCIONDMsg_TypeID = 0x91ea9bb47f46c346
SCIONDMsg_TypeID is the unique identifier for the type SCIONDMsg.
const SIGAddr_TypeID = 0xddf1fce11d9b0028
SIGAddr_TypeID is the unique identifier for the type SIGAddr.
const SIGCtrl_TypeID = 0xe15e242973323d08
SIGCtrl_TypeID is the unique identifier for the type SIGCtrl.
const SIGPoll_TypeID = 0x9ad73a0235a46141
SIGPoll_TypeID is the unique identifier for the type SIGPoll.
const SVCResolutionReply_TypeID = 0x85b2cdeba075551b
SVCResolutionReply_TypeID is the unique identifier for the type SVCResolutionReply.
const SegChangesIdReply_TypeID = 0xbd56ceeaf8c65140
SegChangesIdReply_TypeID is the unique identifier for the type SegChangesIdReply.
const SegChangesIdReq_TypeID = 0xc88dfa6be7a1d091
SegChangesIdReq_TypeID is the unique identifier for the type SegChangesIdReq.
const SegChangesReq_TypeID = 0xa7ad0c62a234c68b
SegChangesReq_TypeID is the unique identifier for the type SegChangesReq.
const SegIds_TypeID = 0xabf979c3f68dae4b
SegIds_TypeID is the unique identifier for the type SegIds.
const SegRecs_TypeID = 0x934ba70bfd144ebd
SegRecs_TypeID is the unique identifier for the type SegRecs.
const SegReply_TypeID = 0x9359e1b2db37dbbb
SegReply_TypeID is the unique identifier for the type SegReply.
const SegReq_TypeID = 0x9d0135027d04861e
SegReq_TypeID is the unique identifier for the type SegReq.
const SegTypeHopReplyEntry_TypeID = 0xacf8185a51a9f1b4
SegTypeHopReplyEntry_TypeID is the unique identifier for the type SegTypeHopReplyEntry.
const SegTypeHopReply_TypeID = 0xc340ede57616f2e8
SegTypeHopReply_TypeID is the unique identifier for the type SegTypeHopReply.
const SegTypeHopReq_TypeID = 0xca1e844241cf650f
SegTypeHopReq_TypeID is the unique identifier for the type SegTypeHopReq.
const ServiceInfoReplyEntry_TypeID = 0xe7279389a6bbe1dc
ServiceInfoReplyEntry_TypeID is the unique identifier for the type ServiceInfoReplyEntry.
const ServiceInfoReply_TypeID = 0xf7a6d78ba978beb9
ServiceInfoReply_TypeID is the unique identifier for the type ServiceInfoReply.
const ServiceInfoRequest_TypeID = 0xa94f085c31a03112
ServiceInfoRequest_TypeID is the unique identifier for the type ServiceInfoRequest.
const ServiceType_TypeID = 0xe2522d291bd06774
ServiceType_TypeID is the unique identifier for the type ServiceType.
const SibraPCBExt_TypeID = 0xb8fde9b959e9608d
SibraPCBExt_TypeID is the unique identifier for the type SibraPCBExt.
const SibraPayload_TypeID = 0xf231c8f55f84c390
SibraPayload_TypeID is the unique identifier for the type SibraPayload.
const SignType_TypeID = 0xf6b5bc42e3072fc9
SignType_TypeID is the unique identifier for the type SignType.
const Sign_TypeID = 0x844d9464f44e810a
Sign_TypeID is the unique identifier for the type Sign.
const SignedBlob_TypeID = 0x9f32478537fae352
SignedBlob_TypeID is the unique identifier for the type SignedBlob.
const SignedCtrlPld_TypeID = 0xc34ac578b174f099
SignedCtrlPld_TypeID is the unique identifier for the type SignedCtrlPld.
const TRCReq_TypeID = 0xd4c43f7ac10a9dbc
TRCReq_TypeID is the unique identifier for the type TRCReq.
const TRC_TypeID = 0x9aee2af152a5f7d7
TRC_TypeID is the unique identifier for the type TRC.
const Transport_TypeID = 0xdec7fa6a5148fde5
Transport_TypeID is the unique identifier for the type Transport.
const ZkId_TypeID = 0xfaadb66890d8d665
ZkId_TypeID is the unique identifier for the type ZkId.
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
SafeDecode calls the decode method on the argument, converting panics to errors.
func SafeExtract ¶ added in v0.4.0
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.
Types ¶
type ASEntry ¶ added in v0.4.0
func (ASEntry) Exts ¶ added in v0.4.0
func (s ASEntry) Exts() ASEntry_exts
func (ASEntry) Hops ¶ added in v0.4.0
func (s ASEntry) Hops() (HopEntry_List, error)
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 (ASEntry) SetHops ¶ added in v0.4.0
func (s ASEntry) SetHops(v HopEntry_List) error
func (ASEntry) SetIfIDSize ¶ added in v0.4.0
type ASEntry_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s ASEntry_List) String() string
type ASEntry_Promise ¶ added in v0.4.0
ASEntry_Promise is a wrapper for a ASEntry promised by a client call.
func (ASEntry_Promise) Exts ¶ added in v0.4.0
func (p ASEntry_Promise) Exts() ASEntry_exts_Promise
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) 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) 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) Sibra ¶ added in v0.4.0
func (s ASEntry_exts) Sibra() (SibraPCBExt, error)
type ASEntry_exts_Promise ¶ added in v0.4.0
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 (p ASEntry_exts_Promise) HiddenPathSeg() HiddenPathSegExtn_Promise
func (ASEntry_exts_Promise) RoutingPolicy ¶ added in v0.4.0
func (p ASEntry_exts_Promise) RoutingPolicy() RoutingPolicyExt_Promise
func (ASEntry_exts_Promise) Sibra ¶ added in v0.4.0
func (p ASEntry_exts_Promise) Sibra() SibraPCBExt_Promise
func (ASEntry_exts_Promise) Struct ¶ added in v0.4.0
func (p ASEntry_exts_Promise) Struct() (ASEntry_exts, error)
type ASInfoReply ¶ added in v0.4.0
func NewASInfoReply ¶ added in v0.4.0
func NewASInfoReply(s *capnp.Segment) (ASInfoReply, error)
func NewRootASInfoReply ¶ added in v0.4.0
func NewRootASInfoReply(s *capnp.Segment) (ASInfoReply, error)
func ReadRootASInfoReply ¶ added in v0.4.0
func ReadRootASInfoReply(msg *capnp.Message) (ASInfoReply, error)
func (ASInfoReply) Entries ¶ added in v0.4.0
func (s ASInfoReply) Entries() (ASInfoReplyEntry_List, error)
func (ASInfoReply) HasEntries ¶ added in v0.4.0
func (s ASInfoReply) HasEntries() bool
func (ASInfoReply) NewEntries ¶ added in v0.4.0
func (s ASInfoReply) NewEntries(n int32) (ASInfoReplyEntry_List, error)
NewEntries sets the entries field to a newly allocated ASInfoReplyEntry_List, preferring placement in s's segment.
func (ASInfoReply) SetEntries ¶ added in v0.4.0
func (s ASInfoReply) SetEntries(v ASInfoReplyEntry_List) error
func (ASInfoReply) String ¶ added in v0.4.0
func (s ASInfoReply) String() string
type ASInfoReplyEntry ¶ added in v0.4.0
func NewASInfoReplyEntry ¶ added in v0.4.0
func NewASInfoReplyEntry(s *capnp.Segment) (ASInfoReplyEntry, error)
func NewRootASInfoReplyEntry ¶ added in v0.4.0
func NewRootASInfoReplyEntry(s *capnp.Segment) (ASInfoReplyEntry, error)
func ReadRootASInfoReplyEntry ¶ added in v0.4.0
func ReadRootASInfoReplyEntry(msg *capnp.Message) (ASInfoReplyEntry, error)
func (ASInfoReplyEntry) IsCore ¶ added in v0.4.0
func (s ASInfoReplyEntry) IsCore() bool
func (ASInfoReplyEntry) Isdas ¶ added in v0.4.0
func (s ASInfoReplyEntry) Isdas() uint64
func (ASInfoReplyEntry) Mtu ¶ added in v0.4.0
func (s ASInfoReplyEntry) Mtu() uint16
func (ASInfoReplyEntry) SetIsCore ¶ added in v0.4.0
func (s ASInfoReplyEntry) SetIsCore(v bool)
func (ASInfoReplyEntry) SetIsdas ¶ added in v0.4.0
func (s ASInfoReplyEntry) SetIsdas(v uint64)
func (ASInfoReplyEntry) SetMtu ¶ added in v0.4.0
func (s ASInfoReplyEntry) SetMtu(v uint16)
func (ASInfoReplyEntry) String ¶ added in v0.4.0
func (s ASInfoReplyEntry) String() string
type ASInfoReplyEntry_List ¶ added in v0.4.0
ASInfoReplyEntry_List is a list of ASInfoReplyEntry.
func NewASInfoReplyEntry_List ¶ added in v0.4.0
func NewASInfoReplyEntry_List(s *capnp.Segment, sz int32) (ASInfoReplyEntry_List, error)
NewASInfoReplyEntry creates a new list of ASInfoReplyEntry.
func (ASInfoReplyEntry_List) At ¶ added in v0.4.0
func (s ASInfoReplyEntry_List) At(i int) ASInfoReplyEntry
func (ASInfoReplyEntry_List) Set ¶ added in v0.4.0
func (s ASInfoReplyEntry_List) Set(i int, v ASInfoReplyEntry) error
func (ASInfoReplyEntry_List) String ¶ added in v0.4.0
func (s ASInfoReplyEntry_List) String() string
type ASInfoReplyEntry_Promise ¶ added in v0.4.0
ASInfoReplyEntry_Promise is a wrapper for a ASInfoReplyEntry promised by a client call.
func (ASInfoReplyEntry_Promise) Struct ¶ added in v0.4.0
func (p ASInfoReplyEntry_Promise) Struct() (ASInfoReplyEntry, error)
type ASInfoReply_List ¶ added in v0.4.0
ASInfoReply_List is a list of ASInfoReply.
func NewASInfoReply_List ¶ added in v0.4.0
func NewASInfoReply_List(s *capnp.Segment, sz int32) (ASInfoReply_List, error)
NewASInfoReply creates a new list of ASInfoReply.
func (ASInfoReply_List) At ¶ added in v0.4.0
func (s ASInfoReply_List) At(i int) ASInfoReply
func (ASInfoReply_List) Set ¶ added in v0.4.0
func (s ASInfoReply_List) Set(i int, v ASInfoReply) error
func (ASInfoReply_List) String ¶ added in v0.4.0
func (s ASInfoReply_List) String() string
type ASInfoReply_Promise ¶ added in v0.4.0
ASInfoReply_Promise is a wrapper for a ASInfoReply promised by a client call.
func (ASInfoReply_Promise) Struct ¶ added in v0.4.0
func (p ASInfoReply_Promise) Struct() (ASInfoReply, error)
type ASInfoReq ¶ added in v0.4.0
func ReadRootASInfoReq ¶ added in v0.4.0
type ASInfoReq_List ¶ added in v0.4.0
ASInfoReq_List is a list of ASInfoReq.
func NewASInfoReq_List ¶ added in v0.4.0
func NewASInfoReq_List(s *capnp.Segment, sz int32) (ASInfoReq_List, error)
NewASInfoReq creates a new list of ASInfoReq.
func (ASInfoReq_List) At ¶ added in v0.4.0
func (s ASInfoReq_List) At(i int) ASInfoReq
func (ASInfoReq_List) String ¶ added in v0.4.0
func (s ASInfoReq_List) String() string
type ASInfoReq_Promise ¶ added in v0.4.0
ASInfoReq_Promise is a wrapper for a ASInfoReq promised by a client call.
func (ASInfoReq_Promise) Struct ¶ added in v0.4.0
func (p ASInfoReq_Promise) Struct() (ASInfoReq, error)
type Ack ¶ added in v0.4.0
func (Ack) Err ¶ added in v0.4.0
func (s Ack) Err() Ack_ErrCode
func (Ack) ErrDescBytes ¶ added in v0.4.0
func (Ack) HasErrDesc ¶ added in v0.4.0
func (Ack) SetErr ¶ added in v0.4.0
func (s Ack) SetErr(v Ack_ErrCode)
func (Ack) SetErrDesc ¶ added in v0.4.0
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
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 (l Ack_ErrCode_List) At(i int) Ack_ErrCode
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
Ack_List is a list of Ack.
func NewAck_List ¶ added in v0.4.0
NewAck creates a new list of Ack.
type Ack_Promise ¶ added in v0.4.0
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 Addr_List ¶ added in v0.4.0
Addr_List is a list of Addr.
func NewAddr_List ¶ added in v0.4.0
NewAddr creates a new list of Addr.
type Addr_Promise ¶ added in v0.4.0
Addr_Promise is a wrapper for a Addr promised by a client call.
func (Addr_Promise) Struct ¶ added in v0.4.0
func (p Addr_Promise) Struct() (Addr, error)
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 CertChain ¶ added in v0.4.0
func ReadRootCertChain ¶ added in v0.4.0
type CertChainIssRep ¶ added in v0.4.0
func NewCertChainIssRep ¶ added in v0.4.0
func NewCertChainIssRep(s *capnp.Segment) (CertChainIssRep, error)
func NewRootCertChainIssRep ¶ added in v0.4.0
func NewRootCertChainIssRep(s *capnp.Segment) (CertChainIssRep, error)
func ReadRootCertChainIssRep ¶ added in v0.4.0
func ReadRootCertChainIssRep(msg *capnp.Message) (CertChainIssRep, error)
func (CertChainIssRep) Chain ¶ added in v0.4.0
func (s CertChainIssRep) Chain() ([]byte, error)
func (CertChainIssRep) HasChain ¶ added in v0.4.0
func (s CertChainIssRep) HasChain() bool
func (CertChainIssRep) SetChain ¶ added in v0.4.0
func (s CertChainIssRep) SetChain(v []byte) error
func (CertChainIssRep) String ¶ added in v0.4.0
func (s CertChainIssRep) String() string
type CertChainIssRep_List ¶ added in v0.4.0
CertChainIssRep_List is a list of CertChainIssRep.
func NewCertChainIssRep_List ¶ added in v0.4.0
func NewCertChainIssRep_List(s *capnp.Segment, sz int32) (CertChainIssRep_List, error)
NewCertChainIssRep creates a new list of CertChainIssRep.
func (CertChainIssRep_List) At ¶ added in v0.4.0
func (s CertChainIssRep_List) At(i int) CertChainIssRep
func (CertChainIssRep_List) Set ¶ added in v0.4.0
func (s CertChainIssRep_List) Set(i int, v CertChainIssRep) error
func (CertChainIssRep_List) String ¶ added in v0.4.0
func (s CertChainIssRep_List) String() string
type CertChainIssRep_Promise ¶ added in v0.4.0
CertChainIssRep_Promise is a wrapper for a CertChainIssRep promised by a client call.
func (CertChainIssRep_Promise) Struct ¶ added in v0.4.0
func (p CertChainIssRep_Promise) Struct() (CertChainIssRep, error)
type CertChainIssReq ¶ added in v0.4.0
func NewCertChainIssReq ¶ added in v0.4.0
func NewCertChainIssReq(s *capnp.Segment) (CertChainIssReq, error)
func NewRootCertChainIssReq ¶ added in v0.4.0
func NewRootCertChainIssReq(s *capnp.Segment) (CertChainIssReq, error)
func ReadRootCertChainIssReq ¶ added in v0.4.0
func ReadRootCertChainIssReq(msg *capnp.Message) (CertChainIssReq, error)
func (CertChainIssReq) Cert ¶ added in v0.4.0
func (s CertChainIssReq) Cert() ([]byte, error)
func (CertChainIssReq) HasCert ¶ added in v0.4.0
func (s CertChainIssReq) HasCert() bool
func (CertChainIssReq) SetCert ¶ added in v0.4.0
func (s CertChainIssReq) SetCert(v []byte) error
func (CertChainIssReq) String ¶ added in v0.4.0
func (s CertChainIssReq) String() string
type CertChainIssReq_List ¶ added in v0.4.0
CertChainIssReq_List is a list of CertChainIssReq.
func NewCertChainIssReq_List ¶ added in v0.4.0
func NewCertChainIssReq_List(s *capnp.Segment, sz int32) (CertChainIssReq_List, error)
NewCertChainIssReq creates a new list of CertChainIssReq.
func (CertChainIssReq_List) At ¶ added in v0.4.0
func (s CertChainIssReq_List) At(i int) CertChainIssReq
func (CertChainIssReq_List) Set ¶ added in v0.4.0
func (s CertChainIssReq_List) Set(i int, v CertChainIssReq) error
func (CertChainIssReq_List) String ¶ added in v0.4.0
func (s CertChainIssReq_List) String() string
type CertChainIssReq_Promise ¶ added in v0.4.0
CertChainIssReq_Promise is a wrapper for a CertChainIssReq promised by a client call.
func (CertChainIssReq_Promise) Struct ¶ added in v0.4.0
func (p CertChainIssReq_Promise) Struct() (CertChainIssReq, error)
type CertChainReq ¶ added in v0.4.0
func NewCertChainReq ¶ added in v0.4.0
func NewCertChainReq(s *capnp.Segment) (CertChainReq, error)
func NewRootCertChainReq ¶ added in v0.4.0
func NewRootCertChainReq(s *capnp.Segment) (CertChainReq, error)
func ReadRootCertChainReq ¶ added in v0.4.0
func ReadRootCertChainReq(msg *capnp.Message) (CertChainReq, error)
func (CertChainReq) CacheOnly ¶ added in v0.4.0
func (s CertChainReq) CacheOnly() bool
func (CertChainReq) Isdas ¶ added in v0.4.0
func (s CertChainReq) Isdas() uint64
func (CertChainReq) SetCacheOnly ¶ added in v0.4.0
func (s CertChainReq) SetCacheOnly(v bool)
func (CertChainReq) SetIsdas ¶ added in v0.4.0
func (s CertChainReq) SetIsdas(v uint64)
func (CertChainReq) SetVersion ¶ added in v0.4.0
func (s CertChainReq) SetVersion(v uint64)
func (CertChainReq) String ¶ added in v0.4.0
func (s CertChainReq) String() string
func (CertChainReq) Version ¶ added in v0.4.0
func (s CertChainReq) Version() uint64
type CertChainReq_List ¶ added in v0.4.0
CertChainReq_List is a list of CertChainReq.
func NewCertChainReq_List ¶ added in v0.4.0
func NewCertChainReq_List(s *capnp.Segment, sz int32) (CertChainReq_List, error)
NewCertChainReq creates a new list of CertChainReq.
func (CertChainReq_List) At ¶ added in v0.4.0
func (s CertChainReq_List) At(i int) CertChainReq
func (CertChainReq_List) Set ¶ added in v0.4.0
func (s CertChainReq_List) Set(i int, v CertChainReq) error
func (CertChainReq_List) String ¶ added in v0.4.0
func (s CertChainReq_List) String() string
type CertChainReq_Promise ¶ added in v0.4.0
CertChainReq_Promise is a wrapper for a CertChainReq promised by a client call.
func (CertChainReq_Promise) Struct ¶ added in v0.4.0
func (p CertChainReq_Promise) Struct() (CertChainReq, error)
type CertChain_List ¶ added in v0.4.0
CertChain_List is a list of CertChain.
func NewCertChain_List ¶ added in v0.4.0
func NewCertChain_List(s *capnp.Segment, sz int32) (CertChain_List, error)
NewCertChain creates a new list of CertChain.
func (CertChain_List) At ¶ added in v0.4.0
func (s CertChain_List) At(i int) CertChain
func (CertChain_List) String ¶ added in v0.4.0
func (s CertChain_List) String() string
type CertChain_Promise ¶ added in v0.4.0
CertChain_Promise is a wrapper for a CertChain promised by a client call.
func (CertChain_Promise) Struct ¶ added in v0.4.0
func (p CertChain_Promise) Struct() (CertChain, error)
type CertMgmt ¶ added in v0.4.0
func (CertMgmt) CertChainIssRep ¶ added in v0.4.0
func (s CertMgmt) CertChainIssRep() (CertChainIssRep, error)
func (CertMgmt) CertChainIssReq ¶ added in v0.4.0
func (s CertMgmt) CertChainIssReq() (CertChainIssReq, error)
func (CertMgmt) CertChainReq ¶ added in v0.4.0
func (s CertMgmt) CertChainReq() (CertChainReq, error)
func (CertMgmt) HasCertChain ¶ added in v0.4.0
func (CertMgmt) HasCertChainIssRep ¶ added in v0.4.0
func (CertMgmt) HasCertChainIssReq ¶ added in v0.4.0
func (CertMgmt) HasCertChainReq ¶ added in v0.4.0
func (CertMgmt) NewCertChain ¶ added in v0.4.0
NewCertChain sets the certChain field to a newly allocated CertChain struct, preferring placement in s's segment.
func (CertMgmt) NewCertChainIssRep ¶ added in v0.4.0
func (s CertMgmt) NewCertChainIssRep() (CertChainIssRep, error)
NewCertChainIssRep sets the certChainIssRep field to a newly allocated CertChainIssRep struct, preferring placement in s's segment.
func (CertMgmt) NewCertChainIssReq ¶ added in v0.4.0
func (s CertMgmt) NewCertChainIssReq() (CertChainIssReq, error)
NewCertChainIssReq sets the certChainIssReq field to a newly allocated CertChainIssReq struct, preferring placement in s's segment.
func (CertMgmt) NewCertChainReq ¶ added in v0.4.0
func (s CertMgmt) NewCertChainReq() (CertChainReq, error)
NewCertChainReq sets the certChainReq field to a newly allocated CertChainReq struct, preferring placement in s's segment.
func (CertMgmt) NewTrc ¶ added in v0.4.0
NewTrc sets the trc field to a newly allocated TRC struct, preferring placement in s's segment.
func (CertMgmt) NewTrcReq ¶ added in v0.4.0
NewTrcReq sets the trcReq field to a newly allocated TRCReq struct, preferring placement in s's segment.
func (CertMgmt) SetCertChain ¶ added in v0.4.0
func (CertMgmt) SetCertChainIssRep ¶ added in v0.4.0
func (s CertMgmt) SetCertChainIssRep(v CertChainIssRep) error
func (CertMgmt) SetCertChainIssReq ¶ added in v0.4.0
func (s CertMgmt) SetCertChainIssReq(v CertChainIssReq) error
func (CertMgmt) SetCertChainReq ¶ added in v0.4.0
func (s CertMgmt) SetCertChainReq(v CertChainReq) error
func (CertMgmt) Which ¶ added in v0.4.0
func (s CertMgmt) Which() CertMgmt_Which
type CertMgmt_List ¶ added in v0.4.0
CertMgmt_List is a list of CertMgmt.
func NewCertMgmt_List ¶ added in v0.4.0
func NewCertMgmt_List(s *capnp.Segment, sz int32) (CertMgmt_List, error)
NewCertMgmt creates a new list of CertMgmt.
func (CertMgmt_List) At ¶ added in v0.4.0
func (s CertMgmt_List) At(i int) CertMgmt
func (CertMgmt_List) String ¶ added in v0.4.0
func (s CertMgmt_List) String() string
type CertMgmt_Promise ¶ added in v0.4.0
CertMgmt_Promise is a wrapper for a CertMgmt promised by a client call.
func (CertMgmt_Promise) CertChain ¶ added in v0.4.0
func (p CertMgmt_Promise) CertChain() CertChain_Promise
func (CertMgmt_Promise) CertChainIssRep ¶ added in v0.4.0
func (p CertMgmt_Promise) CertChainIssRep() CertChainIssRep_Promise
func (CertMgmt_Promise) CertChainIssReq ¶ added in v0.4.0
func (p CertMgmt_Promise) CertChainIssReq() CertChainIssReq_Promise
func (CertMgmt_Promise) CertChainReq ¶ added in v0.4.0
func (p CertMgmt_Promise) CertChainReq() CertChainReq_Promise
func (CertMgmt_Promise) Struct ¶ added in v0.4.0
func (p CertMgmt_Promise) Struct() (CertMgmt, error)
func (CertMgmt_Promise) Trc ¶ added in v0.4.0
func (p CertMgmt_Promise) Trc() TRC_Promise
func (CertMgmt_Promise) TrcReq ¶ added in v0.4.0
func (p CertMgmt_Promise) TrcReq() TRCReq_Promise
type CertMgmt_Which ¶ added in v0.4.0
type CertMgmt_Which uint16
const ( CertMgmt_Which_unset CertMgmt_Which = 0 CertMgmt_Which_certChainReq CertMgmt_Which = 1 CertMgmt_Which_certChain CertMgmt_Which = 2 CertMgmt_Which_trcReq CertMgmt_Which = 3 CertMgmt_Which_trc CertMgmt_Which = 4 CertMgmt_Which_certChainIssReq CertMgmt_Which = 5 CertMgmt_Which_certChainIssRep CertMgmt_Which = 6 )
func (CertMgmt_Which) String ¶ added in v0.4.0
func (w CertMgmt_Which) String() string
type CtrlExtnData ¶ added in v0.4.0
func NewCtrlExtnData ¶ added in v0.4.0
func NewCtrlExtnData(s *capnp.Segment) (CtrlExtnData, error)
func NewRootCtrlExtnData ¶ added in v0.4.0
func NewRootCtrlExtnData(s *capnp.Segment) (CtrlExtnData, error)
func ReadRootCtrlExtnData ¶ added in v0.4.0
func ReadRootCtrlExtnData(msg *capnp.Message) (CtrlExtnData, error)
func (CtrlExtnData) Data ¶ added in v0.4.0
func (s CtrlExtnData) Data() ([]byte, error)
func (CtrlExtnData) HasData ¶ added in v0.4.0
func (s CtrlExtnData) HasData() bool
func (CtrlExtnData) HasType ¶ added in v0.4.0
func (s CtrlExtnData) HasType() bool
func (CtrlExtnData) SetData ¶ added in v0.4.0
func (s CtrlExtnData) SetData(v []byte) error
func (CtrlExtnData) SetType ¶ added in v0.4.0
func (s CtrlExtnData) SetType(v []byte) error
func (CtrlExtnData) String ¶ added in v0.4.0
func (s CtrlExtnData) String() string
func (CtrlExtnData) Type ¶ added in v0.4.0
func (s CtrlExtnData) Type() ([]byte, error)
type CtrlExtnDataList ¶ added in v0.4.0
func NewCtrlExtnDataList ¶ added in v0.4.0
func NewCtrlExtnDataList(s *capnp.Segment) (CtrlExtnDataList, error)
func NewRootCtrlExtnDataList ¶ added in v0.4.0
func NewRootCtrlExtnDataList(s *capnp.Segment) (CtrlExtnDataList, error)
func ReadRootCtrlExtnDataList ¶ added in v0.4.0
func ReadRootCtrlExtnDataList(msg *capnp.Message) (CtrlExtnDataList, error)
func (CtrlExtnDataList) HasItems ¶ added in v0.4.0
func (s CtrlExtnDataList) HasItems() bool
func (CtrlExtnDataList) Items ¶ added in v0.4.0
func (s CtrlExtnDataList) Items() (CtrlExtnData_List, error)
func (CtrlExtnDataList) NewItems ¶ added in v0.4.0
func (s CtrlExtnDataList) NewItems(n int32) (CtrlExtnData_List, error)
NewItems sets the items field to a newly allocated CtrlExtnData_List, preferring placement in s's segment.
func (CtrlExtnDataList) SetItems ¶ added in v0.4.0
func (s CtrlExtnDataList) SetItems(v CtrlExtnData_List) error
func (CtrlExtnDataList) String ¶ added in v0.4.0
func (s CtrlExtnDataList) String() string
type CtrlExtnDataList_List ¶ added in v0.4.0
CtrlExtnDataList_List is a list of CtrlExtnDataList.
func NewCtrlExtnDataList_List ¶ added in v0.4.0
func NewCtrlExtnDataList_List(s *capnp.Segment, sz int32) (CtrlExtnDataList_List, error)
NewCtrlExtnDataList creates a new list of CtrlExtnDataList.
func (CtrlExtnDataList_List) At ¶ added in v0.4.0
func (s CtrlExtnDataList_List) At(i int) CtrlExtnDataList
func (CtrlExtnDataList_List) Set ¶ added in v0.4.0
func (s CtrlExtnDataList_List) Set(i int, v CtrlExtnDataList) error
func (CtrlExtnDataList_List) String ¶ added in v0.4.0
func (s CtrlExtnDataList_List) String() string
type CtrlExtnDataList_Promise ¶ added in v0.4.0
CtrlExtnDataList_Promise is a wrapper for a CtrlExtnDataList promised by a client call.
func (CtrlExtnDataList_Promise) Struct ¶ added in v0.4.0
func (p CtrlExtnDataList_Promise) Struct() (CtrlExtnDataList, error)
type CtrlExtnData_List ¶ added in v0.4.0
CtrlExtnData_List is a list of CtrlExtnData.
func NewCtrlExtnData_List ¶ added in v0.4.0
func NewCtrlExtnData_List(s *capnp.Segment, sz int32) (CtrlExtnData_List, error)
NewCtrlExtnData creates a new list of CtrlExtnData.
func (CtrlExtnData_List) At ¶ added in v0.4.0
func (s CtrlExtnData_List) At(i int) CtrlExtnData
func (CtrlExtnData_List) Set ¶ added in v0.4.0
func (s CtrlExtnData_List) Set(i int, v CtrlExtnData) error
func (CtrlExtnData_List) String ¶ added in v0.4.0
func (s CtrlExtnData_List) String() string
type CtrlExtnData_Promise ¶ added in v0.4.0
CtrlExtnData_Promise is a wrapper for a CtrlExtnData promised by a client call.
func (CtrlExtnData_Promise) Struct ¶ added in v0.4.0
func (p CtrlExtnData_Promise) Struct() (CtrlExtnData, error)
type CtrlPld ¶ added in v0.4.0
func (CtrlPld) Extn ¶ added in v0.4.0
func (s CtrlPld) Extn() (CtrlExtnDataList, error)
func (CtrlPld) HasCertMgmt ¶ added in v0.4.0
func (CtrlPld) HasDrkeyMgmt ¶ added in v0.4.0
func (CtrlPld) HasPathMgmt ¶ added in v0.4.0
func (CtrlPld) HasTraceId ¶ added in v0.4.0
func (CtrlPld) NewAck ¶ added in v0.4.0
NewAck sets the ack field to a newly allocated Ack struct, preferring placement in s's segment.
func (CtrlPld) NewCertMgmt ¶ added in v0.4.0
NewCertMgmt sets the certMgmt field to a newly allocated CertMgmt struct, preferring placement in s's segment.
func (CtrlPld) NewDrkeyMgmt ¶ added in v0.4.0
NewDrkeyMgmt sets the drkeyMgmt field to a newly allocated DRKeyMgmt struct, preferring placement in s's segment.
func (CtrlPld) NewExtn ¶ added in v0.4.0
func (s CtrlPld) NewExtn() (CtrlExtnDataList, error)
NewExtn sets the extn field to a newly allocated CtrlExtnDataList struct, preferring placement in s's segment.
func (CtrlPld) NewIfid ¶ added in v0.4.0
NewIfid sets the ifid field to a newly allocated IFID struct, preferring placement in s's segment.
func (CtrlPld) NewPathMgmt ¶ added in v0.4.0
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
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
NewSig sets the sig field to a newly allocated SIGCtrl struct, preferring placement in s's segment.
func (CtrlPld) SetCertMgmt ¶ added in v0.4.0
func (CtrlPld) SetDrkeyMgmt ¶ added in v0.4.0
func (CtrlPld) SetExtn ¶ added in v0.4.0
func (s CtrlPld) SetExtn(v CtrlExtnDataList) error
func (CtrlPld) SetPathMgmt ¶ added in v0.4.0
func (CtrlPld) SetSibra ¶ added in v0.4.0
func (s CtrlPld) SetSibra(v SibraPayload) error
func (CtrlPld) SetTraceId ¶ added in v0.4.0
func (CtrlPld) Sibra ¶ added in v0.4.0
func (s CtrlPld) Sibra() (SibraPayload, error)
func (CtrlPld) Which ¶ added in v0.4.0
func (s CtrlPld) Which() CtrlPld_Which
type CtrlPld_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s CtrlPld_List) String() string
type CtrlPld_Promise ¶ added in v0.4.0
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) CertMgmt ¶ added in v0.4.0
func (p CtrlPld_Promise) CertMgmt() CertMgmt_Promise
func (CtrlPld_Promise) DrkeyMgmt ¶ added in v0.4.0
func (p CtrlPld_Promise) DrkeyMgmt() DRKeyMgmt_Promise
func (CtrlPld_Promise) Extn ¶ added in v0.4.0
func (p CtrlPld_Promise) Extn() CtrlExtnDataList_Promise
func (CtrlPld_Promise) Ifid ¶ added in v0.4.0
func (p CtrlPld_Promise) Ifid() IFID_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 (p CtrlPld_Promise) Sibra() SibraPayload_Promise
func (CtrlPld_Promise) Sig ¶ added in v0.4.0
func (p CtrlPld_Promise) Sig() SIGCtrl_Promise
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_ifid CtrlPld_Which = 2 CtrlPld_Which_certMgmt CtrlPld_Which = 3 CtrlPld_Which_pathMgmt CtrlPld_Which = 4 CtrlPld_Which_sibra CtrlPld_Which = 5 CtrlPld_Which_drkeyMgmt CtrlPld_Which = 6 CtrlPld_Which_sig CtrlPld_Which = 7 CtrlPld_Which_extn CtrlPld_Which = 8 CtrlPld_Which_ack CtrlPld_Which = 9 )
func (CtrlPld_Which) String ¶ added in v0.4.0
func (w CtrlPld_Which) String() string
type DRKeyMgmt ¶ added in v0.4.0
func ReadRootDRKeyMgmt ¶ added in v0.4.0
func (DRKeyMgmt) HasDrkeyRep ¶ added in v0.4.0
func (DRKeyMgmt) HasDrkeyReq ¶ added in v0.4.0
func (DRKeyMgmt) NewDrkeyRep ¶ added in v0.4.0
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
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 (DRKeyMgmt) SetDrkeyReq ¶ added in v0.4.0
func (DRKeyMgmt) Which ¶ added in v0.4.0
func (s DRKeyMgmt) Which() DRKeyMgmt_Which
type DRKeyMgmt_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s DRKeyMgmt_List) String() string
type DRKeyMgmt_Promise ¶ added in v0.4.0
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
func (DRKeyRep) CertVerDst ¶ added in v0.4.0
func (DRKeyRep) CertVerSrc ¶ added in v0.4.0
func (DRKeyRep) HasSignature ¶ added in v0.4.0
func (DRKeyRep) SetCertVerDst ¶ added in v0.4.0
func (DRKeyRep) SetCertVerSrc ¶ added in v0.4.0
func (DRKeyRep) SetExpTime ¶ added in v0.4.0
func (DRKeyRep) SetSignature ¶ added in v0.4.0
func (DRKeyRep) SetTimestamp ¶ added in v0.4.0
type DRKeyRep_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s DRKeyRep_List) String() string
type DRKeyRep_Promise ¶ added in v0.4.0
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
func (DRKeyReq) Flags ¶ added in v0.4.0
func (s DRKeyReq) Flags() DRKeyReq_flags
func (DRKeyReq) HasSignature ¶ added in v0.4.0
func (DRKeyReq) SetCertVer ¶ added in v0.4.0
func (DRKeyReq) SetSignature ¶ added in v0.4.0
func (DRKeyReq) SetTimestamp ¶ added in v0.4.0
type DRKeyReq_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s DRKeyReq_List) String() string
type DRKeyReq_Promise ¶ added in v0.4.0
DRKeyReq_Promise is a wrapper for a DRKeyReq promised by a client call.
func (DRKeyReq_Promise) Flags ¶ added in v0.4.0
func (p DRKeyReq_Promise) Flags() DRKeyReq_flags_Promise
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
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
func (p DRKeyReq_flags_Promise) Struct() (DRKeyReq_flags, error)
type FwdPathMeta ¶ added in v0.4.0
func NewFwdPathMeta ¶ added in v0.4.0
func NewFwdPathMeta(s *capnp.Segment) (FwdPathMeta, error)
func NewRootFwdPathMeta ¶ added in v0.4.0
func NewRootFwdPathMeta(s *capnp.Segment) (FwdPathMeta, error)
func ReadRootFwdPathMeta ¶ added in v0.4.0
func ReadRootFwdPathMeta(msg *capnp.Message) (FwdPathMeta, error)
func (FwdPathMeta) ExpTime ¶ added in v0.4.0
func (s FwdPathMeta) ExpTime() uint32
func (FwdPathMeta) FwdPath ¶ added in v0.4.0
func (s FwdPathMeta) FwdPath() ([]byte, error)
func (FwdPathMeta) HasFwdPath ¶ added in v0.4.0
func (s FwdPathMeta) HasFwdPath() bool
func (FwdPathMeta) HasInterfaces ¶ added in v0.4.0
func (s FwdPathMeta) HasInterfaces() bool
func (FwdPathMeta) Interfaces ¶ added in v0.4.0
func (s FwdPathMeta) Interfaces() (PathInterface_List, error)
func (FwdPathMeta) Mtu ¶ added in v0.4.0
func (s FwdPathMeta) Mtu() uint16
func (FwdPathMeta) NewInterfaces ¶ added in v0.4.0
func (s FwdPathMeta) NewInterfaces(n int32) (PathInterface_List, error)
NewInterfaces sets the interfaces field to a newly allocated PathInterface_List, preferring placement in s's segment.
func (FwdPathMeta) SetExpTime ¶ added in v0.4.0
func (s FwdPathMeta) SetExpTime(v uint32)
func (FwdPathMeta) SetFwdPath ¶ added in v0.4.0
func (s FwdPathMeta) SetFwdPath(v []byte) error
func (FwdPathMeta) SetInterfaces ¶ added in v0.4.0
func (s FwdPathMeta) SetInterfaces(v PathInterface_List) error
func (FwdPathMeta) SetMtu ¶ added in v0.4.0
func (s FwdPathMeta) SetMtu(v uint16)
func (FwdPathMeta) String ¶ added in v0.4.0
func (s FwdPathMeta) String() string
type FwdPathMeta_List ¶ added in v0.4.0
FwdPathMeta_List is a list of FwdPathMeta.
func NewFwdPathMeta_List ¶ added in v0.4.0
func NewFwdPathMeta_List(s *capnp.Segment, sz int32) (FwdPathMeta_List, error)
NewFwdPathMeta creates a new list of FwdPathMeta.
func (FwdPathMeta_List) At ¶ added in v0.4.0
func (s FwdPathMeta_List) At(i int) FwdPathMeta
func (FwdPathMeta_List) Set ¶ added in v0.4.0
func (s FwdPathMeta_List) Set(i int, v FwdPathMeta) error
func (FwdPathMeta_List) String ¶ added in v0.4.0
func (s FwdPathMeta_List) String() string
type FwdPathMeta_Promise ¶ added in v0.4.0
FwdPathMeta_Promise is a wrapper for a FwdPathMeta promised by a client call.
func (FwdPathMeta_Promise) Struct ¶ added in v0.4.0
func (p FwdPathMeta_Promise) Struct() (FwdPathMeta, error)
type HPCfg ¶ added in v0.4.0
func (HPCfg) HasGroupId ¶ added in v0.4.0
func (HPCfg) HasReaders ¶ added in v0.4.0
func (HPCfg) HasRegistries ¶ added in v0.4.0
func (HPCfg) HasWriters ¶ added in v0.4.0
func (HPCfg) NewGroupId ¶ added in v0.4.0
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) Registries ¶ added in v0.4.0
func (s HPCfg) Registries() (capnp.UInt64List, error)
func (HPCfg) SetGroupId ¶ added in v0.4.0
func (HPCfg) SetOwnerISD ¶ added in v0.4.0
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 (HPCfg) SetWriters ¶ added in v0.4.0
func (s HPCfg) SetWriters(v capnp.UInt64List) error
type HPCfgReply ¶ added in v0.4.0
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
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
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
func (HPCfgReq) ChangedSince ¶ added in v0.4.0
func (HPCfgReq) SetChangedSince ¶ added in v0.4.0
type HPCfgReq_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s HPCfgReq_List) String() string
type HPCfgReq_Promise ¶ added in v0.4.0
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
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) String ¶ added in v0.4.0
func (s HPCfg_List) String() string
type HPCfg_Promise ¶ added in v0.4.0
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
func ReadRootHPGroupId ¶ added in v0.4.0
func (HPGroupId) SetGroupId ¶ added in v0.4.0
func (HPGroupId) SetOwnerAS ¶ added in v0.4.0
type HPGroupId_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s HPGroupId_List) String() string
type HPGroupId_Promise ¶ added in v0.4.0
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
func ReadRootHPSegRecs ¶ added in v0.4.0
func (HPSegRecs) HasGroupId ¶ added in v0.4.0
func (HPSegRecs) NewGroupId ¶ added in v0.4.0
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) SetGroupId ¶ added in v0.4.0
func (HPSegRecs) SetRecs ¶ added in v0.4.0
func (s HPSegRecs) SetRecs(v PathSegMeta_List) error
type HPSegRecs_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s HPSegRecs_List) String() string
type HPSegRecs_Promise ¶ added in v0.4.0
HPSegRecs_Promise is a wrapper for a HPSegRecs promised by a client call.
func (HPSegRecs_Promise) GroupId ¶ added in v0.4.0
func (p HPSegRecs_Promise) GroupId() HPGroupId_Promise
func (HPSegRecs_Promise) Struct ¶ added in v0.4.0
func (p HPSegRecs_Promise) Struct() (HPSegRecs, error)
type HPSegReply ¶ added in v0.4.0
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
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
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
func (HPSegReq) GroupIds ¶ added in v0.4.0
func (s HPSegReq) GroupIds() (HPGroupId_List, error)
func (HPSegReq) HasGroupIds ¶ added in v0.4.0
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) SetGroupIds ¶ added in v0.4.0
func (s HPSegReq) SetGroupIds(v HPGroupId_List) error
type HPSegReq_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s HPSegReq_List) String() string
type HPSegReq_Promise ¶ added in v0.4.0
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
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
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 (s HiddenPathSegExtn_List) At(i int) HiddenPathSegExtn
func (HiddenPathSegExtn_List) Set ¶ added in v0.4.0
func (s HiddenPathSegExtn_List) Set(i int, v HiddenPathSegExtn) error
func (HiddenPathSegExtn_List) String ¶ added in v0.4.0
func (s HiddenPathSegExtn_List) String() string
type HiddenPathSegExtn_Promise ¶ added in v0.4.0
HiddenPathSegExtn_Promise is a wrapper for a HiddenPathSegExtn promised by a client call.
func (HiddenPathSegExtn_Promise) Struct ¶ added in v0.4.0
func (p HiddenPathSegExtn_Promise) Struct() (HiddenPathSegExtn, error)
type HopEntry ¶ added in v0.4.0
func (HopEntry) RemoteInIF ¶ added in v0.4.0
func (HopEntry) RemoteOutIF ¶ added in v0.4.0
func (HopEntry) SetRemoteInIF ¶ added in v0.4.0
func (HopEntry) SetRemoteOutIF ¶ added in v0.4.0
type HopEntry_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s HopEntry_List) String() string
type HopEntry_Promise ¶ added in v0.4.0
HopEntry_Promise is a wrapper for a HopEntry promised by a client call.
func (HopEntry_Promise) Struct ¶ added in v0.4.0
func (p HopEntry_Promise) Struct() (HopEntry, error)
type HostInfo ¶ added in v0.4.0
func (HostInfo) Addrs ¶ added in v0.4.0
func (s HostInfo) Addrs() HostInfo_addrs
type HostInfo_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s HostInfo_List) String() string
type HostInfo_Promise ¶ added in v0.4.0
HostInfo_Promise is a wrapper for a HostInfo promised by a client call.
func (HostInfo_Promise) Addrs ¶ added in v0.4.0
func (p HostInfo_Promise) Addrs() HostInfo_addrs_Promise
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
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
func (p HostInfo_addrs_Promise) Struct() (HostInfo_addrs, error)
type IFID_List ¶ added in v0.4.0
IFID_List is a list of IFID.
func NewIFID_List ¶ added in v0.4.0
NewIFID creates a new list of IFID.
type IFID_Promise ¶ added in v0.4.0
IFID_Promise is a wrapper for a IFID promised by a client call.
func (IFID_Promise) Struct ¶ added in v0.4.0
func (p IFID_Promise) Struct() (IFID, error)
type IFInfoReply ¶ added in v0.4.0
func NewIFInfoReply ¶ added in v0.4.0
func NewIFInfoReply(s *capnp.Segment) (IFInfoReply, error)
func NewRootIFInfoReply ¶ added in v0.4.0
func NewRootIFInfoReply(s *capnp.Segment) (IFInfoReply, error)
func ReadRootIFInfoReply ¶ added in v0.4.0
func ReadRootIFInfoReply(msg *capnp.Message) (IFInfoReply, error)
func (IFInfoReply) Entries ¶ added in v0.4.0
func (s IFInfoReply) Entries() (IFInfoReplyEntry_List, error)
func (IFInfoReply) HasEntries ¶ added in v0.4.0
func (s IFInfoReply) HasEntries() bool
func (IFInfoReply) NewEntries ¶ added in v0.4.0
func (s IFInfoReply) NewEntries(n int32) (IFInfoReplyEntry_List, error)
NewEntries sets the entries field to a newly allocated IFInfoReplyEntry_List, preferring placement in s's segment.
func (IFInfoReply) SetEntries ¶ added in v0.4.0
func (s IFInfoReply) SetEntries(v IFInfoReplyEntry_List) error
func (IFInfoReply) String ¶ added in v0.4.0
func (s IFInfoReply) String() string
type IFInfoReplyEntry ¶ added in v0.4.0
func NewIFInfoReplyEntry ¶ added in v0.4.0
func NewIFInfoReplyEntry(s *capnp.Segment) (IFInfoReplyEntry, error)
func NewRootIFInfoReplyEntry ¶ added in v0.4.0
func NewRootIFInfoReplyEntry(s *capnp.Segment) (IFInfoReplyEntry, error)
func ReadRootIFInfoReplyEntry ¶ added in v0.4.0
func ReadRootIFInfoReplyEntry(msg *capnp.Message) (IFInfoReplyEntry, error)
func (IFInfoReplyEntry) HasHostInfo ¶ added in v0.4.0
func (s IFInfoReplyEntry) HasHostInfo() bool
func (IFInfoReplyEntry) HostInfo ¶ added in v0.4.0
func (s IFInfoReplyEntry) HostInfo() (HostInfo, error)
func (IFInfoReplyEntry) IfID ¶ added in v0.4.0
func (s IFInfoReplyEntry) IfID() uint64
func (IFInfoReplyEntry) NewHostInfo ¶ added in v0.4.0
func (s IFInfoReplyEntry) NewHostInfo() (HostInfo, error)
NewHostInfo sets the hostInfo field to a newly allocated HostInfo struct, preferring placement in s's segment.
func (IFInfoReplyEntry) SetHostInfo ¶ added in v0.4.0
func (s IFInfoReplyEntry) SetHostInfo(v HostInfo) error
func (IFInfoReplyEntry) SetIfID ¶ added in v0.4.0
func (s IFInfoReplyEntry) SetIfID(v uint64)
func (IFInfoReplyEntry) String ¶ added in v0.4.0
func (s IFInfoReplyEntry) String() string
type IFInfoReplyEntry_List ¶ added in v0.4.0
IFInfoReplyEntry_List is a list of IFInfoReplyEntry.
func NewIFInfoReplyEntry_List ¶ added in v0.4.0
func NewIFInfoReplyEntry_List(s *capnp.Segment, sz int32) (IFInfoReplyEntry_List, error)
NewIFInfoReplyEntry creates a new list of IFInfoReplyEntry.
func (IFInfoReplyEntry_List) At ¶ added in v0.4.0
func (s IFInfoReplyEntry_List) At(i int) IFInfoReplyEntry
func (IFInfoReplyEntry_List) Set ¶ added in v0.4.0
func (s IFInfoReplyEntry_List) Set(i int, v IFInfoReplyEntry) error
func (IFInfoReplyEntry_List) String ¶ added in v0.4.0
func (s IFInfoReplyEntry_List) String() string
type IFInfoReplyEntry_Promise ¶ added in v0.4.0
IFInfoReplyEntry_Promise is a wrapper for a IFInfoReplyEntry promised by a client call.
func (IFInfoReplyEntry_Promise) HostInfo ¶ added in v0.4.0
func (p IFInfoReplyEntry_Promise) HostInfo() HostInfo_Promise
func (IFInfoReplyEntry_Promise) Struct ¶ added in v0.4.0
func (p IFInfoReplyEntry_Promise) Struct() (IFInfoReplyEntry, error)
type IFInfoReply_List ¶ added in v0.4.0
IFInfoReply_List is a list of IFInfoReply.
func NewIFInfoReply_List ¶ added in v0.4.0
func NewIFInfoReply_List(s *capnp.Segment, sz int32) (IFInfoReply_List, error)
NewIFInfoReply creates a new list of IFInfoReply.
func (IFInfoReply_List) At ¶ added in v0.4.0
func (s IFInfoReply_List) At(i int) IFInfoReply
func (IFInfoReply_List) Set ¶ added in v0.4.0
func (s IFInfoReply_List) Set(i int, v IFInfoReply) error
func (IFInfoReply_List) String ¶ added in v0.4.0
func (s IFInfoReply_List) String() string
type IFInfoReply_Promise ¶ added in v0.4.0
IFInfoReply_Promise is a wrapper for a IFInfoReply promised by a client call.
func (IFInfoReply_Promise) Struct ¶ added in v0.4.0
func (p IFInfoReply_Promise) Struct() (IFInfoReply, error)
type IFInfoRequest ¶ added in v0.4.0
func NewIFInfoRequest ¶ added in v0.4.0
func NewIFInfoRequest(s *capnp.Segment) (IFInfoRequest, error)
func NewRootIFInfoRequest ¶ added in v0.4.0
func NewRootIFInfoRequest(s *capnp.Segment) (IFInfoRequest, error)
func ReadRootIFInfoRequest ¶ added in v0.4.0
func ReadRootIFInfoRequest(msg *capnp.Message) (IFInfoRequest, error)
func (IFInfoRequest) HasIfIDs ¶ added in v0.4.0
func (s IFInfoRequest) HasIfIDs() bool
func (IFInfoRequest) IfIDs ¶ added in v0.4.0
func (s IFInfoRequest) IfIDs() (capnp.UInt64List, error)
func (IFInfoRequest) NewIfIDs ¶ added in v0.4.0
func (s IFInfoRequest) NewIfIDs(n int32) (capnp.UInt64List, error)
NewIfIDs sets the ifIDs field to a newly allocated capnp.UInt64List, preferring placement in s's segment.
func (IFInfoRequest) SetIfIDs ¶ added in v0.4.0
func (s IFInfoRequest) SetIfIDs(v capnp.UInt64List) error
func (IFInfoRequest) String ¶ added in v0.4.0
func (s IFInfoRequest) String() string
type IFInfoRequest_List ¶ added in v0.4.0
IFInfoRequest_List is a list of IFInfoRequest.
func NewIFInfoRequest_List ¶ added in v0.4.0
func NewIFInfoRequest_List(s *capnp.Segment, sz int32) (IFInfoRequest_List, error)
NewIFInfoRequest creates a new list of IFInfoRequest.
func (IFInfoRequest_List) At ¶ added in v0.4.0
func (s IFInfoRequest_List) At(i int) IFInfoRequest
func (IFInfoRequest_List) Set ¶ added in v0.4.0
func (s IFInfoRequest_List) Set(i int, v IFInfoRequest) error
func (IFInfoRequest_List) String ¶ added in v0.4.0
func (s IFInfoRequest_List) String() string
type IFInfoRequest_Promise ¶ added in v0.4.0
IFInfoRequest_Promise is a wrapper for a IFInfoRequest promised by a client call.
func (IFInfoRequest_Promise) Struct ¶ added in v0.4.0
func (p IFInfoRequest_Promise) Struct() (IFInfoRequest, error)
type IFStateInfo ¶ added in v0.4.0
func NewIFStateInfo ¶ added in v0.4.0
func NewIFStateInfo(s *capnp.Segment) (IFStateInfo, error)
func NewRootIFStateInfo ¶ added in v0.4.0
func NewRootIFStateInfo(s *capnp.Segment) (IFStateInfo, error)
func ReadRootIFStateInfo ¶ added in v0.4.0
func ReadRootIFStateInfo(msg *capnp.Message) (IFStateInfo, error)
func (IFStateInfo) Active ¶ added in v0.4.0
func (s IFStateInfo) Active() bool
func (IFStateInfo) HasSRevInfo ¶ added in v0.4.0
func (s IFStateInfo) HasSRevInfo() bool
func (IFStateInfo) IfID ¶ added in v0.4.0
func (s IFStateInfo) IfID() uint64
func (IFStateInfo) NewSRevInfo ¶ added in v0.4.0
func (s IFStateInfo) NewSRevInfo() (SignedBlob, error)
NewSRevInfo sets the sRevInfo field to a newly allocated SignedBlob struct, preferring placement in s's segment.
func (IFStateInfo) SRevInfo ¶ added in v0.4.0
func (s IFStateInfo) SRevInfo() (SignedBlob, error)
func (IFStateInfo) SetActive ¶ added in v0.4.0
func (s IFStateInfo) SetActive(v bool)
func (IFStateInfo) SetIfID ¶ added in v0.4.0
func (s IFStateInfo) SetIfID(v uint64)
func (IFStateInfo) SetSRevInfo ¶ added in v0.4.0
func (s IFStateInfo) SetSRevInfo(v SignedBlob) error
func (IFStateInfo) String ¶ added in v0.4.0
func (s IFStateInfo) String() string
type IFStateInfo_List ¶ added in v0.4.0
IFStateInfo_List is a list of IFStateInfo.
func NewIFStateInfo_List ¶ added in v0.4.0
func NewIFStateInfo_List(s *capnp.Segment, sz int32) (IFStateInfo_List, error)
NewIFStateInfo creates a new list of IFStateInfo.
func (IFStateInfo_List) At ¶ added in v0.4.0
func (s IFStateInfo_List) At(i int) IFStateInfo
func (IFStateInfo_List) Set ¶ added in v0.4.0
func (s IFStateInfo_List) Set(i int, v IFStateInfo) error
func (IFStateInfo_List) String ¶ added in v0.4.0
func (s IFStateInfo_List) String() string
type IFStateInfo_Promise ¶ added in v0.4.0
IFStateInfo_Promise is a wrapper for a IFStateInfo promised by a client call.
func (IFStateInfo_Promise) SRevInfo ¶ added in v0.4.0
func (p IFStateInfo_Promise) SRevInfo() SignedBlob_Promise
func (IFStateInfo_Promise) Struct ¶ added in v0.4.0
func (p IFStateInfo_Promise) Struct() (IFStateInfo, error)
type IFStateInfos ¶ added in v0.4.0
func NewIFStateInfos ¶ added in v0.4.0
func NewIFStateInfos(s *capnp.Segment) (IFStateInfos, error)
func NewRootIFStateInfos ¶ added in v0.4.0
func NewRootIFStateInfos(s *capnp.Segment) (IFStateInfos, error)
func ReadRootIFStateInfos ¶ added in v0.4.0
func ReadRootIFStateInfos(msg *capnp.Message) (IFStateInfos, error)
func (IFStateInfos) HasInfos ¶ added in v0.4.0
func (s IFStateInfos) HasInfos() bool
func (IFStateInfos) Infos ¶ added in v0.4.0
func (s IFStateInfos) Infos() (IFStateInfo_List, error)
func (IFStateInfos) NewInfos ¶ added in v0.4.0
func (s IFStateInfos) NewInfos(n int32) (IFStateInfo_List, error)
NewInfos sets the infos field to a newly allocated IFStateInfo_List, preferring placement in s's segment.
func (IFStateInfos) SetInfos ¶ added in v0.4.0
func (s IFStateInfos) SetInfos(v IFStateInfo_List) error
func (IFStateInfos) String ¶ added in v0.4.0
func (s IFStateInfos) String() string
type IFStateInfos_List ¶ added in v0.4.0
IFStateInfos_List is a list of IFStateInfos.
func NewIFStateInfos_List ¶ added in v0.4.0
func NewIFStateInfos_List(s *capnp.Segment, sz int32) (IFStateInfos_List, error)
NewIFStateInfos creates a new list of IFStateInfos.
func (IFStateInfos_List) At ¶ added in v0.4.0
func (s IFStateInfos_List) At(i int) IFStateInfos
func (IFStateInfos_List) Set ¶ added in v0.4.0
func (s IFStateInfos_List) Set(i int, v IFStateInfos) error
func (IFStateInfos_List) String ¶ added in v0.4.0
func (s IFStateInfos_List) String() string
type IFStateInfos_Promise ¶ added in v0.4.0
IFStateInfos_Promise is a wrapper for a IFStateInfos promised by a client call.
func (IFStateInfos_Promise) Struct ¶ added in v0.4.0
func (p IFStateInfos_Promise) Struct() (IFStateInfos, error)
type IFStateReq ¶ added in v0.4.0
func NewIFStateReq ¶ added in v0.4.0
func NewIFStateReq(s *capnp.Segment) (IFStateReq, error)
func NewRootIFStateReq ¶ added in v0.4.0
func NewRootIFStateReq(s *capnp.Segment) (IFStateReq, error)
func ReadRootIFStateReq ¶ added in v0.4.0
func ReadRootIFStateReq(msg *capnp.Message) (IFStateReq, error)
func (IFStateReq) IfID ¶ added in v0.4.0
func (s IFStateReq) IfID() uint64
func (IFStateReq) SetIfID ¶ added in v0.4.0
func (s IFStateReq) SetIfID(v uint64)
func (IFStateReq) String ¶ added in v0.4.0
func (s IFStateReq) String() string
type IFStateReq_List ¶ added in v0.4.0
IFStateReq_List is a list of IFStateReq.
func NewIFStateReq_List ¶ added in v0.4.0
func NewIFStateReq_List(s *capnp.Segment, sz int32) (IFStateReq_List, error)
NewIFStateReq creates a new list of IFStateReq.
func (IFStateReq_List) At ¶ added in v0.4.0
func (s IFStateReq_List) At(i int) IFStateReq
func (IFStateReq_List) Set ¶ added in v0.4.0
func (s IFStateReq_List) Set(i int, v IFStateReq) error
func (IFStateReq_List) String ¶ added in v0.4.0
func (s IFStateReq_List) String() string
type IFStateReq_Promise ¶ added in v0.4.0
IFStateReq_Promise is a wrapper for a IFStateReq promised by a client call.
func (IFStateReq_Promise) Struct ¶ added in v0.4.0
func (p IFStateReq_Promise) Struct() (IFStateReq, error)
type ISDAnnouncementExt ¶ added in v0.4.0
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
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 (s ISDAnnouncementExt_List) At(i int) ISDAnnouncementExt
func (ISDAnnouncementExt_List) Set ¶ added in v0.4.0
func (s ISDAnnouncementExt_List) Set(i int, v ISDAnnouncementExt) error
func (ISDAnnouncementExt_List) String ¶ added in v0.4.0
func (s ISDAnnouncementExt_List) String() string
type ISDAnnouncementExt_Promise ¶ added in v0.4.0
ISDAnnouncementExt_Promise is a wrapper for a ISDAnnouncementExt promised by a client call.
func (ISDAnnouncementExt_Promise) Struct ¶ added in v0.4.0
func (p ISDAnnouncementExt_Promise) Struct() (ISDAnnouncementExt, error)
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
LinkTypeFromString returns the enum value with a name, or the zero value if there's no such value.
type LinkType_List ¶ added in v0.4.0
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
func (PCB) HasPathSeg ¶ added in v0.4.0
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) SetPathSeg ¶ added in v0.4.0
func (s PCB) SetPathSeg(v PathSegment) error
type PCB_List ¶ added in v0.4.0
PCB_List is a list of PCB.
func NewPCB_List ¶ added in v0.4.0
NewPCB creates a new list of PCB.
type PCB_Promise ¶ added in v0.4.0
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 PathInterface ¶ added in v0.4.0
func NewPathInterface ¶ added in v0.4.0
func NewPathInterface(s *capnp.Segment) (PathInterface, error)
func NewRootPathInterface ¶ added in v0.4.0
func NewRootPathInterface(s *capnp.Segment) (PathInterface, error)
func ReadRootPathInterface ¶ added in v0.4.0
func ReadRootPathInterface(msg *capnp.Message) (PathInterface, error)
func (PathInterface) IfID ¶ added in v0.4.0
func (s PathInterface) IfID() uint64
func (PathInterface) Isdas ¶ added in v0.4.0
func (s PathInterface) Isdas() uint64
func (PathInterface) SetIfID ¶ added in v0.4.0
func (s PathInterface) SetIfID(v uint64)
func (PathInterface) SetIsdas ¶ added in v0.4.0
func (s PathInterface) SetIsdas(v uint64)
func (PathInterface) String ¶ added in v0.4.0
func (s PathInterface) String() string
type PathInterface_List ¶ added in v0.4.0
PathInterface_List is a list of PathInterface.
func NewPathInterface_List ¶ added in v0.4.0
func NewPathInterface_List(s *capnp.Segment, sz int32) (PathInterface_List, error)
NewPathInterface creates a new list of PathInterface.
func (PathInterface_List) At ¶ added in v0.4.0
func (s PathInterface_List) At(i int) PathInterface
func (PathInterface_List) Set ¶ added in v0.4.0
func (s PathInterface_List) Set(i int, v PathInterface) error
func (PathInterface_List) String ¶ added in v0.4.0
func (s PathInterface_List) String() string
type PathInterface_Promise ¶ added in v0.4.0
PathInterface_Promise is a wrapper for a PathInterface promised by a client call.
func (PathInterface_Promise) Struct ¶ added in v0.4.0
func (p PathInterface_Promise) Struct() (PathInterface, error)
type PathMgmt ¶ added in v0.4.0
func (PathMgmt) HasHpCfgReply ¶ added in v0.4.0
func (PathMgmt) HasHpCfgReq ¶ added in v0.4.0
func (PathMgmt) HasHpSegReg ¶ added in v0.4.0
func (PathMgmt) HasHpSegReply ¶ added in v0.4.0
func (PathMgmt) HasHpSegReq ¶ added in v0.4.0
func (PathMgmt) HasIfStateInfos ¶ added in v0.4.0
func (PathMgmt) HasIfStateReq ¶ added in v0.4.0
func (PathMgmt) HasSRevInfo ¶ added in v0.4.0
func (PathMgmt) HasSegChangesIdReply ¶ added in v0.4.0
func (PathMgmt) HasSegChangesIdReq ¶ added in v0.4.0
func (PathMgmt) HasSegChangesReply ¶ added in v0.4.0
func (PathMgmt) HasSegChangesReq ¶ added in v0.4.0
func (PathMgmt) HasSegReply ¶ added in v0.4.0
func (PathMgmt) HasSegSync ¶ added in v0.4.0
func (PathMgmt) HpCfgReply ¶ added in v0.4.0
func (s PathMgmt) HpCfgReply() (HPCfgReply, error)
func (PathMgmt) HpSegReply ¶ added in v0.4.0
func (s PathMgmt) HpSegReply() (HPSegReply, error)
func (PathMgmt) IfStateInfos ¶ added in v0.4.0
func (s PathMgmt) IfStateInfos() (IFStateInfos, error)
func (PathMgmt) IfStateReq ¶ added in v0.4.0
func (s PathMgmt) IfStateReq() (IFStateReq, 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
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
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
NewHpSegReq sets the hpSegReq field to a newly allocated HPSegReq struct, preferring placement in s's segment.
func (PathMgmt) NewIfStateInfos ¶ added in v0.4.0
func (s PathMgmt) NewIfStateInfos() (IFStateInfos, error)
NewIfStateInfos sets the ifStateInfos field to a newly allocated IFStateInfos struct, preferring placement in s's segment.
func (PathMgmt) NewIfStateReq ¶ added in v0.4.0
func (s PathMgmt) NewIfStateReq() (IFStateReq, error)
NewIfStateReq sets the ifStateReq field to a newly allocated IFStateReq 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) NewSegChangesIdReply ¶ added in v0.4.0
func (s PathMgmt) NewSegChangesIdReply() (SegChangesIdReply, error)
NewSegChangesIdReply sets the segChangesIdReply field to a newly allocated SegChangesIdReply struct, preferring placement in s's segment.
func (PathMgmt) NewSegChangesIdReq ¶ added in v0.4.0
func (s PathMgmt) NewSegChangesIdReq() (SegChangesIdReq, error)
NewSegChangesIdReq sets the segChangesIdReq field to a newly allocated SegChangesIdReq struct, preferring placement in s's segment.
func (PathMgmt) NewSegChangesReply ¶ added in v0.4.0
NewSegChangesReply sets the segChangesReply field to a newly allocated SegRecs struct, preferring placement in s's segment.
func (PathMgmt) NewSegChangesReq ¶ added in v0.4.0
func (s PathMgmt) NewSegChangesReq() (SegChangesReq, error)
NewSegChangesReq sets the segChangesReq field to a newly allocated SegChangesReq struct, preferring placement in s's segment.
func (PathMgmt) NewSegReg ¶ added in v0.4.0
NewSegReg sets the segReg field to a newly allocated SegRecs struct, preferring placement in s's segment.
func (PathMgmt) NewSegReply ¶ added in v0.4.0
NewSegReply sets the segReply field to a newly allocated SegReply struct, preferring placement in s's segment.
func (PathMgmt) NewSegReq ¶ added in v0.4.0
NewSegReq sets the segReq field to a newly allocated SegReq struct, preferring placement in s's segment.
func (PathMgmt) NewSegSync ¶ added in v0.4.0
NewSegSync sets the segSync field to a newly allocated SegRecs struct, preferring placement in s's segment.
func (PathMgmt) SRevInfo ¶ added in v0.4.0
func (s PathMgmt) SRevInfo() (SignedBlob, error)
func (PathMgmt) SegChangesIdReply ¶ added in v0.4.0
func (s PathMgmt) SegChangesIdReply() (SegChangesIdReply, error)
func (PathMgmt) SegChangesIdReq ¶ added in v0.4.0
func (s PathMgmt) SegChangesIdReq() (SegChangesIdReq, error)
func (PathMgmt) SegChangesReply ¶ added in v0.4.0
func (PathMgmt) SegChangesReq ¶ added in v0.4.0
func (s PathMgmt) SegChangesReq() (SegChangesReq, 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 (PathMgmt) SetHpSegReg ¶ added in v0.4.0
func (PathMgmt) SetHpSegReply ¶ added in v0.4.0
func (s PathMgmt) SetHpSegReply(v HPSegReply) error
func (PathMgmt) SetHpSegReq ¶ added in v0.4.0
func (PathMgmt) SetIfStateInfos ¶ added in v0.4.0
func (s PathMgmt) SetIfStateInfos(v IFStateInfos) error
func (PathMgmt) SetIfStateReq ¶ added in v0.4.0
func (s PathMgmt) SetIfStateReq(v IFStateReq) error
func (PathMgmt) SetSRevInfo ¶ added in v0.4.0
func (s PathMgmt) SetSRevInfo(v SignedBlob) error
func (PathMgmt) SetSegChangesIdReply ¶ added in v0.4.0
func (s PathMgmt) SetSegChangesIdReply(v SegChangesIdReply) error
func (PathMgmt) SetSegChangesIdReq ¶ added in v0.4.0
func (s PathMgmt) SetSegChangesIdReq(v SegChangesIdReq) error
func (PathMgmt) SetSegChangesReply ¶ added in v0.4.0
func (PathMgmt) SetSegChangesReq ¶ added in v0.4.0
func (s PathMgmt) SetSegChangesReq(v SegChangesReq) error
func (PathMgmt) SetSegReply ¶ added in v0.4.0
func (PathMgmt) SetSegSync ¶ added in v0.4.0
func (PathMgmt) Which ¶ added in v0.4.0
func (s PathMgmt) Which() PathMgmt_Which
type PathMgmt_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s PathMgmt_List) String() string
type PathMgmt_Promise ¶ added in v0.4.0
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) IfStateInfos ¶ added in v0.4.0
func (p PathMgmt_Promise) IfStateInfos() IFStateInfos_Promise
func (PathMgmt_Promise) IfStateReq ¶ added in v0.4.0
func (p PathMgmt_Promise) IfStateReq() IFStateReq_Promise
func (PathMgmt_Promise) SRevInfo ¶ added in v0.4.0
func (p PathMgmt_Promise) SRevInfo() SignedBlob_Promise
func (PathMgmt_Promise) SegChangesIdReply ¶ added in v0.4.0
func (p PathMgmt_Promise) SegChangesIdReply() SegChangesIdReply_Promise
func (PathMgmt_Promise) SegChangesIdReq ¶ added in v0.4.0
func (p PathMgmt_Promise) SegChangesIdReq() SegChangesIdReq_Promise
func (PathMgmt_Promise) SegChangesReply ¶ added in v0.4.0
func (p PathMgmt_Promise) SegChangesReply() SegRecs_Promise
func (PathMgmt_Promise) SegChangesReq ¶ added in v0.4.0
func (p PathMgmt_Promise) SegChangesReq() SegChangesReq_Promise
func (PathMgmt_Promise) SegReg ¶ added in v0.4.0
func (p PathMgmt_Promise) SegReg() SegRecs_Promise
func (PathMgmt_Promise) SegReply ¶ added in v0.4.0
func (p PathMgmt_Promise) SegReply() SegReply_Promise
func (PathMgmt_Promise) SegReq ¶ added in v0.4.0
func (p PathMgmt_Promise) SegReq() SegReq_Promise
func (PathMgmt_Promise) SegSync ¶ added in v0.4.0
func (p PathMgmt_Promise) SegSync() SegRecs_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_segReq PathMgmt_Which = 1 PathMgmt_Which_segReply PathMgmt_Which = 2 PathMgmt_Which_segReg PathMgmt_Which = 3 PathMgmt_Which_segSync PathMgmt_Which = 4 PathMgmt_Which_sRevInfo PathMgmt_Which = 5 PathMgmt_Which_ifStateReq PathMgmt_Which = 6 PathMgmt_Which_ifStateInfos PathMgmt_Which = 7 PathMgmt_Which_segChangesIdReq PathMgmt_Which = 8 PathMgmt_Which_segChangesIdReply PathMgmt_Which = 9 PathMgmt_Which_segChangesReq PathMgmt_Which = 10 PathMgmt_Which_segChangesReply PathMgmt_Which = 11 PathMgmt_Which_hpSegReq PathMgmt_Which = 12 PathMgmt_Which_hpSegReply PathMgmt_Which = 13 PathMgmt_Which_hpSegReg PathMgmt_Which = 14 PathMgmt_Which_hpCfgReq PathMgmt_Which = 15 PathMgmt_Which_hpCfgReply PathMgmt_Which = 16 )
func (PathMgmt_Which) String ¶ added in v0.4.0
func (w PathMgmt_Which) String() string
type PathReply ¶ added in v0.4.0
func ReadRootPathReply ¶ added in v0.4.0
func (PathReply) Entries ¶ added in v0.4.0
func (s PathReply) Entries() (PathReplyEntry_List, error)
func (PathReply) HasEntries ¶ added in v0.4.0
func (PathReply) NewEntries ¶ added in v0.4.0
func (s PathReply) NewEntries(n int32) (PathReplyEntry_List, error)
NewEntries sets the entries field to a newly allocated PathReplyEntry_List, preferring placement in s's segment.
func (PathReply) SetEntries ¶ added in v0.4.0
func (s PathReply) SetEntries(v PathReplyEntry_List) error
func (PathReply) SetErrorCode ¶ added in v0.4.0
type PathReplyEntry ¶ added in v0.4.0
func NewPathReplyEntry ¶ added in v0.4.0
func NewPathReplyEntry(s *capnp.Segment) (PathReplyEntry, error)
func NewRootPathReplyEntry ¶ added in v0.4.0
func NewRootPathReplyEntry(s *capnp.Segment) (PathReplyEntry, error)
func ReadRootPathReplyEntry ¶ added in v0.4.0
func ReadRootPathReplyEntry(msg *capnp.Message) (PathReplyEntry, error)
func (PathReplyEntry) HasHostInfo ¶ added in v0.4.0
func (s PathReplyEntry) HasHostInfo() bool
func (PathReplyEntry) HasPath ¶ added in v0.4.0
func (s PathReplyEntry) HasPath() bool
func (PathReplyEntry) HostInfo ¶ added in v0.4.0
func (s PathReplyEntry) HostInfo() (HostInfo, error)
func (PathReplyEntry) NewHostInfo ¶ added in v0.4.0
func (s PathReplyEntry) NewHostInfo() (HostInfo, error)
NewHostInfo sets the hostInfo field to a newly allocated HostInfo struct, preferring placement in s's segment.
func (PathReplyEntry) NewPath ¶ added in v0.4.0
func (s PathReplyEntry) NewPath() (FwdPathMeta, error)
NewPath sets the path field to a newly allocated FwdPathMeta struct, preferring placement in s's segment.
func (PathReplyEntry) Path ¶ added in v0.4.0
func (s PathReplyEntry) Path() (FwdPathMeta, error)
func (PathReplyEntry) SetHostInfo ¶ added in v0.4.0
func (s PathReplyEntry) SetHostInfo(v HostInfo) error
func (PathReplyEntry) SetPath ¶ added in v0.4.0
func (s PathReplyEntry) SetPath(v FwdPathMeta) error
func (PathReplyEntry) String ¶ added in v0.4.0
func (s PathReplyEntry) String() string
type PathReplyEntry_List ¶ added in v0.4.0
PathReplyEntry_List is a list of PathReplyEntry.
func NewPathReplyEntry_List ¶ added in v0.4.0
func NewPathReplyEntry_List(s *capnp.Segment, sz int32) (PathReplyEntry_List, error)
NewPathReplyEntry creates a new list of PathReplyEntry.
func (PathReplyEntry_List) At ¶ added in v0.4.0
func (s PathReplyEntry_List) At(i int) PathReplyEntry
func (PathReplyEntry_List) Set ¶ added in v0.4.0
func (s PathReplyEntry_List) Set(i int, v PathReplyEntry) error
func (PathReplyEntry_List) String ¶ added in v0.4.0
func (s PathReplyEntry_List) String() string
type PathReplyEntry_Promise ¶ added in v0.4.0
PathReplyEntry_Promise is a wrapper for a PathReplyEntry promised by a client call.
func (PathReplyEntry_Promise) HostInfo ¶ added in v0.4.0
func (p PathReplyEntry_Promise) HostInfo() HostInfo_Promise
func (PathReplyEntry_Promise) Path ¶ added in v0.4.0
func (p PathReplyEntry_Promise) Path() FwdPathMeta_Promise
func (PathReplyEntry_Promise) Struct ¶ added in v0.4.0
func (p PathReplyEntry_Promise) Struct() (PathReplyEntry, error)
type PathReply_List ¶ added in v0.4.0
PathReply_List is a list of PathReply.
func NewPathReply_List ¶ added in v0.4.0
func NewPathReply_List(s *capnp.Segment, sz int32) (PathReply_List, error)
NewPathReply creates a new list of PathReply.
func (PathReply_List) At ¶ added in v0.4.0
func (s PathReply_List) At(i int) PathReply
func (PathReply_List) String ¶ added in v0.4.0
func (s PathReply_List) String() string
type PathReply_Promise ¶ added in v0.4.0
PathReply_Promise is a wrapper for a PathReply promised by a client call.
func (PathReply_Promise) Struct ¶ added in v0.4.0
func (p PathReply_Promise) Struct() (PathReply, error)
type PathReq ¶ added in v0.4.0
func (PathReq) Flags ¶ added in v0.4.0
func (s PathReq) Flags() PathReq_flags
func (PathReq) HpCfgs ¶ added in v0.4.0
func (s PathReq) HpCfgs() (HPGroupId_List, error)
func (PathReq) NewHpCfgs ¶ added in v0.4.0
func (s PathReq) NewHpCfgs(n int32) (HPGroupId_List, error)
NewHpCfgs sets the hpCfgs field to a newly allocated HPGroupId_List, preferring placement in s's segment.
func (PathReq) SetHpCfgs ¶ added in v0.4.0
func (s PathReq) SetHpCfgs(v HPGroupId_List) error
func (PathReq) SetMaxPaths ¶ added in v0.4.0
type PathReq_List ¶ added in v0.4.0
PathReq_List is a list of PathReq.
func NewPathReq_List ¶ added in v0.4.0
func NewPathReq_List(s *capnp.Segment, sz int32) (PathReq_List, error)
NewPathReq creates a new list of PathReq.
func (PathReq_List) At ¶ added in v0.4.0
func (s PathReq_List) At(i int) PathReq
func (PathReq_List) String ¶ added in v0.4.0
func (s PathReq_List) String() string
type PathReq_Promise ¶ added in v0.4.0
PathReq_Promise is a wrapper for a PathReq promised by a client call.
func (PathReq_Promise) Flags ¶ added in v0.4.0
func (p PathReq_Promise) Flags() PathReq_flags_Promise
func (PathReq_Promise) Struct ¶ added in v0.4.0
func (p PathReq_Promise) Struct() (PathReq, error)
type PathReq_flags ¶ added in v0.4.0
type PathReq_flags PathReq
func (PathReq_flags) Hidden ¶ added in v0.4.0
func (s PathReq_flags) Hidden() bool
func (PathReq_flags) Refresh ¶ added in v0.4.0
func (s PathReq_flags) Refresh() bool
func (PathReq_flags) SetHidden ¶ added in v0.4.0
func (s PathReq_flags) SetHidden(v bool)
func (PathReq_flags) SetRefresh ¶ added in v0.4.0
func (s PathReq_flags) SetRefresh(v bool)
type PathReq_flags_Promise ¶ added in v0.4.0
PathReq_flags_Promise is a wrapper for a PathReq_flags promised by a client call.
func (PathReq_flags_Promise) Struct ¶ added in v0.4.0
func (p PathReq_flags_Promise) Struct() (PathReq_flags, error)
type PathSegMeta ¶ added in v0.4.0
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
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 (s PathSegMeta_List) At(i int) PathSegMeta
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
PathSegMeta_Promise is a wrapper for a PathSegMeta promised by a client call.
func (PathSegMeta_Promise) PathSeg ¶ added in v0.4.0
func (p PathSegMeta_Promise) PathSeg() PathSegment_Promise
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
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 (l PathSegType_List) At(i int) PathSegType
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
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
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) SetInfoF ¶ added in v0.4.0
func (s PathSegmentSignedData) SetInfoF(v []byte) error
func (PathSegmentSignedData) String ¶ added in v0.4.0
func (s PathSegmentSignedData) String() string
type PathSegmentSignedData_List ¶ added in v0.4.0
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 (s PathSegmentSignedData_List) At(i int) PathSegmentSignedData
func (PathSegmentSignedData_List) Set ¶ added in v0.4.0
func (s PathSegmentSignedData_List) Set(i int, v PathSegmentSignedData) error
func (PathSegmentSignedData_List) String ¶ added in v0.4.0
func (s PathSegmentSignedData_List) String() string
type PathSegmentSignedData_Promise ¶ added in v0.4.0
PathSegmentSignedData_Promise is a wrapper for a PathSegmentSignedData promised by a client call.
func (PathSegmentSignedData_Promise) Struct ¶ added in v0.4.0
func (p PathSegmentSignedData_Promise) Struct() (PathSegmentSignedData, error)
type PathSegment_List ¶ added in v0.4.0
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 (s PathSegment_List) At(i int) PathSegment
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
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 RevInfo ¶ added in v0.4.0
func (RevInfo) SetLinkType ¶ added in v0.4.0
func (RevInfo) SetTimestamp ¶ added in v0.4.0
type RevInfo_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s RevInfo_List) String() string
type RevInfo_Promise ¶ added in v0.4.0
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 RevNotification ¶ added in v0.4.0
func NewRevNotification ¶ added in v0.4.0
func NewRevNotification(s *capnp.Segment) (RevNotification, error)
func NewRootRevNotification ¶ added in v0.4.0
func NewRootRevNotification(s *capnp.Segment) (RevNotification, error)
func ReadRootRevNotification ¶ added in v0.4.0
func ReadRootRevNotification(msg *capnp.Message) (RevNotification, error)
func (RevNotification) HasSRevInfo ¶ added in v0.4.0
func (s RevNotification) HasSRevInfo() bool
func (RevNotification) NewSRevInfo ¶ added in v0.4.0
func (s RevNotification) NewSRevInfo() (SignedBlob, error)
NewSRevInfo sets the sRevInfo field to a newly allocated SignedBlob struct, preferring placement in s's segment.
func (RevNotification) SRevInfo ¶ added in v0.4.0
func (s RevNotification) SRevInfo() (SignedBlob, error)
func (RevNotification) SetSRevInfo ¶ added in v0.4.0
func (s RevNotification) SetSRevInfo(v SignedBlob) error
func (RevNotification) String ¶ added in v0.4.0
func (s RevNotification) String() string
type RevNotification_List ¶ added in v0.4.0
RevNotification_List is a list of RevNotification.
func NewRevNotification_List ¶ added in v0.4.0
func NewRevNotification_List(s *capnp.Segment, sz int32) (RevNotification_List, error)
NewRevNotification creates a new list of RevNotification.
func (RevNotification_List) At ¶ added in v0.4.0
func (s RevNotification_List) At(i int) RevNotification
func (RevNotification_List) Set ¶ added in v0.4.0
func (s RevNotification_List) Set(i int, v RevNotification) error
func (RevNotification_List) String ¶ added in v0.4.0
func (s RevNotification_List) String() string
type RevNotification_Promise ¶ added in v0.4.0
RevNotification_Promise is a wrapper for a RevNotification promised by a client call.
func (RevNotification_Promise) SRevInfo ¶ added in v0.4.0
func (p RevNotification_Promise) SRevInfo() SignedBlob_Promise
func (RevNotification_Promise) Struct ¶ added in v0.4.0
func (p RevNotification_Promise) Struct() (RevNotification, error)
type RevReply_List ¶ added in v0.4.0
RevReply_List is a list of RevReply.
func NewRevReply_List ¶ added in v0.4.0
func NewRevReply_List(s *capnp.Segment, sz int32) (RevReply_List, error)
NewRevReply creates a new list of RevReply.
func (RevReply_List) At ¶ added in v0.4.0
func (s RevReply_List) At(i int) RevReply
func (RevReply_List) String ¶ added in v0.4.0
func (s RevReply_List) String() string
type RevReply_Promise ¶ added in v0.4.0
RevReply_Promise is a wrapper for a RevReply promised by a client call.
func (RevReply_Promise) Struct ¶ added in v0.4.0
func (p RevReply_Promise) Struct() (RevReply, error)
type RoutingPolicyExt ¶ added in v0.4.0
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
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 (s RoutingPolicyExt_List) At(i int) RoutingPolicyExt
func (RoutingPolicyExt_List) Set ¶ added in v0.4.0
func (s RoutingPolicyExt_List) Set(i int, v RoutingPolicyExt) error
func (RoutingPolicyExt_List) String ¶ added in v0.4.0
func (s RoutingPolicyExt_List) String() string
type RoutingPolicyExt_Promise ¶ added in v0.4.0
RoutingPolicyExt_Promise is a wrapper for a RoutingPolicyExt promised by a client call.
func (RoutingPolicyExt_Promise) Struct ¶ added in v0.4.0
func (p RoutingPolicyExt_Promise) Struct() (RoutingPolicyExt, error)
type SCIONDMsg ¶ added in v0.4.0
func ReadRootSCIONDMsg ¶ added in v0.4.0
func (SCIONDMsg) AsInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) AsInfoReply() (ASInfoReply, error)
func (SCIONDMsg) HasAsInfoReply ¶ added in v0.4.0
func (SCIONDMsg) HasAsInfoReq ¶ added in v0.4.0
func (SCIONDMsg) HasIfInfoReply ¶ added in v0.4.0
func (SCIONDMsg) HasIfInfoRequest ¶ added in v0.4.0
func (SCIONDMsg) HasPathReply ¶ added in v0.4.0
func (SCIONDMsg) HasPathReq ¶ added in v0.4.0
func (SCIONDMsg) HasRevNotification ¶ added in v0.4.0
func (SCIONDMsg) HasRevReply ¶ added in v0.4.0
func (SCIONDMsg) HasSegTypeHopReply ¶ added in v0.4.0
func (SCIONDMsg) HasSegTypeHopReq ¶ added in v0.4.0
func (SCIONDMsg) HasServiceInfoReply ¶ added in v0.4.0
func (SCIONDMsg) HasServiceInfoRequest ¶ added in v0.4.0
func (SCIONDMsg) IfInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) IfInfoReply() (IFInfoReply, error)
func (SCIONDMsg) IfInfoRequest ¶ added in v0.4.0
func (s SCIONDMsg) IfInfoRequest() (IFInfoRequest, error)
func (SCIONDMsg) NewAsInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) NewAsInfoReply() (ASInfoReply, error)
NewAsInfoReply sets the asInfoReply field to a newly allocated ASInfoReply struct, preferring placement in s's segment.
func (SCIONDMsg) NewAsInfoReq ¶ added in v0.4.0
NewAsInfoReq sets the asInfoReq field to a newly allocated ASInfoReq struct, preferring placement in s's segment.
func (SCIONDMsg) NewIfInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) NewIfInfoReply() (IFInfoReply, error)
NewIfInfoReply sets the ifInfoReply field to a newly allocated IFInfoReply struct, preferring placement in s's segment.
func (SCIONDMsg) NewIfInfoRequest ¶ added in v0.4.0
func (s SCIONDMsg) NewIfInfoRequest() (IFInfoRequest, error)
NewIfInfoRequest sets the ifInfoRequest field to a newly allocated IFInfoRequest struct, preferring placement in s's segment.
func (SCIONDMsg) NewPathReply ¶ added in v0.4.0
NewPathReply sets the pathReply field to a newly allocated PathReply struct, preferring placement in s's segment.
func (SCIONDMsg) NewPathReq ¶ added in v0.4.0
NewPathReq sets the pathReq field to a newly allocated PathReq struct, preferring placement in s's segment.
func (SCIONDMsg) NewRevNotification ¶ added in v0.4.0
func (s SCIONDMsg) NewRevNotification() (RevNotification, error)
NewRevNotification sets the revNotification field to a newly allocated RevNotification struct, preferring placement in s's segment.
func (SCIONDMsg) NewRevReply ¶ added in v0.4.0
NewRevReply sets the revReply field to a newly allocated RevReply struct, preferring placement in s's segment.
func (SCIONDMsg) NewSegTypeHopReply ¶ added in v0.4.0
func (s SCIONDMsg) NewSegTypeHopReply() (SegTypeHopReply, error)
NewSegTypeHopReply sets the segTypeHopReply field to a newly allocated SegTypeHopReply struct, preferring placement in s's segment.
func (SCIONDMsg) NewSegTypeHopReq ¶ added in v0.4.0
func (s SCIONDMsg) NewSegTypeHopReq() (SegTypeHopReq, error)
NewSegTypeHopReq sets the segTypeHopReq field to a newly allocated SegTypeHopReq struct, preferring placement in s's segment.
func (SCIONDMsg) NewServiceInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) NewServiceInfoReply() (ServiceInfoReply, error)
NewServiceInfoReply sets the serviceInfoReply field to a newly allocated ServiceInfoReply struct, preferring placement in s's segment.
func (SCIONDMsg) NewServiceInfoRequest ¶ added in v0.4.0
func (s SCIONDMsg) NewServiceInfoRequest() (ServiceInfoRequest, error)
NewServiceInfoRequest sets the serviceInfoRequest field to a newly allocated ServiceInfoRequest struct, preferring placement in s's segment.
func (SCIONDMsg) RevNotification ¶ added in v0.4.0
func (s SCIONDMsg) RevNotification() (RevNotification, error)
func (SCIONDMsg) SegTypeHopReply ¶ added in v0.4.0
func (s SCIONDMsg) SegTypeHopReply() (SegTypeHopReply, error)
func (SCIONDMsg) SegTypeHopReq ¶ added in v0.4.0
func (s SCIONDMsg) SegTypeHopReq() (SegTypeHopReq, error)
func (SCIONDMsg) ServiceInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) ServiceInfoReply() (ServiceInfoReply, error)
func (SCIONDMsg) ServiceInfoRequest ¶ added in v0.4.0
func (s SCIONDMsg) ServiceInfoRequest() (ServiceInfoRequest, error)
func (SCIONDMsg) SetAsInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) SetAsInfoReply(v ASInfoReply) error
func (SCIONDMsg) SetAsInfoReq ¶ added in v0.4.0
func (SCIONDMsg) SetIfInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) SetIfInfoReply(v IFInfoReply) error
func (SCIONDMsg) SetIfInfoRequest ¶ added in v0.4.0
func (s SCIONDMsg) SetIfInfoRequest(v IFInfoRequest) error
func (SCIONDMsg) SetPathReply ¶ added in v0.4.0
func (SCIONDMsg) SetPathReq ¶ added in v0.4.0
func (SCIONDMsg) SetRevNotification ¶ added in v0.4.0
func (s SCIONDMsg) SetRevNotification(v RevNotification) error
func (SCIONDMsg) SetRevReply ¶ added in v0.4.0
func (SCIONDMsg) SetSegTypeHopReply ¶ added in v0.4.0
func (s SCIONDMsg) SetSegTypeHopReply(v SegTypeHopReply) error
func (SCIONDMsg) SetSegTypeHopReq ¶ added in v0.4.0
func (s SCIONDMsg) SetSegTypeHopReq(v SegTypeHopReq) error
func (SCIONDMsg) SetServiceInfoReply ¶ added in v0.4.0
func (s SCIONDMsg) SetServiceInfoReply(v ServiceInfoReply) error
func (SCIONDMsg) SetServiceInfoRequest ¶ added in v0.4.0
func (s SCIONDMsg) SetServiceInfoRequest(v ServiceInfoRequest) error
func (SCIONDMsg) Which ¶ added in v0.4.0
func (s SCIONDMsg) Which() SCIONDMsg_Which
type SCIONDMsg_List ¶ added in v0.4.0
SCIONDMsg_List is a list of SCIONDMsg.
func NewSCIONDMsg_List ¶ added in v0.4.0
func NewSCIONDMsg_List(s *capnp.Segment, sz int32) (SCIONDMsg_List, error)
NewSCIONDMsg creates a new list of SCIONDMsg.
func (SCIONDMsg_List) At ¶ added in v0.4.0
func (s SCIONDMsg_List) At(i int) SCIONDMsg
func (SCIONDMsg_List) String ¶ added in v0.4.0
func (s SCIONDMsg_List) String() string
type SCIONDMsg_Promise ¶ added in v0.4.0
SCIONDMsg_Promise is a wrapper for a SCIONDMsg promised by a client call.
func (SCIONDMsg_Promise) AsInfoReply ¶ added in v0.4.0
func (p SCIONDMsg_Promise) AsInfoReply() ASInfoReply_Promise
func (SCIONDMsg_Promise) AsInfoReq ¶ added in v0.4.0
func (p SCIONDMsg_Promise) AsInfoReq() ASInfoReq_Promise
func (SCIONDMsg_Promise) IfInfoReply ¶ added in v0.4.0
func (p SCIONDMsg_Promise) IfInfoReply() IFInfoReply_Promise
func (SCIONDMsg_Promise) IfInfoRequest ¶ added in v0.4.0
func (p SCIONDMsg_Promise) IfInfoRequest() IFInfoRequest_Promise
func (SCIONDMsg_Promise) PathReply ¶ added in v0.4.0
func (p SCIONDMsg_Promise) PathReply() PathReply_Promise
func (SCIONDMsg_Promise) PathReq ¶ added in v0.4.0
func (p SCIONDMsg_Promise) PathReq() PathReq_Promise
func (SCIONDMsg_Promise) RevNotification ¶ added in v0.4.0
func (p SCIONDMsg_Promise) RevNotification() RevNotification_Promise
func (SCIONDMsg_Promise) RevReply ¶ added in v0.4.0
func (p SCIONDMsg_Promise) RevReply() RevReply_Promise
func (SCIONDMsg_Promise) SegTypeHopReply ¶ added in v0.4.0
func (p SCIONDMsg_Promise) SegTypeHopReply() SegTypeHopReply_Promise
func (SCIONDMsg_Promise) SegTypeHopReq ¶ added in v0.4.0
func (p SCIONDMsg_Promise) SegTypeHopReq() SegTypeHopReq_Promise
func (SCIONDMsg_Promise) ServiceInfoReply ¶ added in v0.4.0
func (p SCIONDMsg_Promise) ServiceInfoReply() ServiceInfoReply_Promise
func (SCIONDMsg_Promise) ServiceInfoRequest ¶ added in v0.4.0
func (p SCIONDMsg_Promise) ServiceInfoRequest() ServiceInfoRequest_Promise
func (SCIONDMsg_Promise) Struct ¶ added in v0.4.0
func (p SCIONDMsg_Promise) Struct() (SCIONDMsg, error)
type SCIONDMsg_Which ¶ added in v0.4.0
type SCIONDMsg_Which uint16
const ( SCIONDMsg_Which_unset SCIONDMsg_Which = 0 SCIONDMsg_Which_pathReq SCIONDMsg_Which = 1 SCIONDMsg_Which_pathReply SCIONDMsg_Which = 2 SCIONDMsg_Which_asInfoReq SCIONDMsg_Which = 3 SCIONDMsg_Which_asInfoReply SCIONDMsg_Which = 4 SCIONDMsg_Which_revNotification SCIONDMsg_Which = 5 SCIONDMsg_Which_ifInfoRequest SCIONDMsg_Which = 6 SCIONDMsg_Which_ifInfoReply SCIONDMsg_Which = 7 SCIONDMsg_Which_serviceInfoRequest SCIONDMsg_Which = 8 SCIONDMsg_Which_serviceInfoReply SCIONDMsg_Which = 9 SCIONDMsg_Which_revReply SCIONDMsg_Which = 10 SCIONDMsg_Which_segTypeHopReq SCIONDMsg_Which = 11 SCIONDMsg_Which_segTypeHopReply SCIONDMsg_Which = 12 )
func (SCIONDMsg_Which) String ¶ added in v0.4.0
func (w SCIONDMsg_Which) String() string
type SIGAddr ¶ added in v0.4.0
func (SIGAddr) NewCtrl ¶ added in v0.4.0
NewCtrl sets the ctrl field to a newly allocated HostInfo struct, preferring placement in s's segment.
func (SIGAddr) SetEncapPort ¶ added in v0.4.0
type SIGAddr_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s SIGAddr_List) String() string
type SIGAddr_Promise ¶ added in v0.4.0
SIGAddr_Promise is a wrapper for a SIGAddr promised by a client call.
func (SIGAddr_Promise) Ctrl ¶ added in v0.4.0
func (p SIGAddr_Promise) Ctrl() HostInfo_Promise
func (SIGAddr_Promise) Struct ¶ added in v0.4.0
func (p SIGAddr_Promise) Struct() (SIGAddr, error)
type SIGCtrl ¶ added in v0.4.0
func (SIGCtrl) HasPollRep ¶ added in v0.4.0
func (SIGCtrl) HasPollReq ¶ added in v0.4.0
func (SIGCtrl) NewPollRep ¶ added in v0.4.0
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
NewPollReq sets the pollReq field to a newly allocated SIGPoll struct, preferring placement in s's segment.
func (SIGCtrl) SetPollRep ¶ added in v0.4.0
func (SIGCtrl) SetPollReq ¶ added in v0.4.0
func (SIGCtrl) Which ¶ added in v0.4.0
func (s SIGCtrl) Which() SIGCtrl_Which
type SIGCtrl_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s SIGCtrl_List) String() string
type SIGCtrl_Promise ¶ added in v0.4.0
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
func (SIGPoll) NewAddr ¶ added in v0.4.0
NewAddr sets the addr field to a newly allocated SIGAddr struct, preferring placement in s's segment.
func (SIGPoll) SetSession ¶ added in v0.4.0
type SIGPoll_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s SIGPoll_List) String() string
type SIGPoll_Promise ¶ added in v0.4.0
SIGPoll_Promise is a wrapper for a SIGPoll promised by a client call.
func (SIGPoll_Promise) Addr ¶ added in v0.4.0
func (p SIGPoll_Promise) Addr() SIGAddr_Promise
func (SIGPoll_Promise) Struct ¶ added in v0.4.0
func (p SIGPoll_Promise) Struct() (SIGPoll, error)
type SVCResolutionReply ¶ added in v0.4.0
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
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 (s SVCResolutionReply_List) At(i int) SVCResolutionReply
func (SVCResolutionReply_List) Set ¶ added in v0.4.0
func (s SVCResolutionReply_List) Set(i int, v SVCResolutionReply) error
func (SVCResolutionReply_List) String ¶ added in v0.4.0
func (s SVCResolutionReply_List) String() string
type SVCResolutionReply_Promise ¶ added in v0.4.0
SVCResolutionReply_Promise is a wrapper for a SVCResolutionReply promised by a client call.
func (SVCResolutionReply_Promise) Struct ¶ added in v0.4.0
func (p SVCResolutionReply_Promise) Struct() (SVCResolutionReply, error)
type SegChangesIdReply ¶ added in v0.4.0
func NewRootSegChangesIdReply ¶ added in v0.4.0
func NewRootSegChangesIdReply(s *capnp.Segment) (SegChangesIdReply, error)
func NewSegChangesIdReply ¶ added in v0.4.0
func NewSegChangesIdReply(s *capnp.Segment) (SegChangesIdReply, error)
func ReadRootSegChangesIdReply ¶ added in v0.4.0
func ReadRootSegChangesIdReply(msg *capnp.Message) (SegChangesIdReply, error)
func (SegChangesIdReply) HasIds ¶ added in v0.4.0
func (s SegChangesIdReply) HasIds() bool
func (SegChangesIdReply) Ids ¶ added in v0.4.0
func (s SegChangesIdReply) Ids() (SegIds_List, error)
func (SegChangesIdReply) NewIds ¶ added in v0.4.0
func (s SegChangesIdReply) NewIds(n int32) (SegIds_List, error)
NewIds sets the ids field to a newly allocated SegIds_List, preferring placement in s's segment.
func (SegChangesIdReply) SetIds ¶ added in v0.4.0
func (s SegChangesIdReply) SetIds(v SegIds_List) error
func (SegChangesIdReply) String ¶ added in v0.4.0
func (s SegChangesIdReply) String() string
type SegChangesIdReply_List ¶ added in v0.4.0
SegChangesIdReply_List is a list of SegChangesIdReply.
func NewSegChangesIdReply_List ¶ added in v0.4.0
func NewSegChangesIdReply_List(s *capnp.Segment, sz int32) (SegChangesIdReply_List, error)
NewSegChangesIdReply creates a new list of SegChangesIdReply.
func (SegChangesIdReply_List) At ¶ added in v0.4.0
func (s SegChangesIdReply_List) At(i int) SegChangesIdReply
func (SegChangesIdReply_List) Set ¶ added in v0.4.0
func (s SegChangesIdReply_List) Set(i int, v SegChangesIdReply) error
func (SegChangesIdReply_List) String ¶ added in v0.4.0
func (s SegChangesIdReply_List) String() string
type SegChangesIdReply_Promise ¶ added in v0.4.0
SegChangesIdReply_Promise is a wrapper for a SegChangesIdReply promised by a client call.
func (SegChangesIdReply_Promise) Struct ¶ added in v0.4.0
func (p SegChangesIdReply_Promise) Struct() (SegChangesIdReply, error)
type SegChangesIdReq ¶ added in v0.4.0
func NewRootSegChangesIdReq ¶ added in v0.4.0
func NewRootSegChangesIdReq(s *capnp.Segment) (SegChangesIdReq, error)
func NewSegChangesIdReq ¶ added in v0.4.0
func NewSegChangesIdReq(s *capnp.Segment) (SegChangesIdReq, error)
func ReadRootSegChangesIdReq ¶ added in v0.4.0
func ReadRootSegChangesIdReq(msg *capnp.Message) (SegChangesIdReq, error)
func (SegChangesIdReq) LastCheck ¶ added in v0.4.0
func (s SegChangesIdReq) LastCheck() uint32
func (SegChangesIdReq) SetLastCheck ¶ added in v0.4.0
func (s SegChangesIdReq) SetLastCheck(v uint32)
func (SegChangesIdReq) String ¶ added in v0.4.0
func (s SegChangesIdReq) String() string
type SegChangesIdReq_List ¶ added in v0.4.0
SegChangesIdReq_List is a list of SegChangesIdReq.
func NewSegChangesIdReq_List ¶ added in v0.4.0
func NewSegChangesIdReq_List(s *capnp.Segment, sz int32) (SegChangesIdReq_List, error)
NewSegChangesIdReq creates a new list of SegChangesIdReq.
func (SegChangesIdReq_List) At ¶ added in v0.4.0
func (s SegChangesIdReq_List) At(i int) SegChangesIdReq
func (SegChangesIdReq_List) Set ¶ added in v0.4.0
func (s SegChangesIdReq_List) Set(i int, v SegChangesIdReq) error
func (SegChangesIdReq_List) String ¶ added in v0.4.0
func (s SegChangesIdReq_List) String() string
type SegChangesIdReq_Promise ¶ added in v0.4.0
SegChangesIdReq_Promise is a wrapper for a SegChangesIdReq promised by a client call.
func (SegChangesIdReq_Promise) Struct ¶ added in v0.4.0
func (p SegChangesIdReq_Promise) Struct() (SegChangesIdReq, error)
type SegChangesReq ¶ added in v0.4.0
func NewRootSegChangesReq ¶ added in v0.4.0
func NewRootSegChangesReq(s *capnp.Segment) (SegChangesReq, error)
func NewSegChangesReq ¶ added in v0.4.0
func NewSegChangesReq(s *capnp.Segment) (SegChangesReq, error)
func ReadRootSegChangesReq ¶ added in v0.4.0
func ReadRootSegChangesReq(msg *capnp.Message) (SegChangesReq, error)
func (SegChangesReq) HasSegIds ¶ added in v0.4.0
func (s SegChangesReq) HasSegIds() bool
func (SegChangesReq) NewSegIds ¶ added in v0.4.0
func (s SegChangesReq) NewSegIds(n int32) (capnp.DataList, error)
NewSegIds sets the segIds field to a newly allocated capnp.DataList, preferring placement in s's segment.
func (SegChangesReq) SegIds ¶ added in v0.4.0
func (s SegChangesReq) SegIds() (capnp.DataList, error)
func (SegChangesReq) SetSegIds ¶ added in v0.4.0
func (s SegChangesReq) SetSegIds(v capnp.DataList) error
func (SegChangesReq) String ¶ added in v0.4.0
func (s SegChangesReq) String() string
type SegChangesReq_List ¶ added in v0.4.0
SegChangesReq_List is a list of SegChangesReq.
func NewSegChangesReq_List ¶ added in v0.4.0
func NewSegChangesReq_List(s *capnp.Segment, sz int32) (SegChangesReq_List, error)
NewSegChangesReq creates a new list of SegChangesReq.
func (SegChangesReq_List) At ¶ added in v0.4.0
func (s SegChangesReq_List) At(i int) SegChangesReq
func (SegChangesReq_List) Set ¶ added in v0.4.0
func (s SegChangesReq_List) Set(i int, v SegChangesReq) error
func (SegChangesReq_List) String ¶ added in v0.4.0
func (s SegChangesReq_List) String() string
type SegChangesReq_Promise ¶ added in v0.4.0
SegChangesReq_Promise is a wrapper for a SegChangesReq promised by a client call.
func (SegChangesReq_Promise) Struct ¶ added in v0.4.0
func (p SegChangesReq_Promise) Struct() (SegChangesReq, error)
type SegIds_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s SegIds_List) String() string
type SegIds_Promise ¶ added in v0.4.0
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 SegRecs ¶ added in v0.4.0
func (SegRecs) HasSRevInfos ¶ added in v0.4.0
func (SegRecs) NewRecs ¶ added in v0.4.0
func (s SegRecs) NewRecs(n int32) (PathSegMeta_List, error)
NewRecs sets the recs field to a newly allocated PathSegMeta_List, preferring placement in s's segment.
func (SegRecs) NewSRevInfos ¶ added in v0.4.0
func (s SegRecs) NewSRevInfos(n int32) (SignedBlob_List, error)
NewSRevInfos sets the sRevInfos field to a newly allocated SignedBlob_List, preferring placement in s's segment.
func (SegRecs) Recs ¶ added in v0.4.0
func (s SegRecs) Recs() (PathSegMeta_List, error)
func (SegRecs) SRevInfos ¶ added in v0.4.0
func (s SegRecs) SRevInfos() (SignedBlob_List, error)
func (SegRecs) SetRecs ¶ added in v0.4.0
func (s SegRecs) SetRecs(v PathSegMeta_List) error
func (SegRecs) SetSRevInfos ¶ added in v0.4.0
func (s SegRecs) SetSRevInfos(v SignedBlob_List) error
type SegRecs_List ¶ added in v0.4.0
SegRecs_List is a list of SegRecs.
func NewSegRecs_List ¶ added in v0.4.0
func NewSegRecs_List(s *capnp.Segment, sz int32) (SegRecs_List, error)
NewSegRecs creates a new list of SegRecs.
func (SegRecs_List) At ¶ added in v0.4.0
func (s SegRecs_List) At(i int) SegRecs
func (SegRecs_List) String ¶ added in v0.4.0
func (s SegRecs_List) String() string
type SegRecs_Promise ¶ added in v0.4.0
SegRecs_Promise is a wrapper for a SegRecs promised by a client call.
func (SegRecs_Promise) Struct ¶ added in v0.4.0
func (p SegRecs_Promise) Struct() (SegRecs, error)
type SegReply ¶ added in v0.4.0
func (SegReply) NewRecs ¶ added in v0.4.0
NewRecs sets the recs field to a newly allocated SegRecs struct, preferring placement in s's segment.
type SegReply_List ¶ added in v0.4.0
SegReply_List is a list of SegReply.
func NewSegReply_List ¶ added in v0.4.0
func NewSegReply_List(s *capnp.Segment, sz int32) (SegReply_List, error)
NewSegReply creates a new list of SegReply.
func (SegReply_List) At ¶ added in v0.4.0
func (s SegReply_List) At(i int) SegReply
func (SegReply_List) String ¶ added in v0.4.0
func (s SegReply_List) String() string
type SegReply_Promise ¶ added in v0.4.0
SegReply_Promise is a wrapper for a SegReply promised by a client call.
func (SegReply_Promise) Recs ¶ added in v0.4.0
func (p SegReply_Promise) Recs() SegRecs_Promise
func (SegReply_Promise) Req ¶ added in v0.4.0
func (p SegReply_Promise) Req() SegReq_Promise
func (SegReply_Promise) Struct ¶ added in v0.4.0
func (p SegReply_Promise) Struct() (SegReply, error)
type SegReq ¶ added in v0.4.0
func (SegReq) Flags ¶ added in v0.4.0
func (s SegReq) Flags() SegReq_flags
type SegReq_List ¶ added in v0.4.0
SegReq_List is a list of SegReq.
func NewSegReq_List ¶ added in v0.4.0
func NewSegReq_List(s *capnp.Segment, sz int32) (SegReq_List, error)
NewSegReq creates a new list of SegReq.
func (SegReq_List) At ¶ added in v0.4.0
func (s SegReq_List) At(i int) SegReq
func (SegReq_List) String ¶ added in v0.4.0
func (s SegReq_List) String() string
type SegReq_Promise ¶ added in v0.4.0
SegReq_Promise is a wrapper for a SegReq promised by a client call.
func (SegReq_Promise) Flags ¶ added in v0.4.0
func (p SegReq_Promise) Flags() SegReq_flags_Promise
func (SegReq_Promise) Struct ¶ added in v0.4.0
func (p SegReq_Promise) Struct() (SegReq, error)
type SegReq_flags ¶ added in v0.4.0
type SegReq_flags SegReq
func (SegReq_flags) CacheOnly ¶ added in v0.4.0
func (s SegReq_flags) CacheOnly() bool
func (SegReq_flags) SetCacheOnly ¶ added in v0.4.0
func (s SegReq_flags) SetCacheOnly(v bool)
func (SegReq_flags) SetSibra ¶ added in v0.4.0
func (s SegReq_flags) SetSibra(v bool)
func (SegReq_flags) Sibra ¶ added in v0.4.0
func (s SegReq_flags) Sibra() bool
type SegReq_flags_Promise ¶ added in v0.4.0
SegReq_flags_Promise is a wrapper for a SegReq_flags promised by a client call.
func (SegReq_flags_Promise) Struct ¶ added in v0.4.0
func (p SegReq_flags_Promise) Struct() (SegReq_flags, error)
type SegTypeHopReply ¶ added in v0.4.0
func NewRootSegTypeHopReply ¶ added in v0.4.0
func NewRootSegTypeHopReply(s *capnp.Segment) (SegTypeHopReply, error)
func NewSegTypeHopReply ¶ added in v0.4.0
func NewSegTypeHopReply(s *capnp.Segment) (SegTypeHopReply, error)
func ReadRootSegTypeHopReply ¶ added in v0.4.0
func ReadRootSegTypeHopReply(msg *capnp.Message) (SegTypeHopReply, error)
func (SegTypeHopReply) Entries ¶ added in v0.4.0
func (s SegTypeHopReply) Entries() (SegTypeHopReplyEntry_List, error)
func (SegTypeHopReply) HasEntries ¶ added in v0.4.0
func (s SegTypeHopReply) HasEntries() bool
func (SegTypeHopReply) NewEntries ¶ added in v0.4.0
func (s SegTypeHopReply) NewEntries(n int32) (SegTypeHopReplyEntry_List, error)
NewEntries sets the entries field to a newly allocated SegTypeHopReplyEntry_List, preferring placement in s's segment.
func (SegTypeHopReply) SetEntries ¶ added in v0.4.0
func (s SegTypeHopReply) SetEntries(v SegTypeHopReplyEntry_List) error
func (SegTypeHopReply) String ¶ added in v0.4.0
func (s SegTypeHopReply) String() string
type SegTypeHopReplyEntry ¶ added in v0.4.0
func NewRootSegTypeHopReplyEntry ¶ added in v0.4.0
func NewRootSegTypeHopReplyEntry(s *capnp.Segment) (SegTypeHopReplyEntry, error)
func NewSegTypeHopReplyEntry ¶ added in v0.4.0
func NewSegTypeHopReplyEntry(s *capnp.Segment) (SegTypeHopReplyEntry, error)
func ReadRootSegTypeHopReplyEntry ¶ added in v0.4.0
func ReadRootSegTypeHopReplyEntry(msg *capnp.Message) (SegTypeHopReplyEntry, error)
func (SegTypeHopReplyEntry) ExpTime ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) ExpTime() uint32
func (SegTypeHopReplyEntry) HasInterfaces ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) HasInterfaces() bool
func (SegTypeHopReplyEntry) Interfaces ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) Interfaces() (PathInterface_List, error)
func (SegTypeHopReplyEntry) NewInterfaces ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) NewInterfaces(n int32) (PathInterface_List, error)
NewInterfaces sets the interfaces field to a newly allocated PathInterface_List, preferring placement in s's segment.
func (SegTypeHopReplyEntry) SetExpTime ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) SetExpTime(v uint32)
func (SegTypeHopReplyEntry) SetInterfaces ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) SetInterfaces(v PathInterface_List) error
func (SegTypeHopReplyEntry) SetTimestamp ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) SetTimestamp(v uint32)
func (SegTypeHopReplyEntry) String ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) String() string
func (SegTypeHopReplyEntry) Timestamp ¶ added in v0.4.0
func (s SegTypeHopReplyEntry) Timestamp() uint32
type SegTypeHopReplyEntry_List ¶ added in v0.4.0
SegTypeHopReplyEntry_List is a list of SegTypeHopReplyEntry.
func NewSegTypeHopReplyEntry_List ¶ added in v0.4.0
func NewSegTypeHopReplyEntry_List(s *capnp.Segment, sz int32) (SegTypeHopReplyEntry_List, error)
NewSegTypeHopReplyEntry creates a new list of SegTypeHopReplyEntry.
func (SegTypeHopReplyEntry_List) At ¶ added in v0.4.0
func (s SegTypeHopReplyEntry_List) At(i int) SegTypeHopReplyEntry
func (SegTypeHopReplyEntry_List) Set ¶ added in v0.4.0
func (s SegTypeHopReplyEntry_List) Set(i int, v SegTypeHopReplyEntry) error
func (SegTypeHopReplyEntry_List) String ¶ added in v0.4.0
func (s SegTypeHopReplyEntry_List) String() string
type SegTypeHopReplyEntry_Promise ¶ added in v0.4.0
SegTypeHopReplyEntry_Promise is a wrapper for a SegTypeHopReplyEntry promised by a client call.
func (SegTypeHopReplyEntry_Promise) Struct ¶ added in v0.4.0
func (p SegTypeHopReplyEntry_Promise) Struct() (SegTypeHopReplyEntry, error)
type SegTypeHopReply_List ¶ added in v0.4.0
SegTypeHopReply_List is a list of SegTypeHopReply.
func NewSegTypeHopReply_List ¶ added in v0.4.0
func NewSegTypeHopReply_List(s *capnp.Segment, sz int32) (SegTypeHopReply_List, error)
NewSegTypeHopReply creates a new list of SegTypeHopReply.
func (SegTypeHopReply_List) At ¶ added in v0.4.0
func (s SegTypeHopReply_List) At(i int) SegTypeHopReply
func (SegTypeHopReply_List) Set ¶ added in v0.4.0
func (s SegTypeHopReply_List) Set(i int, v SegTypeHopReply) error
func (SegTypeHopReply_List) String ¶ added in v0.4.0
func (s SegTypeHopReply_List) String() string
type SegTypeHopReply_Promise ¶ added in v0.4.0
SegTypeHopReply_Promise is a wrapper for a SegTypeHopReply promised by a client call.
func (SegTypeHopReply_Promise) Struct ¶ added in v0.4.0
func (p SegTypeHopReply_Promise) Struct() (SegTypeHopReply, error)
type SegTypeHopReq ¶ added in v0.4.0
func NewRootSegTypeHopReq ¶ added in v0.4.0
func NewRootSegTypeHopReq(s *capnp.Segment) (SegTypeHopReq, error)
func NewSegTypeHopReq ¶ added in v0.4.0
func NewSegTypeHopReq(s *capnp.Segment) (SegTypeHopReq, error)
func ReadRootSegTypeHopReq ¶ added in v0.4.0
func ReadRootSegTypeHopReq(msg *capnp.Message) (SegTypeHopReq, error)
func (SegTypeHopReq) SetType ¶ added in v0.4.0
func (s SegTypeHopReq) SetType(v PathSegType)
func (SegTypeHopReq) String ¶ added in v0.4.0
func (s SegTypeHopReq) String() string
func (SegTypeHopReq) Type ¶ added in v0.4.0
func (s SegTypeHopReq) Type() PathSegType
type SegTypeHopReq_List ¶ added in v0.4.0
SegTypeHopReq_List is a list of SegTypeHopReq.
func NewSegTypeHopReq_List ¶ added in v0.4.0
func NewSegTypeHopReq_List(s *capnp.Segment, sz int32) (SegTypeHopReq_List, error)
NewSegTypeHopReq creates a new list of SegTypeHopReq.
func (SegTypeHopReq_List) At ¶ added in v0.4.0
func (s SegTypeHopReq_List) At(i int) SegTypeHopReq
func (SegTypeHopReq_List) Set ¶ added in v0.4.0
func (s SegTypeHopReq_List) Set(i int, v SegTypeHopReq) error
func (SegTypeHopReq_List) String ¶ added in v0.4.0
func (s SegTypeHopReq_List) String() string
type SegTypeHopReq_Promise ¶ added in v0.4.0
SegTypeHopReq_Promise is a wrapper for a SegTypeHopReq promised by a client call.
func (SegTypeHopReq_Promise) Struct ¶ added in v0.4.0
func (p SegTypeHopReq_Promise) Struct() (SegTypeHopReq, error)
type ServiceInfoReply ¶ added in v0.4.0
func NewRootServiceInfoReply ¶ added in v0.4.0
func NewRootServiceInfoReply(s *capnp.Segment) (ServiceInfoReply, error)
func NewServiceInfoReply ¶ added in v0.4.0
func NewServiceInfoReply(s *capnp.Segment) (ServiceInfoReply, error)
func ReadRootServiceInfoReply ¶ added in v0.4.0
func ReadRootServiceInfoReply(msg *capnp.Message) (ServiceInfoReply, error)
func (ServiceInfoReply) Entries ¶ added in v0.4.0
func (s ServiceInfoReply) Entries() (ServiceInfoReplyEntry_List, error)
func (ServiceInfoReply) HasEntries ¶ added in v0.4.0
func (s ServiceInfoReply) HasEntries() bool
func (ServiceInfoReply) NewEntries ¶ added in v0.4.0
func (s ServiceInfoReply) NewEntries(n int32) (ServiceInfoReplyEntry_List, error)
NewEntries sets the entries field to a newly allocated ServiceInfoReplyEntry_List, preferring placement in s's segment.
func (ServiceInfoReply) SetEntries ¶ added in v0.4.0
func (s ServiceInfoReply) SetEntries(v ServiceInfoReplyEntry_List) error
func (ServiceInfoReply) String ¶ added in v0.4.0
func (s ServiceInfoReply) String() string
type ServiceInfoReplyEntry ¶ added in v0.4.0
func NewRootServiceInfoReplyEntry ¶ added in v0.4.0
func NewRootServiceInfoReplyEntry(s *capnp.Segment) (ServiceInfoReplyEntry, error)
func NewServiceInfoReplyEntry ¶ added in v0.4.0
func NewServiceInfoReplyEntry(s *capnp.Segment) (ServiceInfoReplyEntry, error)
func ReadRootServiceInfoReplyEntry ¶ added in v0.4.0
func ReadRootServiceInfoReplyEntry(msg *capnp.Message) (ServiceInfoReplyEntry, error)
func (ServiceInfoReplyEntry) HasHostInfos ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) HasHostInfos() bool
func (ServiceInfoReplyEntry) HostInfos ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) HostInfos() (HostInfo_List, error)
func (ServiceInfoReplyEntry) NewHostInfos ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) NewHostInfos(n int32) (HostInfo_List, error)
NewHostInfos sets the hostInfos field to a newly allocated HostInfo_List, preferring placement in s's segment.
func (ServiceInfoReplyEntry) ServiceType ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) ServiceType() ServiceType
func (ServiceInfoReplyEntry) SetHostInfos ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) SetHostInfos(v HostInfo_List) error
func (ServiceInfoReplyEntry) SetServiceType ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) SetServiceType(v ServiceType)
func (ServiceInfoReplyEntry) SetTtl ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) SetTtl(v uint32)
func (ServiceInfoReplyEntry) String ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) String() string
func (ServiceInfoReplyEntry) Ttl ¶ added in v0.4.0
func (s ServiceInfoReplyEntry) Ttl() uint32
type ServiceInfoReplyEntry_List ¶ added in v0.4.0
ServiceInfoReplyEntry_List is a list of ServiceInfoReplyEntry.
func NewServiceInfoReplyEntry_List ¶ added in v0.4.0
func NewServiceInfoReplyEntry_List(s *capnp.Segment, sz int32) (ServiceInfoReplyEntry_List, error)
NewServiceInfoReplyEntry creates a new list of ServiceInfoReplyEntry.
func (ServiceInfoReplyEntry_List) At ¶ added in v0.4.0
func (s ServiceInfoReplyEntry_List) At(i int) ServiceInfoReplyEntry
func (ServiceInfoReplyEntry_List) Set ¶ added in v0.4.0
func (s ServiceInfoReplyEntry_List) Set(i int, v ServiceInfoReplyEntry) error
func (ServiceInfoReplyEntry_List) String ¶ added in v0.4.0
func (s ServiceInfoReplyEntry_List) String() string
type ServiceInfoReplyEntry_Promise ¶ added in v0.4.0
ServiceInfoReplyEntry_Promise is a wrapper for a ServiceInfoReplyEntry promised by a client call.
func (ServiceInfoReplyEntry_Promise) Struct ¶ added in v0.4.0
func (p ServiceInfoReplyEntry_Promise) Struct() (ServiceInfoReplyEntry, error)
type ServiceInfoReply_List ¶ added in v0.4.0
ServiceInfoReply_List is a list of ServiceInfoReply.
func NewServiceInfoReply_List ¶ added in v0.4.0
func NewServiceInfoReply_List(s *capnp.Segment, sz int32) (ServiceInfoReply_List, error)
NewServiceInfoReply creates a new list of ServiceInfoReply.
func (ServiceInfoReply_List) At ¶ added in v0.4.0
func (s ServiceInfoReply_List) At(i int) ServiceInfoReply
func (ServiceInfoReply_List) Set ¶ added in v0.4.0
func (s ServiceInfoReply_List) Set(i int, v ServiceInfoReply) error
func (ServiceInfoReply_List) String ¶ added in v0.4.0
func (s ServiceInfoReply_List) String() string
type ServiceInfoReply_Promise ¶ added in v0.4.0
ServiceInfoReply_Promise is a wrapper for a ServiceInfoReply promised by a client call.
func (ServiceInfoReply_Promise) Struct ¶ added in v0.4.0
func (p ServiceInfoReply_Promise) Struct() (ServiceInfoReply, error)
type ServiceInfoRequest ¶ added in v0.4.0
func NewRootServiceInfoRequest ¶ added in v0.4.0
func NewRootServiceInfoRequest(s *capnp.Segment) (ServiceInfoRequest, error)
func NewServiceInfoRequest ¶ added in v0.4.0
func NewServiceInfoRequest(s *capnp.Segment) (ServiceInfoRequest, error)
func ReadRootServiceInfoRequest ¶ added in v0.4.0
func ReadRootServiceInfoRequest(msg *capnp.Message) (ServiceInfoRequest, error)
func (ServiceInfoRequest) HasServiceTypes ¶ added in v0.4.0
func (s ServiceInfoRequest) HasServiceTypes() bool
func (ServiceInfoRequest) NewServiceTypes ¶ added in v0.4.0
func (s ServiceInfoRequest) NewServiceTypes(n int32) (ServiceType_List, error)
NewServiceTypes sets the serviceTypes field to a newly allocated ServiceType_List, preferring placement in s's segment.
func (ServiceInfoRequest) ServiceTypes ¶ added in v0.4.0
func (s ServiceInfoRequest) ServiceTypes() (ServiceType_List, error)
func (ServiceInfoRequest) SetServiceTypes ¶ added in v0.4.0
func (s ServiceInfoRequest) SetServiceTypes(v ServiceType_List) error
func (ServiceInfoRequest) String ¶ added in v0.4.0
func (s ServiceInfoRequest) String() string
type ServiceInfoRequest_List ¶ added in v0.4.0
ServiceInfoRequest_List is a list of ServiceInfoRequest.
func NewServiceInfoRequest_List ¶ added in v0.4.0
func NewServiceInfoRequest_List(s *capnp.Segment, sz int32) (ServiceInfoRequest_List, error)
NewServiceInfoRequest creates a new list of ServiceInfoRequest.
func (ServiceInfoRequest_List) At ¶ added in v0.4.0
func (s ServiceInfoRequest_List) At(i int) ServiceInfoRequest
func (ServiceInfoRequest_List) Set ¶ added in v0.4.0
func (s ServiceInfoRequest_List) Set(i int, v ServiceInfoRequest) error
func (ServiceInfoRequest_List) String ¶ added in v0.4.0
func (s ServiceInfoRequest_List) String() string
type ServiceInfoRequest_Promise ¶ added in v0.4.0
ServiceInfoRequest_Promise is a wrapper for a ServiceInfoRequest promised by a client call.
func (ServiceInfoRequest_Promise) Struct ¶ added in v0.4.0
func (p ServiceInfoRequest_Promise) Struct() (ServiceInfoRequest, error)
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
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 (l ServiceType_List) At(i int) ServiceType
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
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) SetUp ¶ added in v0.4.0
func (s SibraPCBExt) SetUp(v bool)
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
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 (s SibraPCBExt_List) At(i int) SibraPCBExt
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
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
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
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 (s SibraPayload_List) At(i int) SibraPayload
func (SibraPayload_List) Set ¶ added in v0.4.0
func (s SibraPayload_List) Set(i int, v SibraPayload) error
func (SibraPayload_List) String ¶ added in v0.4.0
func (s SibraPayload_List) String() string
type SibraPayload_Promise ¶ added in v0.4.0
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
func (Sign) HasSignature ¶ added in v0.4.0
func (Sign) SetSignature ¶ added in v0.4.0
func (Sign) SetTimestamp ¶ added in v0.4.0
type SignS ¶
type SignS struct { Timestamp uint32 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 (*SignS) ProtoId ¶
func (s *SignS) ProtoId() ProtoIdType
func (*SignS) SetTimestamp ¶ added in v0.4.0
SetTimestamp sets the timestamp.
func (*SignS) SigInput ¶ added in v0.4.0
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.
type SignType ¶ added in v0.4.0
type SignType uint16
func SignTypeFromString ¶ added in v0.4.0
SignTypeFromString returns the enum value with a name, or the zero value if there's no such value.
type SignType_List ¶ added in v0.4.0
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
Sign_List is a list of Sign.
func NewSign_List ¶ added in v0.4.0
NewSign creates a new list of Sign.
type Sign_Promise ¶ added in v0.4.0
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
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 ¶
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
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
SignedBlob_Promise is a wrapper for a SignedBlob promised by a client call.
func (SignedBlob_Promise) Sign ¶ added in v0.4.0
func (p SignedBlob_Promise) Sign() Sign_Promise
func (SignedBlob_Promise) Struct ¶ added in v0.4.0
func (p SignedBlob_Promise) Struct() (SignedBlob, error)
type SignedCtrlPld ¶ added in v0.4.0
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
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 (s SignedCtrlPld_List) At(i int) SignedCtrlPld
func (SignedCtrlPld_List) Set ¶ added in v0.4.0
func (s SignedCtrlPld_List) Set(i int, v SignedCtrlPld) error
func (SignedCtrlPld_List) String ¶ added in v0.4.0
func (s SignedCtrlPld_List) String() string
type SignedCtrlPld_Promise ¶ added in v0.4.0
SignedCtrlPld_Promise is a wrapper for a SignedCtrlPld promised by a client call.
func (SignedCtrlPld_Promise) Sign ¶ added in v0.4.0
func (p SignedCtrlPld_Promise) Sign() Sign_Promise
func (SignedCtrlPld_Promise) Struct ¶ added in v0.4.0
func (p SignedCtrlPld_Promise) Struct() (SignedCtrlPld, error)
type TRCReq ¶ added in v0.4.0
func (TRCReq) SetCacheOnly ¶ added in v0.4.0
func (TRCReq) SetVersion ¶ added in v0.4.0
type TRCReq_List ¶ added in v0.4.0
TRCReq_List is a list of TRCReq.
func NewTRCReq_List ¶ added in v0.4.0
func NewTRCReq_List(s *capnp.Segment, sz int32) (TRCReq_List, error)
NewTRCReq creates a new list of TRCReq.
func (TRCReq_List) At ¶ added in v0.4.0
func (s TRCReq_List) At(i int) TRCReq
func (TRCReq_List) String ¶ added in v0.4.0
func (s TRCReq_List) String() string
type TRCReq_Promise ¶ added in v0.4.0
TRCReq_Promise is a wrapper for a TRCReq promised by a client call.
func (TRCReq_Promise) Struct ¶ added in v0.4.0
func (p TRCReq_Promise) Struct() (TRCReq, error)
type TRC_List ¶ added in v0.4.0
TRC_List is a list of TRC.
func NewTRC_List ¶ added in v0.4.0
NewTRC creates a new list of TRC.
type TRC_Promise ¶ added in v0.4.0
TRC_Promise is a wrapper for a TRC promised by a client call.
func (TRC_Promise) Struct ¶ added in v0.4.0
func (p TRC_Promise) Struct() (TRC, error)
type Transport ¶ added in v0.4.0
func ReadRootTransport ¶ added in v0.4.0
func (Transport) ValueBytes ¶ added in v0.4.0
type Transport_List ¶ added in v0.4.0
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) String ¶ added in v0.4.0
func (s Transport_List) String() string
type Transport_Promise ¶ added in v0.4.0
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)
type ZkId ¶ added in v0.4.0
type ZkId_List ¶ added in v0.4.0
ZkId_List is a list of ZkId.
func NewZkId_List ¶ added in v0.4.0
NewZkId creates a new list of ZkId.
type ZkId_Promise ¶ added in v0.4.0
ZkId_Promise is a wrapper for a ZkId promised by a client call.
func (ZkId_Promise) Struct ¶ added in v0.4.0
func (p ZkId_Promise) Struct() (ZkId, error)
Source Files ¶
- ack.capnp.go
- asm_exts.capnp.go
- cereal.go
- cert_mgmt.capnp.go
- common.capnp.go
- ctrl_extn.capnp.go
- ctrl_pld.capnp.go
- doc.go
- drkey_mgmt.capnp.go
- if_state.capnp.go
- ifid.capnp.go
- path_mgmt.capnp.go
- path_seg.capnp.go
- rev_info.capnp.go
- sciond.capnp.go
- sibra.capnp.go
- sig.capnp.go
- sign.capnp.go
- sign.go
- structs.gen.go
- svc_resolution.capnp.go
- zkid.capnp.go