Documentation ¶
Index ¶
- Constants
- Variables
- type PublicSigningKey
- func (PublicSigningKey) DecodeFromPtr(p capnp.Ptr) PublicSigningKey
- func (s PublicSigningKey) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s PublicSigningKey) IsValid() bool
- func (s PublicSigningKey) Key0() uint64
- func (s PublicSigningKey) Key1() uint64
- func (s PublicSigningKey) Key2() uint64
- func (s PublicSigningKey) Key3() uint64
- func (s PublicSigningKey) Message() *capnp.Message
- func (s PublicSigningKey) Segment() *capnp.Segment
- func (s PublicSigningKey) SetKey0(v uint64)
- func (s PublicSigningKey) SetKey1(v uint64)
- func (s PublicSigningKey) SetKey2(v uint64)
- func (s PublicSigningKey) SetKey3(v uint64)
- func (s PublicSigningKey) String() string
- func (s PublicSigningKey) ToPtr() capnp.Ptr
- type PublicSigningKey_Future
- type PublicSigningKey_List
- type Signature
- func (Signature) DecodeFromPtr(p capnp.Ptr) Signature
- func (s Signature) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Signature) IsValid() bool
- func (s Signature) Message() *capnp.Message
- func (s Signature) Segment() *capnp.Segment
- func (s Signature) SetSig0(v uint64)
- func (s Signature) SetSig1(v uint64)
- func (s Signature) SetSig2(v uint64)
- func (s Signature) SetSig3(v uint64)
- func (s Signature) SetSig4(v uint64)
- func (s Signature) SetSig5(v uint64)
- func (s Signature) SetSig6(v uint64)
- func (s Signature) SetSig7(v uint64)
- func (s Signature) Sig0() uint64
- func (s Signature) Sig1() uint64
- func (s Signature) Sig2() uint64
- func (s Signature) Sig3() uint64
- func (s Signature) Sig4() uint64
- func (s Signature) Sig5() uint64
- func (s Signature) Sig6() uint64
- func (s Signature) Sig7() uint64
- func (s Signature) String() string
- func (s Signature) ToPtr() capnp.Ptr
- type Signature_Future
- type Signature_List
- type UpdateSignature
- func (UpdateSignature) DecodeFromPtr(p capnp.Ptr) UpdateSignature
- func (s UpdateSignature) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s UpdateSignature) HasSignatures() bool
- func (s UpdateSignature) IsValid() bool
- func (s UpdateSignature) Message() *capnp.Message
- func (s UpdateSignature) NewSignatures(n int32) (Signature_List, error)
- func (s UpdateSignature) Segment() *capnp.Segment
- func (s UpdateSignature) SetSignatures(v Signature_List) error
- func (s UpdateSignature) Signatures() (Signature_List, error)
- func (s UpdateSignature) String() string
- func (s UpdateSignature) ToPtr() capnp.Ptr
- type UpdateSignature_Future
- type UpdateSignature_List
Constants ¶
const PublicSigningKey_TypeID = 0x9b54bbec5de99f09
PublicSigningKey_TypeID is the unique identifier for the type PublicSigningKey.
const Signature_TypeID = 0xc4d0558d33210637
Signature_TypeID is the unique identifier for the type Signature.
const UpdateSignature_TypeID = 0x9c805f76ef46e6c0
UpdateSignature_TypeID is the unique identifier for the type UpdateSignature.
Variables ¶
var (
UpdatePublicKeys = PublicSigningKey_List(capnp.MustUnmarshalRoot(x_96c3fff3f4beb8fe[0:56]).List())
)
Constants defined in update-tool.capnp.
Functions ¶
This section is empty.
Types ¶
type PublicSigningKey ¶
func NewPublicSigningKey ¶
func NewPublicSigningKey(s *capnp.Segment) (PublicSigningKey, error)
func NewRootPublicSigningKey ¶
func NewRootPublicSigningKey(s *capnp.Segment) (PublicSigningKey, error)
func ReadRootPublicSigningKey ¶
func ReadRootPublicSigningKey(msg *capnp.Message) (PublicSigningKey, error)
func (PublicSigningKey) DecodeFromPtr ¶
func (PublicSigningKey) DecodeFromPtr(p capnp.Ptr) PublicSigningKey
func (PublicSigningKey) EncodeAsPtr ¶
func (s PublicSigningKey) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (PublicSigningKey) IsValid ¶
func (s PublicSigningKey) IsValid() bool
func (PublicSigningKey) Key0 ¶
func (s PublicSigningKey) Key0() uint64
func (PublicSigningKey) Key1 ¶
func (s PublicSigningKey) Key1() uint64
func (PublicSigningKey) Key2 ¶
func (s PublicSigningKey) Key2() uint64
func (PublicSigningKey) Key3 ¶
func (s PublicSigningKey) Key3() uint64
func (PublicSigningKey) Message ¶
func (s PublicSigningKey) Message() *capnp.Message
func (PublicSigningKey) Segment ¶
func (s PublicSigningKey) Segment() *capnp.Segment
func (PublicSigningKey) SetKey0 ¶
func (s PublicSigningKey) SetKey0(v uint64)
func (PublicSigningKey) SetKey1 ¶
func (s PublicSigningKey) SetKey1(v uint64)
func (PublicSigningKey) SetKey2 ¶
func (s PublicSigningKey) SetKey2(v uint64)
func (PublicSigningKey) SetKey3 ¶
func (s PublicSigningKey) SetKey3(v uint64)
func (PublicSigningKey) String ¶
func (s PublicSigningKey) String() string
func (PublicSigningKey) ToPtr ¶
func (s PublicSigningKey) ToPtr() capnp.Ptr
type PublicSigningKey_Future ¶
PublicSigningKey_Future is a wrapper for a PublicSigningKey promised by a client call.
func (PublicSigningKey_Future) Struct ¶
func (f PublicSigningKey_Future) Struct() (PublicSigningKey, error)
type PublicSigningKey_List ¶
type PublicSigningKey_List = capnp.StructList[PublicSigningKey]
PublicSigningKey_List is a list of PublicSigningKey.
type Signature ¶
type Signature_Future ¶
Signature_Future is a wrapper for a Signature promised by a client call.
func (Signature_Future) Struct ¶
func (f Signature_Future) Struct() (Signature, error)
type Signature_List ¶
type Signature_List = capnp.StructList[Signature]
Signature_List is a list of Signature.
type UpdateSignature ¶
func NewRootUpdateSignature ¶
func NewRootUpdateSignature(s *capnp.Segment) (UpdateSignature, error)
func NewUpdateSignature ¶
func NewUpdateSignature(s *capnp.Segment) (UpdateSignature, error)
func ReadRootUpdateSignature ¶
func ReadRootUpdateSignature(msg *capnp.Message) (UpdateSignature, error)
func (UpdateSignature) DecodeFromPtr ¶
func (UpdateSignature) DecodeFromPtr(p capnp.Ptr) UpdateSignature
func (UpdateSignature) EncodeAsPtr ¶
func (s UpdateSignature) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (UpdateSignature) HasSignatures ¶
func (s UpdateSignature) HasSignatures() bool
func (UpdateSignature) IsValid ¶
func (s UpdateSignature) IsValid() bool
func (UpdateSignature) Message ¶
func (s UpdateSignature) Message() *capnp.Message
func (UpdateSignature) NewSignatures ¶
func (s UpdateSignature) NewSignatures(n int32) (Signature_List, error)
NewSignatures sets the signatures field to a newly allocated Signature_List, preferring placement in s's segment.
func (UpdateSignature) Segment ¶
func (s UpdateSignature) Segment() *capnp.Segment
func (UpdateSignature) SetSignatures ¶
func (s UpdateSignature) SetSignatures(v Signature_List) error
func (UpdateSignature) Signatures ¶
func (s UpdateSignature) Signatures() (Signature_List, error)
func (UpdateSignature) String ¶
func (s UpdateSignature) String() string
func (UpdateSignature) ToPtr ¶
func (s UpdateSignature) ToPtr() capnp.Ptr
type UpdateSignature_Future ¶
UpdateSignature_Future is a wrapper for a UpdateSignature promised by a client call.
func (UpdateSignature_Future) Struct ¶
func (f UpdateSignature_Future) Struct() (UpdateSignature, error)
type UpdateSignature_List ¶
type UpdateSignature_List = capnp.StructList[UpdateSignature]
UpdateSignature_List is a list of UpdateSignature.