registry

package module
v0.0.0-...-7d73fae Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MPL-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const Admin_TypeID = 0xf503f3237666574e

Admin_TypeID is the unique identifier for the type Admin.

View Source
const Admin_addCategory_Params_TypeID = 0xdb16d4fbb18486f6

Admin_addCategory_Params_TypeID is the unique identifier for the type Admin_addCategory_Params.

View Source
const Admin_addCategory_Results_TypeID = 0xbd3d832f7a7235b5

Admin_addCategory_Results_TypeID is the unique identifier for the type Admin_addCategory_Results.

View Source
const Admin_moveObjects_Params_TypeID = 0x8ebfd50c805adbc3

Admin_moveObjects_Params_TypeID is the unique identifier for the type Admin_moveObjects_Params.

View Source
const Admin_moveObjects_Results_TypeID = 0xd887d79a7ed3f45f

Admin_moveObjects_Results_TypeID is the unique identifier for the type Admin_moveObjects_Results.

View Source
const Admin_registry_Params_TypeID = 0xee2cf8cf148921b5

Admin_registry_Params_TypeID is the unique identifier for the type Admin_registry_Params.

View Source
const Admin_registry_Results_TypeID = 0xfe62caefab7dfdad

Admin_registry_Results_TypeID is the unique identifier for the type Admin_registry_Results.

View Source
const Admin_removeCategory_Params_TypeID = 0xd5be1b8e0180ded6

Admin_removeCategory_Params_TypeID is the unique identifier for the type Admin_removeCategory_Params.

View Source
const Admin_removeCategory_Results_TypeID = 0xa9aca103106c8f05

Admin_removeCategory_Results_TypeID is the unique identifier for the type Admin_removeCategory_Results.

View Source
const Admin_removeObjects_Params_TypeID = 0x96a5b17eee7ee1a3

Admin_removeObjects_Params_TypeID is the unique identifier for the type Admin_removeObjects_Params.

View Source
const Admin_removeObjects_Results_TypeID = 0xa092f60656bb0db4

Admin_removeObjects_Results_TypeID is the unique identifier for the type Admin_removeObjects_Results.

View Source
const Registrar_CrossDomainRestore_TypeID = 0xaa1198dd7e71b20e

Registrar_CrossDomainRestore_TypeID is the unique identifier for the type Registrar_CrossDomainRestore.

View Source
const Registrar_RegParams_TypeID = 0xe5a84717ea75fb0d

Registrar_RegParams_TypeID is the unique identifier for the type Registrar_RegParams.

View Source
const Registrar_TypeID = 0xabaef93c36f2d1ea

Registrar_TypeID is the unique identifier for the type Registrar.

View Source
const Registrar_Unregister_TypeID = 0xc7597e4462528489

Registrar_Unregister_TypeID is the unique identifier for the type Registrar_Unregister.

View Source
const Registrar_Unregister_unregister_Params_TypeID = 0xd023a1df5e372a7e

Registrar_Unregister_unregister_Params_TypeID is the unique identifier for the type Registrar_Unregister_unregister_Params.

View Source
const Registrar_Unregister_unregister_Results_TypeID = 0xa19166b9981b0854

Registrar_Unregister_unregister_Results_TypeID is the unique identifier for the type Registrar_Unregister_unregister_Results.

View Source
const Registrar_register_Results_TypeID = 0xb2a9b080f0c4013c

Registrar_register_Results_TypeID is the unique identifier for the type Registrar_register_Results.

View Source
const Registry_Entry_TypeID = 0xc17987510cf7ac13

Registry_Entry_TypeID is the unique identifier for the type Registry_Entry.

View Source
const Registry_TypeID = 0xca7b4bd1600633b8

Registry_TypeID is the unique identifier for the type Registry.

View Source
const Registry_categoryInfo_Params_TypeID = 0x891283e1b248bc9d

Registry_categoryInfo_Params_TypeID is the unique identifier for the type Registry_categoryInfo_Params.

View Source
const Registry_entries_Params_TypeID = 0x9ffc53716151c5fa

Registry_entries_Params_TypeID is the unique identifier for the type Registry_entries_Params.

View Source
const Registry_entries_Results_TypeID = 0xe4eaf56eb486064d

Registry_entries_Results_TypeID is the unique identifier for the type Registry_entries_Results.

View Source
const Registry_supportedCategories_Params_TypeID = 0x9c49e6e65e34c29b

