Documentation ¶
Index ¶
- Constants
- func BootContext_Methods(methods []server.Method, s BootContext_Server) []server.Method
- func BootContext_NewServer(s BootContext_Server) *server.Server
- func BytecodeCache_Methods(methods []server.Method, s BytecodeCache_Server) []server.Method
- func BytecodeCache_NewServer(s BytecodeCache_Server) *server.Server
- func Executor_Methods(methods []server.Method, s Executor_Server) []server.Method
- func Executor_NewServer(s Executor_Server) *server.Server
- func Process_Methods(methods []server.Method, s Process_Server) []server.Method
- func Process_NewServer(s Process_Server) *server.Server
- func RegisterSchema(reg *schemas.Registry)
- type BootContext
- func (c BootContext) AddRef() BootContext
- func (c BootContext) Args(ctx context.Context, params func(BootContext_args_Params) error) (BootContext_args_Results_Future, capnp.ReleaseFunc)
- func (c BootContext) Caps(ctx context.Context, params func(BootContext_caps_Params) error) (BootContext_caps_Results_Future, capnp.ReleaseFunc)
- func (c BootContext) Cid(ctx context.Context, params func(BootContext_cid_Params) error) (BootContext_cid_Results_Future, capnp.ReleaseFunc)
- func (BootContext) DecodeFromPtr(p capnp.Ptr) BootContext
- func (c BootContext) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c BootContext) GetFlowLimiter() fc.FlowLimiter
- func (c BootContext) IsSame(other BootContext) bool
- func (c BootContext) IsValid() bool
- func (c BootContext) Pid(ctx context.Context, params func(BootContext_pid_Params) error) (BootContext_pid_Results_Future, capnp.ReleaseFunc)
- func (c BootContext) Release()
- func (c BootContext) Resolve(ctx context.Context) error
- func (c BootContext) SetCid(ctx context.Context, params func(BootContext_setCid_Params) error) (BootContext_setCid_Results_Future, capnp.ReleaseFunc)
- func (c BootContext) SetFlowLimiter(lim fc.FlowLimiter)
- func (c BootContext) SetPid(ctx context.Context, params func(BootContext_setPid_Params) error) (BootContext_setPid_Results_Future, capnp.ReleaseFunc)
- func (c BootContext) String() string
- func (c BootContext) WaitStreaming() error
- type BootContext_List
- type BootContext_Server
- type BootContext_args
- type BootContext_args_Params
- func (BootContext_args_Params) DecodeFromPtr(p capnp.Ptr) BootContext_args_Params
- func (s BootContext_args_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_args_Params) IsValid() bool
- func (s BootContext_args_Params) Message() *capnp.Message
- func (s BootContext_args_Params) Segment() *capnp.Segment
- func (s BootContext_args_Params) String() string
- func (s BootContext_args_Params) ToPtr() capnp.Ptr
- type BootContext_args_Params_Future
- type BootContext_args_Params_List
- type BootContext_args_Results
- func (s BootContext_args_Results) Args() (capnp.TextList, error)
- func (BootContext_args_Results) DecodeFromPtr(p capnp.Ptr) BootContext_args_Results
- func (s BootContext_args_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_args_Results) HasArgs() bool
- func (s BootContext_args_Results) IsValid() bool
- func (s BootContext_args_Results) Message() *capnp.Message
- func (s BootContext_args_Results) NewArgs(n int32) (capnp.TextList, error)
- func (s BootContext_args_Results) Segment() *capnp.Segment
- func (s BootContext_args_Results) SetArgs(v capnp.TextList) error
- func (s BootContext_args_Results) String() string
- func (s BootContext_args_Results) ToPtr() capnp.Ptr
- type BootContext_args_Results_Future
- type BootContext_args_Results_List
- type BootContext_caps
- type BootContext_caps_Params
- func (BootContext_caps_Params) DecodeFromPtr(p capnp.Ptr) BootContext_caps_Params
- func (s BootContext_caps_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_caps_Params) IsValid() bool
- func (s BootContext_caps_Params) Message() *capnp.Message
- func (s BootContext_caps_Params) Segment() *capnp.Segment
- func (s BootContext_caps_Params) String() string
- func (s BootContext_caps_Params) ToPtr() capnp.Ptr
- type BootContext_caps_Params_Future
- type BootContext_caps_Params_List
- type BootContext_caps_Results
- func (s BootContext_caps_Results) Caps() (capnp.PointerList, error)
- func (BootContext_caps_Results) DecodeFromPtr(p capnp.Ptr) BootContext_caps_Results
- func (s BootContext_caps_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_caps_Results) HasCaps() bool
- func (s BootContext_caps_Results) IsValid() bool
- func (s BootContext_caps_Results) Message() *capnp.Message
- func (s BootContext_caps_Results) NewCaps(n int32) (capnp.PointerList, error)
- func (s BootContext_caps_Results) Segment() *capnp.Segment
- func (s BootContext_caps_Results) SetCaps(v capnp.PointerList) error
- func (s BootContext_caps_Results) String() string
- func (s BootContext_caps_Results) ToPtr() capnp.Ptr
- type BootContext_caps_Results_Future
- type BootContext_caps_Results_List
- type BootContext_cid
- type BootContext_cid_Params
- func (BootContext_cid_Params) DecodeFromPtr(p capnp.Ptr) BootContext_cid_Params
- func (s BootContext_cid_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_cid_Params) IsValid() bool
- func (s BootContext_cid_Params) Message() *capnp.Message
- func (s BootContext_cid_Params) Segment() *capnp.Segment
- func (s BootContext_cid_Params) String() string
- func (s BootContext_cid_Params) ToPtr() capnp.Ptr
- type BootContext_cid_Params_Future
- type BootContext_cid_Params_List
- type BootContext_cid_Results
- func (s BootContext_cid_Results) Cid() ([]byte, error)
- func (BootContext_cid_Results) DecodeFromPtr(p capnp.Ptr) BootContext_cid_Results
- func (s BootContext_cid_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_cid_Results) HasCid() bool
- func (s BootContext_cid_Results) IsValid() bool
- func (s BootContext_cid_Results) Message() *capnp.Message
- func (s BootContext_cid_Results) Segment() *capnp.Segment
- func (s BootContext_cid_Results) SetCid(v []byte) error
- func (s BootContext_cid_Results) String() string
- func (s BootContext_cid_Results) ToPtr() capnp.Ptr
- type BootContext_cid_Results_Future
- type BootContext_cid_Results_List
- type BootContext_pid
- type BootContext_pid_Params
- func (BootContext_pid_Params) DecodeFromPtr(p capnp.Ptr) BootContext_pid_Params
- func (s BootContext_pid_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_pid_Params) IsValid() bool
- func (s BootContext_pid_Params) Message() *capnp.Message
- func (s BootContext_pid_Params) Segment() *capnp.Segment
- func (s BootContext_pid_Params) String() string
- func (s BootContext_pid_Params) ToPtr() capnp.Ptr
- type BootContext_pid_Params_Future
- type BootContext_pid_Params_List
- type BootContext_pid_Results
- func (BootContext_pid_Results) DecodeFromPtr(p capnp.Ptr) BootContext_pid_Results
- func (s BootContext_pid_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_pid_Results) IsValid() bool
- func (s BootContext_pid_Results) Message() *capnp.Message
- func (s BootContext_pid_Results) Pid() uint32
- func (s BootContext_pid_Results) Segment() *capnp.Segment
- func (s BootContext_pid_Results) SetPid(v uint32)
- func (s BootContext_pid_Results) String() string
- func (s BootContext_pid_Results) ToPtr() capnp.Ptr
- type BootContext_pid_Results_Future
- type BootContext_pid_Results_List
- type BootContext_setCid
- type BootContext_setCid_Params
- func (s BootContext_setCid_Params) Cid() ([]byte, error)
- func (BootContext_setCid_Params) DecodeFromPtr(p capnp.Ptr) BootContext_setCid_Params
- func (s BootContext_setCid_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_setCid_Params) HasCid() bool
- func (s BootContext_setCid_Params) IsValid() bool
- func (s BootContext_setCid_Params) Message() *capnp.Message
- func (s BootContext_setCid_Params) Segment() *capnp.Segment
- func (s BootContext_setCid_Params) SetCid(v []byte) error
- func (s BootContext_setCid_Params) String() string
- func (s BootContext_setCid_Params) ToPtr() capnp.Ptr
- type BootContext_setCid_Params_Future
- type BootContext_setCid_Params_List
- type BootContext_setCid_Results
- func (BootContext_setCid_Results) DecodeFromPtr(p capnp.Ptr) BootContext_setCid_Results
- func (s BootContext_setCid_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_setCid_Results) IsValid() bool
- func (s BootContext_setCid_Results) Message() *capnp.Message
- func (s BootContext_setCid_Results) Segment() *capnp.Segment
- func (s BootContext_setCid_Results) String() string
- func (s BootContext_setCid_Results) ToPtr() capnp.Ptr
- type BootContext_setCid_Results_Future
- type BootContext_setCid_Results_List
- type BootContext_setPid
- type BootContext_setPid_Params
- func (BootContext_setPid_Params) DecodeFromPtr(p capnp.Ptr) BootContext_setPid_Params
- func (s BootContext_setPid_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_setPid_Params) IsValid() bool
- func (s BootContext_setPid_Params) Message() *capnp.Message
- func (s BootContext_setPid_Params) Pid() uint32
- func (s BootContext_setPid_Params) Segment() *capnp.Segment
- func (s BootContext_setPid_Params) SetPid(v uint32)
- func (s BootContext_setPid_Params) String() string
- func (s BootContext_setPid_Params) ToPtr() capnp.Ptr
- type BootContext_setPid_Params_Future
- type BootContext_setPid_Params_List
- type BootContext_setPid_Results
- func (BootContext_setPid_Results) DecodeFromPtr(p capnp.Ptr) BootContext_setPid_Results
- func (s BootContext_setPid_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BootContext_setPid_Results) IsValid() bool
- func (s BootContext_setPid_Results) Message() *capnp.Message
- func (s BootContext_setPid_Results) Segment() *capnp.Segment
- func (s BootContext_setPid_Results) String() string
- func (s BootContext_setPid_Results) ToPtr() capnp.Ptr
- type BootContext_setPid_Results_Future
- type BootContext_setPid_Results_List
- type BytecodeCache
- func (c BytecodeCache) AddRef() BytecodeCache
- func (BytecodeCache) DecodeFromPtr(p capnp.Ptr) BytecodeCache
- func (c BytecodeCache) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c BytecodeCache) Get(ctx context.Context, params func(BytecodeCache_get_Params) error) (BytecodeCache_get_Results_Future, capnp.ReleaseFunc)
- func (c BytecodeCache) GetFlowLimiter() fc.FlowLimiter
- func (c BytecodeCache) Has(ctx context.Context, params func(BytecodeCache_has_Params) error) (BytecodeCache_has_Results_Future, capnp.ReleaseFunc)
- func (c BytecodeCache) IsSame(other BytecodeCache) bool
- func (c BytecodeCache) IsValid() bool
- func (c BytecodeCache) Put(ctx context.Context, params func(BytecodeCache_put_Params) error) (BytecodeCache_put_Results_Future, capnp.ReleaseFunc)
- func (c BytecodeCache) Release()
- func (c BytecodeCache) Resolve(ctx context.Context) error
- func (c BytecodeCache) SetFlowLimiter(lim fc.FlowLimiter)
- func (c BytecodeCache) String() string
- func (c BytecodeCache) WaitStreaming() error
- type BytecodeCache_List
- type BytecodeCache_Server
- type BytecodeCache_get
- type BytecodeCache_get_Params
- func (s BytecodeCache_get_Params) Cid() ([]byte, error)
- func (BytecodeCache_get_Params) DecodeFromPtr(p capnp.Ptr) BytecodeCache_get_Params
- func (s BytecodeCache_get_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BytecodeCache_get_Params) HasCid() bool
- func (s BytecodeCache_get_Params) IsValid() bool
- func (s BytecodeCache_get_Params) Message() *capnp.Message
- func (s BytecodeCache_get_Params) Segment() *capnp.Segment
- func (s BytecodeCache_get_Params) SetCid(v []byte) error
- func (s BytecodeCache_get_Params) String() string
- func (s BytecodeCache_get_Params) ToPtr() capnp.Ptr
- type BytecodeCache_get_Params_Future
- type BytecodeCache_get_Params_List
- type BytecodeCache_get_Results
- func (s BytecodeCache_get_Results) Bytecode() ([]byte, error)
- func (BytecodeCache_get_Results) DecodeFromPtr(p capnp.Ptr) BytecodeCache_get_Results
- func (s BytecodeCache_get_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BytecodeCache_get_Results) HasBytecode() bool
- func (s BytecodeCache_get_Results) IsValid() bool
- func (s BytecodeCache_get_Results) Message() *capnp.Message
- func (s BytecodeCache_get_Results) Segment() *capnp.Segment
- func (s BytecodeCache_get_Results) SetBytecode(v []byte) error
- func (s BytecodeCache_get_Results) String() string
- func (s BytecodeCache_get_Results) ToPtr() capnp.Ptr
- type BytecodeCache_get_Results_Future
- type BytecodeCache_get_Results_List
- type BytecodeCache_has
- type BytecodeCache_has_Params
- func (s BytecodeCache_has_Params) Cid() ([]byte, error)
- func (BytecodeCache_has_Params) DecodeFromPtr(p capnp.Ptr) BytecodeCache_has_Params
- func (s BytecodeCache_has_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BytecodeCache_has_Params) HasCid() bool
- func (s BytecodeCache_has_Params) IsValid() bool
- func (s BytecodeCache_has_Params) Message() *capnp.Message
- func (s BytecodeCache_has_Params) Segment() *capnp.Segment
- func (s BytecodeCache_has_Params) SetCid(v []byte) error
- func (s BytecodeCache_has_Params) String() string
- func (s BytecodeCache_has_Params) ToPtr() capnp.Ptr
- type BytecodeCache_has_Params_Future
- type BytecodeCache_has_Params_List
- type BytecodeCache_has_Results
- func (BytecodeCache_has_Results) DecodeFromPtr(p capnp.Ptr) BytecodeCache_has_Results
- func (s BytecodeCache_has_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BytecodeCache_has_Results) Has() bool
- func (s BytecodeCache_has_Results) IsValid() bool
- func (s BytecodeCache_has_Results) Message() *capnp.Message
- func (s BytecodeCache_has_Results) Segment() *capnp.Segment
- func (s BytecodeCache_has_Results) SetHas(v bool)
- func (s BytecodeCache_has_Results) String() string
- func (s BytecodeCache_has_Results) ToPtr() capnp.Ptr
- type BytecodeCache_has_Results_Future
- type BytecodeCache_has_Results_List
- type BytecodeCache_put
- type BytecodeCache_put_Params
- func (s BytecodeCache_put_Params) Bytecode() ([]byte, error)
- func (BytecodeCache_put_Params) DecodeFromPtr(p capnp.Ptr) BytecodeCache_put_Params
- func (s BytecodeCache_put_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BytecodeCache_put_Params) HasBytecode() bool
- func (s BytecodeCache_put_Params) IsValid() bool
- func (s BytecodeCache_put_Params) Message() *capnp.Message
- func (s BytecodeCache_put_Params) Segment() *capnp.Segment
- func (s BytecodeCache_put_Params) SetBytecode(v []byte) error
- func (s BytecodeCache_put_Params) String() string
- func (s BytecodeCache_put_Params) ToPtr() capnp.Ptr
- type BytecodeCache_put_Params_Future
- type BytecodeCache_put_Params_List
- type BytecodeCache_put_Results
- func (s BytecodeCache_put_Results) Cid() ([]byte, error)
- func (BytecodeCache_put_Results) DecodeFromPtr(p capnp.Ptr) BytecodeCache_put_Results
- func (s BytecodeCache_put_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s BytecodeCache_put_Results) HasCid() bool
- func (s BytecodeCache_put_Results) IsValid() bool
- func (s BytecodeCache_put_Results) Message() *capnp.Message
- func (s BytecodeCache_put_Results) Segment() *capnp.Segment
- func (s BytecodeCache_put_Results) SetCid(v []byte) error
- func (s BytecodeCache_put_Results) String() string
- func (s BytecodeCache_put_Results) ToPtr() capnp.Ptr
- type BytecodeCache_put_Results_Future
- type BytecodeCache_put_Results_List
- type Executor
- func (c Executor) AddRef() Executor
- func (Executor) DecodeFromPtr(p capnp.Ptr) Executor
- func (c Executor) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Executor) Exec(ctx context.Context, params func(Executor_exec_Params) error) (Executor_exec_Results_Future, capnp.ReleaseFunc)
- func (c Executor) ExecCached(ctx context.Context, params func(Executor_execCached_Params) error) (Executor_execCached_Results_Future, capnp.ReleaseFunc)
- func (c Executor) GetFlowLimiter() fc.FlowLimiter
- func (c Executor) IsSame(other Executor) bool
- func (c Executor) IsValid() bool
- func (c Executor) Release()
- func (c Executor) Resolve(ctx context.Context) error
- func (c Executor) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Executor) String() string
- func (c Executor) WaitStreaming() error
- type Executor_List
- type Executor_Server
- type Executor_exec
- type Executor_execCached
- type Executor_execCached_Params
- func (s Executor_execCached_Params) Bctx() BootContext
- func (s Executor_execCached_Params) Cid() ([]byte, error)
- func (Executor_execCached_Params) DecodeFromPtr(p capnp.Ptr) Executor_execCached_Params
- func (s Executor_execCached_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Executor_execCached_Params) HasBctx() bool
- func (s Executor_execCached_Params) HasCid() bool
- func (s Executor_execCached_Params) IsValid() bool
- func (s Executor_execCached_Params) Message() *capnp.Message
- func (s Executor_execCached_Params) Ppid() uint32
- func (s Executor_execCached_Params) Segment() *capnp.Segment
- func (s Executor_execCached_Params) SetBctx(v BootContext) error
- func (s Executor_execCached_Params) SetCid(v []byte) error
- func (s Executor_execCached_Params) SetPpid(v uint32)
- func (s Executor_execCached_Params) String() string
- func (s Executor_execCached_Params) ToPtr() capnp.Ptr
- type Executor_execCached_Params_Future
- type Executor_execCached_Params_List
- type Executor_execCached_Results
- func (Executor_execCached_Results) DecodeFromPtr(p capnp.Ptr) Executor_execCached_Results
- func (s Executor_execCached_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Executor_execCached_Results) HasProcess() bool
- func (s Executor_execCached_Results) IsValid() bool
- func (s Executor_execCached_Results) Message() *capnp.Message
- func (s Executor_execCached_Results) Process() Process
- func (s Executor_execCached_Results) Segment() *capnp.Segment
- func (s Executor_execCached_Results) SetProcess(v Process) error
- func (s Executor_execCached_Results) String() string
- func (s Executor_execCached_Results) ToPtr() capnp.Ptr
- type Executor_execCached_Results_Future
- type Executor_execCached_Results_List
- type Executor_exec_Params
- func (s Executor_exec_Params) Bctx() BootContext
- func (s Executor_exec_Params) Bytecode() ([]byte, error)
- func (Executor_exec_Params) DecodeFromPtr(p capnp.Ptr) Executor_exec_Params
- func (s Executor_exec_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Executor_exec_Params) HasBctx() bool
- func (s Executor_exec_Params) HasBytecode() bool
- func (s Executor_exec_Params) IsValid() bool
- func (s Executor_exec_Params) Message() *capnp.Message
- func (s Executor_exec_Params) Ppid() uint32
- func (s Executor_exec_Params) Segment() *capnp.Segment
- func (s Executor_exec_Params) SetBctx(v BootContext) error
- func (s Executor_exec_Params) SetBytecode(v []byte) error
- func (s Executor_exec_Params) SetPpid(v uint32)
- func (s Executor_exec_Params) String() string
- func (s Executor_exec_Params) ToPtr() capnp.Ptr
- type Executor_exec_Params_Future
- type Executor_exec_Params_List
- type Executor_exec_Results
- func (Executor_exec_Results) DecodeFromPtr(p capnp.Ptr) Executor_exec_Results
- func (s Executor_exec_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Executor_exec_Results) HasProcess() bool
- func (s Executor_exec_Results) IsValid() bool
- func (s Executor_exec_Results) Message() *capnp.Message
- func (s Executor_exec_Results) Process() Process
- func (s Executor_exec_Results) Segment() *capnp.Segment
- func (s Executor_exec_Results) SetProcess(v Process) error
- func (s Executor_exec_Results) String() string
- func (s Executor_exec_Results) ToPtr() capnp.Ptr
- type Executor_exec_Results_Future
- type Executor_exec_Results_List
- type Process
- func (c Process) AddRef() Process
- func (Process) DecodeFromPtr(p capnp.Ptr) Process
- func (c Process) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Process) GetFlowLimiter() fc.FlowLimiter
- func (c Process) IsSame(other Process) bool
- func (c Process) IsValid() bool
- func (c Process) Kill(ctx context.Context, params func(Process_kill_Params) error) (Process_kill_Results_Future, capnp.ReleaseFunc)
- func (c Process) Release()
- func (c Process) Resolve(ctx context.Context) error
- func (c Process) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Process) String() string
- func (c Process) Wait(ctx context.Context, params func(Process_wait_Params) error) (Process_wait_Results_Future, capnp.ReleaseFunc)
- func (c Process) WaitStreaming() error
- type Process_List
- type Process_Server
- type Process_kill
- type Process_kill_Params
- func (Process_kill_Params) DecodeFromPtr(p capnp.Ptr) Process_kill_Params
- func (s Process_kill_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Process_kill_Params) IsValid() bool
- func (s Process_kill_Params) Message() *capnp.Message
- func (s Process_kill_Params) Segment() *capnp.Segment
- func (s Process_kill_Params) String() string
- func (s Process_kill_Params) ToPtr() capnp.Ptr
- type Process_kill_Params_Future
- type Process_kill_Params_List
- type Process_kill_Results
- func (Process_kill_Results) DecodeFromPtr(p capnp.Ptr) Process_kill_Results
- func (s Process_kill_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Process_kill_Results) IsValid() bool
- func (s Process_kill_Results) Message() *capnp.Message
- func (s Process_kill_Results) Segment() *capnp.Segment
- func (s Process_kill_Results) String() string
- func (s Process_kill_Results) ToPtr() capnp.Ptr
- type Process_kill_Results_Future
- type Process_kill_Results_List
- type Process_wait
- type Process_wait_Params
- func (Process_wait_Params) DecodeFromPtr(p capnp.Ptr) Process_wait_Params
- func (s Process_wait_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Process_wait_Params) IsValid() bool
- func (s Process_wait_Params) Message() *capnp.Message
- func (s Process_wait_Params) Segment() *capnp.Segment
- func (s Process_wait_Params) String() string
- func (s Process_wait_Params) ToPtr() capnp.Ptr
- type Process_wait_Params_Future
- type Process_wait_Params_List
- type Process_wait_Results
- func (Process_wait_Results) DecodeFromPtr(p capnp.Ptr) Process_wait_Results
- func (s Process_wait_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Process_wait_Results) ExitCode() uint32
- func (s Process_wait_Results) IsValid() bool
- func (s Process_wait_Results) Message() *capnp.Message
- func (s Process_wait_Results) Segment() *capnp.Segment
- func (s Process_wait_Results) SetExitCode(v uint32)
- func (s Process_wait_Results) String() string
- func (s Process_wait_Results) ToPtr() capnp.Ptr
- type Process_wait_Results_Future
- type Process_wait_Results_List
Constants ¶
const BootContext_TypeID = 0xef622b23fee0980e
BootContext_TypeID is the unique identifier for the type BootContext.
const BootContext_args_Params_TypeID = 0xdd266b5e92d80bb6
BootContext_args_Params_TypeID is the unique identifier for the type BootContext_args_Params.
const BootContext_args_Results_TypeID = 0xda9aeb6068ce2f08
BootContext_args_Results_TypeID is the unique identifier for the type BootContext_args_Results.
const BootContext_caps_Params_TypeID = 0xb4c6412facf739e9
BootContext_caps_Params_TypeID is the unique identifier for the type BootContext_caps_Params.
const BootContext_caps_Results_TypeID = 0xccc01fd29eb6c672
BootContext_caps_Results_TypeID is the unique identifier for the type BootContext_caps_Results.
const BootContext_cid_Params_TypeID = 0x8dbc523bcfdca829
BootContext_cid_Params_TypeID is the unique identifier for the type BootContext_cid_Params.
const BootContext_cid_Results_TypeID = 0xda227d43770b4d13
BootContext_cid_Results_TypeID is the unique identifier for the type BootContext_cid_Results.
const BootContext_pid_Params_TypeID = 0xa7600db255bca0c7
BootContext_pid_Params_TypeID is the unique identifier for the type BootContext_pid_Params.
const BootContext_pid_Results_TypeID = 0xe84ba4855da630b6
BootContext_pid_Results_TypeID is the unique identifier for the type BootContext_pid_Results.
const BootContext_setCid_Params_TypeID = 0x97a28cda532de0ff
BootContext_setCid_Params_TypeID is the unique identifier for the type BootContext_setCid_Params.
const BootContext_setCid_Results_TypeID = 0xaab0eb92d588b81e
BootContext_setCid_Results_TypeID is the unique identifier for the type BootContext_setCid_Results.
const BootContext_setPid_Params_TypeID = 0x9a476b9f1a755580
BootContext_setPid_Params_TypeID is the unique identifier for the type BootContext_setPid_Params.
const BootContext_setPid_Results_TypeID = 0xf96299218f4522e8
BootContext_setPid_Results_TypeID is the unique identifier for the type BootContext_setPid_Results.
const BytecodeCache_TypeID = 0xe64ce403f6090174
BytecodeCache_TypeID is the unique identifier for the type BytecodeCache.
const BytecodeCache_get_Params_TypeID = 0xf694129c75eba87c
BytecodeCache_get_Params_TypeID is the unique identifier for the type BytecodeCache_get_Params.
const BytecodeCache_get_Results_TypeID = 0xb2c6f1c55b7403f4
BytecodeCache_get_Results_TypeID is the unique identifier for the type BytecodeCache_get_Results.
const BytecodeCache_has_Params_TypeID = 0xc25a17a8499cfe55
BytecodeCache_has_Params_TypeID is the unique identifier for the type BytecodeCache_has_Params.
const BytecodeCache_has_Results_TypeID = 0xf9602cd2c3f65e0f
BytecodeCache_has_Results_TypeID is the unique identifier for the type BytecodeCache_has_Results.
const BytecodeCache_put_Params_TypeID = 0x91b6120f2a2e3ebe
BytecodeCache_put_Params_TypeID is the unique identifier for the type BytecodeCache_put_Params.
const BytecodeCache_put_Results_TypeID = 0xf51e7dd3fc20b968
BytecodeCache_put_Results_TypeID is the unique identifier for the type BytecodeCache_put_Results.
const Executor_TypeID = 0xaf2e5ebaa58175d2
Executor_TypeID is the unique identifier for the type Executor.
const Executor_execCached_Params_TypeID = 0xb9b9c4df47b44962
Executor_execCached_Params_TypeID is the unique identifier for the type Executor_execCached_Params.
const Executor_execCached_Results_TypeID = 0xa21a945a0ef3799e
Executor_execCached_Results_TypeID is the unique identifier for the type Executor_execCached_Results.
const Executor_exec_Params_TypeID = 0xf20b3dea95929312
Executor_exec_Params_TypeID is the unique identifier for the type Executor_exec_Params.
const Executor_exec_Results_TypeID = 0xbb4f16b0a7d2d09b
Executor_exec_Results_TypeID is the unique identifier for the type Executor_exec_Results.
const Process_TypeID = 0xda23f0d3a8250633
Process_TypeID is the unique identifier for the type Process.
const Process_kill_Params_TypeID = 0xeea7ae19b02f5d47
Process_kill_Params_TypeID is the unique identifier for the type Process_kill_Params.
const Process_kill_Results_TypeID = 0xc53168b273d497ee
Process_kill_Results_TypeID is the unique identifier for the type Process_kill_Results.
const Process_wait_Params_TypeID = 0xf9694ae208dbb3e3
Process_wait_Params_TypeID is the unique identifier for the type Process_wait_Params.
const Process_wait_Results_TypeID = 0xd72ab4a0243047ac
Process_wait_Results_TypeID is the unique identifier for the type Process_wait_Results.
Variables ¶
This section is empty.
Functions ¶
func BootContext_Methods ¶
func BootContext_Methods(methods []server.Method, s BootContext_Server) []server.Method
BootContext_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func BootContext_NewServer ¶
func BootContext_NewServer(s BootContext_Server) *server.Server
BootContext_NewServer creates a new Server from an implementation of BootContext_Server.
func BytecodeCache_Methods ¶
func BytecodeCache_Methods(methods []server.Method, s BytecodeCache_Server) []server.Method
BytecodeCache_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func BytecodeCache_NewServer ¶
func BytecodeCache_NewServer(s BytecodeCache_Server) *server.Server
BytecodeCache_NewServer creates a new Server from an implementation of BytecodeCache_Server.
func Executor_Methods ¶
func Executor_Methods(methods []server.Method, s Executor_Server) []server.Method
Executor_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Executor_NewServer ¶
func Executor_NewServer(s Executor_Server) *server.Server
Executor_NewServer creates a new Server from an implementation of Executor_Server.
func Process_Methods ¶
func Process_Methods(methods []server.Method, s Process_Server) []server.Method
Process_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Process_NewServer ¶
func Process_NewServer(s Process_Server) *server.Server
Process_NewServer creates a new Server from an implementation of Process_Server.
func RegisterSchema ¶
Types ¶
type BootContext ¶
func BootContext_ServerToClient ¶
func BootContext_ServerToClient(s BootContext_Server) BootContext
BootContext_ServerToClient creates a new Client from an implementation of BootContext_Server. The caller is responsible for calling Release on the returned Client.
func (BootContext) AddRef ¶
func (c BootContext) AddRef() BootContext
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 (BootContext) Args ¶
func (c BootContext) Args(ctx context.Context, params func(BootContext_args_Params) error) (BootContext_args_Results_Future, capnp.ReleaseFunc)
func (BootContext) Caps ¶
func (c BootContext) Caps(ctx context.Context, params func(BootContext_caps_Params) error) (BootContext_caps_Results_Future, capnp.ReleaseFunc)
func (BootContext) Cid ¶
func (c BootContext) Cid(ctx context.Context, params func(BootContext_cid_Params) error) (BootContext_cid_Results_Future, capnp.ReleaseFunc)
func (BootContext) DecodeFromPtr ¶
func (BootContext) DecodeFromPtr(p capnp.Ptr) BootContext
func (BootContext) EncodeAsPtr ¶
func (c BootContext) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext) GetFlowLimiter ¶
func (c BootContext) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (BootContext) IsSame ¶
func (c BootContext) IsSame(other BootContext) 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 (BootContext) IsValid ¶
func (c BootContext) 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 (BootContext) Pid ¶
func (c BootContext) Pid(ctx context.Context, params func(BootContext_pid_Params) error) (BootContext_pid_Results_Future, capnp.ReleaseFunc)
func (BootContext) Release ¶
func (c BootContext) 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 (BootContext) Resolve ¶
func (c BootContext) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (BootContext) SetCid ¶
func (c BootContext) SetCid(ctx context.Context, params func(BootContext_setCid_Params) error) (BootContext_setCid_Results_Future, capnp.ReleaseFunc)
func (BootContext) SetFlowLimiter ¶
func (c BootContext) 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 (BootContext) SetPid ¶
func (c BootContext) SetPid(ctx context.Context, params func(BootContext_setPid_Params) error) (BootContext_setPid_Results_Future, capnp.ReleaseFunc)
func (BootContext) String ¶
func (c BootContext) 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 (BootContext) WaitStreaming ¶
func (c BootContext) WaitStreaming() error
type BootContext_List ¶
type BootContext_List = capnp.CapList[BootContext]
BootContext_List is a list of BootContext.
func NewBootContext_List ¶
func NewBootContext_List(s *capnp.Segment, sz int32) (BootContext_List, error)
NewBootContext creates a new list of BootContext.
type BootContext_Server ¶
type BootContext_Server interface { Pid(context.Context, BootContext_pid) error Cid(context.Context, BootContext_cid) error Args(context.Context, BootContext_args) error Caps(context.Context, BootContext_caps) error SetPid(context.Context, BootContext_setPid) error SetCid(context.Context, BootContext_setCid) error }
A BootContext_Server is a BootContext with a local implementation.
type BootContext_args ¶
BootContext_args holds the state for a server call to BootContext.args. See server.Call for documentation.
func (BootContext_args) AllocResults ¶
func (c BootContext_args) AllocResults() (BootContext_args_Results, error)
AllocResults allocates the results struct.
func (BootContext_args) Args ¶
func (c BootContext_args) Args() BootContext_args_Params
Args returns the call's arguments.
type BootContext_args_Params ¶
func NewBootContext_args_Params ¶
func NewBootContext_args_Params(s *capnp.Segment) (BootContext_args_Params, error)
func NewRootBootContext_args_Params ¶
func NewRootBootContext_args_Params(s *capnp.Segment) (BootContext_args_Params, error)
func ReadRootBootContext_args_Params ¶
func ReadRootBootContext_args_Params(msg *capnp.Message) (BootContext_args_Params, error)
func (BootContext_args_Params) DecodeFromPtr ¶
func (BootContext_args_Params) DecodeFromPtr(p capnp.Ptr) BootContext_args_Params
func (BootContext_args_Params) EncodeAsPtr ¶
func (s BootContext_args_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_args_Params) IsValid ¶
func (s BootContext_args_Params) IsValid() bool
func (BootContext_args_Params) Message ¶
func (s BootContext_args_Params) Message() *capnp.Message
func (BootContext_args_Params) Segment ¶
func (s BootContext_args_Params) Segment() *capnp.Segment
func (BootContext_args_Params) String ¶
func (s BootContext_args_Params) String() string
func (BootContext_args_Params) ToPtr ¶
func (s BootContext_args_Params) ToPtr() capnp.Ptr
type BootContext_args_Params_Future ¶
BootContext_args_Params_Future is a wrapper for a BootContext_args_Params promised by a client call.
func (BootContext_args_Params_Future) Struct ¶
func (f BootContext_args_Params_Future) Struct() (BootContext_args_Params, error)
type BootContext_args_Params_List ¶
type BootContext_args_Params_List = capnp.StructList[BootContext_args_Params]
BootContext_args_Params_List is a list of BootContext_args_Params.
func NewBootContext_args_Params_List ¶
func NewBootContext_args_Params_List(s *capnp.Segment, sz int32) (BootContext_args_Params_List, error)
NewBootContext_args_Params creates a new list of BootContext_args_Params.
type BootContext_args_Results ¶
func NewBootContext_args_Results ¶
func NewBootContext_args_Results(s *capnp.Segment) (BootContext_args_Results, error)
func NewRootBootContext_args_Results ¶
func NewRootBootContext_args_Results(s *capnp.Segment) (BootContext_args_Results, error)
func ReadRootBootContext_args_Results ¶
func ReadRootBootContext_args_Results(msg *capnp.Message) (BootContext_args_Results, error)
func (BootContext_args_Results) Args ¶
func (s BootContext_args_Results) Args() (capnp.TextList, error)
func (BootContext_args_Results) DecodeFromPtr ¶
func (BootContext_args_Results) DecodeFromPtr(p capnp.Ptr) BootContext_args_Results
func (BootContext_args_Results) EncodeAsPtr ¶
func (s BootContext_args_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_args_Results) HasArgs ¶
func (s BootContext_args_Results) HasArgs() bool
func (BootContext_args_Results) IsValid ¶
func (s BootContext_args_Results) IsValid() bool
func (BootContext_args_Results) Message ¶
func (s BootContext_args_Results) Message() *capnp.Message
func (BootContext_args_Results) NewArgs ¶
func (s BootContext_args_Results) NewArgs(n int32) (capnp.TextList, error)
NewArgs sets the args field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (BootContext_args_Results) Segment ¶
func (s BootContext_args_Results) Segment() *capnp.Segment
func (BootContext_args_Results) SetArgs ¶
func (s BootContext_args_Results) SetArgs(v capnp.TextList) error
func (BootContext_args_Results) String ¶
func (s BootContext_args_Results) String() string
func (BootContext_args_Results) ToPtr ¶
func (s BootContext_args_Results) ToPtr() capnp.Ptr
type BootContext_args_Results_Future ¶
BootContext_args_Results_Future is a wrapper for a BootContext_args_Results promised by a client call.
func (BootContext_args_Results_Future) Struct ¶
func (f BootContext_args_Results_Future) Struct() (BootContext_args_Results, error)
type BootContext_args_Results_List ¶
type BootContext_args_Results_List = capnp.StructList[BootContext_args_Results]
BootContext_args_Results_List is a list of BootContext_args_Results.
func NewBootContext_args_Results_List ¶
func NewBootContext_args_Results_List(s *capnp.Segment, sz int32) (BootContext_args_Results_List, error)
NewBootContext_args_Results creates a new list of BootContext_args_Results.
type BootContext_caps ¶
BootContext_caps holds the state for a server call to BootContext.caps. See server.Call for documentation.
func (BootContext_caps) AllocResults ¶
func (c BootContext_caps) AllocResults() (BootContext_caps_Results, error)
AllocResults allocates the results struct.
func (BootContext_caps) Args ¶
func (c BootContext_caps) Args() BootContext_caps_Params
Args returns the call's arguments.
type BootContext_caps_Params ¶
func NewBootContext_caps_Params ¶
func NewBootContext_caps_Params(s *capnp.Segment) (BootContext_caps_Params, error)
func NewRootBootContext_caps_Params ¶
func NewRootBootContext_caps_Params(s *capnp.Segment) (BootContext_caps_Params, error)
func ReadRootBootContext_caps_Params ¶
func ReadRootBootContext_caps_Params(msg *capnp.Message) (BootContext_caps_Params, error)
func (BootContext_caps_Params) DecodeFromPtr ¶
func (BootContext_caps_Params) DecodeFromPtr(p capnp.Ptr) BootContext_caps_Params
func (BootContext_caps_Params) EncodeAsPtr ¶
func (s BootContext_caps_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_caps_Params) IsValid ¶
func (s BootContext_caps_Params) IsValid() bool
func (BootContext_caps_Params) Message ¶
func (s BootContext_caps_Params) Message() *capnp.Message
func (BootContext_caps_Params) Segment ¶
func (s BootContext_caps_Params) Segment() *capnp.Segment
func (BootContext_caps_Params) String ¶
func (s BootContext_caps_Params) String() string
func (BootContext_caps_Params) ToPtr ¶
func (s BootContext_caps_Params) ToPtr() capnp.Ptr
type BootContext_caps_Params_Future ¶
BootContext_caps_Params_Future is a wrapper for a BootContext_caps_Params promised by a client call.
func (BootContext_caps_Params_Future) Struct ¶
func (f BootContext_caps_Params_Future) Struct() (BootContext_caps_Params, error)
type BootContext_caps_Params_List ¶
type BootContext_caps_Params_List = capnp.StructList[BootContext_caps_Params]
BootContext_caps_Params_List is a list of BootContext_caps_Params.
func NewBootContext_caps_Params_List ¶
func NewBootContext_caps_Params_List(s *capnp.Segment, sz int32) (BootContext_caps_Params_List, error)
NewBootContext_caps_Params creates a new list of BootContext_caps_Params.
type BootContext_caps_Results ¶
func NewBootContext_caps_Results ¶
func NewBootContext_caps_Results(s *capnp.Segment) (BootContext_caps_Results, error)
func NewRootBootContext_caps_Results ¶
func NewRootBootContext_caps_Results(s *capnp.Segment) (BootContext_caps_Results, error)
func ReadRootBootContext_caps_Results ¶
func ReadRootBootContext_caps_Results(msg *capnp.Message) (BootContext_caps_Results, error)
func (BootContext_caps_Results) Caps ¶
func (s BootContext_caps_Results) Caps() (capnp.PointerList, error)
func (BootContext_caps_Results) DecodeFromPtr ¶
func (BootContext_caps_Results) DecodeFromPtr(p capnp.Ptr) BootContext_caps_Results
func (BootContext_caps_Results) EncodeAsPtr ¶
func (s BootContext_caps_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_caps_Results) HasCaps ¶
func (s BootContext_caps_Results) HasCaps() bool
func (BootContext_caps_Results) IsValid ¶
func (s BootContext_caps_Results) IsValid() bool
func (BootContext_caps_Results) Message ¶
func (s BootContext_caps_Results) Message() *capnp.Message
func (BootContext_caps_Results) NewCaps ¶
func (s BootContext_caps_Results) NewCaps(n int32) (capnp.PointerList, error)
NewCaps sets the caps field to a newly allocated capnp.PointerList, preferring placement in s's segment.
func (BootContext_caps_Results) Segment ¶
func (s BootContext_caps_Results) Segment() *capnp.Segment
func (BootContext_caps_Results) SetCaps ¶
func (s BootContext_caps_Results) SetCaps(v capnp.PointerList) error
func (BootContext_caps_Results) String ¶
func (s BootContext_caps_Results) String() string
func (BootContext_caps_Results) ToPtr ¶
func (s BootContext_caps_Results) ToPtr() capnp.Ptr
type BootContext_caps_Results_Future ¶
BootContext_caps_Results_Future is a wrapper for a BootContext_caps_Results promised by a client call.
func (BootContext_caps_Results_Future) Struct ¶
func (f BootContext_caps_Results_Future) Struct() (BootContext_caps_Results, error)
type BootContext_caps_Results_List ¶
type BootContext_caps_Results_List = capnp.StructList[BootContext_caps_Results]
BootContext_caps_Results_List is a list of BootContext_caps_Results.
func NewBootContext_caps_Results_List ¶
func NewBootContext_caps_Results_List(s *capnp.Segment, sz int32) (BootContext_caps_Results_List, error)
NewBootContext_caps_Results creates a new list of BootContext_caps_Results.
type BootContext_cid ¶
BootContext_cid holds the state for a server call to BootContext.cid. See server.Call for documentation.
func (BootContext_cid) AllocResults ¶
func (c BootContext_cid) AllocResults() (BootContext_cid_Results, error)
AllocResults allocates the results struct.
func (BootContext_cid) Args ¶
func (c BootContext_cid) Args() BootContext_cid_Params
Args returns the call's arguments.
type BootContext_cid_Params ¶
func NewBootContext_cid_Params ¶
func NewBootContext_cid_Params(s *capnp.Segment) (BootContext_cid_Params, error)
func NewRootBootContext_cid_Params ¶
func NewRootBootContext_cid_Params(s *capnp.Segment) (BootContext_cid_Params, error)
func ReadRootBootContext_cid_Params ¶
func ReadRootBootContext_cid_Params(msg *capnp.Message) (BootContext_cid_Params, error)
func (BootContext_cid_Params) DecodeFromPtr ¶
func (BootContext_cid_Params) DecodeFromPtr(p capnp.Ptr) BootContext_cid_Params
func (BootContext_cid_Params) EncodeAsPtr ¶
func (s BootContext_cid_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_cid_Params) IsValid ¶
func (s BootContext_cid_Params) IsValid() bool
func (BootContext_cid_Params) Message ¶
func (s BootContext_cid_Params) Message() *capnp.Message
func (BootContext_cid_Params) Segment ¶
func (s BootContext_cid_Params) Segment() *capnp.Segment
func (BootContext_cid_Params) String ¶
func (s BootContext_cid_Params) String() string
func (BootContext_cid_Params) ToPtr ¶
func (s BootContext_cid_Params) ToPtr() capnp.Ptr
type BootContext_cid_Params_Future ¶
BootContext_cid_Params_Future is a wrapper for a BootContext_cid_Params promised by a client call.
func (BootContext_cid_Params_Future) Struct ¶
func (f BootContext_cid_Params_Future) Struct() (BootContext_cid_Params, error)
type BootContext_cid_Params_List ¶
type BootContext_cid_Params_List = capnp.StructList[BootContext_cid_Params]
BootContext_cid_Params_List is a list of BootContext_cid_Params.
func NewBootContext_cid_Params_List ¶
func NewBootContext_cid_Params_List(s *capnp.Segment, sz int32) (BootContext_cid_Params_List, error)
NewBootContext_cid_Params creates a new list of BootContext_cid_Params.
type BootContext_cid_Results ¶
func NewBootContext_cid_Results ¶
func NewBootContext_cid_Results(s *capnp.Segment) (BootContext_cid_Results, error)
func NewRootBootContext_cid_Results ¶
func NewRootBootContext_cid_Results(s *capnp.Segment) (BootContext_cid_Results, error)
func ReadRootBootContext_cid_Results ¶
func ReadRootBootContext_cid_Results(msg *capnp.Message) (BootContext_cid_Results, error)
func (BootContext_cid_Results) Cid ¶
func (s BootContext_cid_Results) Cid() ([]byte, error)
func (BootContext_cid_Results) DecodeFromPtr ¶
func (BootContext_cid_Results) DecodeFromPtr(p capnp.Ptr) BootContext_cid_Results
func (BootContext_cid_Results) EncodeAsPtr ¶
func (s BootContext_cid_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_cid_Results) HasCid ¶
func (s BootContext_cid_Results) HasCid() bool
func (BootContext_cid_Results) IsValid ¶
func (s BootContext_cid_Results) IsValid() bool
func (BootContext_cid_Results) Message ¶
func (s BootContext_cid_Results) Message() *capnp.Message
func (BootContext_cid_Results) Segment ¶
func (s BootContext_cid_Results) Segment() *capnp.Segment
func (BootContext_cid_Results) SetCid ¶
func (s BootContext_cid_Results) SetCid(v []byte) error
func (BootContext_cid_Results) String ¶
func (s BootContext_cid_Results) String() string
func (BootContext_cid_Results) ToPtr ¶
func (s BootContext_cid_Results) ToPtr() capnp.Ptr
type BootContext_cid_Results_Future ¶
BootContext_cid_Results_Future is a wrapper for a BootContext_cid_Results promised by a client call.
func (BootContext_cid_Results_Future) Struct ¶
func (f BootContext_cid_Results_Future) Struct() (BootContext_cid_Results, error)
type BootContext_cid_Results_List ¶
type BootContext_cid_Results_List = capnp.StructList[BootContext_cid_Results]
BootContext_cid_Results_List is a list of BootContext_cid_Results.
func NewBootContext_cid_Results_List ¶
func NewBootContext_cid_Results_List(s *capnp.Segment, sz int32) (BootContext_cid_Results_List, error)
NewBootContext_cid_Results creates a new list of BootContext_cid_Results.
type BootContext_pid ¶
BootContext_pid holds the state for a server call to BootContext.pid. See server.Call for documentation.
func (BootContext_pid) AllocResults ¶
func (c BootContext_pid) AllocResults() (BootContext_pid_Results, error)
AllocResults allocates the results struct.
func (BootContext_pid) Args ¶
func (c BootContext_pid) Args() BootContext_pid_Params
Args returns the call's arguments.
type BootContext_pid_Params ¶
func NewBootContext_pid_Params ¶
func NewBootContext_pid_Params(s *capnp.Segment) (BootContext_pid_Params, error)
func NewRootBootContext_pid_Params ¶
func NewRootBootContext_pid_Params(s *capnp.Segment) (BootContext_pid_Params, error)
func ReadRootBootContext_pid_Params ¶
func ReadRootBootContext_pid_Params(msg *capnp.Message) (BootContext_pid_Params, error)
func (BootContext_pid_Params) DecodeFromPtr ¶
func (BootContext_pid_Params) DecodeFromPtr(p capnp.Ptr) BootContext_pid_Params
func (BootContext_pid_Params) EncodeAsPtr ¶
func (s BootContext_pid_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_pid_Params) IsValid ¶
func (s BootContext_pid_Params) IsValid() bool
func (BootContext_pid_Params) Message ¶
func (s BootContext_pid_Params) Message() *capnp.Message
func (BootContext_pid_Params) Segment ¶
func (s BootContext_pid_Params) Segment() *capnp.Segment
func (BootContext_pid_Params) String ¶
func (s BootContext_pid_Params) String() string
func (BootContext_pid_Params) ToPtr ¶
func (s BootContext_pid_Params) ToPtr() capnp.Ptr
type BootContext_pid_Params_Future ¶
BootContext_pid_Params_Future is a wrapper for a BootContext_pid_Params promised by a client call.
func (BootContext_pid_Params_Future) Struct ¶
func (f BootContext_pid_Params_Future) Struct() (BootContext_pid_Params, error)
type BootContext_pid_Params_List ¶
type BootContext_pid_Params_List = capnp.StructList[BootContext_pid_Params]
BootContext_pid_Params_List is a list of BootContext_pid_Params.
func NewBootContext_pid_Params_List ¶
func NewBootContext_pid_Params_List(s *capnp.Segment, sz int32) (BootContext_pid_Params_List, error)
NewBootContext_pid_Params creates a new list of BootContext_pid_Params.
type BootContext_pid_Results ¶
func NewBootContext_pid_Results ¶
func NewBootContext_pid_Results(s *capnp.Segment) (BootContext_pid_Results, error)
func NewRootBootContext_pid_Results ¶
func NewRootBootContext_pid_Results(s *capnp.Segment) (BootContext_pid_Results, error)
func ReadRootBootContext_pid_Results ¶
func ReadRootBootContext_pid_Results(msg *capnp.Message) (BootContext_pid_Results, error)
func (BootContext_pid_Results) DecodeFromPtr ¶
func (BootContext_pid_Results) DecodeFromPtr(p capnp.Ptr) BootContext_pid_Results
func (BootContext_pid_Results) EncodeAsPtr ¶
func (s BootContext_pid_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_pid_Results) IsValid ¶
func (s BootContext_pid_Results) IsValid() bool
func (BootContext_pid_Results) Message ¶
func (s BootContext_pid_Results) Message() *capnp.Message
func (BootContext_pid_Results) Pid ¶
func (s BootContext_pid_Results) Pid() uint32
func (BootContext_pid_Results) Segment ¶
func (s BootContext_pid_Results) Segment() *capnp.Segment
func (BootContext_pid_Results) SetPid ¶
func (s BootContext_pid_Results) SetPid(v uint32)
func (BootContext_pid_Results) String ¶
func (s BootContext_pid_Results) String() string
func (BootContext_pid_Results) ToPtr ¶
func (s BootContext_pid_Results) ToPtr() capnp.Ptr
type BootContext_pid_Results_Future ¶
BootContext_pid_Results_Future is a wrapper for a BootContext_pid_Results promised by a client call.
func (BootContext_pid_Results_Future) Struct ¶
func (f BootContext_pid_Results_Future) Struct() (BootContext_pid_Results, error)
type BootContext_pid_Results_List ¶
type BootContext_pid_Results_List = capnp.StructList[BootContext_pid_Results]
BootContext_pid_Results_List is a list of BootContext_pid_Results.
func NewBootContext_pid_Results_List ¶
func NewBootContext_pid_Results_List(s *capnp.Segment, sz int32) (BootContext_pid_Results_List, error)
NewBootContext_pid_Results creates a new list of BootContext_pid_Results.
type BootContext_setCid ¶
BootContext_setCid holds the state for a server call to BootContext.setCid. See server.Call for documentation.
func (BootContext_setCid) AllocResults ¶
func (c BootContext_setCid) AllocResults() (BootContext_setCid_Results, error)
AllocResults allocates the results struct.
func (BootContext_setCid) Args ¶
func (c BootContext_setCid) Args() BootContext_setCid_Params
Args returns the call's arguments.
type BootContext_setCid_Params ¶
func NewBootContext_setCid_Params ¶
func NewBootContext_setCid_Params(s *capnp.Segment) (BootContext_setCid_Params, error)
func NewRootBootContext_setCid_Params ¶
func NewRootBootContext_setCid_Params(s *capnp.Segment) (BootContext_setCid_Params, error)
func ReadRootBootContext_setCid_Params ¶
func ReadRootBootContext_setCid_Params(msg *capnp.Message) (BootContext_setCid_Params, error)
func (BootContext_setCid_Params) Cid ¶
func (s BootContext_setCid_Params) Cid() ([]byte, error)
func (BootContext_setCid_Params) DecodeFromPtr ¶
func (BootContext_setCid_Params) DecodeFromPtr(p capnp.Ptr) BootContext_setCid_Params
func (BootContext_setCid_Params) EncodeAsPtr ¶
func (s BootContext_setCid_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_setCid_Params) HasCid ¶
func (s BootContext_setCid_Params) HasCid() bool
func (BootContext_setCid_Params) IsValid ¶
func (s BootContext_setCid_Params) IsValid() bool
func (BootContext_setCid_Params) Message ¶
func (s BootContext_setCid_Params) Message() *capnp.Message
func (BootContext_setCid_Params) Segment ¶
func (s BootContext_setCid_Params) Segment() *capnp.Segment
func (BootContext_setCid_Params) SetCid ¶
func (s BootContext_setCid_Params) SetCid(v []byte) error
func (BootContext_setCid_Params) String ¶
func (s BootContext_setCid_Params) String() string
func (BootContext_setCid_Params) ToPtr ¶
func (s BootContext_setCid_Params) ToPtr() capnp.Ptr
type BootContext_setCid_Params_Future ¶
BootContext_setCid_Params_Future is a wrapper for a BootContext_setCid_Params promised by a client call.
func (BootContext_setCid_Params_Future) Struct ¶
func (f BootContext_setCid_Params_Future) Struct() (BootContext_setCid_Params, error)
type BootContext_setCid_Params_List ¶
type BootContext_setCid_Params_List = capnp.StructList[BootContext_setCid_Params]
BootContext_setCid_Params_List is a list of BootContext_setCid_Params.
func NewBootContext_setCid_Params_List ¶
func NewBootContext_setCid_Params_List(s *capnp.Segment, sz int32) (BootContext_setCid_Params_List, error)
NewBootContext_setCid_Params creates a new list of BootContext_setCid_Params.
type BootContext_setCid_Results ¶
func NewBootContext_setCid_Results ¶
func NewBootContext_setCid_Results(s *capnp.Segment) (BootContext_setCid_Results, error)
func NewRootBootContext_setCid_Results ¶
func NewRootBootContext_setCid_Results(s *capnp.Segment) (BootContext_setCid_Results, error)
func ReadRootBootContext_setCid_Results ¶
func ReadRootBootContext_setCid_Results(msg *capnp.Message) (BootContext_setCid_Results, error)
func (BootContext_setCid_Results) DecodeFromPtr ¶
func (BootContext_setCid_Results) DecodeFromPtr(p capnp.Ptr) BootContext_setCid_Results
func (BootContext_setCid_Results) EncodeAsPtr ¶
func (s BootContext_setCid_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_setCid_Results) IsValid ¶
func (s BootContext_setCid_Results) IsValid() bool
func (BootContext_setCid_Results) Message ¶
func (s BootContext_setCid_Results) Message() *capnp.Message
func (BootContext_setCid_Results) Segment ¶
func (s BootContext_setCid_Results) Segment() *capnp.Segment
func (BootContext_setCid_Results) String ¶
func (s BootContext_setCid_Results) String() string
func (BootContext_setCid_Results) ToPtr ¶
func (s BootContext_setCid_Results) ToPtr() capnp.Ptr
type BootContext_setCid_Results_Future ¶
BootContext_setCid_Results_Future is a wrapper for a BootContext_setCid_Results promised by a client call.
func (BootContext_setCid_Results_Future) Struct ¶
func (f BootContext_setCid_Results_Future) Struct() (BootContext_setCid_Results, error)
type BootContext_setCid_Results_List ¶
type BootContext_setCid_Results_List = capnp.StructList[BootContext_setCid_Results]
BootContext_setCid_Results_List is a list of BootContext_setCid_Results.
func NewBootContext_setCid_Results_List ¶
func NewBootContext_setCid_Results_List(s *capnp.Segment, sz int32) (BootContext_setCid_Results_List, error)
NewBootContext_setCid_Results creates a new list of BootContext_setCid_Results.
type BootContext_setPid ¶
BootContext_setPid holds the state for a server call to BootContext.setPid. See server.Call for documentation.
func (BootContext_setPid) AllocResults ¶
func (c BootContext_setPid) AllocResults() (BootContext_setPid_Results, error)
AllocResults allocates the results struct.
func (BootContext_setPid) Args ¶
func (c BootContext_setPid) Args() BootContext_setPid_Params
Args returns the call's arguments.
type BootContext_setPid_Params ¶
func NewBootContext_setPid_Params ¶
func NewBootContext_setPid_Params(s *capnp.Segment) (BootContext_setPid_Params, error)
func NewRootBootContext_setPid_Params ¶
func NewRootBootContext_setPid_Params(s *capnp.Segment) (BootContext_setPid_Params, error)
func ReadRootBootContext_setPid_Params ¶
func ReadRootBootContext_setPid_Params(msg *capnp.Message) (BootContext_setPid_Params, error)
func (BootContext_setPid_Params) DecodeFromPtr ¶
func (BootContext_setPid_Params) DecodeFromPtr(p capnp.Ptr) BootContext_setPid_Params
func (BootContext_setPid_Params) EncodeAsPtr ¶
func (s BootContext_setPid_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_setPid_Params) IsValid ¶
func (s BootContext_setPid_Params) IsValid() bool
func (BootContext_setPid_Params) Message ¶
func (s BootContext_setPid_Params) Message() *capnp.Message
func (BootContext_setPid_Params) Pid ¶
func (s BootContext_setPid_Params) Pid() uint32
func (BootContext_setPid_Params) Segment ¶
func (s BootContext_setPid_Params) Segment() *capnp.Segment
func (BootContext_setPid_Params) SetPid ¶
func (s BootContext_setPid_Params) SetPid(v uint32)
func (BootContext_setPid_Params) String ¶
func (s BootContext_setPid_Params) String() string
func (BootContext_setPid_Params) ToPtr ¶
func (s BootContext_setPid_Params) ToPtr() capnp.Ptr
type BootContext_setPid_Params_Future ¶
BootContext_setPid_Params_Future is a wrapper for a BootContext_setPid_Params promised by a client call.
func (BootContext_setPid_Params_Future) Struct ¶
func (f BootContext_setPid_Params_Future) Struct() (BootContext_setPid_Params, error)
type BootContext_setPid_Params_List ¶
type BootContext_setPid_Params_List = capnp.StructList[BootContext_setPid_Params]
BootContext_setPid_Params_List is a list of BootContext_setPid_Params.
func NewBootContext_setPid_Params_List ¶
func NewBootContext_setPid_Params_List(s *capnp.Segment, sz int32) (BootContext_setPid_Params_List, error)
NewBootContext_setPid_Params creates a new list of BootContext_setPid_Params.
type BootContext_setPid_Results ¶
func NewBootContext_setPid_Results ¶
func NewBootContext_setPid_Results(s *capnp.Segment) (BootContext_setPid_Results, error)
func NewRootBootContext_setPid_Results ¶
func NewRootBootContext_setPid_Results(s *capnp.Segment) (BootContext_setPid_Results, error)
func ReadRootBootContext_setPid_Results ¶
func ReadRootBootContext_setPid_Results(msg *capnp.Message) (BootContext_setPid_Results, error)
func (BootContext_setPid_Results) DecodeFromPtr ¶
func (BootContext_setPid_Results) DecodeFromPtr(p capnp.Ptr) BootContext_setPid_Results
func (BootContext_setPid_Results) EncodeAsPtr ¶
func (s BootContext_setPid_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BootContext_setPid_Results) IsValid ¶
func (s BootContext_setPid_Results) IsValid() bool
func (BootContext_setPid_Results) Message ¶
func (s BootContext_setPid_Results) Message() *capnp.Message
func (BootContext_setPid_Results) Segment ¶
func (s BootContext_setPid_Results) Segment() *capnp.Segment
func (BootContext_setPid_Results) String ¶
func (s BootContext_setPid_Results) String() string
func (BootContext_setPid_Results) ToPtr ¶
func (s BootContext_setPid_Results) ToPtr() capnp.Ptr
type BootContext_setPid_Results_Future ¶
BootContext_setPid_Results_Future is a wrapper for a BootContext_setPid_Results promised by a client call.
func (BootContext_setPid_Results_Future) Struct ¶
func (f BootContext_setPid_Results_Future) Struct() (BootContext_setPid_Results, error)
type BootContext_setPid_Results_List ¶
type BootContext_setPid_Results_List = capnp.StructList[BootContext_setPid_Results]
BootContext_setPid_Results_List is a list of BootContext_setPid_Results.
func NewBootContext_setPid_Results_List ¶
func NewBootContext_setPid_Results_List(s *capnp.Segment, sz int32) (BootContext_setPid_Results_List, error)
NewBootContext_setPid_Results creates a new list of BootContext_setPid_Results.
type BytecodeCache ¶
func BytecodeCache_ServerToClient ¶
func BytecodeCache_ServerToClient(s BytecodeCache_Server) BytecodeCache
BytecodeCache_ServerToClient creates a new Client from an implementation of BytecodeCache_Server. The caller is responsible for calling Release on the returned Client.
func (BytecodeCache) AddRef ¶
func (c BytecodeCache) AddRef() BytecodeCache
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 (BytecodeCache) DecodeFromPtr ¶
func (BytecodeCache) DecodeFromPtr(p capnp.Ptr) BytecodeCache
func (BytecodeCache) EncodeAsPtr ¶
func (c BytecodeCache) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BytecodeCache) Get ¶
func (c BytecodeCache) Get(ctx context.Context, params func(BytecodeCache_get_Params) error) (BytecodeCache_get_Results_Future, capnp.ReleaseFunc)
func (BytecodeCache) GetFlowLimiter ¶
func (c BytecodeCache) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (BytecodeCache) Has ¶
func (c BytecodeCache) Has(ctx context.Context, params func(BytecodeCache_has_Params) error) (BytecodeCache_has_Results_Future, capnp.ReleaseFunc)
func (BytecodeCache) IsSame ¶
func (c BytecodeCache) IsSame(other BytecodeCache) 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 (BytecodeCache) IsValid ¶
func (c BytecodeCache) 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 (BytecodeCache) Put ¶
func (c BytecodeCache) Put(ctx context.Context, params func(BytecodeCache_put_Params) error) (BytecodeCache_put_Results_Future, capnp.ReleaseFunc)
func (BytecodeCache) Release ¶
func (c BytecodeCache) 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 (BytecodeCache) Resolve ¶
func (c BytecodeCache) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (BytecodeCache) SetFlowLimiter ¶
func (c BytecodeCache) 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 (BytecodeCache) String ¶
func (c BytecodeCache) 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 (BytecodeCache) WaitStreaming ¶
func (c BytecodeCache) WaitStreaming() error
type BytecodeCache_List ¶
type BytecodeCache_List = capnp.CapList[BytecodeCache]
BytecodeCache_List is a list of BytecodeCache.
func NewBytecodeCache_List ¶
func NewBytecodeCache_List(s *capnp.Segment, sz int32) (BytecodeCache_List, error)
NewBytecodeCache creates a new list of BytecodeCache.
type BytecodeCache_Server ¶
type BytecodeCache_Server interface { Put(context.Context, BytecodeCache_put) error Get(context.Context, BytecodeCache_get) error Has(context.Context, BytecodeCache_has) error }
A BytecodeCache_Server is a BytecodeCache with a local implementation.
type BytecodeCache_get ¶
BytecodeCache_get holds the state for a server call to BytecodeCache.get. See server.Call for documentation.
func (BytecodeCache_get) AllocResults ¶
func (c BytecodeCache_get) AllocResults() (BytecodeCache_get_Results, error)
AllocResults allocates the results struct.
func (BytecodeCache_get) Args ¶
func (c BytecodeCache_get) Args() BytecodeCache_get_Params
Args returns the call's arguments.
type BytecodeCache_get_Params ¶
func NewBytecodeCache_get_Params ¶
func NewBytecodeCache_get_Params(s *capnp.Segment) (BytecodeCache_get_Params, error)
func NewRootBytecodeCache_get_Params ¶
func NewRootBytecodeCache_get_Params(s *capnp.Segment) (BytecodeCache_get_Params, error)
func ReadRootBytecodeCache_get_Params ¶
func ReadRootBytecodeCache_get_Params(msg *capnp.Message) (BytecodeCache_get_Params, error)
func (BytecodeCache_get_Params) Cid ¶
func (s BytecodeCache_get_Params) Cid() ([]byte, error)
func (BytecodeCache_get_Params) DecodeFromPtr ¶
func (BytecodeCache_get_Params) DecodeFromPtr(p capnp.Ptr) BytecodeCache_get_Params
func (BytecodeCache_get_Params) EncodeAsPtr ¶
func (s BytecodeCache_get_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BytecodeCache_get_Params) HasCid ¶
func (s BytecodeCache_get_Params) HasCid() bool
func (BytecodeCache_get_Params) IsValid ¶
func (s BytecodeCache_get_Params) IsValid() bool
func (BytecodeCache_get_Params) Message ¶
func (s BytecodeCache_get_Params) Message() *capnp.Message
func (BytecodeCache_get_Params) Segment ¶
func (s BytecodeCache_get_Params) Segment() *capnp.Segment
func (BytecodeCache_get_Params) SetCid ¶
func (s BytecodeCache_get_Params) SetCid(v []byte) error
func (BytecodeCache_get_Params) String ¶
func (s BytecodeCache_get_Params) String() string
func (BytecodeCache_get_Params) ToPtr ¶
func (s BytecodeCache_get_Params) ToPtr() capnp.Ptr
type BytecodeCache_get_Params_Future ¶
BytecodeCache_get_Params_Future is a wrapper for a BytecodeCache_get_Params promised by a client call.
func (BytecodeCache_get_Params_Future) Struct ¶
func (f BytecodeCache_get_Params_Future) Struct() (BytecodeCache_get_Params, error)
type BytecodeCache_get_Params_List ¶
type BytecodeCache_get_Params_List = capnp.StructList[BytecodeCache_get_Params]
BytecodeCache_get_Params_List is a list of BytecodeCache_get_Params.
func NewBytecodeCache_get_Params_List ¶
func NewBytecodeCache_get_Params_List(s *capnp.Segment, sz int32) (BytecodeCache_get_Params_List, error)
NewBytecodeCache_get_Params creates a new list of BytecodeCache_get_Params.
type BytecodeCache_get_Results ¶
func NewBytecodeCache_get_Results ¶
func NewBytecodeCache_get_Results(s *capnp.Segment) (BytecodeCache_get_Results, error)
func NewRootBytecodeCache_get_Results ¶
func NewRootBytecodeCache_get_Results(s *capnp.Segment) (BytecodeCache_get_Results, error)
func ReadRootBytecodeCache_get_Results ¶
func ReadRootBytecodeCache_get_Results(msg *capnp.Message) (BytecodeCache_get_Results, error)
func (BytecodeCache_get_Results) Bytecode ¶
func (s BytecodeCache_get_Results) Bytecode() ([]byte, error)
func (BytecodeCache_get_Results) DecodeFromPtr ¶
func (BytecodeCache_get_Results) DecodeFromPtr(p capnp.Ptr) BytecodeCache_get_Results
func (BytecodeCache_get_Results) EncodeAsPtr ¶
func (s BytecodeCache_get_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BytecodeCache_get_Results) HasBytecode ¶
func (s BytecodeCache_get_Results) HasBytecode() bool
func (BytecodeCache_get_Results) IsValid ¶
func (s BytecodeCache_get_Results) IsValid() bool
func (BytecodeCache_get_Results) Message ¶
func (s BytecodeCache_get_Results) Message() *capnp.Message
func (BytecodeCache_get_Results) Segment ¶
func (s BytecodeCache_get_Results) Segment() *capnp.Segment
func (BytecodeCache_get_Results) SetBytecode ¶
func (s BytecodeCache_get_Results) SetBytecode(v []byte) error
func (BytecodeCache_get_Results) String ¶
func (s BytecodeCache_get_Results) String() string
func (BytecodeCache_get_Results) ToPtr ¶
func (s BytecodeCache_get_Results) ToPtr() capnp.Ptr
type BytecodeCache_get_Results_Future ¶
BytecodeCache_get_Results_Future is a wrapper for a BytecodeCache_get_Results promised by a client call.
func (BytecodeCache_get_Results_Future) Struct ¶
func (f BytecodeCache_get_Results_Future) Struct() (BytecodeCache_get_Results, error)
type BytecodeCache_get_Results_List ¶
type BytecodeCache_get_Results_List = capnp.StructList[BytecodeCache_get_Results]
BytecodeCache_get_Results_List is a list of BytecodeCache_get_Results.
func NewBytecodeCache_get_Results_List ¶
func NewBytecodeCache_get_Results_List(s *capnp.Segment, sz int32) (BytecodeCache_get_Results_List, error)
NewBytecodeCache_get_Results creates a new list of BytecodeCache_get_Results.
type BytecodeCache_has ¶
BytecodeCache_has holds the state for a server call to BytecodeCache.has. See server.Call for documentation.
func (BytecodeCache_has) AllocResults ¶
func (c BytecodeCache_has) AllocResults() (BytecodeCache_has_Results, error)
AllocResults allocates the results struct.
func (BytecodeCache_has) Args ¶
func (c BytecodeCache_has) Args() BytecodeCache_has_Params
Args returns the call's arguments.
type BytecodeCache_has_Params ¶
func NewBytecodeCache_has_Params ¶
func NewBytecodeCache_has_Params(s *capnp.Segment) (BytecodeCache_has_Params, error)
func NewRootBytecodeCache_has_Params ¶
func NewRootBytecodeCache_has_Params(s *capnp.Segment) (BytecodeCache_has_Params, error)
func ReadRootBytecodeCache_has_Params ¶
func ReadRootBytecodeCache_has_Params(msg *capnp.Message) (BytecodeCache_has_Params, error)
func (BytecodeCache_has_Params) Cid ¶
func (s BytecodeCache_has_Params) Cid() ([]byte, error)
func (BytecodeCache_has_Params) DecodeFromPtr ¶
func (BytecodeCache_has_Params) DecodeFromPtr(p capnp.Ptr) BytecodeCache_has_Params
func (BytecodeCache_has_Params) EncodeAsPtr ¶
func (s BytecodeCache_has_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BytecodeCache_has_Params) HasCid ¶
func (s BytecodeCache_has_Params) HasCid() bool
func (BytecodeCache_has_Params) IsValid ¶
func (s BytecodeCache_has_Params) IsValid() bool
func (BytecodeCache_has_Params) Message ¶
func (s BytecodeCache_has_Params) Message() *capnp.Message
func (BytecodeCache_has_Params) Segment ¶
func (s BytecodeCache_has_Params) Segment() *capnp.Segment
func (BytecodeCache_has_Params) SetCid ¶
func (s BytecodeCache_has_Params) SetCid(v []byte) error
func (BytecodeCache_has_Params) String ¶
func (s BytecodeCache_has_Params) String() string
func (BytecodeCache_has_Params) ToPtr ¶
func (s BytecodeCache_has_Params) ToPtr() capnp.Ptr
type BytecodeCache_has_Params_Future ¶
BytecodeCache_has_Params_Future is a wrapper for a BytecodeCache_has_Params promised by a client call.
func (BytecodeCache_has_Params_Future) Struct ¶
func (f BytecodeCache_has_Params_Future) Struct() (BytecodeCache_has_Params, error)
type BytecodeCache_has_Params_List ¶
type BytecodeCache_has_Params_List = capnp.StructList[BytecodeCache_has_Params]
BytecodeCache_has_Params_List is a list of BytecodeCache_has_Params.
func NewBytecodeCache_has_Params_List ¶
func NewBytecodeCache_has_Params_List(s *capnp.Segment, sz int32) (BytecodeCache_has_Params_List, error)
NewBytecodeCache_has_Params creates a new list of BytecodeCache_has_Params.
type BytecodeCache_has_Results ¶
func NewBytecodeCache_has_Results ¶
func NewBytecodeCache_has_Results(s *capnp.Segment) (BytecodeCache_has_Results, error)
func NewRootBytecodeCache_has_Results ¶
func NewRootBytecodeCache_has_Results(s *capnp.Segment) (BytecodeCache_has_Results, error)
func ReadRootBytecodeCache_has_Results ¶
func ReadRootBytecodeCache_has_Results(msg *capnp.Message) (BytecodeCache_has_Results, error)
func (BytecodeCache_has_Results) DecodeFromPtr ¶
func (BytecodeCache_has_Results) DecodeFromPtr(p capnp.Ptr) BytecodeCache_has_Results
func (BytecodeCache_has_Results) EncodeAsPtr ¶
func (s BytecodeCache_has_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BytecodeCache_has_Results) Has ¶
func (s BytecodeCache_has_Results) Has() bool
func (BytecodeCache_has_Results) IsValid ¶
func (s BytecodeCache_has_Results) IsValid() bool
func (BytecodeCache_has_Results) Message ¶
func (s BytecodeCache_has_Results) Message() *capnp.Message
func (BytecodeCache_has_Results) Segment ¶
func (s BytecodeCache_has_Results) Segment() *capnp.Segment
func (BytecodeCache_has_Results) SetHas ¶
func (s BytecodeCache_has_Results) SetHas(v bool)
func (BytecodeCache_has_Results) String ¶
func (s BytecodeCache_has_Results) String() string
func (BytecodeCache_has_Results) ToPtr ¶
func (s BytecodeCache_has_Results) ToPtr() capnp.Ptr
type BytecodeCache_has_Results_Future ¶
BytecodeCache_has_Results_Future is a wrapper for a BytecodeCache_has_Results promised by a client call.
func (BytecodeCache_has_Results_Future) Struct ¶
func (f BytecodeCache_has_Results_Future) Struct() (BytecodeCache_has_Results, error)
type BytecodeCache_has_Results_List ¶
type BytecodeCache_has_Results_List = capnp.StructList[BytecodeCache_has_Results]
BytecodeCache_has_Results_List is a list of BytecodeCache_has_Results.
func NewBytecodeCache_has_Results_List ¶
func NewBytecodeCache_has_Results_List(s *capnp.Segment, sz int32) (BytecodeCache_has_Results_List, error)
NewBytecodeCache_has_Results creates a new list of BytecodeCache_has_Results.
type BytecodeCache_put ¶
BytecodeCache_put holds the state for a server call to BytecodeCache.put. See server.Call for documentation.
func (BytecodeCache_put) AllocResults ¶
func (c BytecodeCache_put) AllocResults() (BytecodeCache_put_Results, error)
AllocResults allocates the results struct.
func (BytecodeCache_put) Args ¶
func (c BytecodeCache_put) Args() BytecodeCache_put_Params
Args returns the call's arguments.
type BytecodeCache_put_Params ¶
func NewBytecodeCache_put_Params ¶
func NewBytecodeCache_put_Params(s *capnp.Segment) (BytecodeCache_put_Params, error)
func NewRootBytecodeCache_put_Params ¶
func NewRootBytecodeCache_put_Params(s *capnp.Segment) (BytecodeCache_put_Params, error)
func ReadRootBytecodeCache_put_Params ¶
func ReadRootBytecodeCache_put_Params(msg *capnp.Message) (BytecodeCache_put_Params, error)
func (BytecodeCache_put_Params) Bytecode ¶
func (s BytecodeCache_put_Params) Bytecode() ([]byte, error)
func (BytecodeCache_put_Params) DecodeFromPtr ¶
func (BytecodeCache_put_Params) DecodeFromPtr(p capnp.Ptr) BytecodeCache_put_Params
func (BytecodeCache_put_Params) EncodeAsPtr ¶
func (s BytecodeCache_put_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BytecodeCache_put_Params) HasBytecode ¶
func (s BytecodeCache_put_Params) HasBytecode() bool
func (BytecodeCache_put_Params) IsValid ¶
func (s BytecodeCache_put_Params) IsValid() bool
func (BytecodeCache_put_Params) Message ¶
func (s BytecodeCache_put_Params) Message() *capnp.Message
func (BytecodeCache_put_Params) Segment ¶
func (s BytecodeCache_put_Params) Segment() *capnp.Segment
func (BytecodeCache_put_Params) SetBytecode ¶
func (s BytecodeCache_put_Params) SetBytecode(v []byte) error
func (BytecodeCache_put_Params) String ¶
func (s BytecodeCache_put_Params) String() string
func (BytecodeCache_put_Params) ToPtr ¶
func (s BytecodeCache_put_Params) ToPtr() capnp.Ptr
type BytecodeCache_put_Params_Future ¶
BytecodeCache_put_Params_Future is a wrapper for a BytecodeCache_put_Params promised by a client call.
func (BytecodeCache_put_Params_Future) Struct ¶
func (f BytecodeCache_put_Params_Future) Struct() (BytecodeCache_put_Params, error)
type BytecodeCache_put_Params_List ¶
type BytecodeCache_put_Params_List = capnp.StructList[BytecodeCache_put_Params]
BytecodeCache_put_Params_List is a list of BytecodeCache_put_Params.
func NewBytecodeCache_put_Params_List ¶
func NewBytecodeCache_put_Params_List(s *capnp.Segment, sz int32) (BytecodeCache_put_Params_List, error)
NewBytecodeCache_put_Params creates a new list of BytecodeCache_put_Params.
type BytecodeCache_put_Results ¶
func NewBytecodeCache_put_Results ¶
func NewBytecodeCache_put_Results(s *capnp.Segment) (BytecodeCache_put_Results, error)
func NewRootBytecodeCache_put_Results ¶
func NewRootBytecodeCache_put_Results(s *capnp.Segment) (BytecodeCache_put_Results, error)
func ReadRootBytecodeCache_put_Results ¶
func ReadRootBytecodeCache_put_Results(msg *capnp.Message) (BytecodeCache_put_Results, error)
func (BytecodeCache_put_Results) Cid ¶
func (s BytecodeCache_put_Results) Cid() ([]byte, error)
func (BytecodeCache_put_Results) DecodeFromPtr ¶
func (BytecodeCache_put_Results) DecodeFromPtr(p capnp.Ptr) BytecodeCache_put_Results
func (BytecodeCache_put_Results) EncodeAsPtr ¶
func (s BytecodeCache_put_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (BytecodeCache_put_Results) HasCid ¶
func (s BytecodeCache_put_Results) HasCid() bool
func (BytecodeCache_put_Results) IsValid ¶
func (s BytecodeCache_put_Results) IsValid() bool
func (BytecodeCache_put_Results) Message ¶
func (s BytecodeCache_put_Results) Message() *capnp.Message
func (BytecodeCache_put_Results) Segment ¶
func (s BytecodeCache_put_Results) Segment() *capnp.Segment
func (BytecodeCache_put_Results) SetCid ¶
func (s BytecodeCache_put_Results) SetCid(v []byte) error
func (BytecodeCache_put_Results) String ¶
func (s BytecodeCache_put_Results) String() string
func (BytecodeCache_put_Results) ToPtr ¶
func (s BytecodeCache_put_Results) ToPtr() capnp.Ptr
type BytecodeCache_put_Results_Future ¶
BytecodeCache_put_Results_Future is a wrapper for a BytecodeCache_put_Results promised by a client call.
func (BytecodeCache_put_Results_Future) Struct ¶
func (f BytecodeCache_put_Results_Future) Struct() (BytecodeCache_put_Results, error)
type BytecodeCache_put_Results_List ¶
type BytecodeCache_put_Results_List = capnp.StructList[BytecodeCache_put_Results]
BytecodeCache_put_Results_List is a list of BytecodeCache_put_Results.
func NewBytecodeCache_put_Results_List ¶
func NewBytecodeCache_put_Results_List(s *capnp.Segment, sz int32) (BytecodeCache_put_Results_List, error)
NewBytecodeCache_put_Results creates a new list of BytecodeCache_put_Results.
type Executor ¶
func Executor_ServerToClient ¶
func Executor_ServerToClient(s Executor_Server) Executor
Executor_ServerToClient creates a new Client from an implementation of Executor_Server. The caller is responsible for calling Release on the returned Client.
func (Executor) 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 (Executor) Exec ¶
func (c Executor) Exec(ctx context.Context, params func(Executor_exec_Params) error) (Executor_exec_Results_Future, capnp.ReleaseFunc)
func (Executor) ExecCached ¶
func (c Executor) ExecCached(ctx context.Context, params func(Executor_execCached_Params) error) (Executor_execCached_Results_Future, capnp.ReleaseFunc)
func (Executor) GetFlowLimiter ¶
func (c Executor) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Executor) 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 (Executor) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Executor) Release ¶
func (c Executor) 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 (Executor) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Executor) SetFlowLimiter ¶
func (c Executor) 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 (Executor) 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 (Executor) WaitStreaming ¶
type Executor_List ¶
Executor_List is a list of Executor.
func NewExecutor_List ¶
func NewExecutor_List(s *capnp.Segment, sz int32) (Executor_List, error)
NewExecutor creates a new list of Executor.
type Executor_Server ¶
type Executor_Server interface { Exec(context.Context, Executor_exec) error ExecCached(context.Context, Executor_execCached) error }
A Executor_Server is a Executor with a local implementation.
type Executor_exec ¶
Executor_exec holds the state for a server call to Executor.exec. See server.Call for documentation.
func (Executor_exec) AllocResults ¶
func (c Executor_exec) AllocResults() (Executor_exec_Results, error)
AllocResults allocates the results struct.
func (Executor_exec) Args ¶
func (c Executor_exec) Args() Executor_exec_Params
Args returns the call's arguments.
type Executor_execCached ¶
Executor_execCached holds the state for a server call to Executor.execCached. See server.Call for documentation.
func (Executor_execCached) AllocResults ¶
func (c Executor_execCached) AllocResults() (Executor_execCached_Results, error)
AllocResults allocates the results struct.
func (Executor_execCached) Args ¶
func (c Executor_execCached) Args() Executor_execCached_Params
Args returns the call's arguments.
type Executor_execCached_Params ¶
func NewExecutor_execCached_Params ¶
func NewExecutor_execCached_Params(s *capnp.Segment) (Executor_execCached_Params, error)
func NewRootExecutor_execCached_Params ¶
func NewRootExecutor_execCached_Params(s *capnp.Segment) (Executor_execCached_Params, error)
func ReadRootExecutor_execCached_Params ¶
func ReadRootExecutor_execCached_Params(msg *capnp.Message) (Executor_execCached_Params, error)
func (Executor_execCached_Params) Bctx ¶
func (s Executor_execCached_Params) Bctx() BootContext
func (Executor_execCached_Params) Cid ¶
func (s Executor_execCached_Params) Cid() ([]byte, error)
func (Executor_execCached_Params) DecodeFromPtr ¶
func (Executor_execCached_Params) DecodeFromPtr(p capnp.Ptr) Executor_execCached_Params
func (Executor_execCached_Params) EncodeAsPtr ¶
func (s Executor_execCached_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Executor_execCached_Params) HasBctx ¶
func (s Executor_execCached_Params) HasBctx() bool
func (Executor_execCached_Params) HasCid ¶
func (s Executor_execCached_Params) HasCid() bool
func (Executor_execCached_Params) IsValid ¶
func (s Executor_execCached_Params) IsValid() bool
func (Executor_execCached_Params) Message ¶
func (s Executor_execCached_Params) Message() *capnp.Message
func (Executor_execCached_Params) Ppid ¶
func (s Executor_execCached_Params) Ppid() uint32
func (Executor_execCached_Params) Segment ¶
func (s Executor_execCached_Params) Segment() *capnp.Segment
func (Executor_execCached_Params) SetBctx ¶
func (s Executor_execCached_Params) SetBctx(v BootContext) error
func (Executor_execCached_Params) SetCid ¶
func (s Executor_execCached_Params) SetCid(v []byte) error
func (Executor_execCached_Params) SetPpid ¶
func (s Executor_execCached_Params) SetPpid(v uint32)
func (Executor_execCached_Params) String ¶
func (s Executor_execCached_Params) String() string
func (Executor_execCached_Params) ToPtr ¶
func (s Executor_execCached_Params) ToPtr() capnp.Ptr
type Executor_execCached_Params_Future ¶
Executor_execCached_Params_Future is a wrapper for a Executor_execCached_Params promised by a client call.
func (Executor_execCached_Params_Future) Bctx ¶
func (p Executor_execCached_Params_Future) Bctx() BootContext
func (Executor_execCached_Params_Future) Struct ¶
func (f Executor_execCached_Params_Future) Struct() (Executor_execCached_Params, error)
type Executor_execCached_Params_List ¶
type Executor_execCached_Params_List = capnp.StructList[Executor_execCached_Params]
Executor_execCached_Params_List is a list of Executor_execCached_Params.
func NewExecutor_execCached_Params_List ¶
func NewExecutor_execCached_Params_List(s *capnp.Segment, sz int32) (Executor_execCached_Params_List, error)
NewExecutor_execCached_Params creates a new list of Executor_execCached_Params.
type Executor_execCached_Results ¶
func NewExecutor_execCached_Results ¶
func NewExecutor_execCached_Results(s *capnp.Segment) (Executor_execCached_Results, error)
func NewRootExecutor_execCached_Results ¶
func NewRootExecutor_execCached_Results(s *capnp.Segment) (Executor_execCached_Results, error)
func ReadRootExecutor_execCached_Results ¶
func ReadRootExecutor_execCached_Results(msg *capnp.Message) (Executor_execCached_Results, error)
func (Executor_execCached_Results) DecodeFromPtr ¶
func (Executor_execCached_Results) DecodeFromPtr(p capnp.Ptr) Executor_execCached_Results
func (Executor_execCached_Results) EncodeAsPtr ¶
func (s Executor_execCached_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Executor_execCached_Results) HasProcess ¶
func (s Executor_execCached_Results) HasProcess() bool
func (Executor_execCached_Results) IsValid ¶
func (s Executor_execCached_Results) IsValid() bool
func (Executor_execCached_Results) Message ¶
func (s Executor_execCached_Results) Message() *capnp.Message
func (Executor_execCached_Results) Process ¶
func (s Executor_execCached_Results) Process() Process
func (Executor_execCached_Results) Segment ¶
func (s Executor_execCached_Results) Segment() *capnp.Segment
func (Executor_execCached_Results) SetProcess ¶
func (s Executor_execCached_Results) SetProcess(v Process) error
func (Executor_execCached_Results) String ¶
func (s Executor_execCached_Results) String() string
func (Executor_execCached_Results) ToPtr ¶
func (s Executor_execCached_Results) ToPtr() capnp.Ptr
type Executor_execCached_Results_Future ¶
Executor_execCached_Results_Future is a wrapper for a Executor_execCached_Results promised by a client call.
func (Executor_execCached_Results_Future) Process ¶
func (p Executor_execCached_Results_Future) Process() Process
func (Executor_execCached_Results_Future) Struct ¶
func (f Executor_execCached_Results_Future) Struct() (Executor_execCached_Results, error)
type Executor_execCached_Results_List ¶
type Executor_execCached_Results_List = capnp.StructList[Executor_execCached_Results]
Executor_execCached_Results_List is a list of Executor_execCached_Results.
func NewExecutor_execCached_Results_List ¶
func NewExecutor_execCached_Results_List(s *capnp.Segment, sz int32) (Executor_execCached_Results_List, error)
NewExecutor_execCached_Results creates a new list of Executor_execCached_Results.
type Executor_exec_Params ¶
func NewExecutor_exec_Params ¶
func NewExecutor_exec_Params(s *capnp.Segment) (Executor_exec_Params, error)
func NewRootExecutor_exec_Params ¶
func NewRootExecutor_exec_Params(s *capnp.Segment) (Executor_exec_Params, error)
func ReadRootExecutor_exec_Params ¶
func ReadRootExecutor_exec_Params(msg *capnp.Message) (Executor_exec_Params, error)
func (Executor_exec_Params) Bctx ¶
func (s Executor_exec_Params) Bctx() BootContext
func (Executor_exec_Params) Bytecode ¶
func (s Executor_exec_Params) Bytecode() ([]byte, error)
func (Executor_exec_Params) DecodeFromPtr ¶
func (Executor_exec_Params) DecodeFromPtr(p capnp.Ptr) Executor_exec_Params
func (Executor_exec_Params) EncodeAsPtr ¶
func (s Executor_exec_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Executor_exec_Params) HasBctx ¶
func (s Executor_exec_Params) HasBctx() bool
func (Executor_exec_Params) HasBytecode ¶
func (s Executor_exec_Params) HasBytecode() bool
func (Executor_exec_Params) IsValid ¶
func (s Executor_exec_Params) IsValid() bool
func (Executor_exec_Params) Message ¶
func (s Executor_exec_Params) Message() *capnp.Message
func (Executor_exec_Params) Ppid ¶
func (s Executor_exec_Params) Ppid() uint32
func (Executor_exec_Params) Segment ¶
func (s Executor_exec_Params) Segment() *capnp.Segment
func (Executor_exec_Params) SetBctx ¶
func (s Executor_exec_Params) SetBctx(v BootContext) error
func (Executor_exec_Params) SetBytecode ¶
func (s Executor_exec_Params) SetBytecode(v []byte) error
func (Executor_exec_Params) SetPpid ¶
func (s Executor_exec_Params) SetPpid(v uint32)
func (Executor_exec_Params) String ¶
func (s Executor_exec_Params) String() string
func (Executor_exec_Params) ToPtr ¶
func (s Executor_exec_Params) ToPtr() capnp.Ptr
type Executor_exec_Params_Future ¶
Executor_exec_Params_Future is a wrapper for a Executor_exec_Params promised by a client call.
func (Executor_exec_Params_Future) Bctx ¶
func (p Executor_exec_Params_Future) Bctx() BootContext
func (Executor_exec_Params_Future) Struct ¶
func (f Executor_exec_Params_Future) Struct() (Executor_exec_Params, error)
type Executor_exec_Params_List ¶
type Executor_exec_Params_List = capnp.StructList[Executor_exec_Params]
Executor_exec_Params_List is a list of Executor_exec_Params.
func NewExecutor_exec_Params_List ¶
func NewExecutor_exec_Params_List(s *capnp.Segment, sz int32) (Executor_exec_Params_List, error)
NewExecutor_exec_Params creates a new list of Executor_exec_Params.
type Executor_exec_Results ¶
func NewExecutor_exec_Results ¶
func NewExecutor_exec_Results(s *capnp.Segment) (Executor_exec_Results, error)
func NewRootExecutor_exec_Results ¶
func NewRootExecutor_exec_Results(s *capnp.Segment) (Executor_exec_Results, error)
func ReadRootExecutor_exec_Results ¶
func ReadRootExecutor_exec_Results(msg *capnp.Message) (Executor_exec_Results, error)
func (Executor_exec_Results) DecodeFromPtr ¶
func (Executor_exec_Results) DecodeFromPtr(p capnp.Ptr) Executor_exec_Results
func (Executor_exec_Results) EncodeAsPtr ¶
func (s Executor_exec_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Executor_exec_Results) HasProcess ¶
func (s Executor_exec_Results) HasProcess() bool
func (Executor_exec_Results) IsValid ¶
func (s Executor_exec_Results) IsValid() bool
func (Executor_exec_Results) Message ¶
func (s Executor_exec_Results) Message() *capnp.Message
func (Executor_exec_Results) Process ¶
func (s Executor_exec_Results) Process() Process
func (Executor_exec_Results) Segment ¶
func (s Executor_exec_Results) Segment() *capnp.Segment
func (Executor_exec_Results) SetProcess ¶
func (s Executor_exec_Results) SetProcess(v Process) error
func (Executor_exec_Results) String ¶
func (s Executor_exec_Results) String() string
func (Executor_exec_Results) ToPtr ¶
func (s Executor_exec_Results) ToPtr() capnp.Ptr
type Executor_exec_Results_Future ¶
Executor_exec_Results_Future is a wrapper for a Executor_exec_Results promised by a client call.
func (Executor_exec_Results_Future) Process ¶
func (p Executor_exec_Results_Future) Process() Process
func (Executor_exec_Results_Future) Struct ¶
func (f Executor_exec_Results_Future) Struct() (Executor_exec_Results, error)
type Executor_exec_Results_List ¶
type Executor_exec_Results_List = capnp.StructList[Executor_exec_Results]
Executor_exec_Results_List is a list of Executor_exec_Results.
func NewExecutor_exec_Results_List ¶
func NewExecutor_exec_Results_List(s *capnp.Segment, sz int32) (Executor_exec_Results_List, error)
NewExecutor_exec_Results creates a new list of Executor_exec_Results.
type Process ¶
func Process_ServerToClient ¶
func Process_ServerToClient(s Process_Server) Process
Process_ServerToClient creates a new Client from an implementation of Process_Server. The caller is responsible for calling Release on the returned Client.
func (Process) 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 (Process) GetFlowLimiter ¶
func (c Process) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Process) 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 (Process) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Process) Kill ¶
func (c Process) Kill(ctx context.Context, params func(Process_kill_Params) error) (Process_kill_Results_Future, capnp.ReleaseFunc)
func (Process) Release ¶
func (c Process) 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 (Process) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Process) SetFlowLimiter ¶
func (c Process) 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 (Process) 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 (Process) Wait ¶
func (c Process) Wait(ctx context.Context, params func(Process_wait_Params) error) (Process_wait_Results_Future, capnp.ReleaseFunc)
func (Process) WaitStreaming ¶
type Process_List ¶
Process_List is a list of Process.
func NewProcess_List ¶
func NewProcess_List(s *capnp.Segment, sz int32) (Process_List, error)
NewProcess creates a new list of Process.
type Process_Server ¶
type Process_Server interface { Wait(context.Context, Process_wait) error Kill(context.Context, Process_kill) error }
A Process_Server is a Process with a local implementation.
type Process_kill ¶
Process_kill holds the state for a server call to Process.kill. See server.Call for documentation.
func (Process_kill) AllocResults ¶
func (c Process_kill) AllocResults() (Process_kill_Results, error)
AllocResults allocates the results struct.
func (Process_kill) Args ¶
func (c Process_kill) Args() Process_kill_Params
Args returns the call's arguments.
type Process_kill_Params ¶
func NewProcess_kill_Params ¶
func NewProcess_kill_Params(s *capnp.Segment) (Process_kill_Params, error)
func NewRootProcess_kill_Params ¶
func NewRootProcess_kill_Params(s *capnp.Segment) (Process_kill_Params, error)
func ReadRootProcess_kill_Params ¶
func ReadRootProcess_kill_Params(msg *capnp.Message) (Process_kill_Params, error)
func (Process_kill_Params) DecodeFromPtr ¶
func (Process_kill_Params) DecodeFromPtr(p capnp.Ptr) Process_kill_Params
func (Process_kill_Params) EncodeAsPtr ¶
func (s Process_kill_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Process_kill_Params) IsValid ¶
func (s Process_kill_Params) IsValid() bool
func (Process_kill_Params) Message ¶
func (s Process_kill_Params) Message() *capnp.Message
func (Process_kill_Params) Segment ¶
func (s Process_kill_Params) Segment() *capnp.Segment
func (Process_kill_Params) String ¶
func (s Process_kill_Params) String() string
func (Process_kill_Params) ToPtr ¶
func (s Process_kill_Params) ToPtr() capnp.Ptr
type Process_kill_Params_Future ¶
Process_kill_Params_Future is a wrapper for a Process_kill_Params promised by a client call.
func (Process_kill_Params_Future) Struct ¶
func (f Process_kill_Params_Future) Struct() (Process_kill_Params, error)
type Process_kill_Params_List ¶
type Process_kill_Params_List = capnp.StructList[Process_kill_Params]
Process_kill_Params_List is a list of Process_kill_Params.
func NewProcess_kill_Params_List ¶
func NewProcess_kill_Params_List(s *capnp.Segment, sz int32) (Process_kill_Params_List, error)
NewProcess_kill_Params creates a new list of Process_kill_Params.
type Process_kill_Results ¶
func NewProcess_kill_Results ¶
func NewProcess_kill_Results(s *capnp.Segment) (Process_kill_Results, error)
func NewRootProcess_kill_Results ¶
func NewRootProcess_kill_Results(s *capnp.Segment) (Process_kill_Results, error)
func ReadRootProcess_kill_Results ¶
func ReadRootProcess_kill_Results(msg *capnp.Message) (Process_kill_Results, error)
func (Process_kill_Results) DecodeFromPtr ¶
func (Process_kill_Results) DecodeFromPtr(p capnp.Ptr) Process_kill_Results
func (Process_kill_Results) EncodeAsPtr ¶
func (s Process_kill_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Process_kill_Results) IsValid ¶
func (s Process_kill_Results) IsValid() bool
func (Process_kill_Results) Message ¶
func (s Process_kill_Results) Message() *capnp.Message
func (Process_kill_Results) Segment ¶
func (s Process_kill_Results) Segment() *capnp.Segment
func (Process_kill_Results) String ¶
func (s Process_kill_Results) String() string
func (Process_kill_Results) ToPtr ¶
func (s Process_kill_Results) ToPtr() capnp.Ptr
type Process_kill_Results_Future ¶
Process_kill_Results_Future is a wrapper for a Process_kill_Results promised by a client call.
func (Process_kill_Results_Future) Struct ¶
func (f Process_kill_Results_Future) Struct() (Process_kill_Results, error)
type Process_kill_Results_List ¶
type Process_kill_Results_List = capnp.StructList[Process_kill_Results]
Process_kill_Results_List is a list of Process_kill_Results.
func NewProcess_kill_Results_List ¶
func NewProcess_kill_Results_List(s *capnp.Segment, sz int32) (Process_kill_Results_List, error)
NewProcess_kill_Results creates a new list of Process_kill_Results.
type Process_wait ¶
Process_wait holds the state for a server call to Process.wait. See server.Call for documentation.
func (Process_wait) AllocResults ¶
func (c Process_wait) AllocResults() (Process_wait_Results, error)
AllocResults allocates the results struct.
func (Process_wait) Args ¶
func (c Process_wait) Args() Process_wait_Params
Args returns the call's arguments.
type Process_wait_Params ¶
func NewProcess_wait_Params ¶
func NewProcess_wait_Params(s *capnp.Segment) (Process_wait_Params, error)
func NewRootProcess_wait_Params ¶
func NewRootProcess_wait_Params(s *capnp.Segment) (Process_wait_Params, error)
func ReadRootProcess_wait_Params ¶
func ReadRootProcess_wait_Params(msg *capnp.Message) (Process_wait_Params, error)
func (Process_wait_Params) DecodeFromPtr ¶
func (Process_wait_Params) DecodeFromPtr(p capnp.Ptr) Process_wait_Params
func (Process_wait_Params) EncodeAsPtr ¶
func (s Process_wait_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Process_wait_Params) IsValid ¶
func (s Process_wait_Params) IsValid() bool
func (Process_wait_Params) Message ¶
func (s Process_wait_Params) Message() *capnp.Message
func (Process_wait_Params) Segment ¶
func (s Process_wait_Params) Segment() *capnp.Segment
func (Process_wait_Params) String ¶
func (s Process_wait_Params) String() string
func (Process_wait_Params) ToPtr ¶
func (s Process_wait_Params) ToPtr() capnp.Ptr
type Process_wait_Params_Future ¶
Process_wait_Params_Future is a wrapper for a Process_wait_Params promised by a client call.
func (Process_wait_Params_Future) Struct ¶
func (f Process_wait_Params_Future) Struct() (Process_wait_Params, error)
type Process_wait_Params_List ¶
type Process_wait_Params_List = capnp.StructList[Process_wait_Params]
Process_wait_Params_List is a list of Process_wait_Params.
func NewProcess_wait_Params_List ¶
func NewProcess_wait_Params_List(s *capnp.Segment, sz int32) (Process_wait_Params_List, error)
NewProcess_wait_Params creates a new list of Process_wait_Params.
type Process_wait_Results ¶
func NewProcess_wait_Results ¶
func NewProcess_wait_Results(s *capnp.Segment) (Process_wait_Results, error)
func NewRootProcess_wait_Results ¶
func NewRootProcess_wait_Results(s *capnp.Segment) (Process_wait_Results, error)
func ReadRootProcess_wait_Results ¶
func ReadRootProcess_wait_Results(msg *capnp.Message) (Process_wait_Results, error)
func (Process_wait_Results) DecodeFromPtr ¶
func (Process_wait_Results) DecodeFromPtr(p capnp.Ptr) Process_wait_Results
func (Process_wait_Results) EncodeAsPtr ¶
func (s Process_wait_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Process_wait_Results) ExitCode ¶
func (s Process_wait_Results) ExitCode() uint32
func (Process_wait_Results) IsValid ¶
func (s Process_wait_Results) IsValid() bool
func (Process_wait_Results) Message ¶
func (s Process_wait_Results) Message() *capnp.Message
func (Process_wait_Results) Segment ¶
func (s Process_wait_Results) Segment() *capnp.Segment
func (Process_wait_Results) SetExitCode ¶
func (s Process_wait_Results) SetExitCode(v uint32)
func (Process_wait_Results) String ¶
func (s Process_wait_Results) String() string
func (Process_wait_Results) ToPtr ¶
func (s Process_wait_Results) ToPtr() capnp.Ptr
type Process_wait_Results_Future ¶
Process_wait_Results_Future is a wrapper for a Process_wait_Results promised by a client call.
func (Process_wait_Results_Future) Struct ¶
func (f Process_wait_Results_Future) Struct() (Process_wait_Results, error)
type Process_wait_Results_List ¶
type Process_wait_Results_List = capnp.StructList[Process_wait_Results]
Process_wait_Results_List is a list of Process_wait_Results.
func NewProcess_wait_Results_List ¶
func NewProcess_wait_Results_List(s *capnp.Segment, sz int32) (Process_wait_Results_List, error)
NewProcess_wait_Results creates a new list of Process_wait_Results.