registry

package
v0.0.0-...-1f04649 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

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_TypeID = 0xabaef93c36f2d1ea

Registrar_TypeID is the unique identifier for the type Registrar.

View Source
const Registrar_register_Params_TypeID = 0x98ee0ca0962009bc

Registrar_register_Params_TypeID is the unique identifier for the type Registrar_register_Params.

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

type Admin struct{ Client *capnp.Client }

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

func (c Admin) AddRef() Admin

func (Admin) Release

func (c Admin) Release()

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

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 struct{ 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) HasCategory

func (s Admin_addCategory_Params) HasCategory() bool

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) 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) 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 struct{ capnp.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 (Admin_addCategory_Params_List) Set

func (Admin_addCategory_Params_List) String

type Admin_addCategory_Results

type Admin_addCategory_Results struct{ 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) 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

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 struct{ capnp.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 (Admin_addCategory_Results_List) Set

func (Admin_addCategory_Results_List) String

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

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 struct{ capnp.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 (Admin_moveObjects_Params_List) Set

func (Admin_moveObjects_Params_List) String

type Admin_moveObjects_Results

type Admin_moveObjects_Results struct{ 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) 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

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 struct{ capnp.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 (Admin_moveObjects_Results_List) Set

func (Admin_moveObjects_Results_List) String

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 struct{ 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) String

func (s Admin_registry_Params) String() string

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 struct{ capnp.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 (Admin_registry_Params_List) Set

func (Admin_registry_Params_List) String

type Admin_registry_Results

type Admin_registry_Results struct{ 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) 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

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 struct{ capnp.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 (Admin_registry_Results_List) Set

func (Admin_registry_Results_List) String

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

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 struct{ capnp.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 (Admin_removeCategory_Params_List) Set

func (Admin_removeCategory_Params_List) String

type Admin_removeCategory_Results

type Admin_removeCategory_Results struct{ 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) 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

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 struct{ capnp.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 (Admin_removeCategory_Results_List) Set

func (Admin_removeCategory_Results_List) String

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 struct{ 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) 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 (Admin_removeObjects_Params) SetObjectIds

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

func (Admin_removeObjects_Params) String

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 struct{ capnp.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 (Admin_removeObjects_Params_List) Set

func (Admin_removeObjects_Params_List) String

type Admin_removeObjects_Results

type Admin_removeObjects_Results struct{ 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) 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

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 struct{ capnp.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 (Admin_removeObjects_Results_List) Set

func (Admin_removeObjects_Results_List) String

type Registrar

type Registrar struct{ Client *capnp.Client }

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

func (c Registrar) AddRef() Registrar

func (Registrar) Release

func (c Registrar) Release()

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

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_Params

type Registrar_register_Params struct{ capnp.Struct }

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

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

type Registrar_register_Params_List

type Registrar_register_Params_List struct{ capnp.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 (Registrar_register_Params_List) Set

func (Registrar_register_Params_List) String

type Registrar_register_Results

type Registrar_register_Results struct{ 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) 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 (Registrar_register_Results) SetRereg

func (s Registrar_register_Results) SetRereg(v capnp.Ptr) error

func (Registrar_register_Results) SetUnreg

func (Registrar_register_Results) String

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

func (Registrar_register_Results_Future) Struct

func (Registrar_register_Results_Future) Unreg

type Registrar_register_Results_List

type Registrar_register_Results_List struct{ capnp.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 (Registrar_register_Results_List) Set

func (Registrar_register_Results_List) String

type Registry

type Registry struct{ Client *capnp.Client }

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

func (c Registry) AddRef() Registry

func (Registry) Release

func (c Registry) Release()

type Registry_Entry

type Registry_Entry struct{ 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) 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 (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

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 struct{ capnp.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 (Registry_Entry_List) Set

func (Registry_Entry_List) String

func (s Registry_Entry_List) String() string

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

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 struct{ capnp.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 (Registry_categoryInfo_Params_List) Set

func (Registry_categoryInfo_Params_List) String

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

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 struct{ capnp.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 (Registry_entries_Params_List) Set

func (Registry_entries_Params_List) String

type Registry_entries_Results

type Registry_entries_Results struct{ 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) Entries

func (Registry_entries_Results) HasEntries

func (s Registry_entries_Results) HasEntries() bool

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

func (Registry_entries_Results) String

func (s Registry_entries_Results) String() string

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 struct{ capnp.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 (Registry_entries_Results_List) Set

func (Registry_entries_Results_List) String

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 struct{ 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) String

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 struct{ capnp.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) At

func (Registry_supportedCategories_Params_List) Set

func (Registry_supportedCategories_Params_List) String

type Registry_supportedCategories_Results

type Registry_supportedCategories_Results struct{ 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) HasCats

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

func (Registry_supportedCategories_Results) String

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 struct{ capnp.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) At

func (Registry_supportedCategories_Results_List) Set

func (Registry_supportedCategories_Results_List) String

Jump to

Keyboard shortcuts

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