Documentation ¶
Index ¶
- Constants
- func Admin_Methods(methods []server.Method, s Admin_Server) []server.Method
- func Admin_NewServer(s Admin_Server, policy *server.Policy) *server.Server
- func Registrar_Methods(methods []server.Method, s Registrar_Server) []server.Method
- func Registrar_NewServer(s Registrar_Server, policy *server.Policy) *server.Server
- func Registry_Methods(methods []server.Method, s Registry_Server) []server.Method
- func Registry_NewServer(s Registry_Server, policy *server.Policy) *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 (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)
- type Admin_Server
- type Admin_addCategory
- type Admin_addCategory_Params
- func (s Admin_addCategory_Params) Category() (common.IdInformation, error)
- func (s Admin_addCategory_Params) HasCategory() bool
- func (s Admin_addCategory_Params) NewCategory() (common.IdInformation, error)
- 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) Upsert() bool
- type Admin_addCategory_Params_Future
- type Admin_addCategory_Params_List
- type Admin_addCategory_Results
- type Admin_addCategory_Results_Future
- type Admin_addCategory_Results_List
- type Admin_moveObjects
- type Admin_moveObjects_Params
- func (s Admin_moveObjects_Params) HasObjectIds() bool
- func (s Admin_moveObjects_Params) HasToCatId() bool
- 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) 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)
- type Admin_moveObjects_Params_Future
- type Admin_moveObjects_Params_List
- type Admin_moveObjects_Results
- func (s Admin_moveObjects_Results) HasMovedObjectIds() bool
- 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) SetMovedObjectIds(v capnp.TextList) error
- func (s Admin_moveObjects_Results) String() string
- type Admin_moveObjects_Results_Future
- type Admin_moveObjects_Results_List
- type Admin_registry
- type Admin_registry_Params
- type Admin_registry_Params_Future
- type Admin_registry_Params_List
- type Admin_registry_Results
- 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 (s Admin_removeCategory_Params) HasCategoryId() bool
- func (s Admin_removeCategory_Params) HasMoveObjectsToCategoryId() bool
- func (s Admin_removeCategory_Params) MoveObjectsToCategoryId() (string, error)
- func (s Admin_removeCategory_Params) MoveObjectsToCategoryIdBytes() ([]byte, error)
- 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
- type Admin_removeCategory_Params_Future
- type Admin_removeCategory_Params_List
- type Admin_removeCategory_Results
- func (s Admin_removeCategory_Results) HasRemovedObjects() bool
- func (s Admin_removeCategory_Results) NewRemovedObjects(n int32) (capnp.PointerList, error)
- func (s Admin_removeCategory_Results) RemovedObjects() (capnp.PointerList, error)
- func (s Admin_removeCategory_Results) SetRemovedObjects(v capnp.PointerList) error
- func (s Admin_removeCategory_Results) String() string
- type Admin_removeCategory_Results_Future
- type Admin_removeCategory_Results_List
- type Admin_removeObjects
- type Admin_removeObjects_Params
- func (s Admin_removeObjects_Params) HasObjectIds() bool
- 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) SetObjectIds(v capnp.TextList) error
- func (s Admin_removeObjects_Params) String() string
- type Admin_removeObjects_Params_Future
- type Admin_removeObjects_Params_List
- type Admin_removeObjects_Results
- func (s Admin_removeObjects_Results) HasRemovedObjects() bool
- func (s Admin_removeObjects_Results) NewRemovedObjects(n int32) (capnp.PointerList, error)
- func (s Admin_removeObjects_Results) RemovedObjects() (capnp.PointerList, error)
- func (s Admin_removeObjects_Results) SetRemovedObjects(v capnp.PointerList) error
- func (s Admin_removeObjects_Results) String() string
- type Admin_removeObjects_Results_Future
- type Admin_removeObjects_Results_List
- type Registrar
- type Registrar_Server
- type Registrar_register
- type Registrar_register_Params
- func (s Registrar_register_Params) CategoryId() (string, error)
- func (s Registrar_register_Params) CategoryIdBytes() ([]byte, error)
- func (s Registrar_register_Params) HasCategoryId() bool
- func (s Registrar_register_Params) HasRef() bool
- func (s Registrar_register_Params) HasRegName() bool
- func (s Registrar_register_Params) Ref() common.Identifiable
- func (s Registrar_register_Params) RegName() (string, error)
- func (s Registrar_register_Params) RegNameBytes() ([]byte, error)
- func (s Registrar_register_Params) SetCategoryId(v string) error
- func (s Registrar_register_Params) SetRef(v common.Identifiable) error
- func (s Registrar_register_Params) SetRegName(v string) error
- func (s Registrar_register_Params) String() string
- type Registrar_register_Params_Future
- type Registrar_register_Params_List
- type Registrar_register_Results
- func (s Registrar_register_Results) HasRereg() bool
- func (s Registrar_register_Results) HasUnreg() bool
- func (s Registrar_register_Results) Rereg() (capnp.Ptr, error)
- func (s Registrar_register_Results) SetRereg(v capnp.Ptr) error
- func (s Registrar_register_Results) SetUnreg(v common.Callback) error
- func (s Registrar_register_Results) String() string
- func (s Registrar_register_Results) Unreg() common.Callback
- 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 (c Registry) Entries(ctx context.Context, params func(Registry_entries_Params) error) (Registry_entries_Results_Future, capnp.ReleaseFunc)
- func (c Registry) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c Registry) Release()
- func (c Registry) SupportedCategories(ctx context.Context, params func(Registry_supportedCategories_Params) error) (Registry_supportedCategories_Results_Future, capnp.ReleaseFunc)
- type Registry_Entry
- func (s Registry_Entry) CategoryId() (string, error)
- func (s Registry_Entry) CategoryIdBytes() ([]byte, error)
- func (s Registry_Entry) HasCategoryId() bool
- func (s Registry_Entry) HasName() bool
- func (s Registry_Entry) HasRef() bool
- 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) 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
- type Registry_Entry_Future
- type Registry_Entry_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 (s Registry_categoryInfo_Params) HasCategoryId() bool
- func (s Registry_categoryInfo_Params) SetCategoryId(v string) error
- func (s Registry_categoryInfo_Params) String() string
- type Registry_categoryInfo_Params_Future
- type Registry_categoryInfo_Params_List
- type Registry_entries
- type Registry_entries_Params
- type Registry_entries_Params_Future
- type Registry_entries_Params_List
- type Registry_entries_Results
- func (s Registry_entries_Results) Entries() (Registry_Entry_List, error)
- func (s Registry_entries_Results) HasEntries() bool
- func (s Registry_entries_Results) NewEntries(n int32) (Registry_Entry_List, error)
- func (s Registry_entries_Results) SetEntries(v Registry_Entry_List) error
- func (s Registry_entries_Results) String() string
- 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)
- 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 (s Registry_supportedCategories_Results) HasCats() bool
- func (s Registry_supportedCategories_Results) NewCats(n int32) (common.IdInformation_List, error)
- func (s Registry_supportedCategories_Results) SetCats(v common.IdInformation_List) error
- func (s Registry_supportedCategories_Results) String() string
- 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_TypeID = 0xabaef93c36f2d1ea
Registrar_TypeID is the unique identifier for the type Registrar.
const Registrar_register_Params_TypeID = 0x98ee0ca0962009bc
Registrar_register_Params_TypeID is the unique identifier for the type Registrar_register_Params.
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, policy *server.Policy) *server.Server
Admin_NewServer creates a new Server from an implementation of Admin_Server.
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, policy *server.Policy) *server.Server
Registrar_NewServer creates a new Server from an implementation of Registrar_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, policy *server.Policy) *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, policy *server.Policy) 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) 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) 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)
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 }
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) HasCategory ¶
func (s Admin_addCategory_Params) HasCategory() bool
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) 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) 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 (p Admin_addCategory_Params_Future) Struct() (Admin_addCategory_Params, error)
type Admin_addCategory_Params_List ¶
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.
func (Admin_addCategory_Params_List) At ¶
func (s Admin_addCategory_Params_List) At(i int) Admin_addCategory_Params
func (Admin_addCategory_Params_List) Set ¶
func (s Admin_addCategory_Params_List) Set(i int, v Admin_addCategory_Params) error
func (Admin_addCategory_Params_List) String ¶
func (s Admin_addCategory_Params_List) String() string
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) 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
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 (p Admin_addCategory_Results_Future) Struct() (Admin_addCategory_Results, error)
type Admin_addCategory_Results_List ¶
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.
func (Admin_addCategory_Results_List) At ¶
func (s Admin_addCategory_Results_List) At(i int) Admin_addCategory_Results
func (Admin_addCategory_Results_List) Set ¶
func (s Admin_addCategory_Results_List) Set(i int, v Admin_addCategory_Results) error
func (Admin_addCategory_Results_List) String ¶
func (s Admin_addCategory_Results_List) String() string
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) HasObjectIds ¶
func (s Admin_moveObjects_Params) HasObjectIds() bool
func (Admin_moveObjects_Params) HasToCatId ¶
func (s Admin_moveObjects_Params) HasToCatId() bool
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) 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)
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 (p Admin_moveObjects_Params_Future) Struct() (Admin_moveObjects_Params, error)
type Admin_moveObjects_Params_List ¶
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.
func (Admin_moveObjects_Params_List) At ¶
func (s Admin_moveObjects_Params_List) At(i int) Admin_moveObjects_Params
func (Admin_moveObjects_Params_List) Set ¶
func (s Admin_moveObjects_Params_List) Set(i int, v Admin_moveObjects_Params) error
func (Admin_moveObjects_Params_List) String ¶
func (s Admin_moveObjects_Params_List) String() string
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) HasMovedObjectIds ¶
func (s Admin_moveObjects_Results) HasMovedObjectIds() bool
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) SetMovedObjectIds ¶
func (s Admin_moveObjects_Results) SetMovedObjectIds(v capnp.TextList) error
func (Admin_moveObjects_Results) String ¶
func (s Admin_moveObjects_Results) String() string
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 (p Admin_moveObjects_Results_Future) Struct() (Admin_moveObjects_Results, error)
type Admin_moveObjects_Results_List ¶
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.
func (Admin_moveObjects_Results_List) At ¶
func (s Admin_moveObjects_Results_List) At(i int) Admin_moveObjects_Results
func (Admin_moveObjects_Results_List) Set ¶
func (s Admin_moveObjects_Results_List) Set(i int, v Admin_moveObjects_Results) error
func (Admin_moveObjects_Results_List) String ¶
func (s Admin_moveObjects_Results_List) String() string
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) String ¶
func (s Admin_registry_Params) String() string
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 (p Admin_registry_Params_Future) Struct() (Admin_registry_Params, error)
type Admin_registry_Params_List ¶
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.
func (Admin_registry_Params_List) At ¶
func (s Admin_registry_Params_List) At(i int) Admin_registry_Params
func (Admin_registry_Params_List) Set ¶
func (s Admin_registry_Params_List) Set(i int, v Admin_registry_Params) error
func (Admin_registry_Params_List) String ¶
func (s Admin_registry_Params_List) String() string
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) HasRegistry ¶
func (s Admin_registry_Results) HasRegistry() bool
func (Admin_registry_Results) Registry ¶
func (s Admin_registry_Results) Registry() Registry
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
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 (p Admin_registry_Results_Future) Struct() (Admin_registry_Results, error)
type Admin_registry_Results_List ¶
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.
func (Admin_registry_Results_List) At ¶
func (s Admin_registry_Results_List) At(i int) Admin_registry_Results
func (Admin_registry_Results_List) Set ¶
func (s Admin_registry_Results_List) Set(i int, v Admin_registry_Results) error
func (Admin_registry_Results_List) String ¶
func (s Admin_registry_Results_List) String() string
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) HasCategoryId ¶
func (s Admin_removeCategory_Params) HasCategoryId() bool
func (Admin_removeCategory_Params) HasMoveObjectsToCategoryId ¶
func (s Admin_removeCategory_Params) HasMoveObjectsToCategoryId() bool
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) 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
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 (p Admin_removeCategory_Params_Future) Struct() (Admin_removeCategory_Params, error)
type Admin_removeCategory_Params_List ¶
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.
func (Admin_removeCategory_Params_List) At ¶
func (s Admin_removeCategory_Params_List) At(i int) Admin_removeCategory_Params
func (Admin_removeCategory_Params_List) Set ¶
func (s Admin_removeCategory_Params_List) Set(i int, v Admin_removeCategory_Params) error
func (Admin_removeCategory_Params_List) String ¶
func (s Admin_removeCategory_Params_List) String() string
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) HasRemovedObjects ¶
func (s Admin_removeCategory_Results) HasRemovedObjects() bool
func (Admin_removeCategory_Results) NewRemovedObjects ¶
func (s Admin_removeCategory_Results) NewRemovedObjects(n int32) (capnp.PointerList, error)
NewRemovedObjects sets the removedObjects field to a newly allocated capnp.PointerList, preferring placement in s's segment.
func (Admin_removeCategory_Results) RemovedObjects ¶
func (s Admin_removeCategory_Results) RemovedObjects() (capnp.PointerList, error)
func (Admin_removeCategory_Results) SetRemovedObjects ¶
func (s Admin_removeCategory_Results) SetRemovedObjects(v capnp.PointerList) error
func (Admin_removeCategory_Results) String ¶
func (s Admin_removeCategory_Results) String() string
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 (p Admin_removeCategory_Results_Future) Struct() (Admin_removeCategory_Results, error)
type Admin_removeCategory_Results_List ¶
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.
func (Admin_removeCategory_Results_List) At ¶
func (s Admin_removeCategory_Results_List) At(i int) Admin_removeCategory_Results
func (Admin_removeCategory_Results_List) Set ¶
func (s Admin_removeCategory_Results_List) Set(i int, v Admin_removeCategory_Results) error
func (Admin_removeCategory_Results_List) String ¶
func (s Admin_removeCategory_Results_List) String() string
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) HasObjectIds ¶
func (s Admin_removeObjects_Params) HasObjectIds() bool
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) SetObjectIds ¶
func (s Admin_removeObjects_Params) SetObjectIds(v capnp.TextList) error
func (Admin_removeObjects_Params) String ¶
func (s Admin_removeObjects_Params) String() string
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 (p Admin_removeObjects_Params_Future) Struct() (Admin_removeObjects_Params, error)
type Admin_removeObjects_Params_List ¶
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.
func (Admin_removeObjects_Params_List) At ¶
func (s Admin_removeObjects_Params_List) At(i int) Admin_removeObjects_Params
func (Admin_removeObjects_Params_List) Set ¶
func (s Admin_removeObjects_Params_List) Set(i int, v Admin_removeObjects_Params) error
func (Admin_removeObjects_Params_List) String ¶
func (s Admin_removeObjects_Params_List) String() string
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) HasRemovedObjects ¶
func (s Admin_removeObjects_Results) HasRemovedObjects() bool
func (Admin_removeObjects_Results) NewRemovedObjects ¶
func (s Admin_removeObjects_Results) NewRemovedObjects(n int32) (capnp.PointerList, error)
NewRemovedObjects sets the removedObjects field to a newly allocated capnp.PointerList, preferring placement in s's segment.
func (Admin_removeObjects_Results) RemovedObjects ¶
func (s Admin_removeObjects_Results) RemovedObjects() (capnp.PointerList, error)
func (Admin_removeObjects_Results) SetRemovedObjects ¶
func (s Admin_removeObjects_Results) SetRemovedObjects(v capnp.PointerList) error
func (Admin_removeObjects_Results) String ¶
func (s Admin_removeObjects_Results) String() string
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 (p Admin_removeObjects_Results_Future) Struct() (Admin_removeObjects_Results, error)
type Admin_removeObjects_Results_List ¶
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.
func (Admin_removeObjects_Results_List) At ¶
func (s Admin_removeObjects_Results_List) At(i int) Admin_removeObjects_Results
func (Admin_removeObjects_Results_List) Set ¶
func (s Admin_removeObjects_Results_List) Set(i int, v Admin_removeObjects_Results) error
func (Admin_removeObjects_Results_List) String ¶
func (s Admin_removeObjects_Results_List) String() string
type Registrar ¶
func Registrar_ServerToClient ¶
func Registrar_ServerToClient(s Registrar_Server, policy *server.Policy) 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) Register ¶
func (c Registrar) Register(ctx context.Context, params func(Registrar_register_Params) error) (Registrar_register_Results_Future, capnp.ReleaseFunc)
type Registrar_Server ¶
type Registrar_Server interface {
Register(context.Context, Registrar_register) error
}
A Registrar_Server is a Registrar with a local implementation.
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_register_Params
Args returns the call's arguments.
type Registrar_register_Params ¶
func NewRegistrar_register_Params ¶
func NewRegistrar_register_Params(s *capnp.Segment) (Registrar_register_Params, error)
func NewRootRegistrar_register_Params ¶
func NewRootRegistrar_register_Params(s *capnp.Segment) (Registrar_register_Params, error)
func ReadRootRegistrar_register_Params ¶
func ReadRootRegistrar_register_Params(msg *capnp.Message) (Registrar_register_Params, error)
func (Registrar_register_Params) CategoryId ¶
func (s Registrar_register_Params) CategoryId() (string, error)
func (Registrar_register_Params) CategoryIdBytes ¶
func (s Registrar_register_Params) CategoryIdBytes() ([]byte, error)
func (Registrar_register_Params) HasCategoryId ¶
func (s Registrar_register_Params) HasCategoryId() bool
func (Registrar_register_Params) HasRef ¶
func (s Registrar_register_Params) HasRef() bool
func (Registrar_register_Params) HasRegName ¶
func (s Registrar_register_Params) HasRegName() bool
func (Registrar_register_Params) Ref ¶
func (s Registrar_register_Params) Ref() common.Identifiable
func (Registrar_register_Params) RegName ¶
func (s Registrar_register_Params) RegName() (string, error)
func (Registrar_register_Params) RegNameBytes ¶
func (s Registrar_register_Params) RegNameBytes() ([]byte, error)
func (Registrar_register_Params) SetCategoryId ¶
func (s Registrar_register_Params) SetCategoryId(v string) error
func (Registrar_register_Params) SetRef ¶
func (s Registrar_register_Params) SetRef(v common.Identifiable) error
func (Registrar_register_Params) SetRegName ¶
func (s Registrar_register_Params) SetRegName(v string) error
func (Registrar_register_Params) String ¶
func (s Registrar_register_Params) String() string
type Registrar_register_Params_Future ¶
Registrar_register_Params_Future is a wrapper for a Registrar_register_Params promised by a client call.
func (Registrar_register_Params_Future) Ref ¶
func (p Registrar_register_Params_Future) Ref() common.Identifiable
func (Registrar_register_Params_Future) Struct ¶
func (p Registrar_register_Params_Future) Struct() (Registrar_register_Params, error)
type Registrar_register_Params_List ¶
Registrar_register_Params_List is a list of Registrar_register_Params.
func NewRegistrar_register_Params_List ¶
func NewRegistrar_register_Params_List(s *capnp.Segment, sz int32) (Registrar_register_Params_List, error)
NewRegistrar_register_Params creates a new list of Registrar_register_Params.
func (Registrar_register_Params_List) At ¶
func (s Registrar_register_Params_List) At(i int) Registrar_register_Params
func (Registrar_register_Params_List) Set ¶
func (s Registrar_register_Params_List) Set(i int, v Registrar_register_Params) error
func (Registrar_register_Params_List) String ¶
func (s Registrar_register_Params_List) String() string
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) HasRereg ¶
func (s Registrar_register_Results) HasRereg() bool
func (Registrar_register_Results) HasUnreg ¶
func (s Registrar_register_Results) HasUnreg() bool
func (Registrar_register_Results) Rereg ¶
func (s Registrar_register_Results) Rereg() (capnp.Ptr, error)
func (Registrar_register_Results) SetRereg ¶
func (s Registrar_register_Results) SetRereg(v capnp.Ptr) error
func (Registrar_register_Results) SetUnreg ¶
func (s Registrar_register_Results) SetUnreg(v common.Callback) error
func (Registrar_register_Results) String ¶
func (s Registrar_register_Results) String() string
func (Registrar_register_Results) Unreg ¶
func (s Registrar_register_Results) Unreg() common.Callback
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) Rereg ¶
func (p Registrar_register_Results_Future) Rereg() *capnp.Future
func (Registrar_register_Results_Future) Struct ¶
func (p Registrar_register_Results_Future) Struct() (Registrar_register_Results, error)
func (Registrar_register_Results_Future) Unreg ¶
func (p Registrar_register_Results_Future) Unreg() common.Callback
type Registrar_register_Results_List ¶
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.
func (Registrar_register_Results_List) At ¶
func (s Registrar_register_Results_List) At(i int) Registrar_register_Results
func (Registrar_register_Results_List) Set ¶
func (s Registrar_register_Results_List) Set(i int, v Registrar_register_Results) error
func (Registrar_register_Results_List) String ¶
func (s Registrar_register_Results_List) String() string
type Registry ¶
func Registry_ServerToClient ¶
func Registry_ServerToClient(s Registry_Server, policy *server.Policy) 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) 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) Info ¶
func (c Registry) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (Registry) SupportedCategories ¶
func (c Registry) SupportedCategories(ctx context.Context, params func(Registry_supportedCategories_Params) error) (Registry_supportedCategories_Results_Future, capnp.ReleaseFunc)
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) 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) 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) 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
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 (p Registry_Entry_Future) Struct() (Registry_Entry, error)
type Registry_Entry_List ¶
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.
func (Registry_Entry_List) At ¶
func (s Registry_Entry_List) At(i int) Registry_Entry
func (Registry_Entry_List) Set ¶
func (s Registry_Entry_List) Set(i int, v Registry_Entry) error
func (Registry_Entry_List) String ¶
func (s Registry_Entry_List) String() string
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) HasCategoryId ¶
func (s Registry_categoryInfo_Params) HasCategoryId() bool
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
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 (p Registry_categoryInfo_Params_Future) Struct() (Registry_categoryInfo_Params, error)
type Registry_categoryInfo_Params_List ¶
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.
func (Registry_categoryInfo_Params_List) At ¶
func (s Registry_categoryInfo_Params_List) At(i int) Registry_categoryInfo_Params
func (Registry_categoryInfo_Params_List) Set ¶
func (s Registry_categoryInfo_Params_List) Set(i int, v Registry_categoryInfo_Params) error
func (Registry_categoryInfo_Params_List) String ¶
func (s Registry_categoryInfo_Params_List) String() string
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) HasCategoryId ¶
func (s Registry_entries_Params) HasCategoryId() bool
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
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 (p Registry_entries_Params_Future) Struct() (Registry_entries_Params, error)
type Registry_entries_Params_List ¶
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.
func (Registry_entries_Params_List) At ¶
func (s Registry_entries_Params_List) At(i int) Registry_entries_Params
func (Registry_entries_Params_List) Set ¶
func (s Registry_entries_Params_List) Set(i int, v Registry_entries_Params) error
func (Registry_entries_Params_List) String ¶
func (s Registry_entries_Params_List) String() string
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) 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) 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) SetEntries ¶
func (s Registry_entries_Results) SetEntries(v Registry_Entry_List) error
func (Registry_entries_Results) String ¶
func (s Registry_entries_Results) String() string
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 (p Registry_entries_Results_Future) Struct() (Registry_entries_Results, error)
type Registry_entries_Results_List ¶
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.
func (Registry_entries_Results_List) At ¶
func (s Registry_entries_Results_List) At(i int) Registry_entries_Results
func (Registry_entries_Results_List) Set ¶
func (s Registry_entries_Results_List) Set(i int, v Registry_entries_Results) error
func (Registry_entries_Results_List) String ¶
func (s Registry_entries_Results_List) String() string
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) String ¶
func (s Registry_supportedCategories_Params) String() string
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 (p Registry_supportedCategories_Params_Future) Struct() (Registry_supportedCategories_Params, error)
type Registry_supportedCategories_Params_List ¶
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.
func (Registry_supportedCategories_Params_List) Set ¶
func (s Registry_supportedCategories_Params_List) Set(i int, v Registry_supportedCategories_Params) error
func (Registry_supportedCategories_Params_List) String ¶
func (s Registry_supportedCategories_Params_List) String() string
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) HasCats ¶
func (s Registry_supportedCategories_Results) HasCats() bool
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) SetCats ¶
func (s Registry_supportedCategories_Results) SetCats(v common.IdInformation_List) error
func (Registry_supportedCategories_Results) String ¶
func (s Registry_supportedCategories_Results) String() string
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 (p Registry_supportedCategories_Results_Future) Struct() (Registry_supportedCategories_Results, error)
type Registry_supportedCategories_Results_List ¶
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.
func (Registry_supportedCategories_Results_List) Set ¶
func (s Registry_supportedCategories_Results_List) Set(i int, v Registry_supportedCategories_Results) error
func (Registry_supportedCategories_Results_List) String ¶
func (s Registry_supportedCategories_Results_List) String() string