Registry_supportedCategories_Params_TypeID is the unique identifier for the type Registry_supportedCategories_Params.

View Source
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 RegisterSchema(reg *schemas.Registry)

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

type Admin capnp.Client

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) AddRef

func (c Admin) AddRef() Admin

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) DecodeFromPtr

func (Admin) DecodeFromPtr(p capnp.Ptr) Admin

func (Admin) EncodeAsPtr

func (c Admin) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Admin) GetFlowLimiter

func (c Admin) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Admin) IsSame

func (c Admin) IsSame(other Admin) 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 (Admin) IsValid

func (c Admin) 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 (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) Resolve

func (c Admin) Resolve(ctx context.Context) error

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

func (c Admin) 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 (Admin) WaitStreaming

func (c Admin) WaitStreaming() error

type Admin_List

type Admin_List = capnp.CapList[Admin]

Admin_List is a list of Admin.

func NewAdmin_List

func NewAdmin_List(s *capnp.Segment, sz int32) (Admin_List, error)

NewAdmin creates a new list of Admin.

type Admin_Server

A Admin_Server is a Admin with a local implementation.

type Admin_addCategory

type Admin_addCategory struct {
	*server.Call
}

Admin_addCategory holds the state for a server call to Admin.addCategory. See server.Call for documentation.

func (Admin_addCategory) AllocResults

AllocResults allocates the results struct.

func (Admin_addCategory) Args

Args returns the call's arguments.

type Admin_addCategory_Params

type Admin_addCategory_Params capnp.Struct

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 (Admin_addCategory_Params) DecodeFromPtr

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

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 (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 (Admin_addCategory_Params) Upsert

func (s Admin_addCategory_Params) Upsert() bool

type Admin_addCategory_Params_Future

type Admin_addCategory_Params_Future struct{ *capnp.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 (Admin_addCategory_Params_Future) Struct

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

type Admin_addCategory_Results capnp.Struct

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) 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 (Admin_addCategory_Results) 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

type Admin_addCategory_Results_Future

type Admin_addCategory_Results_Future struct{ *capnp.Future }

Admin_addCategory_Results_Future is a wrapper for a Admin_addCategory_Results promised by a client call.

func (Admin_addCategory_Results_Future) Struct

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

type Admin_moveObjects struct {
	*server.Call
}

Admin_moveObjects holds the state for a server call to Admin.moveObjects. See server.Call for documentation.

func (Admin_moveObjects) AllocResults

AllocResults allocates the results struct.

func (Admin_moveObjects) Args

Args returns the call's arguments.

type Admin_moveObjects_Params

type Admin_moveObjects_Params capnp.Struct

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) 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

type Admin_moveObjects_Params_Future

type Admin_moveObjects_Params_Future struct{ *capnp.Future }

Admin_moveObjects_Params_Future is a wrapper for a Admin_moveObjects_Params promised by a client call.

func (Admin_moveObjects_Params_Future) Struct

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

type Admin_moveObjects_Results capnp.Struct

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) 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 (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 (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

type Admin_moveObjects_Results_Future

type Admin_moveObjects_Results_Future struct{ *capnp.Future }

Admin_moveObjects_Results_Future is a wrapper for a Admin_moveObjects_Results promised by a client call.

func (Admin_moveObjects_Results_Future) Struct

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

type Admin_registry struct {
	*server.Call
}

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

Args returns the call's arguments.

type Admin_registry_Params

type Admin_registry_Params capnp.Struct

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) 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

type Admin_registry_Params_Future struct{ *capnp.Future }

Admin_registry_Params_Future is a wrapper for a Admin_registry_Params promised by a client call.

func (Admin_registry_Params_Future) Struct

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

type Admin_registry_Results capnp.Struct

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) 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

