Documentation
¶
Index ¶
- Constants
- func Admin_Methods(methods []server.Method, s Admin_Server) []server.Method
- func Admin_NewServer(s Admin_Server) *server.Server
- func RegisterSchema(reg *schemas.Registry)
- func Registrar_Methods(methods []server.Method, s Registrar_Server) []server.Method
- func Registrar_NewServer(s Registrar_Server) *server.Server
- func Registrar_Unregister_Methods(methods []server.Method, s Registrar_Unregister_Server) []server.Method
- func Registrar_Unregister_NewServer(s Registrar_Unregister_Server) *server.Server
- func Registry_Methods(methods []server.Method, s Registry_Server) []server.Method
- func Registry_NewServer(s Registry_Server) *server.Server
- type Admin
- func (c Admin) AddCategory(ctx context.Context, params func(Admin_addCategory_Params) error) (Admin_addCategory_Results_Future, capnp.ReleaseFunc)
- func (c Admin) AddRef() Admin
- func (Admin) DecodeFromPtr(p capnp.Ptr) Admin
- func (c Admin) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Admin) GetFlowLimiter() fc.FlowLimiter
- func (c Admin) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c Admin) IsSame(other Admin) bool
- func (c Admin) IsValid() bool
- func (c Admin) MoveObjects(ctx context.Context, params func(Admin_moveObjects_Params) error) (Admin_moveObjects_Results_Future, capnp.ReleaseFunc)
- func (c Admin) Registry(ctx context.Context, params func(Admin_registry_Params) error) (Admin_registry_Results_Future, capnp.ReleaseFunc)
- func (c Admin) Release()
- func (c Admin) RemoveCategory(ctx context.Context, params func(Admin_removeCategory_Params) error) (Admin_removeCategory_Results_Future, capnp.ReleaseFunc)
- func (c Admin) RemoveObjects(ctx context.Context, params func(Admin_removeObjects_Params) error) (Admin_removeObjects_Results_Future, capnp.ReleaseFunc)
- func (c Admin) Resolve(ctx context.Context) error
- func (c Admin) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Admin) String() string
- func (c Admin) WaitStreaming() error
- type Admin_List
- type Admin_Server
- type Admin_addCategory
- type Admin_addCategory_Params
- func (s Admin_addCategory_Params) Category() (common.IdInformation, error)
- func (Admin_addCategory_Params) DecodeFromPtr(p capnp.Ptr) Admin_addCategory_Params
- func (s Admin_addCategory_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_addCategory_Params) HasCategory() bool
- func (s Admin_addCategory_Params) IsValid() bool
- func (s Admin_addCategory_Params) Message() *capnp.Message
- func (s Admin_addCategory_Params) NewCategory() (common.IdInformation, error)
- func (s Admin_addCategory_Params) Segment() *capnp.Segment
- func (s Admin_addCategory_Params) SetCategory(v common.IdInformation) error
- func (s Admin_addCategory_Params) SetUpsert(v bool)
- func (s Admin_addCategory_Params) String() string
- func (s Admin_addCategory_Params) ToPtr() capnp.Ptr
- func (s Admin_addCategory_Params) Upsert() bool
- type Admin_addCategory_Params_Future
- type Admin_addCategory_Params_List
- type Admin_addCategory_Results
- func (Admin_addCategory_Results) DecodeFromPtr(p capnp.Ptr) Admin_addCategory_Results
- func (s Admin_addCategory_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_addCategory_Results) IsValid() bool
- func (s Admin_addCategory_Results) Message() *capnp.Message
- func (s Admin_addCategory_Results) Segment() *capnp.Segment
- func (s Admin_addCategory_Results) SetSuccess(v bool)
- func (s Admin_addCategory_Results) String() string
- func (s Admin_addCategory_Results) Success() bool
- func (s Admin_addCategory_Results) ToPtr() capnp.Ptr
- type Admin_addCategory_Results_Future
- type Admin_addCategory_Results_List
- type Admin_moveObjects
- type Admin_moveObjects_Params
- func (Admin_moveObjects_Params) DecodeFromPtr(p capnp.Ptr) Admin_moveObjects_Params
- func (s Admin_moveObjects_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_moveObjects_Params) HasObjectIds() bool
- func (s Admin_moveObjects_Params) HasToCatId() bool
- func (s Admin_moveObjects_Params) IsValid() bool
- func (s Admin_moveObjects_Params) Message() *capnp.Message
- func (s Admin_moveObjects_Params) NewObjectIds(n int32) (capnp.TextList, error)
- func (s Admin_moveObjects_Params) ObjectIds() (capnp.TextList, error)
- func (s Admin_moveObjects_Params) Segment() *capnp.Segment
- func (s Admin_moveObjects_Params) SetObjectIds(v capnp.TextList) error
- func (s Admin_moveObjects_Params) SetToCatId(v string) error
- func (s Admin_moveObjects_Params) String() string
- func (s Admin_moveObjects_Params) ToCatId() (string, error)
- func (s Admin_moveObjects_Params) ToCatIdBytes() ([]byte, error)
- func (s Admin_moveObjects_Params) ToPtr() capnp.Ptr
- type Admin_moveObjects_Params_Future
- type Admin_moveObjects_Params_List
- type Admin_moveObjects_Results
- func (Admin_moveObjects_Results) DecodeFromPtr(p capnp.Ptr) Admin_moveObjects_Results
- func (s Admin_moveObjects_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_moveObjects_Results) HasMovedObjectIds() bool
- func (s Admin_moveObjects_Results) IsValid() bool
- func (s Admin_moveObjects_Results) Message() *capnp.Message
- func (s Admin_moveObjects_Results) MovedObjectIds() (capnp.TextList, error)
- func (s Admin_moveObjects_Results) NewMovedObjectIds(n int32) (capnp.TextList, error)
- func (s Admin_moveObjects_Results) Segment() *capnp.Segment
- func (s Admin_moveObjects_Results) SetMovedObjectIds(v capnp.TextList) error
- func (s Admin_moveObjects_Results) String() string
- func (s Admin_moveObjects_Results) ToPtr() capnp.Ptr
- type Admin_moveObjects_Results_Future
- type Admin_moveObjects_Results_List
- type Admin_registry
- type Admin_registry_Params
- func (Admin_registry_Params) DecodeFromPtr(p capnp.Ptr) Admin_registry_Params
- func (s Admin_registry_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_registry_Params) IsValid() bool
- func (s Admin_registry_Params) Message() *capnp.Message
- func (s Admin_registry_Params) Segment() *capnp.Segment
- func (s Admin_registry_Params) String() string
- func (s Admin_registry_Params) ToPtr() capnp.Ptr
- type Admin_registry_Params_Future
- type Admin_registry_Params_List
- type Admin_registry_Results
- func (Admin_registry_Results) DecodeFromPtr(p capnp.Ptr) Admin_registry_Results
- func (s Admin_registry_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_registry_Results) HasRegistry() bool
- func (s Admin_registry_Results) IsValid() bool
- func (s Admin_registry_Results) Message() *capnp.Message
- func (s Admin_registry_Results) Registry() Registry
- func (s Admin_registry_Results) Segment() *capnp.Segment
- func (s Admin_registry_Results) SetRegistry(v Registry) error
- func (s Admin_registry_Results) String() string
- func (s Admin_registry_Results) ToPtr() capnp.Ptr
- type Admin_registry_Results_Future
- type Admin_registry_Results_List
- type Admin_removeCategory
- type Admin_removeCategory_Params
- func (s Admin_removeCategory_Params) CategoryId() (string, error)
- func (s Admin_removeCategory_Params) CategoryIdBytes() ([]byte, error)
- func (Admin_removeCategory_Params) DecodeFromPtr(p capnp.Ptr) Admin_removeCategory_Params
- func (s Admin_removeCategory_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_removeCategory_Params) HasCategoryId() bool
- func (s Admin_removeCategory_Params) HasMoveObjectsToCategoryId() bool
- func (s Admin_removeCategory_Params) IsValid() bool
- func (s Admin_removeCategory_Params) Message() *capnp.Message
- func (s Admin_removeCategory_Params) MoveObjectsToCategoryId() (string, error)
- func (s Admin_removeCategory_Params) MoveObjectsToCategoryIdBytes() ([]byte, error)
- func (s Admin_removeCategory_Params) Segment() *capnp.Segment
- func (s Admin_removeCategory_Params) SetCategoryId(v string) error
- func (s Admin_removeCategory_Params) SetMoveObjectsToCategoryId(v string) error
- func (s Admin_removeCategory_Params) String() string
- func (s Admin_removeCategory_Params) ToPtr() capnp.Ptr
- type Admin_removeCategory_Params_Future
- type Admin_removeCategory_Params_List
- type Admin_removeCategory_Results
- func (Admin_removeCategory_Results) DecodeFromPtr(p capnp.Ptr) Admin_removeCategory_Results
- func (s Admin_removeCategory_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_removeCategory_Results) HasRemovedObjects() bool
- func (s Admin_removeCategory_Results) IsValid() bool
- func (s Admin_removeCategory_Results) Message() *capnp.Message
- func (s Admin_removeCategory_Results) NewRemovedObjects(n int32) (common.Identifiable_List, error)
- func (s Admin_removeCategory_Results) RemovedObjects() (common.Identifiable_List, error)
- func (s Admin_removeCategory_Results) Segment() *capnp.Segment
- func (s Admin_removeCategory_Results) SetRemovedObjects(v common.Identifiable_List) error
- func (s Admin_removeCategory_Results) String() string
- func (s Admin_removeCategory_Results) ToPtr() capnp.Ptr
- type Admin_removeCategory_Results_Future
- type Admin_removeCategory_Results_List
- type Admin_removeObjects
- type Admin_removeObjects_Params
- func (Admin_removeObjects_Params) DecodeFromPtr(p capnp.Ptr) Admin_removeObjects_Params
- func (s Admin_removeObjects_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_removeObjects_Params) HasObjectIds() bool
- func (s Admin_removeObjects_Params) IsValid() bool
- func (s Admin_removeObjects_Params) Message() *capnp.Message
- func (s Admin_removeObjects_Params) NewObjectIds(n int32) (capnp.TextList, error)
- func (s Admin_removeObjects_Params) ObjectIds() (capnp.TextList, error)
- func (s Admin_removeObjects_Params) Segment() *capnp.Segment
- func (s Admin_removeObjects_Params) SetObjectIds(v capnp.TextList) error
- func (s Admin_removeObjects_Params) String() string
- func (s Admin_removeObjects_Params) ToPtr() capnp.Ptr
- type Admin_removeObjects_Params_Future
- type Admin_removeObjects_Params_List
- type Admin_removeObjects_Results
- func (Admin_removeObjects_Results) DecodeFromPtr(p capnp.Ptr) Admin_removeObjects_Results
- func (s Admin_removeObjects_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Admin_removeObjects_Results) HasRemovedObjects() bool
- func (s Admin_removeObjects_Results) IsValid() bool
- func (s Admin_removeObjects_Results) Message() *capnp.Message
- func (s Admin_removeObjects_Results) NewRemovedObjects(n int32) (common.Identifiable_List, error)
- func (s Admin_removeObjects_Results) RemovedObjects() (common.Identifiable_List, error)
- func (s Admin_removeObjects_Results) Segment() *capnp.Segment
- func (s Admin_removeObjects_Results) SetRemovedObjects(v common.Identifiable_List) error
- func (s Admin_removeObjects_Results) String() string
- func (s Admin_removeObjects_Results) ToPtr() capnp.Ptr
- type Admin_removeObjects_Results_Future
- type Admin_removeObjects_Results_List
- type Registrar
- func (c Registrar) AddRef() Registrar
- func (Registrar) DecodeFromPtr(p capnp.Ptr) Registrar
- func (c Registrar) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Registrar) GetFlowLimiter() fc.FlowLimiter
- func (c Registrar) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c Registrar) IsSame(other Registrar) bool
- func (c Registrar) IsValid() bool
- func (c Registrar) Register(ctx context.Context, params func(Registrar_RegParams) error) (Registrar_register_Results_Future, capnp.ReleaseFunc)
- func (c Registrar) Release()
- func (c Registrar) Resolve(ctx context.Context) error
- func (c Registrar) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Registrar) String() string
- func (c Registrar) WaitStreaming() error
- type Registrar_CrossDomainRestore
- func (Registrar_CrossDomainRestore) DecodeFromPtr(p capnp.Ptr) Registrar_CrossDomainRestore
- func (s Registrar_CrossDomainRestore) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registrar_CrossDomainRestore) HasRestorer() bool
- func (s Registrar_CrossDomainRestore) HasVatId() bool
- func (s Registrar_CrossDomainRestore) IsValid() bool
- func (s Registrar_CrossDomainRestore) Message() *capnp.Message
- func (s Registrar_CrossDomainRestore) NewVatId() (persistence.VatId, error)
- func (s Registrar_CrossDomainRestore) Restorer() persistence.Restorer
- func (s Registrar_CrossDomainRestore) Segment() *capnp.Segment
- func (s Registrar_CrossDomainRestore) SetRestorer(v persistence.Restorer) error
- func (s Registrar_CrossDomainRestore) SetVatId(v persistence.VatId) error
- func (s Registrar_CrossDomainRestore) String() string
- func (s Registrar_CrossDomainRestore) ToPtr() capnp.Ptr
- func (s Registrar_CrossDomainRestore) VatId() (persistence.VatId, error)
- type Registrar_CrossDomainRestore_Future
- type Registrar_CrossDomainRestore_List
- type Registrar_List
- type Registrar_RegParams
- func (s Registrar_RegParams) Cap() common.Identifiable
- func (s Registrar_RegParams) CategoryId() (string, error)
- func (s Registrar_RegParams) CategoryIdBytes() ([]byte, error)
- func (Registrar_RegParams) DecodeFromPtr(p capnp.Ptr) Registrar_RegParams
- func (s Registrar_RegParams) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registrar_RegParams) HasCap() bool
- func (s Registrar_RegParams) HasCategoryId() bool
- func (s Registrar_RegParams) HasRegName() bool
- func (s Registrar_RegParams) HasXDomain() bool
- func (s Registrar_RegParams) IsValid() bool
- func (s Registrar_RegParams) Message() *capnp.Message
- func (s Registrar_RegParams) NewXDomain() (Registrar_CrossDomainRestore, error)
- func (s Registrar_RegParams) RegName() (string, error)
- func (s Registrar_RegParams) RegNameBytes() ([]byte, error)
- func (s Registrar_RegParams) Segment() *capnp.Segment
- func (s Registrar_RegParams) SetCap(v common.Identifiable) error
- func (s Registrar_RegParams) SetCategoryId(v string) error
- func (s Registrar_RegParams) SetRegName(v string) error
- func (s Registrar_RegParams) SetXDomain(v Registrar_CrossDomainRestore) error
- func (s Registrar_RegParams) String() string
- func (s Registrar_RegParams) ToPtr() capnp.Ptr
- func (s Registrar_RegParams) XDomain() (Registrar_CrossDomainRestore, error)
- type Registrar_RegParams_Future
- type Registrar_RegParams_List
- type Registrar_Server
- type Registrar_Unregister
- func (c Registrar_Unregister) AddRef() Registrar_Unregister
- func (Registrar_Unregister) DecodeFromPtr(p capnp.Ptr) Registrar_Unregister
- func (c Registrar_Unregister) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Registrar_Unregister) GetFlowLimiter() fc.FlowLimiter
- func (c Registrar_Unregister) IsSame(other Registrar_Unregister) bool
- func (c Registrar_Unregister) IsValid() bool
- func (c Registrar_Unregister) Release()
- func (c Registrar_Unregister) Resolve(ctx context.Context) error
- func (c Registrar_Unregister) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Registrar_Unregister) String() string
- func (c Registrar_Unregister) Unregister(ctx context.Context, params func(Registrar_Unregister_unregister_Params) error) (Registrar_Unregister_unregister_Results_Future, capnp.ReleaseFunc)
- func (c Registrar_Unregister) WaitStreaming() error
- type Registrar_Unregister_List
- type Registrar_Unregister_Server
- type Registrar_Unregister_unregister
- type Registrar_Unregister_unregister_Params
- func NewRegistrar_Unregister_unregister_Params(s *capnp.Segment) (Registrar_Unregister_unregister_Params, error)
- func NewRootRegistrar_Unregister_unregister_Params(s *capnp.Segment) (Registrar_Unregister_unregister_Params, error)
- func ReadRootRegistrar_Unregister_unregister_Params(msg *capnp.Message) (Registrar_Unregister_unregister_Params, error)
- func (Registrar_Unregister_unregister_Params) DecodeFromPtr(p capnp.Ptr) Registrar_Unregister_unregister_Params
- func (s Registrar_Unregister_unregister_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registrar_Unregister_unregister_Params) IsValid() bool
- func (s Registrar_Unregister_unregister_Params) Message() *capnp.Message
- func (s Registrar_Unregister_unregister_Params) Segment() *capnp.Segment
- func (s Registrar_Unregister_unregister_Params) String() string
- func (s Registrar_Unregister_unregister_Params) ToPtr() capnp.Ptr
- type Registrar_Unregister_unregister_Params_Future
- type Registrar_Unregister_unregister_Params_List
- type Registrar_Unregister_unregister_Results
- func NewRegistrar_Unregister_unregister_Results(s *capnp.Segment) (Registrar_Unregister_unregister_Results, error)
- func NewRootRegistrar_Unregister_unregister_Results(s *capnp.Segment) (Registrar_Unregister_unregister_Results, error)
- func ReadRootRegistrar_Unregister_unregister_Results(msg *capnp.Message) (Registrar_Unregister_unregister_Results, error)
- func (Registrar_Unregister_unregister_Results) DecodeFromPtr(p capnp.Ptr) Registrar_Unregister_unregister_Results
- func (s Registrar_Unregister_unregister_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registrar_Unregister_unregister_Results) IsValid() bool
- func (s Registrar_Unregister_unregister_Results) Message() *capnp.Message
- func (s Registrar_Unregister_unregister_Results) Segment() *capnp.Segment
- func (s Registrar_Unregister_unregister_Results) SetSuccess(v bool)
- func (s Registrar_Unregister_unregister_Results) String() string
- func (s Registrar_Unregister_unregister_Results) Success() bool
- func (s Registrar_Unregister_unregister_Results) ToPtr() capnp.Ptr
- type Registrar_Unregister_unregister_Results_Future
- type Registrar_Unregister_unregister_Results_List
- type Registrar_register
- type Registrar_register_Results
- func (Registrar_register_Results) DecodeFromPtr(p capnp.Ptr) Registrar_register_Results
- func (s Registrar_register_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registrar_register_Results) HasReregSR() bool
- func (s Registrar_register_Results) HasUnreg() bool
- func (s Registrar_register_Results) IsValid() bool
- func (s Registrar_register_Results) Message() *capnp.Message
- func (s Registrar_register_Results) NewReregSR() (persistence.SturdyRef, error)
- func (s Registrar_register_Results) ReregSR() (persistence.SturdyRef, error)
- func (s Registrar_register_Results) Segment() *capnp.Segment
- func (s Registrar_register_Results) SetReregSR(v persistence.SturdyRef) error
- func (s Registrar_register_Results) SetUnreg(v Registrar_Unregister) error
- func (s Registrar_register_Results) String() string
- func (s Registrar_register_Results) ToPtr() capnp.Ptr
- func (s Registrar_register_Results) Unreg() Registrar_Unregister
- type Registrar_register_Results_Future
- type Registrar_register_Results_List
- type Registry
- func (c Registry) AddRef() Registry
- func (c Registry) CategoryInfo(ctx context.Context, params func(Registry_categoryInfo_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (Registry) DecodeFromPtr(p capnp.Ptr) Registry
- func (c Registry) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Registry) Entries(ctx context.Context, params func(Registry_entries_Params) error) (Registry_entries_Results_Future, capnp.ReleaseFunc)
- func (c Registry) GetFlowLimiter() fc.FlowLimiter
- func (c Registry) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c Registry) IsSame(other Registry) bool
- func (c Registry) IsValid() bool
- func (c Registry) Release()
- func (c Registry) Resolve(ctx context.Context) error
- func (c Registry) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Registry) String() string
- func (c Registry) SupportedCategories(ctx context.Context, params func(Registry_supportedCategories_Params) error) (Registry_supportedCategories_Results_Future, capnp.ReleaseFunc)
- func (c Registry) WaitStreaming() error
- type Registry_Entry
- func (s Registry_Entry) CategoryId() (string, error)
- func (s Registry_Entry) CategoryIdBytes() ([]byte, error)
- func (Registry_Entry) DecodeFromPtr(p capnp.Ptr) Registry_Entry
- func (s Registry_Entry) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registry_Entry) HasCategoryId() bool
- func (s Registry_Entry) HasName() bool
- func (s Registry_Entry) HasRef() bool
- func (s Registry_Entry) IsValid() bool
- func (s Registry_Entry) Message() *capnp.Message
- func (s Registry_Entry) Name() (string, error)
- func (s Registry_Entry) NameBytes() ([]byte, error)
- func (s Registry_Entry) Ref() common.Identifiable
- func (s Registry_Entry) Segment() *capnp.Segment
- func (s Registry_Entry) SetCategoryId(v string) error
- func (s Registry_Entry) SetName(v string) error
- func (s Registry_Entry) SetRef(v common.Identifiable) error
- func (s Registry_Entry) String() string
- func (s Registry_Entry) ToPtr() capnp.Ptr
- type Registry_Entry_Future
- type Registry_Entry_List
- type Registry_List
- type Registry_Server
- type Registry_categoryInfo
- type Registry_categoryInfo_Params
- func (s Registry_categoryInfo_Params) CategoryId() (string, error)
- func (s Registry_categoryInfo_Params) CategoryIdBytes() ([]byte, error)
- func (Registry_categoryInfo_Params) DecodeFromPtr(p capnp.Ptr) Registry_categoryInfo_Params
- func (s Registry_categoryInfo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registry_categoryInfo_Params) HasCategoryId() bool
- func (s Registry_categoryInfo_Params) IsValid() bool
- func (s Registry_categoryInfo_Params) Message() *capnp.Message
- func (s Registry_categoryInfo_Params) Segment() *capnp.Segment
- func (s Registry_categoryInfo_Params) SetCategoryId(v string) error
- func (s Registry_categoryInfo_Params) String() string
- func (s Registry_categoryInfo_Params) ToPtr() capnp.Ptr
- type Registry_categoryInfo_Params_Future
- type Registry_categoryInfo_Params_List
- type Registry_entries
- type Registry_entries_Params
- func (s Registry_entries_Params) CategoryId() (string, error)
- func (s Registry_entries_Params) CategoryIdBytes() ([]byte, error)
- func (Registry_entries_Params) DecodeFromPtr(p capnp.Ptr) Registry_entries_Params
- func (s Registry_entries_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registry_entries_Params) HasCategoryId() bool
- func (s Registry_entries_Params) IsValid() bool
- func (s Registry_entries_Params) Message() *capnp.Message
- func (s Registry_entries_Params) Segment() *capnp.Segment
- func (s Registry_entries_Params) SetCategoryId(v string) error
- func (s Registry_entries_Params) String() string
- func (s Registry_entries_Params) ToPtr() capnp.Ptr
- type Registry_entries_Params_Future
- type Registry_entries_Params_List
- type Registry_entries_Results
- func (Registry_entries_Results) DecodeFromPtr(p capnp.Ptr) Registry_entries_Results
- func (s Registry_entries_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registry_entries_Results) Entries() (Registry_Entry_List, error)
- func (s Registry_entries_Results) HasEntries() bool
- func (s Registry_entries_Results) IsValid() bool
- func (s Registry_entries_Results) Message() *capnp.Message
- func (s Registry_entries_Results) NewEntries(n int32) (Registry_Entry_List, error)
- func (s Registry_entries_Results) Segment() *capnp.Segment
- func (s Registry_entries_Results) SetEntries(v Registry_Entry_List) error
- func (s Registry_entries_Results) String() string
- func (s Registry_entries_Results) ToPtr() capnp.Ptr
- type Registry_entries_Results_Future
- type Registry_entries_Results_List
- type Registry_supportedCategories
- type Registry_supportedCategories_Params
- func NewRegistry_supportedCategories_Params(s *capnp.Segment) (Registry_supportedCategories_Params, error)
- func NewRootRegistry_supportedCategories_Params(s *capnp.Segment) (Registry_supportedCategories_Params, error)
- func ReadRootRegistry_supportedCategories_Params(msg *capnp.Message) (Registry_supportedCategories_Params, error)
- func (Registry_supportedCategories_Params) DecodeFromPtr(p capnp.Ptr) Registry_supportedCategories_Params
- func (s Registry_supportedCategories_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registry_supportedCategories_Params) IsValid() bool
- func (s Registry_supportedCategories_Params) Message() *capnp.Message
- func (s Registry_supportedCategories_Params) Segment() *capnp.Segment
- func (s Registry_supportedCategories_Params) String() string
- func (s Registry_supportedCategories_Params) ToPtr() capnp.Ptr
- type Registry_supportedCategories_Params_Future
- type Registry_supportedCategories_Params_List
- type Registry_supportedCategories_Results
- func NewRegistry_supportedCategories_Results(s *capnp.Segment) (Registry_supportedCategories_Results, error)
- func NewRootRegistry_supportedCategories_Results(s *capnp.Segment) (Registry_supportedCategories_Results, error)
- func ReadRootRegistry_supportedCategories_Results(msg *capnp.Message) (Registry_supportedCategories_Results, error)
- func (s Registry_supportedCategories_Results) Cats() (common.IdInformation_List, error)
- func (Registry_supportedCategories_Results) DecodeFromPtr(p capnp.Ptr) Registry_supportedCategories_Results
- func (s Registry_supportedCategories_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Registry_supportedCategories_Results) HasCats() bool
- func (s Registry_supportedCategories_Results) IsValid() bool
- func (s Registry_supportedCategories_Results) Message() *capnp.Message
- func (s Registry_supportedCategories_Results) NewCats(n int32) (common.IdInformation_List, error)
- func (s Registry_supportedCategories_Results) Segment() *capnp.Segment
- func (s Registry_supportedCategories_Results) SetCats(v common.IdInformation_List) error
- func (s Registry_supportedCategories_Results) String() string
- func (s Registry_supportedCategories_Results) ToPtr() capnp.Ptr
- type Registry_supportedCategories_Results_Future
- type Registry_supportedCategories_Results_List
Constants ¶
const Admin_TypeID = 0xf503f3237666574e
Admin_TypeID is the unique identifier for the type Admin.
const Admin_addCategory_Params_TypeID = 0xdb16d4fbb18486f6
Admin_addCategory_Params_TypeID is the unique identifier for the type Admin_addCategory_Params.
const Admin_addCategory_Results_TypeID = 0xbd3d832f7a7235b5
Admin_addCategory_Results_TypeID is the unique identifier for the type Admin_addCategory_Results.
const Admin_moveObjects_Params_TypeID = 0x8ebfd50c805adbc3
Admin_moveObjects_Params_TypeID is the unique identifier for the type Admin_moveObjects_Params.
const Admin_moveObjects_Results_TypeID = 0xd887d79a7ed3f45f
Admin_moveObjects_Results_TypeID is the unique identifier for the type Admin_moveObjects_Results.
const Admin_registry_Params_TypeID = 0xee2cf8cf148921b5
Admin_registry_Params_TypeID is the unique identifier for the type Admin_registry_Params.
const Admin_registry_Results_TypeID = 0xfe62caefab7dfdad
Admin_registry_Results_TypeID is the unique identifier for the type Admin_registry_Results.
const Admin_removeCategory_Params_TypeID = 0xd5be1b8e0180ded6
Admin_removeCategory_Params_TypeID is the unique identifier for the type Admin_removeCategory_Params.
const Admin_removeCategory_Results_TypeID = 0xa9aca103106c8f05
Admin_removeCategory_Results_TypeID is the unique identifier for the type Admin_removeCategory_Results.
const Admin_removeObjects_Params_TypeID = 0x96a5b17eee7ee1a3
Admin_removeObjects_Params_TypeID is the unique identifier for the type Admin_removeObjects_Params.
const Admin_removeObjects_Results_TypeID = 0xa092f60656bb0db4
Admin_removeObjects_Results_TypeID is the unique identifier for the type Admin_removeObjects_Results.
const Registrar_CrossDomainRestore_TypeID = 0xaa1198dd7e71b20e
Registrar_CrossDomainRestore_TypeID is the unique identifier for the type Registrar_CrossDomainRestore.
const Registrar_RegParams_TypeID = 0xe5a84717ea75fb0d
Registrar_RegParams_TypeID is the unique identifier for the type Registrar_RegParams.
const Registrar_TypeID = 0xabaef93c36f2d1ea
Registrar_TypeID is the unique identifier for the type Registrar.
const Registrar_Unregister_TypeID = 0xc7597e4462528489
Registrar_Unregister_TypeID is the unique identifier for the type Registrar_Unregister.
const Registrar_Unregister_unregister_Params_TypeID = 0xd023a1df5e372a7e
Registrar_Unregister_unregister_Params_TypeID is the unique identifier for the type Registrar_Unregister_unregister_Params.
const Registrar_Unregister_unregister_Results_TypeID = 0xa19166b9981b0854
Registrar_Unregister_unregister_Results_TypeID is the unique identifier for the type Registrar_Unregister_unregister_Results.
const Registrar_register_Results_TypeID = 0xb2a9b080f0c4013c
Registrar_register_Results_TypeID is the unique identifier for the type Registrar_register_Results.
const Registry_Entry_TypeID = 0xc17987510cf7ac13
Registry_Entry_TypeID is the unique identifier for the type Registry_Entry.
const Registry_TypeID = 0xca7b4bd1600633b8
Registry_TypeID is the unique identifier for the type Registry.
const Registry_categoryInfo_Params_TypeID = 0x891283e1b248bc9d
Registry_categoryInfo_Params_TypeID is the unique identifier for the type Registry_categoryInfo_Params.
const Registry_entries_Params_TypeID = 0x9ffc53716151c5fa
Registry_entries_Params_TypeID is the unique identifier for the type Registry_entries_Params.
const Registry_entries_Results_TypeID = 0xe4eaf56eb486064d
Registry_entries_Results_TypeID is the unique identifier for the type Registry_entries_Results.
const Registry_supportedCategories_Params_TypeID = 0x9c49e6e65e34c29b
Registry_supportedCategories_Params_TypeID is the unique identifier for the type Registry_supportedCategories_Params.
const Registry_supportedCategories_Results_TypeID = 0xb2bf60b5817330b0
Registry_supportedCategories_Results_TypeID is the unique identifier for the type Registry_supportedCategories_Results.
Variables ¶
This section is empty.
Functions ¶
func Admin_Methods ¶
func Admin_Methods(methods []server.Method, s Admin_Server) []server.Method
Admin_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Admin_NewServer ¶
func Admin_NewServer(s Admin_Server) *server.Server
Admin_NewServer creates a new Server from an implementation of Admin_Server.
func RegisterSchema ¶
func Registrar_Methods ¶
func Registrar_Methods(methods []server.Method, s Registrar_Server) []server.Method
Registrar_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Registrar_NewServer ¶
func Registrar_NewServer(s Registrar_Server) *server.Server
Registrar_NewServer creates a new Server from an implementation of Registrar_Server.
func Registrar_Unregister_Methods ¶
func Registrar_Unregister_Methods(methods []server.Method, s Registrar_Unregister_Server) []server.Method
Registrar_Unregister_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Registrar_Unregister_NewServer ¶
func Registrar_Unregister_NewServer(s Registrar_Unregister_Server) *server.Server
Registrar_Unregister_NewServer creates a new Server from an implementation of Registrar_Unregister_Server.
func Registry_Methods ¶
func Registry_Methods(methods []server.Method, s Registry_Server) []server.Method
Registry_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Registry_NewServer ¶
func Registry_NewServer(s Registry_Server) *server.Server
Registry_NewServer creates a new Server from an implementation of Registry_Server.
Types ¶
type Admin ¶
func Admin_ServerToClient ¶
func Admin_ServerToClient(s Admin_Server) Admin
Admin_ServerToClient creates a new Client from an implementation of Admin_Server. The caller is responsible for calling Release on the returned Client.
func (Admin) AddCategory ¶
func (c Admin) AddCategory(ctx context.Context, params func(Admin_addCategory_Params) error) (Admin_addCategory_Results_Future, capnp.ReleaseFunc)
func (Admin) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Admin) GetFlowLimiter ¶
func (c Admin) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Admin) Info ¶
func (c Admin) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Admin) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Admin) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Admin) MoveObjects ¶
func (c Admin) MoveObjects(ctx context.Context, params func(Admin_moveObjects_Params) error) (Admin_moveObjects_Results_Future, capnp.ReleaseFunc)
func (Admin) Registry ¶
func (c Admin) Registry(ctx context.Context, params func(Admin_registry_Params) error) (Admin_registry_Results_Future, capnp.ReleaseFunc)
func (Admin) Release ¶
func (c Admin) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Admin) RemoveCategory ¶
func (c Admin) RemoveCategory(ctx context.Context, params func(Admin_removeCategory_Params) error) (Admin_removeCategory_Results_Future, capnp.ReleaseFunc)
func (Admin) RemoveObjects ¶
func (c Admin) RemoveObjects(ctx context.Context, params func(Admin_removeObjects_Params) error) (Admin_removeObjects_Results_Future, capnp.ReleaseFunc)
func (Admin) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Admin) SetFlowLimiter ¶
func (c Admin) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Admin) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Admin) WaitStreaming ¶
type Admin_List ¶
Admin_List is a list of Admin.
func NewAdmin_List ¶
func NewAdmin_List(s *capnp.Segment, sz int32) (Admin_List, error)
NewAdmin_List creates a new list of Admin.
type Admin_Server ¶
type Admin_Server interface { AddCategory(context.Context, Admin_addCategory) error RemoveCategory(context.Context, Admin_removeCategory) error MoveObjects(context.Context, Admin_moveObjects) error RemoveObjects(context.Context, Admin_removeObjects) error Registry(context.Context, Admin_registry) error Info(context.Context, common.Identifiable_info) error }
A Admin_Server is a Admin with a local implementation.
type Admin_addCategory ¶
Admin_addCategory holds the state for a server call to Admin.addCategory. See server.Call for documentation.
func (Admin_addCategory) AllocResults ¶
func (c Admin_addCategory) AllocResults() (Admin_addCategory_Results, error)
AllocResults allocates the results struct.
func (Admin_addCategory) Args ¶
func (c Admin_addCategory) Args() Admin_addCategory_Params
Args returns the call's arguments.
type Admin_addCategory_Params ¶
func NewAdmin_addCategory_Params ¶
func NewAdmin_addCategory_Params(s *capnp.Segment) (Admin_addCategory_Params, error)
func NewRootAdmin_addCategory_Params ¶
func NewRootAdmin_addCategory_Params(s *capnp.Segment) (Admin_addCategory_Params, error)
func ReadRootAdmin_addCategory_Params ¶
func ReadRootAdmin_addCategory_Params(msg *capnp.Message) (Admin_addCategory_Params, error)
func (Admin_addCategory_Params) Category ¶
func (s Admin_addCategory_Params) Category() (common.IdInformation, error)
func (Admin_addCategory_Params) DecodeFromPtr ¶
func (Admin_addCategory_Params) DecodeFromPtr(p capnp.Ptr) Admin_addCategory_Params
func (Admin_addCategory_Params) EncodeAsPtr ¶
func (s Admin_addCategory_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_addCategory_Params) HasCategory ¶
func (s Admin_addCategory_Params) HasCategory() bool
func (Admin_addCategory_Params) IsValid ¶
func (s Admin_addCategory_Params) IsValid() bool
func (Admin_addCategory_Params) Message ¶
func (s Admin_addCategory_Params) Message() *capnp.Message
func (Admin_addCategory_Params) NewCategory ¶
func (s Admin_addCategory_Params) NewCategory() (common.IdInformation, error)
NewCategory sets the category field to a newly allocated common.IdInformation struct, preferring placement in s's segment.
func (Admin_addCategory_Params) Segment ¶
func (s Admin_addCategory_Params) Segment() *capnp.Segment
func (Admin_addCategory_Params) SetCategory ¶
func (s Admin_addCategory_Params) SetCategory(v common.IdInformation) error
func (Admin_addCategory_Params) SetUpsert ¶
func (s Admin_addCategory_Params) SetUpsert(v bool)
func (Admin_addCategory_Params) String ¶
func (s Admin_addCategory_Params) String() string
func (Admin_addCategory_Params) ToPtr ¶
func (s Admin_addCategory_Params) ToPtr() capnp.Ptr
func (Admin_addCategory_Params) Upsert ¶
func (s Admin_addCategory_Params) Upsert() bool
type Admin_addCategory_Params_Future ¶
Admin_addCategory_Params_Future is a wrapper for a Admin_addCategory_Params promised by a client call.
func (Admin_addCategory_Params_Future) Category ¶
func (p Admin_addCategory_Params_Future) Category() common.IdInformation_Future
func (Admin_addCategory_Params_Future) Struct ¶
func (f Admin_addCategory_Params_Future) Struct() (Admin_addCategory_Params, error)
type Admin_addCategory_Params_List ¶
type Admin_addCategory_Params_List = capnp.StructList[Admin_addCategory_Params]
Admin_addCategory_Params_List is a list of Admin_addCategory_Params.
func NewAdmin_addCategory_Params_List ¶
func NewAdmin_addCategory_Params_List(s *capnp.Segment, sz int32) (Admin_addCategory_Params_List, error)
NewAdmin_addCategory_Params creates a new list of Admin_addCategory_Params.
type Admin_addCategory_Results ¶
func NewAdmin_addCategory_Results ¶
func NewAdmin_addCategory_Results(s *capnp.Segment) (Admin_addCategory_Results, error)
func NewRootAdmin_addCategory_Results ¶
func NewRootAdmin_addCategory_Results(s *capnp.Segment) (Admin_addCategory_Results, error)
func ReadRootAdmin_addCategory_Results ¶
func ReadRootAdmin_addCategory_Results(msg *capnp.Message) (Admin_addCategory_Results, error)
func (Admin_addCategory_Results) DecodeFromPtr ¶
func (Admin_addCategory_Results) DecodeFromPtr(p capnp.Ptr) Admin_addCategory_Results
func (Admin_addCategory_Results) EncodeAsPtr ¶
func (s Admin_addCategory_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_addCategory_Results) IsValid ¶
func (s Admin_addCategory_Results) IsValid() bool
func (Admin_addCategory_Results) Message ¶
func (s Admin_addCategory_Results) Message() *capnp.Message
func (Admin_addCategory_Results) Segment ¶
func (s Admin_addCategory_Results) Segment() *capnp.Segment
func (Admin_addCategory_Results) SetSuccess ¶
func (s Admin_addCategory_Results) SetSuccess(v bool)
func (Admin_addCategory_Results) String ¶
func (s Admin_addCategory_Results) String() string
func (Admin_addCategory_Results) Success ¶
func (s Admin_addCategory_Results) Success() bool
func (Admin_addCategory_Results) ToPtr ¶
func (s Admin_addCategory_Results) ToPtr() capnp.Ptr
type Admin_addCategory_Results_Future ¶
Admin_addCategory_Results_Future is a wrapper for a Admin_addCategory_Results promised by a client call.
func (Admin_addCategory_Results_Future) Struct ¶
func (f Admin_addCategory_Results_Future) Struct() (Admin_addCategory_Results, error)
type Admin_addCategory_Results_List ¶
type Admin_addCategory_Results_List = capnp.StructList[Admin_addCategory_Results]
Admin_addCategory_Results_List is a list of Admin_addCategory_Results.
func NewAdmin_addCategory_Results_List ¶
func NewAdmin_addCategory_Results_List(s *capnp.Segment, sz int32) (Admin_addCategory_Results_List, error)
NewAdmin_addCategory_Results creates a new list of Admin_addCategory_Results.
type Admin_moveObjects ¶
Admin_moveObjects holds the state for a server call to Admin.moveObjects. See server.Call for documentation.
func (Admin_moveObjects) AllocResults ¶
func (c Admin_moveObjects) AllocResults() (Admin_moveObjects_Results, error)
AllocResults allocates the results struct.
func (Admin_moveObjects) Args ¶
func (c Admin_moveObjects) Args() Admin_moveObjects_Params
Args returns the call's arguments.
type Admin_moveObjects_Params ¶
func NewAdmin_moveObjects_Params ¶
func NewAdmin_moveObjects_Params(s *capnp.Segment) (Admin_moveObjects_Params, error)
func NewRootAdmin_moveObjects_Params ¶
func NewRootAdmin_moveObjects_Params(s *capnp.Segment) (Admin_moveObjects_Params, error)
func ReadRootAdmin_moveObjects_Params ¶
func ReadRootAdmin_moveObjects_Params(msg *capnp.Message) (Admin_moveObjects_Params, error)
func (Admin_moveObjects_Params) DecodeFromPtr ¶
func (Admin_moveObjects_Params) DecodeFromPtr(p capnp.Ptr) Admin_moveObjects_Params
func (Admin_moveObjects_Params) EncodeAsPtr ¶
func (s Admin_moveObjects_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_moveObjects_Params) HasObjectIds ¶
func (s Admin_moveObjects_Params) HasObjectIds() bool
func (Admin_moveObjects_Params) HasToCatId ¶
func (s Admin_moveObjects_Params) HasToCatId() bool
func (Admin_moveObjects_Params) IsValid ¶
func (s Admin_moveObjects_Params) IsValid() bool
func (Admin_moveObjects_Params) Message ¶
func (s Admin_moveObjects_Params) Message() *capnp.Message
func (Admin_moveObjects_Params) NewObjectIds ¶
func (s Admin_moveObjects_Params) NewObjectIds(n int32) (capnp.TextList, error)
NewObjectIds sets the objectIds field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (Admin_moveObjects_Params) ObjectIds ¶
func (s Admin_moveObjects_Params) ObjectIds() (capnp.TextList, error)
func (Admin_moveObjects_Params) Segment ¶
func (s Admin_moveObjects_Params) Segment() *capnp.Segment
func (Admin_moveObjects_Params) SetObjectIds ¶
func (s Admin_moveObjects_Params) SetObjectIds(v capnp.TextList) error
func (Admin_moveObjects_Params) SetToCatId ¶
func (s Admin_moveObjects_Params) SetToCatId(v string) error
func (Admin_moveObjects_Params) String ¶
func (s Admin_moveObjects_Params) String() string
func (Admin_moveObjects_Params) ToCatId ¶
func (s Admin_moveObjects_Params) ToCatId() (string, error)
func (Admin_moveObjects_Params) ToCatIdBytes ¶
func (s Admin_moveObjects_Params) ToCatIdBytes() ([]byte, error)
func (Admin_moveObjects_Params) ToPtr ¶
func (s Admin_moveObjects_Params) ToPtr() capnp.Ptr
type Admin_moveObjects_Params_Future ¶
Admin_moveObjects_Params_Future is a wrapper for a Admin_moveObjects_Params promised by a client call.
func (Admin_moveObjects_Params_Future) Struct ¶
func (f Admin_moveObjects_Params_Future) Struct() (Admin_moveObjects_Params, error)
type Admin_moveObjects_Params_List ¶
type Admin_moveObjects_Params_List = capnp.StructList[Admin_moveObjects_Params]
Admin_moveObjects_Params_List is a list of Admin_moveObjects_Params.
func NewAdmin_moveObjects_Params_List ¶
func NewAdmin_moveObjects_Params_List(s *capnp.Segment, sz int32) (Admin_moveObjects_Params_List, error)
NewAdmin_moveObjects_Params creates a new list of Admin_moveObjects_Params.
type Admin_moveObjects_Results ¶
func NewAdmin_moveObjects_Results ¶
func NewAdmin_moveObjects_Results(s *capnp.Segment) (Admin_moveObjects_Results, error)
func NewRootAdmin_moveObjects_Results ¶
func NewRootAdmin_moveObjects_Results(s *capnp.Segment) (Admin_moveObjects_Results, error)
func ReadRootAdmin_moveObjects_Results ¶
func ReadRootAdmin_moveObjects_Results(msg *capnp.Message) (Admin_moveObjects_Results, error)
func (Admin_moveObjects_Results) DecodeFromPtr ¶
func (Admin_moveObjects_Results) DecodeFromPtr(p capnp.Ptr) Admin_moveObjects_Results
func (Admin_moveObjects_Results) EncodeAsPtr ¶
func (s Admin_moveObjects_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_moveObjects_Results) HasMovedObjectIds ¶
func (s Admin_moveObjects_Results) HasMovedObjectIds() bool
func (Admin_moveObjects_Results) IsValid ¶
func (s Admin_moveObjects_Results) IsValid() bool
func (Admin_moveObjects_Results) Message ¶
func (s Admin_moveObjects_Results) Message() *capnp.Message
func (Admin_moveObjects_Results) MovedObjectIds ¶
func (s Admin_moveObjects_Results) MovedObjectIds() (capnp.TextList, error)
func (Admin_moveObjects_Results) NewMovedObjectIds ¶
func (s Admin_moveObjects_Results) NewMovedObjectIds(n int32) (capnp.TextList, error)
NewMovedObjectIds sets the movedObjectIds field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (Admin_moveObjects_Results) Segment ¶
func (s Admin_moveObjects_Results) Segment() *capnp.Segment
func (Admin_moveObjects_Results) SetMovedObjectIds ¶
func (s Admin_moveObjects_Results) SetMovedObjectIds(v capnp.TextList) error
func (Admin_moveObjects_Results) String ¶
func (s Admin_moveObjects_Results) String() string
func (Admin_moveObjects_Results) ToPtr ¶
func (s Admin_moveObjects_Results) ToPtr() capnp.Ptr
type Admin_moveObjects_Results_Future ¶
Admin_moveObjects_Results_Future is a wrapper for a Admin_moveObjects_Results promised by a client call.
func (Admin_moveObjects_Results_Future) Struct ¶
func (f Admin_moveObjects_Results_Future) Struct() (Admin_moveObjects_Results, error)
type Admin_moveObjects_Results_List ¶
type Admin_moveObjects_Results_List = capnp.StructList[Admin_moveObjects_Results]
Admin_moveObjects_Results_List is a list of Admin_moveObjects_Results.
func NewAdmin_moveObjects_Results_List ¶
func NewAdmin_moveObjects_Results_List(s *capnp.Segment, sz int32) (Admin_moveObjects_Results_List, error)
NewAdmin_moveObjects_Results creates a new list of Admin_moveObjects_Results.
type Admin_registry ¶
Admin_registry holds the state for a server call to Admin.registry. See server.Call for documentation.
func (Admin_registry) AllocResults ¶
func (c Admin_registry) AllocResults() (Admin_registry_Results, error)
AllocResults allocates the results struct.
func (Admin_registry) Args ¶
func (c Admin_registry) Args() Admin_registry_Params
Args returns the call's arguments.
type Admin_registry_Params ¶
func NewAdmin_registry_Params ¶
func NewAdmin_registry_Params(s *capnp.Segment) (Admin_registry_Params, error)
func NewRootAdmin_registry_Params ¶
func NewRootAdmin_registry_Params(s *capnp.Segment) (Admin_registry_Params, error)
func ReadRootAdmin_registry_Params ¶
func ReadRootAdmin_registry_Params(msg *capnp.Message) (Admin_registry_Params, error)
func (Admin_registry_Params) DecodeFromPtr ¶
func (Admin_registry_Params) DecodeFromPtr(p capnp.Ptr) Admin_registry_Params
func (Admin_registry_Params) EncodeAsPtr ¶
func (s Admin_registry_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_registry_Params) IsValid ¶
func (s Admin_registry_Params) IsValid() bool
func (Admin_registry_Params) Message ¶
func (s Admin_registry_Params) Message() *capnp.Message
func (Admin_registry_Params) Segment ¶
func (s Admin_registry_Params) Segment() *capnp.Segment
func (Admin_registry_Params) String ¶
func (s Admin_registry_Params) String() string
func (Admin_registry_Params) ToPtr ¶
func (s Admin_registry_Params) ToPtr() capnp.Ptr
type Admin_registry_Params_Future ¶
Admin_registry_Params_Future is a wrapper for a Admin_registry_Params promised by a client call.
func (Admin_registry_Params_Future) Struct ¶
func (f Admin_registry_Params_Future) Struct() (Admin_registry_Params, error)
type Admin_registry_Params_List ¶
type Admin_registry_Params_List = capnp.StructList[Admin_registry_Params]
Admin_registry_Params_List is a list of Admin_registry_Params.
func NewAdmin_registry_Params_List ¶
func NewAdmin_registry_Params_List(s *capnp.Segment, sz int32) (Admin_registry_Params_List, error)
NewAdmin_registry_Params creates a new list of Admin_registry_Params.
type Admin_registry_Results ¶
func NewAdmin_registry_Results ¶
func NewAdmin_registry_Results(s *capnp.Segment) (Admin_registry_Results, error)
func NewRootAdmin_registry_Results ¶
func NewRootAdmin_registry_Results(s *capnp.Segment) (Admin_registry_Results, error)
func ReadRootAdmin_registry_Results ¶
func ReadRootAdmin_registry_Results(msg *capnp.Message) (Admin_registry_Results, error)
func (Admin_registry_Results) DecodeFromPtr ¶
func (Admin_registry_Results) DecodeFromPtr(p capnp.Ptr) Admin_registry_Results
func (Admin_registry_Results) EncodeAsPtr ¶
func (s Admin_registry_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_registry_Results) HasRegistry ¶
func (s Admin_registry_Results) HasRegistry() bool
func (Admin_registry_Results) IsValid ¶
func (s Admin_registry_Results) IsValid() bool
func (Admin_registry_Results) Message ¶
func (s Admin_registry_Results) Message() *capnp.Message
func (Admin_registry_Results) Registry ¶
func (s Admin_registry_Results) Registry() Registry
func (Admin_registry_Results) Segment ¶
func (s Admin_registry_Results) Segment() *capnp.Segment
func (Admin_registry_Results) SetRegistry ¶
func (s Admin_registry_Results) SetRegistry(v Registry) error
func (Admin_registry_Results) String ¶
func (s Admin_registry_Results) String() string
func (Admin_registry_Results) ToPtr ¶
func (s Admin_registry_Results) ToPtr() capnp.Ptr
type Admin_registry_Results_Future ¶
Admin_registry_Results_Future is a wrapper for a Admin_registry_Results promised by a client call.
func (Admin_registry_Results_Future) Registry ¶
func (p Admin_registry_Results_Future) Registry() Registry
func (Admin_registry_Results_Future) Struct ¶
func (f Admin_registry_Results_Future) Struct() (Admin_registry_Results, error)
type Admin_registry_Results_List ¶
type Admin_registry_Results_List = capnp.StructList[Admin_registry_Results]
Admin_registry_Results_List is a list of Admin_registry_Results.
func NewAdmin_registry_Results_List ¶
func NewAdmin_registry_Results_List(s *capnp.Segment, sz int32) (Admin_registry_Results_List, error)
NewAdmin_registry_Results creates a new list of Admin_registry_Results.
type Admin_removeCategory ¶
Admin_removeCategory holds the state for a server call to Admin.removeCategory. See server.Call for documentation.
func (Admin_removeCategory) AllocResults ¶
func (c Admin_removeCategory) AllocResults() (Admin_removeCategory_Results, error)
AllocResults allocates the results struct.
func (Admin_removeCategory) Args ¶
func (c Admin_removeCategory) Args() Admin_removeCategory_Params
Args returns the call's arguments.
type Admin_removeCategory_Params ¶
func NewAdmin_removeCategory_Params ¶
func NewAdmin_removeCategory_Params(s *capnp.Segment) (Admin_removeCategory_Params, error)
func NewRootAdmin_removeCategory_Params ¶
func NewRootAdmin_removeCategory_Params(s *capnp.Segment) (Admin_removeCategory_Params, error)
func ReadRootAdmin_removeCategory_Params ¶
func ReadRootAdmin_removeCategory_Params(msg *capnp.Message) (Admin_removeCategory_Params, error)
func (Admin_removeCategory_Params) CategoryId ¶
func (s Admin_removeCategory_Params) CategoryId() (string, error)
func (Admin_removeCategory_Params) CategoryIdBytes ¶
func (s Admin_removeCategory_Params) CategoryIdBytes() ([]byte, error)
func (Admin_removeCategory_Params) DecodeFromPtr ¶
func (Admin_removeCategory_Params) DecodeFromPtr(p capnp.Ptr) Admin_removeCategory_Params
func (Admin_removeCategory_Params) EncodeAsPtr ¶
func (s Admin_removeCategory_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_removeCategory_Params) HasCategoryId ¶
func (s Admin_removeCategory_Params) HasCategoryId() bool
func (Admin_removeCategory_Params) HasMoveObjectsToCategoryId ¶
func (s Admin_removeCategory_Params) HasMoveObjectsToCategoryId() bool
func (Admin_removeCategory_Params) IsValid ¶
func (s Admin_removeCategory_Params) IsValid() bool
func (Admin_removeCategory_Params) Message ¶
func (s Admin_removeCategory_Params) Message() *capnp.Message
func (Admin_removeCategory_Params) MoveObjectsToCategoryId ¶
func (s Admin_removeCategory_Params) MoveObjectsToCategoryId() (string, error)
func (Admin_removeCategory_Params) MoveObjectsToCategoryIdBytes ¶
func (s Admin_removeCategory_Params) MoveObjectsToCategoryIdBytes() ([]byte, error)
func (Admin_removeCategory_Params) Segment ¶
func (s Admin_removeCategory_Params) Segment() *capnp.Segment
func (Admin_removeCategory_Params) SetCategoryId ¶
func (s Admin_removeCategory_Params) SetCategoryId(v string) error
func (Admin_removeCategory_Params) SetMoveObjectsToCategoryId ¶
func (s Admin_removeCategory_Params) SetMoveObjectsToCategoryId(v string) error
func (Admin_removeCategory_Params) String ¶
func (s Admin_removeCategory_Params) String() string
func (Admin_removeCategory_Params) ToPtr ¶
func (s Admin_removeCategory_Params) ToPtr() capnp.Ptr
type Admin_removeCategory_Params_Future ¶
Admin_removeCategory_Params_Future is a wrapper for a Admin_removeCategory_Params promised by a client call.
func (Admin_removeCategory_Params_Future) Struct ¶
func (f Admin_removeCategory_Params_Future) Struct() (Admin_removeCategory_Params, error)
type Admin_removeCategory_Params_List ¶
type Admin_removeCategory_Params_List = capnp.StructList[Admin_removeCategory_Params]
Admin_removeCategory_Params_List is a list of Admin_removeCategory_Params.
func NewAdmin_removeCategory_Params_List ¶
func NewAdmin_removeCategory_Params_List(s *capnp.Segment, sz int32) (Admin_removeCategory_Params_List, error)
NewAdmin_removeCategory_Params creates a new list of Admin_removeCategory_Params.
type Admin_removeCategory_Results ¶
func NewAdmin_removeCategory_Results ¶
func NewAdmin_removeCategory_Results(s *capnp.Segment) (Admin_removeCategory_Results, error)
func NewRootAdmin_removeCategory_Results ¶
func NewRootAdmin_removeCategory_Results(s *capnp.Segment) (Admin_removeCategory_Results, error)
func ReadRootAdmin_removeCategory_Results ¶
func ReadRootAdmin_removeCategory_Results(msg *capnp.Message) (Admin_removeCategory_Results, error)
func (Admin_removeCategory_Results) DecodeFromPtr ¶
func (Admin_removeCategory_Results) DecodeFromPtr(p capnp.Ptr) Admin_removeCategory_Results
func (Admin_removeCategory_Results) EncodeAsPtr ¶
func (s Admin_removeCategory_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_removeCategory_Results) HasRemovedObjects ¶
func (s Admin_removeCategory_Results) HasRemovedObjects() bool
func (Admin_removeCategory_Results) IsValid ¶
func (s Admin_removeCategory_Results) IsValid() bool
func (Admin_removeCategory_Results) Message ¶
func (s Admin_removeCategory_Results) Message() *capnp.Message
func (Admin_removeCategory_Results) NewRemovedObjects ¶
func (s Admin_removeCategory_Results) NewRemovedObjects(n int32) (common.Identifiable_List, error)
NewRemovedObjects sets the removedObjects field to a newly allocated common.Identifiable_List, preferring placement in s's segment.
func (Admin_removeCategory_Results) RemovedObjects ¶
func (s Admin_removeCategory_Results) RemovedObjects() (common.Identifiable_List, error)
func (Admin_removeCategory_Results) Segment ¶
func (s Admin_removeCategory_Results) Segment() *capnp.Segment
func (Admin_removeCategory_Results) SetRemovedObjects ¶
func (s Admin_removeCategory_Results) SetRemovedObjects(v common.Identifiable_List) error
func (Admin_removeCategory_Results) String ¶
func (s Admin_removeCategory_Results) String() string
func (Admin_removeCategory_Results) ToPtr ¶
func (s Admin_removeCategory_Results) ToPtr() capnp.Ptr
type Admin_removeCategory_Results_Future ¶
Admin_removeCategory_Results_Future is a wrapper for a Admin_removeCategory_Results promised by a client call.
func (Admin_removeCategory_Results_Future) Struct ¶
func (f Admin_removeCategory_Results_Future) Struct() (Admin_removeCategory_Results, error)
type Admin_removeCategory_Results_List ¶
type Admin_removeCategory_Results_List = capnp.StructList[Admin_removeCategory_Results]
Admin_removeCategory_Results_List is a list of Admin_removeCategory_Results.
func NewAdmin_removeCategory_Results_List ¶
func NewAdmin_removeCategory_Results_List(s *capnp.Segment, sz int32) (Admin_removeCategory_Results_List, error)
NewAdmin_removeCategory_Results creates a new list of Admin_removeCategory_Results.
type Admin_removeObjects ¶
Admin_removeObjects holds the state for a server call to Admin.removeObjects. See server.Call for documentation.
func (Admin_removeObjects) AllocResults ¶
func (c Admin_removeObjects) AllocResults() (Admin_removeObjects_Results, error)
AllocResults allocates the results struct.
func (Admin_removeObjects) Args ¶
func (c Admin_removeObjects) Args() Admin_removeObjects_Params
Args returns the call's arguments.
type Admin_removeObjects_Params ¶
func NewAdmin_removeObjects_Params ¶
func NewAdmin_removeObjects_Params(s *capnp.Segment) (Admin_removeObjects_Params, error)
func NewRootAdmin_removeObjects_Params ¶
func NewRootAdmin_removeObjects_Params(s *capnp.Segment) (Admin_removeObjects_Params, error)
func ReadRootAdmin_removeObjects_Params ¶
func ReadRootAdmin_removeObjects_Params(msg *capnp.Message) (Admin_removeObjects_Params, error)
func (Admin_removeObjects_Params) DecodeFromPtr ¶
func (Admin_removeObjects_Params) DecodeFromPtr(p capnp.Ptr) Admin_removeObjects_Params
func (Admin_removeObjects_Params) EncodeAsPtr ¶
func (s Admin_removeObjects_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_removeObjects_Params) HasObjectIds ¶
func (s Admin_removeObjects_Params) HasObjectIds() bool
func (Admin_removeObjects_Params) IsValid ¶
func (s Admin_removeObjects_Params) IsValid() bool
func (Admin_removeObjects_Params) Message ¶
func (s Admin_removeObjects_Params) Message() *capnp.Message
func (Admin_removeObjects_Params) NewObjectIds ¶
func (s Admin_removeObjects_Params) NewObjectIds(n int32) (capnp.TextList, error)
NewObjectIds sets the objectIds field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (Admin_removeObjects_Params) ObjectIds ¶
func (s Admin_removeObjects_Params) ObjectIds() (capnp.TextList, error)
func (Admin_removeObjects_Params) Segment ¶
func (s Admin_removeObjects_Params) Segment() *capnp.Segment
func (Admin_removeObjects_Params) SetObjectIds ¶
func (s Admin_removeObjects_Params) SetObjectIds(v capnp.TextList) error
func (Admin_removeObjects_Params) String ¶
func (s Admin_removeObjects_Params) String() string
func (Admin_removeObjects_Params) ToPtr ¶
func (s Admin_removeObjects_Params) ToPtr() capnp.Ptr
type Admin_removeObjects_Params_Future ¶
Admin_removeObjects_Params_Future is a wrapper for a Admin_removeObjects_Params promised by a client call.
func (Admin_removeObjects_Params_Future) Struct ¶
func (f Admin_removeObjects_Params_Future) Struct() (Admin_removeObjects_Params, error)
type Admin_removeObjects_Params_List ¶
type Admin_removeObjects_Params_List = capnp.StructList[Admin_removeObjects_Params]
Admin_removeObjects_Params_List is a list of Admin_removeObjects_Params.
func NewAdmin_removeObjects_Params_List ¶
func NewAdmin_removeObjects_Params_List(s *capnp.Segment, sz int32) (Admin_removeObjects_Params_List, error)
NewAdmin_removeObjects_Params creates a new list of Admin_removeObjects_Params.
type Admin_removeObjects_Results ¶
func NewAdmin_removeObjects_Results ¶
func NewAdmin_removeObjects_Results(s *capnp.Segment) (Admin_removeObjects_Results, error)
func NewRootAdmin_removeObjects_Results ¶
func NewRootAdmin_removeObjects_Results(s *capnp.Segment) (Admin_removeObjects_Results, error)
func ReadRootAdmin_removeObjects_Results ¶
func ReadRootAdmin_removeObjects_Results(msg *capnp.Message) (Admin_removeObjects_Results, error)
func (Admin_removeObjects_Results) DecodeFromPtr ¶
func (Admin_removeObjects_Results) DecodeFromPtr(p capnp.Ptr) Admin_removeObjects_Results
func (Admin_removeObjects_Results) EncodeAsPtr ¶
func (s Admin_removeObjects_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Admin_removeObjects_Results) HasRemovedObjects ¶
func (s Admin_removeObjects_Results) HasRemovedObjects() bool
func (Admin_removeObjects_Results) IsValid ¶
func (s Admin_removeObjects_Results) IsValid() bool
func (Admin_removeObjects_Results) Message ¶
func (s Admin_removeObjects_Results) Message() *capnp.Message
func (Admin_removeObjects_Results) NewRemovedObjects ¶
func (s Admin_removeObjects_Results) NewRemovedObjects(n int32) (common.Identifiable_List, error)
NewRemovedObjects sets the removedObjects field to a newly allocated common.Identifiable_List, preferring placement in s's segment.
func (Admin_removeObjects_Results) RemovedObjects ¶
func (s Admin_removeObjects_Results) RemovedObjects() (common.Identifiable_List, error)
func (Admin_removeObjects_Results) Segment ¶
func (s Admin_removeObjects_Results) Segment() *capnp.Segment
func (Admin_removeObjects_Results) SetRemovedObjects ¶
func (s Admin_removeObjects_Results) SetRemovedObjects(v common.Identifiable_List) error
func (Admin_removeObjects_Results) String ¶
func (s Admin_removeObjects_Results) String() string
func (Admin_removeObjects_Results) ToPtr ¶
func (s Admin_removeObjects_Results) ToPtr() capnp.Ptr
type Admin_removeObjects_Results_Future ¶
Admin_removeObjects_Results_Future is a wrapper for a Admin_removeObjects_Results promised by a client call.
func (Admin_removeObjects_Results_Future) Struct ¶
func (f Admin_removeObjects_Results_Future) Struct() (Admin_removeObjects_Results, error)
type Admin_removeObjects_Results_List ¶
type Admin_removeObjects_Results_List = capnp.StructList[Admin_removeObjects_Results]
Admin_removeObjects_Results_List is a list of Admin_removeObjects_Results.
func NewAdmin_removeObjects_Results_List ¶
func NewAdmin_removeObjects_Results_List(s *capnp.Segment, sz int32) (Admin_removeObjects_Results_List, error)
NewAdmin_removeObjects_Results creates a new list of Admin_removeObjects_Results.
type Registrar ¶
func Registrar_ServerToClient ¶
func Registrar_ServerToClient(s Registrar_Server) Registrar
Registrar_ServerToClient creates a new Client from an implementation of Registrar_Server. The caller is responsible for calling Release on the returned Client.
func (Registrar) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Registrar) GetFlowLimiter ¶
func (c Registrar) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Registrar) Info ¶
func (c Registrar) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Registrar) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Registrar) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Registrar) Register ¶
func (c Registrar) Register(ctx context.Context, params func(Registrar_RegParams) error) (Registrar_register_Results_Future, capnp.ReleaseFunc)
func (Registrar) Release ¶
func (c Registrar) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Registrar) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Registrar) SetFlowLimiter ¶
func (c Registrar) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Registrar) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Registrar) WaitStreaming ¶
type Registrar_CrossDomainRestore ¶
func NewRegistrar_CrossDomainRestore ¶
func NewRegistrar_CrossDomainRestore(s *capnp.Segment) (Registrar_CrossDomainRestore, error)
func NewRootRegistrar_CrossDomainRestore ¶
func NewRootRegistrar_CrossDomainRestore(s *capnp.Segment) (Registrar_CrossDomainRestore, error)
func ReadRootRegistrar_CrossDomainRestore ¶
func ReadRootRegistrar_CrossDomainRestore(msg *capnp.Message) (Registrar_CrossDomainRestore, error)
func (Registrar_CrossDomainRestore) DecodeFromPtr ¶
func (Registrar_CrossDomainRestore) DecodeFromPtr(p capnp.Ptr) Registrar_CrossDomainRestore
func (Registrar_CrossDomainRestore) EncodeAsPtr ¶
func (s Registrar_CrossDomainRestore) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registrar_CrossDomainRestore) HasRestorer ¶
func (s Registrar_CrossDomainRestore) HasRestorer() bool
func (Registrar_CrossDomainRestore) HasVatId ¶
func (s Registrar_CrossDomainRestore) HasVatId() bool
func (Registrar_CrossDomainRestore) IsValid ¶
func (s Registrar_CrossDomainRestore) IsValid() bool
func (Registrar_CrossDomainRestore) Message ¶
func (s Registrar_CrossDomainRestore) Message() *capnp.Message
func (Registrar_CrossDomainRestore) NewVatId ¶
func (s Registrar_CrossDomainRestore) NewVatId() (persistence.VatId, error)
NewVatId sets the vatId field to a newly allocated persistence.VatId struct, preferring placement in s's segment.
func (Registrar_CrossDomainRestore) Restorer ¶
func (s Registrar_CrossDomainRestore) Restorer() persistence.Restorer
func (Registrar_CrossDomainRestore) Segment ¶
func (s Registrar_CrossDomainRestore) Segment() *capnp.Segment
func (Registrar_CrossDomainRestore) SetRestorer ¶
func (s Registrar_CrossDomainRestore) SetRestorer(v persistence.Restorer) error
func (Registrar_CrossDomainRestore) SetVatId ¶
func (s Registrar_CrossDomainRestore) SetVatId(v persistence.VatId) error
func (Registrar_CrossDomainRestore) String ¶
func (s Registrar_CrossDomainRestore) String() string
func (Registrar_CrossDomainRestore) ToPtr ¶
func (s Registrar_CrossDomainRestore) ToPtr() capnp.Ptr
func (Registrar_CrossDomainRestore) VatId ¶
func (s Registrar_CrossDomainRestore) VatId() (persistence.VatId, error)
type Registrar_CrossDomainRestore_Future ¶
Registrar_CrossDomainRestore_Future is a wrapper for a Registrar_CrossDomainRestore promised by a client call.
func (Registrar_CrossDomainRestore_Future) Restorer ¶
func (p Registrar_CrossDomainRestore_Future) Restorer() persistence.Restorer
func (Registrar_CrossDomainRestore_Future) Struct ¶
func (f Registrar_CrossDomainRestore_Future) Struct() (Registrar_CrossDomainRestore, error)
func (Registrar_CrossDomainRestore_Future) VatId ¶
func (p Registrar_CrossDomainRestore_Future) VatId() persistence.VatId_Future
type Registrar_CrossDomainRestore_List ¶
type Registrar_CrossDomainRestore_List = capnp.StructList[Registrar_CrossDomainRestore]
Registrar_CrossDomainRestore_List is a list of Registrar_CrossDomainRestore.
func NewRegistrar_CrossDomainRestore_List ¶
func NewRegistrar_CrossDomainRestore_List(s *capnp.Segment, sz int32) (Registrar_CrossDomainRestore_List, error)
NewRegistrar_CrossDomainRestore creates a new list of Registrar_CrossDomainRestore.
type Registrar_List ¶
Registrar_List is a list of Registrar.
func NewRegistrar_List ¶
func NewRegistrar_List(s *capnp.Segment, sz int32) (Registrar_List, error)
NewRegistrar_List creates a new list of Registrar.
type Registrar_RegParams ¶
func NewRegistrar_RegParams ¶
func NewRegistrar_RegParams(s *capnp.Segment) (Registrar_RegParams, error)
func NewRootRegistrar_RegParams ¶
func NewRootRegistrar_RegParams(s *capnp.Segment) (Registrar_RegParams, error)
func ReadRootRegistrar_RegParams ¶
func ReadRootRegistrar_RegParams(msg *capnp.Message) (Registrar_RegParams, error)
func (Registrar_RegParams) Cap ¶
func (s Registrar_RegParams) Cap() common.Identifiable
func (Registrar_RegParams) CategoryId ¶
func (s Registrar_RegParams) CategoryId() (string, error)
func (Registrar_RegParams) CategoryIdBytes ¶
func (s Registrar_RegParams) CategoryIdBytes() ([]byte, error)
func (Registrar_RegParams) DecodeFromPtr ¶
func (Registrar_RegParams) DecodeFromPtr(p capnp.Ptr) Registrar_RegParams
func (Registrar_RegParams) EncodeAsPtr ¶
func (s Registrar_RegParams) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registrar_RegParams) HasCap ¶
func (s Registrar_RegParams) HasCap() bool
func (Registrar_RegParams) HasCategoryId ¶
func (s Registrar_RegParams) HasCategoryId() bool
func (Registrar_RegParams) HasRegName ¶
func (s Registrar_RegParams) HasRegName() bool
func (Registrar_RegParams) HasXDomain ¶
func (s Registrar_RegParams) HasXDomain() bool
func (Registrar_RegParams) IsValid ¶
func (s Registrar_RegParams) IsValid() bool
func (Registrar_RegParams) Message ¶
func (s Registrar_RegParams) Message() *capnp.Message
func (Registrar_RegParams) NewXDomain ¶
func (s Registrar_RegParams) NewXDomain() (Registrar_CrossDomainRestore, error)
NewXDomain sets the xDomain field to a newly allocated Registrar_CrossDomainRestore struct, preferring placement in s's segment.
func (Registrar_RegParams) RegName ¶
func (s Registrar_RegParams) RegName() (string, error)
func (Registrar_RegParams) RegNameBytes ¶
func (s Registrar_RegParams) RegNameBytes() ([]byte, error)
func (Registrar_RegParams) Segment ¶
func (s Registrar_RegParams) Segment() *capnp.Segment
func (Registrar_RegParams) SetCap ¶
func (s Registrar_RegParams) SetCap(v common.Identifiable) error
func (Registrar_RegParams) SetCategoryId ¶
func (s Registrar_RegParams) SetCategoryId(v string) error
func (Registrar_RegParams) SetRegName ¶
func (s Registrar_RegParams) SetRegName(v string) error
func (Registrar_RegParams) SetXDomain ¶
func (s Registrar_RegParams) SetXDomain(v Registrar_CrossDomainRestore) error
func (Registrar_RegParams) String ¶
func (s Registrar_RegParams) String() string
func (Registrar_RegParams) ToPtr ¶
func (s Registrar_RegParams) ToPtr() capnp.Ptr
func (Registrar_RegParams) XDomain ¶
func (s Registrar_RegParams) XDomain() (Registrar_CrossDomainRestore, error)
type Registrar_RegParams_Future ¶
Registrar_RegParams_Future is a wrapper for a Registrar_RegParams promised by a client call.
func (Registrar_RegParams_Future) Cap ¶
func (p Registrar_RegParams_Future) Cap() common.Identifiable
func (Registrar_RegParams_Future) Struct ¶
func (f Registrar_RegParams_Future) Struct() (Registrar_RegParams, error)
func (Registrar_RegParams_Future) XDomain ¶
func (p Registrar_RegParams_Future) XDomain() Registrar_CrossDomainRestore_Future
type Registrar_RegParams_List ¶
type Registrar_RegParams_List = capnp.StructList[Registrar_RegParams]
Registrar_RegParams_List is a list of Registrar_RegParams.
func NewRegistrar_RegParams_List ¶
func NewRegistrar_RegParams_List(s *capnp.Segment, sz int32) (Registrar_RegParams_List, error)
NewRegistrar_RegParams creates a new list of Registrar_RegParams.
type Registrar_Server ¶
type Registrar_Server interface { Register(context.Context, Registrar_register) error Info(context.Context, common.Identifiable_info) error }
A Registrar_Server is a Registrar with a local implementation.
type Registrar_Unregister ¶
func Registrar_Unregister_ServerToClient ¶
func Registrar_Unregister_ServerToClient(s Registrar_Unregister_Server) Registrar_Unregister
Registrar_Unregister_ServerToClient creates a new Client from an implementation of Registrar_Unregister_Server. The caller is responsible for calling Release on the returned Client.
func (Registrar_Unregister) AddRef ¶
func (c Registrar_Unregister) AddRef() Registrar_Unregister
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Registrar_Unregister) DecodeFromPtr ¶
func (Registrar_Unregister) DecodeFromPtr(p capnp.Ptr) Registrar_Unregister
func (Registrar_Unregister) EncodeAsPtr ¶
func (c Registrar_Unregister) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registrar_Unregister) GetFlowLimiter ¶
func (c Registrar_Unregister) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Registrar_Unregister) IsSame ¶
func (c Registrar_Unregister) IsSame(other Registrar_Unregister) bool
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Registrar_Unregister) IsValid ¶
func (c Registrar_Unregister) IsValid() bool
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Registrar_Unregister) Release ¶
func (c Registrar_Unregister) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Registrar_Unregister) Resolve ¶
func (c Registrar_Unregister) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Registrar_Unregister) SetFlowLimiter ¶
func (c Registrar_Unregister) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Registrar_Unregister) String ¶
func (c Registrar_Unregister) String() string
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Registrar_Unregister) Unregister ¶
func (c Registrar_Unregister) Unregister(ctx context.Context, params func(Registrar_Unregister_unregister_Params) error) (Registrar_Unregister_unregister_Results_Future, capnp.ReleaseFunc)
func (Registrar_Unregister) WaitStreaming ¶
func (c Registrar_Unregister) WaitStreaming() error
type Registrar_Unregister_List ¶
type Registrar_Unregister_List = capnp.CapList[Registrar_Unregister]
Registrar_Unregister_List is a list of Registrar_Unregister.
func NewRegistrar_Unregister_List ¶
func NewRegistrar_Unregister_List(s *capnp.Segment, sz int32) (Registrar_Unregister_List, error)
NewRegistrar_Unregister_List creates a new list of Registrar_Unregister.
type Registrar_Unregister_Server ¶
type Registrar_Unregister_Server interface {
Unregister(context.Context, Registrar_Unregister_unregister) error
}
A Registrar_Unregister_Server is a Registrar_Unregister with a local implementation.
type Registrar_Unregister_unregister ¶
Registrar_Unregister_unregister holds the state for a server call to Registrar_Unregister.unregister. See server.Call for documentation.
func (Registrar_Unregister_unregister) AllocResults ¶
func (c Registrar_Unregister_unregister) AllocResults() (Registrar_Unregister_unregister_Results, error)
AllocResults allocates the results struct.
type Registrar_Unregister_unregister_Params ¶
func NewRegistrar_Unregister_unregister_Params ¶
func NewRegistrar_Unregister_unregister_Params(s *capnp.Segment) (Registrar_Unregister_unregister_Params, error)
func NewRootRegistrar_Unregister_unregister_Params ¶
func NewRootRegistrar_Unregister_unregister_Params(s *capnp.Segment) (Registrar_Unregister_unregister_Params, error)
func ReadRootRegistrar_Unregister_unregister_Params ¶
func ReadRootRegistrar_Unregister_unregister_Params(msg *capnp.Message) (Registrar_Unregister_unregister_Params, error)
func (Registrar_Unregister_unregister_Params) DecodeFromPtr ¶
func (Registrar_Unregister_unregister_Params) DecodeFromPtr(p capnp.Ptr) Registrar_Unregister_unregister_Params
func (Registrar_Unregister_unregister_Params) EncodeAsPtr ¶
func (s Registrar_Unregister_unregister_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registrar_Unregister_unregister_Params) IsValid ¶
func (s Registrar_Unregister_unregister_Params) IsValid() bool
func (Registrar_Unregister_unregister_Params) Message ¶
func (s Registrar_Unregister_unregister_Params) Message() *capnp.Message
func (Registrar_Unregister_unregister_Params) Segment ¶
func (s Registrar_Unregister_unregister_Params) Segment() *capnp.Segment
func (Registrar_Unregister_unregister_Params) String ¶
func (s Registrar_Unregister_unregister_Params) String() string
func (Registrar_Unregister_unregister_Params) ToPtr ¶
func (s Registrar_Unregister_unregister_Params) ToPtr() capnp.Ptr
type Registrar_Unregister_unregister_Params_Future ¶
Registrar_Unregister_unregister_Params_Future is a wrapper for a Registrar_Unregister_unregister_Params promised by a client call.
func (Registrar_Unregister_unregister_Params_Future) Struct ¶
func (f Registrar_Unregister_unregister_Params_Future) Struct() (Registrar_Unregister_unregister_Params, error)
type Registrar_Unregister_unregister_Params_List ¶
type Registrar_Unregister_unregister_Params_List = capnp.StructList[Registrar_Unregister_unregister_Params]
Registrar_Unregister_unregister_Params_List is a list of Registrar_Unregister_unregister_Params.
func NewRegistrar_Unregister_unregister_Params_List ¶
func NewRegistrar_Unregister_unregister_Params_List(s *capnp.Segment, sz int32) (Registrar_Unregister_unregister_Params_List, error)
NewRegistrar_Unregister_unregister_Params creates a new list of Registrar_Unregister_unregister_Params.
type Registrar_Unregister_unregister_Results ¶
func NewRegistrar_Unregister_unregister_Results ¶
func NewRegistrar_Unregister_unregister_Results(s *capnp.Segment) (Registrar_Unregister_unregister_Results, error)
func NewRootRegistrar_Unregister_unregister_Results ¶
func NewRootRegistrar_Unregister_unregister_Results(s *capnp.Segment) (Registrar_Unregister_unregister_Results, error)
func ReadRootRegistrar_Unregister_unregister_Results ¶
func ReadRootRegistrar_Unregister_unregister_Results(msg *capnp.Message) (Registrar_Unregister_unregister_Results, error)
func (Registrar_Unregister_unregister_Results) DecodeFromPtr ¶
func (Registrar_Unregister_unregister_Results) DecodeFromPtr(p capnp.Ptr) Registrar_Unregister_unregister_Results
func (Registrar_Unregister_unregister_Results) EncodeAsPtr ¶
func (s Registrar_Unregister_unregister_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registrar_Unregister_unregister_Results) IsValid ¶
func (s Registrar_Unregister_unregister_Results) IsValid() bool
func (Registrar_Unregister_unregister_Results) Message ¶
func (s Registrar_Unregister_unregister_Results) Message() *capnp.Message
func (Registrar_Unregister_unregister_Results) Segment ¶
func (s Registrar_Unregister_unregister_Results) Segment() *capnp.Segment
func (Registrar_Unregister_unregister_Results) SetSuccess ¶
func (s Registrar_Unregister_unregister_Results) SetSuccess(v bool)
func (Registrar_Unregister_unregister_Results) String ¶
func (s Registrar_Unregister_unregister_Results) String() string
func (Registrar_Unregister_unregister_Results) Success ¶
func (s Registrar_Unregister_unregister_Results) Success() bool
func (Registrar_Unregister_unregister_Results) ToPtr ¶
func (s Registrar_Unregister_unregister_Results) ToPtr() capnp.Ptr
type Registrar_Unregister_unregister_Results_Future ¶
Registrar_Unregister_unregister_Results_Future is a wrapper for a Registrar_Unregister_unregister_Results promised by a client call.
func (Registrar_Unregister_unregister_Results_Future) Struct ¶
func (f Registrar_Unregister_unregister_Results_Future) Struct() (Registrar_Unregister_unregister_Results, error)
type Registrar_Unregister_unregister_Results_List ¶
type Registrar_Unregister_unregister_Results_List = capnp.StructList[Registrar_Unregister_unregister_Results]
Registrar_Unregister_unregister_Results_List is a list of Registrar_Unregister_unregister_Results.
func NewRegistrar_Unregister_unregister_Results_List ¶
func NewRegistrar_Unregister_unregister_Results_List(s *capnp.Segment, sz int32) (Registrar_Unregister_unregister_Results_List, error)
NewRegistrar_Unregister_unregister_Results creates a new list of Registrar_Unregister_unregister_Results.
type Registrar_register ¶
Registrar_register holds the state for a server call to Registrar.register. See server.Call for documentation.
func (Registrar_register) AllocResults ¶
func (c Registrar_register) AllocResults() (Registrar_register_Results, error)
AllocResults allocates the results struct.
func (Registrar_register) Args ¶
func (c Registrar_register) Args() Registrar_RegParams
Args returns the call's arguments.
type Registrar_register_Results ¶
func NewRegistrar_register_Results ¶
func NewRegistrar_register_Results(s *capnp.Segment) (Registrar_register_Results, error)
func NewRootRegistrar_register_Results ¶
func NewRootRegistrar_register_Results(s *capnp.Segment) (Registrar_register_Results, error)
func ReadRootRegistrar_register_Results ¶
func ReadRootRegistrar_register_Results(msg *capnp.Message) (Registrar_register_Results, error)
func (Registrar_register_Results) DecodeFromPtr ¶
func (Registrar_register_Results) DecodeFromPtr(p capnp.Ptr) Registrar_register_Results
func (Registrar_register_Results) EncodeAsPtr ¶
func (s Registrar_register_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registrar_register_Results) HasReregSR ¶
func (s Registrar_register_Results) HasReregSR() bool
func (Registrar_register_Results) HasUnreg ¶
func (s Registrar_register_Results) HasUnreg() bool
func (Registrar_register_Results) IsValid ¶
func (s Registrar_register_Results) IsValid() bool
func (Registrar_register_Results) Message ¶
func (s Registrar_register_Results) Message() *capnp.Message
func (Registrar_register_Results) NewReregSR ¶
func (s Registrar_register_Results) NewReregSR() (persistence.SturdyRef, error)
NewReregSR sets the reregSR field to a newly allocated persistence.SturdyRef struct, preferring placement in s's segment.
func (Registrar_register_Results) ReregSR ¶
func (s Registrar_register_Results) ReregSR() (persistence.SturdyRef, error)
func (Registrar_register_Results) Segment ¶
func (s Registrar_register_Results) Segment() *capnp.Segment
func (Registrar_register_Results) SetReregSR ¶
func (s Registrar_register_Results) SetReregSR(v persistence.SturdyRef) error
func (Registrar_register_Results) SetUnreg ¶
func (s Registrar_register_Results) SetUnreg(v Registrar_Unregister) error
func (Registrar_register_Results) String ¶
func (s Registrar_register_Results) String() string
func (Registrar_register_Results) ToPtr ¶
func (s Registrar_register_Results) ToPtr() capnp.Ptr
func (Registrar_register_Results) Unreg ¶
func (s Registrar_register_Results) Unreg() Registrar_Unregister
type Registrar_register_Results_Future ¶
Registrar_register_Results_Future is a wrapper for a Registrar_register_Results promised by a client call.
func (Registrar_register_Results_Future) ReregSR ¶
func (p Registrar_register_Results_Future) ReregSR() persistence.SturdyRef_Future
func (Registrar_register_Results_Future) Struct ¶
func (f Registrar_register_Results_Future) Struct() (Registrar_register_Results, error)
func (Registrar_register_Results_Future) Unreg ¶
func (p Registrar_register_Results_Future) Unreg() Registrar_Unregister
type Registrar_register_Results_List ¶
type Registrar_register_Results_List = capnp.StructList[Registrar_register_Results]
Registrar_register_Results_List is a list of Registrar_register_Results.
func NewRegistrar_register_Results_List ¶
func NewRegistrar_register_Results_List(s *capnp.Segment, sz int32) (Registrar_register_Results_List, error)
NewRegistrar_register_Results creates a new list of Registrar_register_Results.
type Registry ¶
func Registry_ServerToClient ¶
func Registry_ServerToClient(s Registry_Server) Registry
Registry_ServerToClient creates a new Client from an implementation of Registry_Server. The caller is responsible for calling Release on the returned Client.
func (Registry) AddRef ¶
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (Registry) CategoryInfo ¶
func (c Registry) CategoryInfo(ctx context.Context, params func(Registry_categoryInfo_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Registry) Entries ¶
func (c Registry) Entries(ctx context.Context, params func(Registry_entries_Params) error) (Registry_entries_Results_Future, capnp.ReleaseFunc)
func (Registry) GetFlowLimiter ¶
func (c Registry) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Registry) Info ¶
func (c Registry) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Registry) IsSame ¶
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (Registry) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Registry) Release ¶
func (c Registry) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (Registry) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Registry) SetFlowLimiter ¶
func (c Registry) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (Registry) String ¶
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (Registry) SupportedCategories ¶
func (c Registry) SupportedCategories(ctx context.Context, params func(Registry_supportedCategories_Params) error) (Registry_supportedCategories_Results_Future, capnp.ReleaseFunc)
func (Registry) WaitStreaming ¶
type Registry_Entry ¶
func NewRegistry_Entry ¶
func NewRegistry_Entry(s *capnp.Segment) (Registry_Entry, error)
func NewRootRegistry_Entry ¶
func NewRootRegistry_Entry(s *capnp.Segment) (Registry_Entry, error)
func ReadRootRegistry_Entry ¶
func ReadRootRegistry_Entry(msg *capnp.Message) (Registry_Entry, error)
func (Registry_Entry) CategoryId ¶
func (s Registry_Entry) CategoryId() (string, error)
func (Registry_Entry) CategoryIdBytes ¶
func (s Registry_Entry) CategoryIdBytes() ([]byte, error)
func (Registry_Entry) DecodeFromPtr ¶
func (Registry_Entry) DecodeFromPtr(p capnp.Ptr) Registry_Entry
func (Registry_Entry) EncodeAsPtr ¶
func (s Registry_Entry) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registry_Entry) HasCategoryId ¶
func (s Registry_Entry) HasCategoryId() bool
func (Registry_Entry) HasName ¶
func (s Registry_Entry) HasName() bool
func (Registry_Entry) HasRef ¶
func (s Registry_Entry) HasRef() bool
func (Registry_Entry) IsValid ¶
func (s Registry_Entry) IsValid() bool
func (Registry_Entry) Message ¶
func (s Registry_Entry) Message() *capnp.Message
func (Registry_Entry) Name ¶
func (s Registry_Entry) Name() (string, error)
func (Registry_Entry) NameBytes ¶
func (s Registry_Entry) NameBytes() ([]byte, error)
func (Registry_Entry) Ref ¶
func (s Registry_Entry) Ref() common.Identifiable
func (Registry_Entry) Segment ¶
func (s Registry_Entry) Segment() *capnp.Segment
func (Registry_Entry) SetCategoryId ¶
func (s Registry_Entry) SetCategoryId(v string) error
func (Registry_Entry) SetName ¶
func (s Registry_Entry) SetName(v string) error
func (Registry_Entry) SetRef ¶
func (s Registry_Entry) SetRef(v common.Identifiable) error
func (Registry_Entry) String ¶
func (s Registry_Entry) String() string
func (Registry_Entry) ToPtr ¶
func (s Registry_Entry) ToPtr() capnp.Ptr
type Registry_Entry_Future ¶
Registry_Entry_Future is a wrapper for a Registry_Entry promised by a client call.
func (Registry_Entry_Future) Ref ¶
func (p Registry_Entry_Future) Ref() common.Identifiable
func (Registry_Entry_Future) Struct ¶
func (f Registry_Entry_Future) Struct() (Registry_Entry, error)
type Registry_Entry_List ¶
type Registry_Entry_List = capnp.StructList[Registry_Entry]
Registry_Entry_List is a list of Registry_Entry.
func NewRegistry_Entry_List ¶
func NewRegistry_Entry_List(s *capnp.Segment, sz int32) (Registry_Entry_List, error)
NewRegistry_Entry creates a new list of Registry_Entry.
type Registry_List ¶
Registry_List is a list of Registry.
func NewRegistry_List ¶
func NewRegistry_List(s *capnp.Segment, sz int32) (Registry_List, error)
NewRegistry_List creates a new list of Registry.
type Registry_Server ¶
type Registry_Server interface { SupportedCategories(context.Context, Registry_supportedCategories) error CategoryInfo(context.Context, Registry_categoryInfo) error Entries(context.Context, Registry_entries) error Info(context.Context, common.Identifiable_info) error }
A Registry_Server is a Registry with a local implementation.
type Registry_categoryInfo ¶
Registry_categoryInfo holds the state for a server call to Registry.categoryInfo. See server.Call for documentation.
func (Registry_categoryInfo) AllocResults ¶
func (c Registry_categoryInfo) AllocResults() (common.IdInformation, error)
AllocResults allocates the results struct.
func (Registry_categoryInfo) Args ¶
func (c Registry_categoryInfo) Args() Registry_categoryInfo_Params
Args returns the call's arguments.
type Registry_categoryInfo_Params ¶
func NewRegistry_categoryInfo_Params ¶
func NewRegistry_categoryInfo_Params(s *capnp.Segment) (Registry_categoryInfo_Params, error)
func NewRootRegistry_categoryInfo_Params ¶
func NewRootRegistry_categoryInfo_Params(s *capnp.Segment) (Registry_categoryInfo_Params, error)
func ReadRootRegistry_categoryInfo_Params ¶
func ReadRootRegistry_categoryInfo_Params(msg *capnp.Message) (Registry_categoryInfo_Params, error)
func (Registry_categoryInfo_Params) CategoryId ¶
func (s Registry_categoryInfo_Params) CategoryId() (string, error)
func (Registry_categoryInfo_Params) CategoryIdBytes ¶
func (s Registry_categoryInfo_Params) CategoryIdBytes() ([]byte, error)
func (Registry_categoryInfo_Params) DecodeFromPtr ¶
func (Registry_categoryInfo_Params) DecodeFromPtr(p capnp.Ptr) Registry_categoryInfo_Params
func (Registry_categoryInfo_Params) EncodeAsPtr ¶
func (s Registry_categoryInfo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registry_categoryInfo_Params) HasCategoryId ¶
func (s Registry_categoryInfo_Params) HasCategoryId() bool
func (Registry_categoryInfo_Params) IsValid ¶
func (s Registry_categoryInfo_Params) IsValid() bool
func (Registry_categoryInfo_Params) Message ¶
func (s Registry_categoryInfo_Params) Message() *capnp.Message
func (Registry_categoryInfo_Params) Segment ¶
func (s Registry_categoryInfo_Params) Segment() *capnp.Segment
func (Registry_categoryInfo_Params) SetCategoryId ¶
func (s Registry_categoryInfo_Params) SetCategoryId(v string) error
func (Registry_categoryInfo_Params) String ¶
func (s Registry_categoryInfo_Params) String() string
func (Registry_categoryInfo_Params) ToPtr ¶
func (s Registry_categoryInfo_Params) ToPtr() capnp.Ptr
type Registry_categoryInfo_Params_Future ¶
Registry_categoryInfo_Params_Future is a wrapper for a Registry_categoryInfo_Params promised by a client call.
func (Registry_categoryInfo_Params_Future) Struct ¶
func (f Registry_categoryInfo_Params_Future) Struct() (Registry_categoryInfo_Params, error)
type Registry_categoryInfo_Params_List ¶
type Registry_categoryInfo_Params_List = capnp.StructList[Registry_categoryInfo_Params]
Registry_categoryInfo_Params_List is a list of Registry_categoryInfo_Params.
func NewRegistry_categoryInfo_Params_List ¶
func NewRegistry_categoryInfo_Params_List(s *capnp.Segment, sz int32) (Registry_categoryInfo_Params_List, error)
NewRegistry_categoryInfo_Params creates a new list of Registry_categoryInfo_Params.
type Registry_entries ¶
Registry_entries holds the state for a server call to Registry.entries. See server.Call for documentation.
func (Registry_entries) AllocResults ¶
func (c Registry_entries) AllocResults() (Registry_entries_Results, error)
AllocResults allocates the results struct.
func (Registry_entries) Args ¶
func (c Registry_entries) Args() Registry_entries_Params
Args returns the call's arguments.
type Registry_entries_Params ¶
func NewRegistry_entries_Params ¶
func NewRegistry_entries_Params(s *capnp.Segment) (Registry_entries_Params, error)
func NewRootRegistry_entries_Params ¶
func NewRootRegistry_entries_Params(s *capnp.Segment) (Registry_entries_Params, error)
func ReadRootRegistry_entries_Params ¶
func ReadRootRegistry_entries_Params(msg *capnp.Message) (Registry_entries_Params, error)
func (Registry_entries_Params) CategoryId ¶
func (s Registry_entries_Params) CategoryId() (string, error)
func (Registry_entries_Params) CategoryIdBytes ¶
func (s Registry_entries_Params) CategoryIdBytes() ([]byte, error)
func (Registry_entries_Params) DecodeFromPtr ¶
func (Registry_entries_Params) DecodeFromPtr(p capnp.Ptr) Registry_entries_Params
func (Registry_entries_Params) EncodeAsPtr ¶
func (s Registry_entries_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registry_entries_Params) HasCategoryId ¶
func (s Registry_entries_Params) HasCategoryId() bool
func (Registry_entries_Params) IsValid ¶
func (s Registry_entries_Params) IsValid() bool
func (Registry_entries_Params) Message ¶
func (s Registry_entries_Params) Message() *capnp.Message
func (Registry_entries_Params) Segment ¶
func (s Registry_entries_Params) Segment() *capnp.Segment
func (Registry_entries_Params) SetCategoryId ¶
func (s Registry_entries_Params) SetCategoryId(v string) error
func (Registry_entries_Params) String ¶
func (s Registry_entries_Params) String() string
func (Registry_entries_Params) ToPtr ¶
func (s Registry_entries_Params) ToPtr() capnp.Ptr
type Registry_entries_Params_Future ¶
Registry_entries_Params_Future is a wrapper for a Registry_entries_Params promised by a client call.
func (Registry_entries_Params_Future) Struct ¶
func (f Registry_entries_Params_Future) Struct() (Registry_entries_Params, error)
type Registry_entries_Params_List ¶
type Registry_entries_Params_List = capnp.StructList[Registry_entries_Params]
Registry_entries_Params_List is a list of Registry_entries_Params.
func NewRegistry_entries_Params_List ¶
func NewRegistry_entries_Params_List(s *capnp.Segment, sz int32) (Registry_entries_Params_List, error)
NewRegistry_entries_Params creates a new list of Registry_entries_Params.
type Registry_entries_Results ¶
func NewRegistry_entries_Results ¶
func NewRegistry_entries_Results(s *capnp.Segment) (Registry_entries_Results, error)
func NewRootRegistry_entries_Results ¶
func NewRootRegistry_entries_Results(s *capnp.Segment) (Registry_entries_Results, error)
func ReadRootRegistry_entries_Results ¶
func ReadRootRegistry_entries_Results(msg *capnp.Message) (Registry_entries_Results, error)
func (Registry_entries_Results) DecodeFromPtr ¶
func (Registry_entries_Results) DecodeFromPtr(p capnp.Ptr) Registry_entries_Results
func (Registry_entries_Results) EncodeAsPtr ¶
func (s Registry_entries_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registry_entries_Results) Entries ¶
func (s Registry_entries_Results) Entries() (Registry_Entry_List, error)
func (Registry_entries_Results) HasEntries ¶
func (s Registry_entries_Results) HasEntries() bool
func (Registry_entries_Results) IsValid ¶
func (s Registry_entries_Results) IsValid() bool
func (Registry_entries_Results) Message ¶
func (s Registry_entries_Results) Message() *capnp.Message
func (Registry_entries_Results) NewEntries ¶
func (s Registry_entries_Results) NewEntries(n int32) (Registry_Entry_List, error)
NewEntries sets the entries field to a newly allocated Registry_Entry_List, preferring placement in s's segment.
func (Registry_entries_Results) Segment ¶
func (s Registry_entries_Results) Segment() *capnp.Segment
func (Registry_entries_Results) SetEntries ¶
func (s Registry_entries_Results) SetEntries(v Registry_Entry_List) error
func (Registry_entries_Results) String ¶
func (s Registry_entries_Results) String() string
func (Registry_entries_Results) ToPtr ¶
func (s Registry_entries_Results) ToPtr() capnp.Ptr
type Registry_entries_Results_Future ¶
Registry_entries_Results_Future is a wrapper for a Registry_entries_Results promised by a client call.
func (Registry_entries_Results_Future) Struct ¶
func (f Registry_entries_Results_Future) Struct() (Registry_entries_Results, error)
type Registry_entries_Results_List ¶
type Registry_entries_Results_List = capnp.StructList[Registry_entries_Results]
Registry_entries_Results_List is a list of Registry_entries_Results.
func NewRegistry_entries_Results_List ¶
func NewRegistry_entries_Results_List(s *capnp.Segment, sz int32) (Registry_entries_Results_List, error)
NewRegistry_entries_Results creates a new list of Registry_entries_Results.
type Registry_supportedCategories ¶
Registry_supportedCategories holds the state for a server call to Registry.supportedCategories. See server.Call for documentation.
func (Registry_supportedCategories) AllocResults ¶
func (c Registry_supportedCategories) AllocResults() (Registry_supportedCategories_Results, error)
AllocResults allocates the results struct.
func (Registry_supportedCategories) Args ¶
func (c Registry_supportedCategories) Args() Registry_supportedCategories_Params
Args returns the call's arguments.
type Registry_supportedCategories_Params ¶
func NewRegistry_supportedCategories_Params ¶
func NewRegistry_supportedCategories_Params(s *capnp.Segment) (Registry_supportedCategories_Params, error)
func NewRootRegistry_supportedCategories_Params ¶
func NewRootRegistry_supportedCategories_Params(s *capnp.Segment) (Registry_supportedCategories_Params, error)
func ReadRootRegistry_supportedCategories_Params ¶
func ReadRootRegistry_supportedCategories_Params(msg *capnp.Message) (Registry_supportedCategories_Params, error)
func (Registry_supportedCategories_Params) DecodeFromPtr ¶
func (Registry_supportedCategories_Params) DecodeFromPtr(p capnp.Ptr) Registry_supportedCategories_Params
func (Registry_supportedCategories_Params) EncodeAsPtr ¶
func (s Registry_supportedCategories_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registry_supportedCategories_Params) IsValid ¶
func (s Registry_supportedCategories_Params) IsValid() bool
func (Registry_supportedCategories_Params) Message ¶
func (s Registry_supportedCategories_Params) Message() *capnp.Message
func (Registry_supportedCategories_Params) Segment ¶
func (s Registry_supportedCategories_Params) Segment() *capnp.Segment
func (Registry_supportedCategories_Params) String ¶
func (s Registry_supportedCategories_Params) String() string
func (Registry_supportedCategories_Params) ToPtr ¶
func (s Registry_supportedCategories_Params) ToPtr() capnp.Ptr
type Registry_supportedCategories_Params_Future ¶
Registry_supportedCategories_Params_Future is a wrapper for a Registry_supportedCategories_Params promised by a client call.
func (Registry_supportedCategories_Params_Future) Struct ¶
func (f Registry_supportedCategories_Params_Future) Struct() (Registry_supportedCategories_Params, error)
type Registry_supportedCategories_Params_List ¶
type Registry_supportedCategories_Params_List = capnp.StructList[Registry_supportedCategories_Params]
Registry_supportedCategories_Params_List is a list of Registry_supportedCategories_Params.
func NewRegistry_supportedCategories_Params_List ¶
func NewRegistry_supportedCategories_Params_List(s *capnp.Segment, sz int32) (Registry_supportedCategories_Params_List, error)
NewRegistry_supportedCategories_Params creates a new list of Registry_supportedCategories_Params.
type Registry_supportedCategories_Results ¶
func NewRegistry_supportedCategories_Results ¶
func NewRegistry_supportedCategories_Results(s *capnp.Segment) (Registry_supportedCategories_Results, error)
func NewRootRegistry_supportedCategories_Results ¶
func NewRootRegistry_supportedCategories_Results(s *capnp.Segment) (Registry_supportedCategories_Results, error)
func ReadRootRegistry_supportedCategories_Results ¶
func ReadRootRegistry_supportedCategories_Results(msg *capnp.Message) (Registry_supportedCategories_Results, error)
func (Registry_supportedCategories_Results) Cats ¶
func (s Registry_supportedCategories_Results) Cats() (common.IdInformation_List, error)
func (Registry_supportedCategories_Results) DecodeFromPtr ¶
func (Registry_supportedCategories_Results) DecodeFromPtr(p capnp.Ptr) Registry_supportedCategories_Results
func (Registry_supportedCategories_Results) EncodeAsPtr ¶
func (s Registry_supportedCategories_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Registry_supportedCategories_Results) HasCats ¶
func (s Registry_supportedCategories_Results) HasCats() bool
func (Registry_supportedCategories_Results) IsValid ¶
func (s Registry_supportedCategories_Results) IsValid() bool
func (Registry_supportedCategories_Results) Message ¶
func (s Registry_supportedCategories_Results) Message() *capnp.Message
func (Registry_supportedCategories_Results) NewCats ¶
func (s Registry_supportedCategories_Results) NewCats(n int32) (common.IdInformation_List, error)
NewCats sets the cats field to a newly allocated common.IdInformation_List, preferring placement in s's segment.
func (Registry_supportedCategories_Results) Segment ¶
func (s Registry_supportedCategories_Results) Segment() *capnp.Segment
func (Registry_supportedCategories_Results) SetCats ¶
func (s Registry_supportedCategories_Results) SetCats(v common.IdInformation_List) error
func (Registry_supportedCategories_Results) String ¶
func (s Registry_supportedCategories_Results) String() string
func (Registry_supportedCategories_Results) ToPtr ¶
func (s Registry_supportedCategories_Results) ToPtr() capnp.Ptr
type Registry_supportedCategories_Results_Future ¶
Registry_supportedCategories_Results_Future is a wrapper for a Registry_supportedCategories_Results promised by a client call.
func (Registry_supportedCategories_Results_Future) Struct ¶
func (f Registry_supportedCategories_Results_Future) Struct() (Registry_supportedCategories_Results, error)
type Registry_supportedCategories_Results_List ¶
type Registry_supportedCategories_Results_List = capnp.StructList[Registry_supportedCategories_Results]
Registry_supportedCategories_Results_List is a list of Registry_supportedCategories_Results.
func NewRegistry_supportedCategories_Results_List ¶
func NewRegistry_supportedCategories_Results_List(s *capnp.Segment, sz int32) (Registry_supportedCategories_Results_List, error)
NewRegistry_supportedCategories_Results creates a new list of Registry_supportedCategories_Results.