type Admin_registry_Results_Future struct{ *capnp.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 (Admin_registry_Results_Future) Struct

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

type Admin_removeCategory struct {
	*server.Call
}

Admin_removeCategory holds the state for a server call to Admin.removeCategory. See server.Call for documentation.

func (Admin_removeCategory) AllocResults

AllocResults allocates the results struct.

func (Admin_removeCategory) Args

Args returns the call's arguments.

type Admin_removeCategory_Params

type Admin_removeCategory_Params capnp.Struct

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) 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 (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 (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 (Admin_removeCategory_Params) ToPtr

type Admin_removeCategory_Params_Future

type Admin_removeCategory_Params_Future struct{ *capnp.Future }

Admin_removeCategory_Params_Future is a wrapper for a Admin_removeCategory_Params promised by a client call.

func (Admin_removeCategory_Params_Future) Struct

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

type Admin_removeCategory_Results capnp.Struct

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) 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 (Admin_removeCategory_Results) NewRemovedObjects

NewRemovedObjects sets the removedObjects field to a newly allocated common.Identifiable_List, preferring placement in s's segment.

func (Admin_removeCategory_Results) RemovedObjects

func (Admin_removeCategory_Results) Segment

func (Admin_removeCategory_Results) SetRemovedObjects

func (Admin_removeCategory_Results) String

func (Admin_removeCategory_Results) ToPtr

type Admin_removeCategory_Results_Future

type Admin_removeCategory_Results_Future struct{ *capnp.Future }

Admin_removeCategory_Results_Future is a wrapper for a Admin_removeCategory_Results promised by a client call.

func (Admin_removeCategory_Results_Future) Struct

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

type Admin_removeObjects struct {
	*server.Call
}

Admin_removeObjects holds the state for a server call to Admin.removeObjects. See server.Call for documentation.

func (Admin_removeObjects) AllocResults

AllocResults allocates the results struct.

func (Admin_removeObjects) Args

Args returns the call's arguments.

type Admin_removeObjects_Params

type Admin_removeObjects_Params capnp.Struct

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) 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 (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 (Admin_removeObjects_Params) Segment

func (Admin_removeObjects_Params) SetObjectIds

func (s Admin_removeObjects_Params) SetObjectIds(v capnp.TextList) error

func (Admin_removeObjects_Params) String

func (Admin_removeObjects_Params) ToPtr

type Admin_removeObjects_Params_Future

type Admin_removeObjects_Params_Future struct{ *capnp.Future }

Admin_removeObjects_Params_Future is a wrapper for a Admin_removeObjects_Params promised by a client call.

func (Admin_removeObjects_Params_Future) Struct

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

type Admin_removeObjects_Results capnp.Struct

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) 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 (Admin_removeObjects_Results) NewRemovedObjects

NewRemovedObjects sets the removedObjects field to a newly allocated common.Identifiable_List, preferring placement in s's segment.

func (Admin_removeObjects_Results) RemovedObjects

func (Admin_removeObjects_Results) Segment

func (Admin_removeObjects_Results) SetRemovedObjects

func (Admin_removeObjects_Results) String

func (Admin_removeObjects_Results) ToPtr

type Admin_removeObjects_Results_Future

type Admin_removeObjects_Results_Future struct{ *capnp.Future }

Admin_removeObjects_Results_Future is a wrapper for a Admin_removeObjects_Results promised by a client call.

func (Admin_removeObjects_Results_Future) Struct

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

type Registrar capnp.Client

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

func (c Registrar) AddRef() Registrar

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) DecodeFromPtr

func (Registrar) DecodeFromPtr(p capnp.Ptr) Registrar

func (Registrar) EncodeAsPtr

func (c Registrar) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Registrar) GetFlowLimiter

func (c Registrar) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Registrar) IsSame

func (c Registrar) IsSame(other Registrar) 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) IsValid

func (c Registrar) 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) 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

func (c Registrar) Resolve(ctx context.Context) error

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

func (c Registrar) 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) WaitStreaming

func (c Registrar) WaitStreaming() error

type Registrar_CrossDomainRestore

type Registrar_CrossDomainRestore capnp.Struct

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) 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 (Registrar_CrossDomainRestore) NewVatId

NewVatId sets the vatId field to a newly allocated persistence.VatId struct, preferring placement in s's segment.

func (Registrar_CrossDomainRestore) Restorer

func (Registrar_CrossDomainRestore) Segment

func (Registrar_CrossDomainRestore) SetRestorer

func (Registrar_CrossDomainRestore) SetVatId

func (Registrar_CrossDomainRestore) String

func (Registrar_CrossDomainRestore) ToPtr

func (Registrar_CrossDomainRestore) VatId

type Registrar_CrossDomainRestore_Future

type Registrar_CrossDomainRestore_Future struct{ *capnp.Future }

Registrar_CrossDomainRestore_Future is a wrapper for a Registrar_CrossDomainRestore promised by a client call.

func (Registrar_CrossDomainRestore_Future) Restorer

func (Registrar_CrossDomainRestore_Future) Struct

func (Registrar_CrossDomainRestore_Future) VatId

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

type Registrar_List = capnp.CapList[Registrar]

Registrar_List is a list of Registrar.

func NewRegistrar_List

func NewRegistrar_List(s *capnp.Segment, sz int32) (Registrar_List, error)

NewRegistrar creates a new list of Registrar.

type Registrar_RegParams

type Registrar_RegParams capnp.Struct

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 (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) 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

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 (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 (Registrar_RegParams) String

func (s Registrar_RegParams) String() string

func (Registrar_RegParams) ToPtr

func (s Registrar_RegParams) ToPtr() capnp.Ptr

func (Registrar_RegParams) XDomain

type Registrar_RegParams_Future

type Registrar_RegParams_Future struct{ *capnp.Future }

Registrar_RegParams_Future is a wrapper for a Registrar_RegParams promised by a client call.

func (Registrar_RegParams_Future) Cap

func (Registrar_RegParams_Future) Struct

func (Registrar_RegParams_Future) XDomain

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

type Registrar_Unregister capnp.Client

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

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) 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

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) 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 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

type Registrar_Unregister_unregister struct {
	*server.Call
}

Registrar_Unregister_unregister holds the state for a server call to Registrar_Unregister.unregister. See server.Call for documentation.

func (Registrar_Unregister_unregister) AllocResults

AllocResults allocates the results struct.

func (Registrar_Unregister_unregister) Args

Args returns the call's arguments.

type Registrar_Unregister_unregister_Params

type Registrar_Unregister_unregister_Params capnp.Struct

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) EncodeAsPtr

func (Registrar_Unregister_unregister_Params) IsValid

func (Registrar_Unregister_unregister_Params) Message

func (Registrar_Unregister_unregister_Params) Segment

func (Registrar_Unregister_unregister_Params) String

func (Registrar_Unregister_unregister_Params) ToPtr

type Registrar_Unregister_unregister_Params_Future

type Registrar_Unregister_unregister_Params_Future struct{ *capnp.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

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

type Registrar_Unregister_unregister_Results capnp.Struct

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) EncodeAsPtr

func (Registrar_Unregister_unregister_Results) IsValid

func (Registrar_Unregister_unregister_Results) Message

func (Registrar_Unregister_unregister_Results) Segment

func (Registrar_Unregister_unregister_Results) SetSuccess

func (Registrar_Unregister_unregister_Results) String

func (Registrar_Unregister_unregister_Results) Success

func (Registrar_Unregister_unregister_Results) ToPtr

type Registrar_Unregister_unregister_Results_Future

type Registrar_Unregister_unregister_Results_Future struct{ *capnp.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

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

type Registrar_register struct {
	*server.Call
}

Registrar_register holds the state for a server call to Registrar.register. See server.Call for documentation.

func (Registrar_register) AllocResults

AllocResults allocates the results struct.

func (Registrar_register) Args

Args returns the call's arguments.

type Registrar_register_Results

type Registrar_register_Results capnp.Struct

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) 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 (Registrar_register_Results) NewReregSR

NewReregSR sets the reregSR field to a newly allocated persistence.SturdyRef struct, preferring placement in s's segment.

func (Registrar_register_Results) ReregSR

func (Registrar_register_Results) Segment

func (Registrar_register_Results) SetReregSR

func (Registrar_register_Results) SetUnreg

func (Registrar_register_Results) String

func (Registrar_register_Results) ToPtr

func (Registrar_register_Results) Unreg

type Registrar_register_Results_Future

type Registrar_register_Results_Future struct{ *capnp.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 (Registrar_register_Results_Future) Struct

func (Registrar_register_Results_Future) Unreg

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

type Registry capnp.Client

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

func (c Registry) AddRef() Registry

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) DecodeFromPtr

func (Registry) DecodeFromPtr(p capnp.Ptr) Registry

func (Registry) EncodeAsPtr

func (c Registry) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Registry) GetFlowLimiter

func (c Registry) GetFlowLimiter() fc.FlowLimiter

Get the current flowcontrol.FlowLimiter used to manage flow control for this client.

func (Registry) IsSame

func (c Registry) IsSame(other Registry) 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 (Registry) IsValid

func (c Registry) 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 (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

func (c Registry) Resolve(ctx context.Context) error

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

func (c Registry) 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 (Registry) WaitStreaming

func (c Registry) WaitStreaming() error

type Registry_Entry

type Registry_Entry capnp.Struct

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 (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 (Registry_Entry) String

func (s Registry_Entry) String() string

func (Registry_Entry) ToPtr

func (s Registry_Entry) ToPtr() capnp.Ptr

type Registry_Entry_Future

type Registry_Entry_Future struct{ *capnp.Future }

Registry_Entry_Future is a wrapper for a Registry_Entry promised by a client call.

func (Registry_Entry_Future) Ref

func (Registry_Entry_Future) Struct

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

type Registry_List = capnp.CapList[Registry]

Registry_List is a list of Registry.

func NewRegistry_List

func NewRegistry_List(s *capnp.Segment, sz int32) (Registry_List, error)

NewRegistry creates a new list of Registry.

type Registry_Server

A Registry_Server is a Registry with a local implementation.

type Registry_categoryInfo

type Registry_categoryInfo struct {
	*server.Call
}

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

Args returns the call's arguments.

type Registry_categoryInfo_Params

type Registry_categoryInfo_Params capnp.Struct

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) 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 (Registry_categoryInfo_Params) Segment

func (Registry_categoryInfo_Params) SetCategoryId

func (s Registry_categoryInfo_Params) SetCategoryId(v string) error

func (Registry_categoryInfo_Params) String

func (Registry_categoryInfo_Params) ToPtr

type Registry_categoryInfo_Params_Future

type Registry_categoryInfo_Params_Future struct{ *capnp.Future }

Registry_categoryInfo_Params_Future is a wrapper for a Registry_categoryInfo_Params promised by a client call.

func (Registry_categoryInfo_Params_Future) Struct

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

type Registry_entries struct {
	*server.Call
}

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

Args returns the call's arguments.

type Registry_entries_Params

type Registry_entries_Params capnp.Struct

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) 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

type Registry_entries_Params_Future struct{ *capnp.Future }

Registry_entries_Params_Future is a wrapper for a Registry_entries_Params promised by a client call.

func (Registry_entries_Params_Future) Struct

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

type Registry_entries_Results capnp.Struct

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) EncodeAsPtr

func (s Registry_entries_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

func (Registry_entries_Results) Entries

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

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 (Registry_entries_Results) String

func (s Registry_entries_Results) String() string

func (Registry_entries_Results) ToPtr

type Registry_entries_Results_Future

type Registry_entries_Results_Future struct{ *capnp.Future }

Registry_entries_Results_Future is a wrapper for a Registry_entries_Results promised by a client call.

func (Registry_entries_Results_Future) Struct

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

type Registry_supportedCategories struct {
	*server.Call
}

Registry_supportedCategories holds the state for a server call to Registry.supportedCategories. See server.Call for documentation.

func (Registry_supportedCategories) AllocResults

AllocResults allocates the results struct.

func (Registry_supportedCategories) Args

Args returns the call's arguments.

type Registry_supportedCategories_Params

type Registry_supportedCategories_Params capnp.Struct

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) EncodeAsPtr

func (Registry_supportedCategories_Params) IsValid

func (Registry_supportedCategories_Params) Message

func (Registry_supportedCategories_Params) Segment

func (Registry_supportedCategories_Params) String

func (Registry_supportedCategories_Params) ToPtr

type Registry_supportedCategories_Params_Future

type Registry_supportedCategories_Params_Future struct{ *capnp.Future }

Registry_supportedCategories_Params_Future is a wrapper for a Registry_supportedCategories_Params promised by a client call.

func (Registry_supportedCategories_Params_Future) Struct

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

type Registry_supportedCategories_Results capnp.Struct

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 (Registry_supportedCategories_Results) DecodeFromPtr

func (Registry_supportedCategories_Results) EncodeAsPtr

func (Registry_supportedCategories_Results) HasCats

func (Registry_supportedCategories_Results) IsValid

func (Registry_supportedCategories_Results) Message

func (Registry_supportedCategories_Results) NewCats

NewCats sets the cats field to a newly allocated common.IdInformation_List, preferring placement in s's segment.

func (Registry_supportedCategories_Results) Segment

func (Registry_supportedCategories_Results) SetCats

func (Registry_supportedCategories_Results) String

func (Registry_supportedCategories_Results) ToPtr

type Registry_supportedCategories_Results_Future

type Registry_supportedCategories_Results_Future struct{ *capnp.Future }

Registry_supportedCategories_Results_Future is a wrapper for a Registry_supportedCategories_Results promised by a client call.

func (Registry_supportedCategories_Results_Future) Struct

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL