Documentation ¶
Index ¶
- Constants
- func ClimateInstance_Methods(methods []server.Method, s ClimateInstance_Server) []server.Method
- func ClimateInstance_NewServer(s ClimateInstance_Server) *server.Server
- func EnvInstanceProxy_Methods(methods []server.Method, s EnvInstanceProxy_Server) []server.Method
- func EnvInstanceProxy_NewServer(s EnvInstanceProxy_Server) *server.Server
- func EnvInstanceProxy_Unregister_Methods(methods []server.Method, s EnvInstanceProxy_Unregister_Server) []server.Method
- func EnvInstanceProxy_Unregister_NewServer(s EnvInstanceProxy_Unregister_Server) *server.Server
- func EnvInstance_Methods(methods []server.Method, s EnvInstance_Server) []server.Method
- func EnvInstance_NewServer(s EnvInstance_Server) *server.Server
- func InstanceFactory_Methods(methods []server.Method, s InstanceFactory_Server) []server.Method
- func InstanceFactory_NewServer(s InstanceFactory_Server) *server.Server
- func RegisterSchema(reg *schemas.Registry)
- type ClimateInstance
- func (c ClimateInstance) AddRef() ClimateInstance
- func (ClimateInstance) DecodeFromPtr(p capnp.Ptr) ClimateInstance
- func (c ClimateInstance) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c ClimateInstance) GetFlowLimiter() fc.FlowLimiter
- func (c ClimateInstance) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c ClimateInstance) IsSame(other ClimateInstance) bool
- func (c ClimateInstance) IsValid() bool
- func (c ClimateInstance) Release()
- func (c ClimateInstance) Resolve(ctx context.Context) error
- func (c ClimateInstance) Run(ctx context.Context, params func(ClimateInstance_run_Params) error) (ClimateInstance_run_Results_Future, capnp.ReleaseFunc)
- func (c ClimateInstance) RunSet(ctx context.Context, params func(ClimateInstance_runSet_Params) error) (ClimateInstance_runSet_Results_Future, capnp.ReleaseFunc)
- func (c ClimateInstance) SetFlowLimiter(lim fc.FlowLimiter)
- func (c ClimateInstance) String() string
- func (c ClimateInstance) WaitStreaming() error
- type ClimateInstance_List
- type ClimateInstance_Server
- type ClimateInstance_run
- type ClimateInstance_runSet
- type ClimateInstance_runSet_Params
- func (s ClimateInstance_runSet_Params) Dataset() (climate.TimeSeries_List, error)
- func (ClimateInstance_runSet_Params) DecodeFromPtr(p capnp.Ptr) ClimateInstance_runSet_Params
- func (s ClimateInstance_runSet_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ClimateInstance_runSet_Params) HasDataset() bool
- func (s ClimateInstance_runSet_Params) IsValid() bool
- func (s ClimateInstance_runSet_Params) Message() *capnp.Message
- func (s ClimateInstance_runSet_Params) NewDataset(n int32) (climate.TimeSeries_List, error)
- func (s ClimateInstance_runSet_Params) Segment() *capnp.Segment
- func (s ClimateInstance_runSet_Params) SetDataset(v climate.TimeSeries_List) error
- func (s ClimateInstance_runSet_Params) String() string
- func (s ClimateInstance_runSet_Params) ToPtr() capnp.Ptr
- type ClimateInstance_runSet_Params_Future
- type ClimateInstance_runSet_Params_List
- type ClimateInstance_runSet_Results
- func NewClimateInstance_runSet_Results(s *capnp.Segment) (ClimateInstance_runSet_Results, error)
- func NewRootClimateInstance_runSet_Results(s *capnp.Segment) (ClimateInstance_runSet_Results, error)
- func ReadRootClimateInstance_runSet_Results(msg *capnp.Message) (ClimateInstance_runSet_Results, error)
- func (ClimateInstance_runSet_Results) DecodeFromPtr(p capnp.Ptr) ClimateInstance_runSet_Results
- func (s ClimateInstance_runSet_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ClimateInstance_runSet_Results) HasResult() bool
- func (s ClimateInstance_runSet_Results) IsValid() bool
- func (s ClimateInstance_runSet_Results) Message() *capnp.Message
- func (s ClimateInstance_runSet_Results) NewResult() (XYPlusResult, error)
- func (s ClimateInstance_runSet_Results) Result() (XYPlusResult, error)
- func (s ClimateInstance_runSet_Results) Segment() *capnp.Segment
- func (s ClimateInstance_runSet_Results) SetResult(v XYPlusResult) error
- func (s ClimateInstance_runSet_Results) String() string
- func (s ClimateInstance_runSet_Results) ToPtr() capnp.Ptr
- type ClimateInstance_runSet_Results_Future
- type ClimateInstance_runSet_Results_List
- type ClimateInstance_run_Params
- func (ClimateInstance_run_Params) DecodeFromPtr(p capnp.Ptr) ClimateInstance_run_Params
- func (s ClimateInstance_run_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ClimateInstance_run_Params) HasTimeSeries() bool
- func (s ClimateInstance_run_Params) IsValid() bool
- func (s ClimateInstance_run_Params) Message() *capnp.Message
- func (s ClimateInstance_run_Params) Segment() *capnp.Segment
- func (s ClimateInstance_run_Params) SetTimeSeries(v climate.TimeSeries) error
- func (s ClimateInstance_run_Params) String() string
- func (s ClimateInstance_run_Params) TimeSeries() climate.TimeSeries
- func (s ClimateInstance_run_Params) ToPtr() capnp.Ptr
- type ClimateInstance_run_Params_Future
- type ClimateInstance_run_Params_List
- type ClimateInstance_run_Results
- func (ClimateInstance_run_Results) DecodeFromPtr(p capnp.Ptr) ClimateInstance_run_Results
- func (s ClimateInstance_run_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s ClimateInstance_run_Results) HasResult() bool
- func (s ClimateInstance_run_Results) IsValid() bool
- func (s ClimateInstance_run_Results) Message() *capnp.Message
- func (s ClimateInstance_run_Results) NewResult() (XYResult, error)
- func (s ClimateInstance_run_Results) Result() (XYResult, error)
- func (s ClimateInstance_run_Results) Segment() *capnp.Segment
- func (s ClimateInstance_run_Results) SetResult(v XYResult) error
- func (s ClimateInstance_run_Results) String() string
- func (s ClimateInstance_run_Results) ToPtr() capnp.Ptr
- type ClimateInstance_run_Results_Future
- type ClimateInstance_run_Results_List
- type Env
- func (Env) DecodeFromPtr(p capnp.Ptr) Env
- func (s Env) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Env) HasMgmtEvents() bool
- func (s Env) HasRest() bool
- func (s Env) HasSoilProfile() bool
- func (s Env) HasTimeSeries() bool
- func (s Env) IsValid() bool
- func (s Env) Message() *capnp.Message
- func (s Env) MgmtEvents() (management.Event_List, error)
- func (s Env) NewMgmtEvents(n int32) (management.Event_List, error)
- func (s Env) Rest() (capnp.Ptr, error)
- func (s Env) Segment() *capnp.Segment
- func (s Env) SetMgmtEvents(v management.Event_List) error
- func (s Env) SetRest(v capnp.Ptr) error
- func (s Env) SetSoilProfile(v soil.Profile) error
- func (s Env) SetTimeSeries(v climate.TimeSeries) error
- func (s Env) SoilProfile() soil.Profile
- func (s Env) String() string
- func (s Env) TimeSeries() climate.TimeSeries
- func (s Env) ToPtr() capnp.Ptr
- type EnvInstance
- func (c EnvInstance) AddRef() EnvInstance
- func (EnvInstance) DecodeFromPtr(p capnp.Ptr) EnvInstance
- func (c EnvInstance) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c EnvInstance) GetFlowLimiter() fc.FlowLimiter
- func (c EnvInstance) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c EnvInstance) IsSame(other EnvInstance) bool
- func (c EnvInstance) IsValid() bool
- func (c EnvInstance) Release()
- func (c EnvInstance) Resolve(ctx context.Context) error
- func (c EnvInstance) Run(ctx context.Context, params func(EnvInstance_run_Params) error) (EnvInstance_run_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstance) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
- func (c EnvInstance) SetFlowLimiter(lim fc.FlowLimiter)
- func (c EnvInstance) Stop(ctx context.Context, params func(service.Stopable_stop_Params) error) (service.Stopable_stop_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstance) String() string
- func (c EnvInstance) WaitStreaming() error
- type EnvInstanceProxy
- func (c EnvInstanceProxy) AddRef() EnvInstanceProxy
- func (EnvInstanceProxy) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy
- func (c EnvInstanceProxy) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c EnvInstanceProxy) GetFlowLimiter() fc.FlowLimiter
- func (c EnvInstanceProxy) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy) IsSame(other EnvInstanceProxy) bool
- func (c EnvInstanceProxy) IsValid() bool
- func (c EnvInstanceProxy) RegisterEnvInstance(ctx context.Context, ...) (EnvInstanceProxy_registerEnvInstance_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy) Release()
- func (c EnvInstanceProxy) Resolve(ctx context.Context) error
- func (c EnvInstanceProxy) Run(ctx context.Context, params func(EnvInstance_run_Params) error) (EnvInstance_run_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy) SetFlowLimiter(lim fc.FlowLimiter)
- func (c EnvInstanceProxy) Stop(ctx context.Context, params func(service.Stopable_stop_Params) error) (service.Stopable_stop_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy) String() string
- func (c EnvInstanceProxy) WaitStreaming() error
- type EnvInstanceProxy_List
- type EnvInstanceProxy_Server
- type EnvInstanceProxy_Unregister
- func (c EnvInstanceProxy_Unregister) AddRef() EnvInstanceProxy_Unregister
- func (EnvInstanceProxy_Unregister) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_Unregister
- func (c EnvInstanceProxy_Unregister) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c EnvInstanceProxy_Unregister) GetFlowLimiter() fc.FlowLimiter
- func (c EnvInstanceProxy_Unregister) IsSame(other EnvInstanceProxy_Unregister) bool
- func (c EnvInstanceProxy_Unregister) IsValid() bool
- func (c EnvInstanceProxy_Unregister) Release()
- func (c EnvInstanceProxy_Unregister) Resolve(ctx context.Context) error
- func (c EnvInstanceProxy_Unregister) SetFlowLimiter(lim fc.FlowLimiter)
- func (c EnvInstanceProxy_Unregister) String() string
- func (c EnvInstanceProxy_Unregister) Unregister(ctx context.Context, ...) (EnvInstanceProxy_Unregister_unregister_Results_Future, capnp.ReleaseFunc)
- func (c EnvInstanceProxy_Unregister) WaitStreaming() error
- type EnvInstanceProxy_Unregister_List
- type EnvInstanceProxy_Unregister_Server
- type EnvInstanceProxy_Unregister_unregister
- type EnvInstanceProxy_Unregister_unregister_Params
- func NewEnvInstanceProxy_Unregister_unregister_Params(s *capnp.Segment) (EnvInstanceProxy_Unregister_unregister_Params, error)
- func NewRootEnvInstanceProxy_Unregister_unregister_Params(s *capnp.Segment) (EnvInstanceProxy_Unregister_unregister_Params, error)
- func ReadRootEnvInstanceProxy_Unregister_unregister_Params(msg *capnp.Message) (EnvInstanceProxy_Unregister_unregister_Params, error)
- func (EnvInstanceProxy_Unregister_unregister_Params) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_Unregister_unregister_Params
- func (s EnvInstanceProxy_Unregister_unregister_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s EnvInstanceProxy_Unregister_unregister_Params) IsValid() bool
- func (s EnvInstanceProxy_Unregister_unregister_Params) Message() *capnp.Message
- func (s EnvInstanceProxy_Unregister_unregister_Params) Segment() *capnp.Segment
- func (s EnvInstanceProxy_Unregister_unregister_Params) String() string
- func (s EnvInstanceProxy_Unregister_unregister_Params) ToPtr() capnp.Ptr
- type EnvInstanceProxy_Unregister_unregister_Params_Future
- type EnvInstanceProxy_Unregister_unregister_Params_List
- type EnvInstanceProxy_Unregister_unregister_Results
- func NewEnvInstanceProxy_Unregister_unregister_Results(s *capnp.Segment) (EnvInstanceProxy_Unregister_unregister_Results, error)
- func NewRootEnvInstanceProxy_Unregister_unregister_Results(s *capnp.Segment) (EnvInstanceProxy_Unregister_unregister_Results, error)
- func ReadRootEnvInstanceProxy_Unregister_unregister_Results(msg *capnp.Message) (EnvInstanceProxy_Unregister_unregister_Results, error)
- func (EnvInstanceProxy_Unregister_unregister_Results) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_Unregister_unregister_Results
- func (s EnvInstanceProxy_Unregister_unregister_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s EnvInstanceProxy_Unregister_unregister_Results) IsValid() bool
- func (s EnvInstanceProxy_Unregister_unregister_Results) Message() *capnp.Message
- func (s EnvInstanceProxy_Unregister_unregister_Results) Segment() *capnp.Segment
- func (s EnvInstanceProxy_Unregister_unregister_Results) SetSuccess(v bool)
- func (s EnvInstanceProxy_Unregister_unregister_Results) String() string
- func (s EnvInstanceProxy_Unregister_unregister_Results) Success() bool
- func (s EnvInstanceProxy_Unregister_unregister_Results) ToPtr() capnp.Ptr
- type EnvInstanceProxy_Unregister_unregister_Results_Future
- type EnvInstanceProxy_Unregister_unregister_Results_List
- type EnvInstanceProxy_registerEnvInstance
- type EnvInstanceProxy_registerEnvInstance_Params
- func NewEnvInstanceProxy_registerEnvInstance_Params(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Params, error)
- func NewRootEnvInstanceProxy_registerEnvInstance_Params(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Params, error)
- func ReadRootEnvInstanceProxy_registerEnvInstance_Params(msg *capnp.Message) (EnvInstanceProxy_registerEnvInstance_Params, error)
- func (EnvInstanceProxy_registerEnvInstance_Params) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_registerEnvInstance_Params
- func (s EnvInstanceProxy_registerEnvInstance_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s EnvInstanceProxy_registerEnvInstance_Params) HasInstance() bool
- func (s EnvInstanceProxy_registerEnvInstance_Params) Instance() EnvInstance
- func (s EnvInstanceProxy_registerEnvInstance_Params) IsValid() bool
- func (s EnvInstanceProxy_registerEnvInstance_Params) Message() *capnp.Message
- func (s EnvInstanceProxy_registerEnvInstance_Params) Segment() *capnp.Segment
- func (s EnvInstanceProxy_registerEnvInstance_Params) SetInstance(v EnvInstance) error
- func (s EnvInstanceProxy_registerEnvInstance_Params) String() string
- func (s EnvInstanceProxy_registerEnvInstance_Params) ToPtr() capnp.Ptr
- type EnvInstanceProxy_registerEnvInstance_Params_Future
- type EnvInstanceProxy_registerEnvInstance_Params_List
- type EnvInstanceProxy_registerEnvInstance_Results
- func NewEnvInstanceProxy_registerEnvInstance_Results(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Results, error)
- func NewRootEnvInstanceProxy_registerEnvInstance_Results(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Results, error)
- func ReadRootEnvInstanceProxy_registerEnvInstance_Results(msg *capnp.Message) (EnvInstanceProxy_registerEnvInstance_Results, error)
- func (EnvInstanceProxy_registerEnvInstance_Results) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_registerEnvInstance_Results
- func (s EnvInstanceProxy_registerEnvInstance_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s EnvInstanceProxy_registerEnvInstance_Results) HasUnregister() bool
- func (s EnvInstanceProxy_registerEnvInstance_Results) IsValid() bool
- func (s EnvInstanceProxy_registerEnvInstance_Results) Message() *capnp.Message
- func (s EnvInstanceProxy_registerEnvInstance_Results) Segment() *capnp.Segment
- func (s EnvInstanceProxy_registerEnvInstance_Results) SetUnregister(v EnvInstanceProxy_Unregister) error
- func (s EnvInstanceProxy_registerEnvInstance_Results) String() string
- func (s EnvInstanceProxy_registerEnvInstance_Results) ToPtr() capnp.Ptr
- func (s EnvInstanceProxy_registerEnvInstance_Results) Unregister() EnvInstanceProxy_Unregister
- type EnvInstanceProxy_registerEnvInstance_Results_Future
- type EnvInstanceProxy_registerEnvInstance_Results_List
- type EnvInstance_List
- type EnvInstance_Server
- type EnvInstance_run
- type EnvInstance_run_Params
- func (EnvInstance_run_Params) DecodeFromPtr(p capnp.Ptr) EnvInstance_run_Params
- func (s EnvInstance_run_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s EnvInstance_run_Params) Env() (Env, error)
- func (s EnvInstance_run_Params) HasEnv() bool
- func (s EnvInstance_run_Params) IsValid() bool
- func (s EnvInstance_run_Params) Message() *capnp.Message
- func (s EnvInstance_run_Params) NewEnv() (Env, error)
- func (s EnvInstance_run_Params) Segment() *capnp.Segment
- func (s EnvInstance_run_Params) SetEnv(v Env) error
- func (s EnvInstance_run_Params) String() string
- func (s EnvInstance_run_Params) ToPtr() capnp.Ptr
- type EnvInstance_run_Params_Future
- type EnvInstance_run_Params_List
- type EnvInstance_run_Results
- func (EnvInstance_run_Results) DecodeFromPtr(p capnp.Ptr) EnvInstance_run_Results
- func (s EnvInstance_run_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s EnvInstance_run_Results) HasResult() bool
- func (s EnvInstance_run_Results) IsValid() bool
- func (s EnvInstance_run_Results) Message() *capnp.Message
- func (s EnvInstance_run_Results) Result() (capnp.Ptr, error)
- func (s EnvInstance_run_Results) Segment() *capnp.Segment
- func (s EnvInstance_run_Results) SetResult(v capnp.Ptr) error
- func (s EnvInstance_run_Results) String() string
- func (s EnvInstance_run_Results) ToPtr() capnp.Ptr
- type EnvInstance_run_Results_Future
- type EnvInstance_run_Results_List
- type Env_Future
- type Env_List
- type InstanceFactory
- func (c InstanceFactory) AddRef() InstanceFactory
- func (InstanceFactory) DecodeFromPtr(p capnp.Ptr) InstanceFactory
- func (c InstanceFactory) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c InstanceFactory) GetFlowLimiter() fc.FlowLimiter
- func (c InstanceFactory) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c InstanceFactory) IsSame(other InstanceFactory) bool
- func (c InstanceFactory) IsValid() bool
- func (c InstanceFactory) ModelInfo(ctx context.Context, params func(InstanceFactory_modelInfo_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
- func (c InstanceFactory) NewInstance(ctx context.Context, params func(InstanceFactory_newInstance_Params) error) (InstanceFactory_newInstance_Results_Future, capnp.ReleaseFunc)
- func (c InstanceFactory) NewInstances(ctx context.Context, params func(InstanceFactory_newInstances_Params) error) (InstanceFactory_newInstances_Results_Future, capnp.ReleaseFunc)
- func (c InstanceFactory) Release()
- func (c InstanceFactory) Resolve(ctx context.Context) error
- func (c InstanceFactory) SetFlowLimiter(lim fc.FlowLimiter)
- func (c InstanceFactory) String() string
- func (c InstanceFactory) WaitStreaming() error
- type InstanceFactory_List
- type InstanceFactory_Server
- type InstanceFactory_modelInfo
- type InstanceFactory_modelInfo_Params
- func NewInstanceFactory_modelInfo_Params(s *capnp.Segment) (InstanceFactory_modelInfo_Params, error)
- func NewRootInstanceFactory_modelInfo_Params(s *capnp.Segment) (InstanceFactory_modelInfo_Params, error)
- func ReadRootInstanceFactory_modelInfo_Params(msg *capnp.Message) (InstanceFactory_modelInfo_Params, error)
- func (InstanceFactory_modelInfo_Params) DecodeFromPtr(p capnp.Ptr) InstanceFactory_modelInfo_Params
- func (s InstanceFactory_modelInfo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s InstanceFactory_modelInfo_Params) IsValid() bool
- func (s InstanceFactory_modelInfo_Params) Message() *capnp.Message
- func (s InstanceFactory_modelInfo_Params) Segment() *capnp.Segment
- func (s InstanceFactory_modelInfo_Params) String() string
- func (s InstanceFactory_modelInfo_Params) ToPtr() capnp.Ptr
- type InstanceFactory_modelInfo_Params_Future
- type InstanceFactory_modelInfo_Params_List
- type InstanceFactory_newInstance
- type InstanceFactory_newInstance_Params
- func NewInstanceFactory_newInstance_Params(s *capnp.Segment) (InstanceFactory_newInstance_Params, error)
- func NewRootInstanceFactory_newInstance_Params(s *capnp.Segment) (InstanceFactory_newInstance_Params, error)
- func ReadRootInstanceFactory_newInstance_Params(msg *capnp.Message) (InstanceFactory_newInstance_Params, error)
- func (InstanceFactory_newInstance_Params) DecodeFromPtr(p capnp.Ptr) InstanceFactory_newInstance_Params
- func (s InstanceFactory_newInstance_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s InstanceFactory_newInstance_Params) IsValid() bool
- func (s InstanceFactory_newInstance_Params) Message() *capnp.Message
- func (s InstanceFactory_newInstance_Params) Segment() *capnp.Segment
- func (s InstanceFactory_newInstance_Params) String() string
- func (s InstanceFactory_newInstance_Params) ToPtr() capnp.Ptr
- type InstanceFactory_newInstance_Params_Future
- type InstanceFactory_newInstance_Params_List
- type InstanceFactory_newInstance_Results
- func NewInstanceFactory_newInstance_Results(s *capnp.Segment) (InstanceFactory_newInstance_Results, error)
- func NewRootInstanceFactory_newInstance_Results(s *capnp.Segment) (InstanceFactory_newInstance_Results, error)
- func ReadRootInstanceFactory_newInstance_Results(msg *capnp.Message) (InstanceFactory_newInstance_Results, error)
- func (InstanceFactory_newInstance_Results) DecodeFromPtr(p capnp.Ptr) InstanceFactory_newInstance_Results
- func (s InstanceFactory_newInstance_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s InstanceFactory_newInstance_Results) HasInstance() bool
- func (s InstanceFactory_newInstance_Results) Instance() common.Identifiable
- func (s InstanceFactory_newInstance_Results) IsValid() bool
- func (s InstanceFactory_newInstance_Results) Message() *capnp.Message
- func (s InstanceFactory_newInstance_Results) Segment() *capnp.Segment
- func (s InstanceFactory_newInstance_Results) SetInstance(v common.Identifiable) error
- func (s InstanceFactory_newInstance_Results) String() string
- func (s InstanceFactory_newInstance_Results) ToPtr() capnp.Ptr
- type InstanceFactory_newInstance_Results_Future
- type InstanceFactory_newInstance_Results_List
- type InstanceFactory_newInstances
- type InstanceFactory_newInstances_Params
- func NewInstanceFactory_newInstances_Params(s *capnp.Segment) (InstanceFactory_newInstances_Params, error)
- func NewRootInstanceFactory_newInstances_Params(s *capnp.Segment) (InstanceFactory_newInstances_Params, error)
- func ReadRootInstanceFactory_newInstances_Params(msg *capnp.Message) (InstanceFactory_newInstances_Params, error)
- func (InstanceFactory_newInstances_Params) DecodeFromPtr(p capnp.Ptr) InstanceFactory_newInstances_Params
- func (s InstanceFactory_newInstances_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s InstanceFactory_newInstances_Params) IsValid() bool
- func (s InstanceFactory_newInstances_Params) Message() *capnp.Message
- func (s InstanceFactory_newInstances_Params) NumberOfInstances() int16
- func (s InstanceFactory_newInstances_Params) Segment() *capnp.Segment
- func (s InstanceFactory_newInstances_Params) SetNumberOfInstances(v int16)
- func (s InstanceFactory_newInstances_Params) String() string
- func (s InstanceFactory_newInstances_Params) ToPtr() capnp.Ptr
- type InstanceFactory_newInstances_Params_Future
- type InstanceFactory_newInstances_Params_List
- type InstanceFactory_newInstances_Results
- func NewInstanceFactory_newInstances_Results(s *capnp.Segment) (InstanceFactory_newInstances_Results, error)
- func NewRootInstanceFactory_newInstances_Results(s *capnp.Segment) (InstanceFactory_newInstances_Results, error)
- func ReadRootInstanceFactory_newInstances_Results(msg *capnp.Message) (InstanceFactory_newInstances_Results, error)
- func (InstanceFactory_newInstances_Results) DecodeFromPtr(p capnp.Ptr) InstanceFactory_newInstances_Results
- func (s InstanceFactory_newInstances_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s InstanceFactory_newInstances_Results) HasInstances() bool
- func (s InstanceFactory_newInstances_Results) Instances() (common.Identifiable_List, error)
- func (s InstanceFactory_newInstances_Results) IsValid() bool
- func (s InstanceFactory_newInstances_Results) Message() *capnp.Message
- func (s InstanceFactory_newInstances_Results) NewInstances(n int32) (common.Identifiable_List, error)
- func (s InstanceFactory_newInstances_Results) Segment() *capnp.Segment
- func (s InstanceFactory_newInstances_Results) SetInstances(v common.Identifiable_List) error
- func (s InstanceFactory_newInstances_Results) String() string
- func (s InstanceFactory_newInstances_Results) ToPtr() capnp.Ptr
- type InstanceFactory_newInstances_Results_Future
- type InstanceFactory_newInstances_Results_List
- type Stat
- func (Stat) DecodeFromPtr(p capnp.Ptr) Stat
- func (s Stat) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Stat) HasVs() bool
- func (s Stat) IsValid() bool
- func (s Stat) Message() *capnp.Message
- func (s Stat) NewVs(n int32) (capnp.Float64List, error)
- func (s Stat) Segment() *capnp.Segment
- func (s Stat) SetType(v Stat_Type)
- func (s Stat) SetVs(v capnp.Float64List) error
- func (s Stat) String() string
- func (s Stat) ToPtr() capnp.Ptr
- func (s Stat) Type() Stat_Type
- func (s Stat) Vs() (capnp.Float64List, error)
- type Stat_Future
- type Stat_List
- type Stat_Type
- type Stat_Type_List
- type XYPlusResult
- func (XYPlusResult) DecodeFromPtr(p capnp.Ptr) XYPlusResult
- func (s XYPlusResult) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s XYPlusResult) HasStats() bool
- func (s XYPlusResult) HasXy() bool
- func (s XYPlusResult) IsValid() bool
- func (s XYPlusResult) Message() *capnp.Message
- func (s XYPlusResult) NewStats(n int32) (Stat_List, error)
- func (s XYPlusResult) NewXy() (XYResult, error)
- func (s XYPlusResult) Segment() *capnp.Segment
- func (s XYPlusResult) SetStats(v Stat_List) error
- func (s XYPlusResult) SetXy(v XYResult) error
- func (s XYPlusResult) Stats() (Stat_List, error)
- func (s XYPlusResult) String() string
- func (s XYPlusResult) ToPtr() capnp.Ptr
- func (s XYPlusResult) Xy() (XYResult, error)
- type XYPlusResult_Future
- type XYPlusResult_List
- type XYResult
- func (XYResult) DecodeFromPtr(p capnp.Ptr) XYResult
- func (s XYResult) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s XYResult) HasXs() bool
- func (s XYResult) HasYs() bool
- func (s XYResult) IsValid() bool
- func (s XYResult) Message() *capnp.Message
- func (s XYResult) NewXs(n int32) (capnp.Float64List, error)
- func (s XYResult) NewYs(n int32) (capnp.Float64List, error)
- func (s XYResult) Segment() *capnp.Segment
- func (s XYResult) SetXs(v capnp.Float64List) error
- func (s XYResult) SetYs(v capnp.Float64List) error
- func (s XYResult) String() string
- func (s XYResult) ToPtr() capnp.Ptr
- func (s XYResult) Xs() (capnp.Float64List, error)
- func (s XYResult) Ys() (capnp.Float64List, error)
- type XYResult_Future
- type XYResult_List
Constants ¶
const ClimateInstance_TypeID = 0xdfcfeb783c4948fc
ClimateInstance_TypeID is the unique identifier for the type ClimateInstance.
const ClimateInstance_runSet_Params_TypeID = 0xaa9d146226037822
ClimateInstance_runSet_Params_TypeID is the unique identifier for the type ClimateInstance_runSet_Params.
const ClimateInstance_runSet_Results_TypeID = 0xe22282cb3449bb4a
ClimateInstance_runSet_Results_TypeID is the unique identifier for the type ClimateInstance_runSet_Results.
const ClimateInstance_run_Params_TypeID = 0xdf787fd9d51f235b
ClimateInstance_run_Params_TypeID is the unique identifier for the type ClimateInstance_run_Params.
const ClimateInstance_run_Results_TypeID = 0xcc39e47cdead74c4
ClimateInstance_run_Results_TypeID is the unique identifier for the type ClimateInstance_run_Results.
const EnvInstanceProxy_TypeID = 0x87cbebfc1164a24a
EnvInstanceProxy_TypeID is the unique identifier for the type EnvInstanceProxy.
const EnvInstanceProxy_Unregister_TypeID = 0xc727892bd5c66f88
EnvInstanceProxy_Unregister_TypeID is the unique identifier for the type EnvInstanceProxy_Unregister.
const EnvInstanceProxy_Unregister_unregister_Params_TypeID = 0x82136633e6b6d8ae
EnvInstanceProxy_Unregister_unregister_Params_TypeID is the unique identifier for the type EnvInstanceProxy_Unregister_unregister_Params.
const EnvInstanceProxy_Unregister_unregister_Results_TypeID = 0xe91cc3866fdea82a
EnvInstanceProxy_Unregister_unregister_Results_TypeID is the unique identifier for the type EnvInstanceProxy_Unregister_unregister_Results.
const EnvInstanceProxy_registerEnvInstance_Params_TypeID = 0xd10259a623f95bb4
EnvInstanceProxy_registerEnvInstance_Params_TypeID is the unique identifier for the type EnvInstanceProxy_registerEnvInstance_Params.
const EnvInstanceProxy_registerEnvInstance_Results_TypeID = 0xdf50acfa56a9674e
EnvInstanceProxy_registerEnvInstance_Results_TypeID is the unique identifier for the type EnvInstanceProxy_registerEnvInstance_Results.
const EnvInstance_TypeID = 0xa5feedafa5ec5c4a
EnvInstance_TypeID is the unique identifier for the type EnvInstance.
const EnvInstance_run_Params_TypeID = 0x811895634b6bd959
EnvInstance_run_Params_TypeID is the unique identifier for the type EnvInstance_run_Params.
const EnvInstance_run_Results_TypeID = 0xa931ae5cae90ece0
EnvInstance_run_Results_TypeID is the unique identifier for the type EnvInstance_run_Results.
const Env_TypeID = 0xb7fc866ef1127f7c
Env_TypeID is the unique identifier for the type Env.
const InstanceFactory_TypeID = 0xce552eef738a45ea
InstanceFactory_TypeID is the unique identifier for the type InstanceFactory.
const InstanceFactory_modelInfo_Params_TypeID = 0xbf49e08cc9412aaf
InstanceFactory_modelInfo_Params_TypeID is the unique identifier for the type InstanceFactory_modelInfo_Params.
const InstanceFactory_newInstance_Params_TypeID = 0x9ee4515395213845
InstanceFactory_newInstance_Params_TypeID is the unique identifier for the type InstanceFactory_newInstance_Params.
const InstanceFactory_newInstance_Results_TypeID = 0xf013eda158070488
InstanceFactory_newInstance_Results_TypeID is the unique identifier for the type InstanceFactory_newInstance_Results.
const InstanceFactory_newInstances_Params_TypeID = 0xd9fa9ece71d1db50
InstanceFactory_newInstances_Params_TypeID is the unique identifier for the type InstanceFactory_newInstances_Params.
const InstanceFactory_newInstances_Results_TypeID = 0xaf9a1cb72ba68156
InstanceFactory_newInstances_Results_TypeID is the unique identifier for the type InstanceFactory_newInstances_Results.
const Stat_TypeID = 0xa6be2e805ea10a68
Stat_TypeID is the unique identifier for the type Stat.
const Stat_Type_TypeID = 0xbd33bb6d8cbd9ed2
Stat_Type_TypeID is the unique identifier for the type Stat_Type.
const XYPlusResult_TypeID = 0x8f86b66260d02d1d
XYPlusResult_TypeID is the unique identifier for the type XYPlusResult.
const XYResult_TypeID = 0x851d47c6ccdecf08
XYResult_TypeID is the unique identifier for the type XYResult.
Variables ¶
This section is empty.
Functions ¶
func ClimateInstance_Methods ¶
func ClimateInstance_Methods(methods []server.Method, s ClimateInstance_Server) []server.Method
ClimateInstance_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func ClimateInstance_NewServer ¶
func ClimateInstance_NewServer(s ClimateInstance_Server) *server.Server
ClimateInstance_NewServer creates a new Server from an implementation of ClimateInstance_Server.
func EnvInstanceProxy_Methods ¶
func EnvInstanceProxy_Methods(methods []server.Method, s EnvInstanceProxy_Server) []server.Method
EnvInstanceProxy_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func EnvInstanceProxy_NewServer ¶
func EnvInstanceProxy_NewServer(s EnvInstanceProxy_Server) *server.Server
EnvInstanceProxy_NewServer creates a new Server from an implementation of EnvInstanceProxy_Server.
func EnvInstanceProxy_Unregister_Methods ¶
func EnvInstanceProxy_Unregister_Methods(methods []server.Method, s EnvInstanceProxy_Unregister_Server) []server.Method
EnvInstanceProxy_Unregister_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func EnvInstanceProxy_Unregister_NewServer ¶
func EnvInstanceProxy_Unregister_NewServer(s EnvInstanceProxy_Unregister_Server) *server.Server
EnvInstanceProxy_Unregister_NewServer creates a new Server from an implementation of EnvInstanceProxy_Unregister_Server.
func EnvInstance_Methods ¶
func EnvInstance_Methods(methods []server.Method, s EnvInstance_Server) []server.Method
EnvInstance_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func EnvInstance_NewServer ¶
func EnvInstance_NewServer(s EnvInstance_Server) *server.Server
EnvInstance_NewServer creates a new Server from an implementation of EnvInstance_Server.
func InstanceFactory_Methods ¶
func InstanceFactory_Methods(methods []server.Method, s InstanceFactory_Server) []server.Method
InstanceFactory_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func InstanceFactory_NewServer ¶
func InstanceFactory_NewServer(s InstanceFactory_Server) *server.Server
InstanceFactory_NewServer creates a new Server from an implementation of InstanceFactory_Server.
func RegisterSchema ¶
Types ¶
type ClimateInstance ¶
func ClimateInstance_ServerToClient ¶
func ClimateInstance_ServerToClient(s ClimateInstance_Server) ClimateInstance
ClimateInstance_ServerToClient creates a new Client from an implementation of ClimateInstance_Server. The caller is responsible for calling Release on the returned Client.
func (ClimateInstance) AddRef ¶
func (c ClimateInstance) AddRef() ClimateInstance
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 (ClimateInstance) DecodeFromPtr ¶
func (ClimateInstance) DecodeFromPtr(p capnp.Ptr) ClimateInstance
func (ClimateInstance) EncodeAsPtr ¶
func (c ClimateInstance) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ClimateInstance) GetFlowLimiter ¶
func (c ClimateInstance) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (ClimateInstance) Info ¶
func (c ClimateInstance) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (ClimateInstance) IsSame ¶
func (c ClimateInstance) IsSame(other ClimateInstance) 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 (ClimateInstance) IsValid ¶
func (c ClimateInstance) 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 (ClimateInstance) Release ¶
func (c ClimateInstance) 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 (ClimateInstance) Resolve ¶
func (c ClimateInstance) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (ClimateInstance) Run ¶
func (c ClimateInstance) Run(ctx context.Context, params func(ClimateInstance_run_Params) error) (ClimateInstance_run_Results_Future, capnp.ReleaseFunc)
func (ClimateInstance) RunSet ¶
func (c ClimateInstance) RunSet(ctx context.Context, params func(ClimateInstance_runSet_Params) error) (ClimateInstance_runSet_Results_Future, capnp.ReleaseFunc)
func (ClimateInstance) SetFlowLimiter ¶
func (c ClimateInstance) 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 (ClimateInstance) String ¶
func (c ClimateInstance) 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 (ClimateInstance) WaitStreaming ¶
func (c ClimateInstance) WaitStreaming() error
type ClimateInstance_List ¶
type ClimateInstance_List = capnp.CapList[ClimateInstance]
ClimateInstance_List is a list of ClimateInstance.
func NewClimateInstance_List ¶
func NewClimateInstance_List(s *capnp.Segment, sz int32) (ClimateInstance_List, error)
NewClimateInstance creates a new list of ClimateInstance.
type ClimateInstance_Server ¶
type ClimateInstance_Server interface { Run(context.Context, ClimateInstance_run) error RunSet(context.Context, ClimateInstance_runSet) error Info(context.Context, common.Identifiable_info) error }
A ClimateInstance_Server is a ClimateInstance with a local implementation.
type ClimateInstance_run ¶
ClimateInstance_run holds the state for a server call to ClimateInstance.run. See server.Call for documentation.
func (ClimateInstance_run) AllocResults ¶
func (c ClimateInstance_run) AllocResults() (ClimateInstance_run_Results, error)
AllocResults allocates the results struct.
func (ClimateInstance_run) Args ¶
func (c ClimateInstance_run) Args() ClimateInstance_run_Params
Args returns the call's arguments.
type ClimateInstance_runSet ¶
ClimateInstance_runSet holds the state for a server call to ClimateInstance.runSet. See server.Call for documentation.
func (ClimateInstance_runSet) AllocResults ¶
func (c ClimateInstance_runSet) AllocResults() (ClimateInstance_runSet_Results, error)
AllocResults allocates the results struct.
func (ClimateInstance_runSet) Args ¶
func (c ClimateInstance_runSet) Args() ClimateInstance_runSet_Params
Args returns the call's arguments.
type ClimateInstance_runSet_Params ¶
func NewClimateInstance_runSet_Params ¶
func NewClimateInstance_runSet_Params(s *capnp.Segment) (ClimateInstance_runSet_Params, error)
func NewRootClimateInstance_runSet_Params ¶
func NewRootClimateInstance_runSet_Params(s *capnp.Segment) (ClimateInstance_runSet_Params, error)
func ReadRootClimateInstance_runSet_Params ¶
func ReadRootClimateInstance_runSet_Params(msg *capnp.Message) (ClimateInstance_runSet_Params, error)
func (ClimateInstance_runSet_Params) Dataset ¶
func (s ClimateInstance_runSet_Params) Dataset() (climate.TimeSeries_List, error)
func (ClimateInstance_runSet_Params) DecodeFromPtr ¶
func (ClimateInstance_runSet_Params) DecodeFromPtr(p capnp.Ptr) ClimateInstance_runSet_Params
func (ClimateInstance_runSet_Params) EncodeAsPtr ¶
func (s ClimateInstance_runSet_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ClimateInstance_runSet_Params) HasDataset ¶
func (s ClimateInstance_runSet_Params) HasDataset() bool
func (ClimateInstance_runSet_Params) IsValid ¶
func (s ClimateInstance_runSet_Params) IsValid() bool
func (ClimateInstance_runSet_Params) Message ¶
func (s ClimateInstance_runSet_Params) Message() *capnp.Message
func (ClimateInstance_runSet_Params) NewDataset ¶
func (s ClimateInstance_runSet_Params) NewDataset(n int32) (climate.TimeSeries_List, error)
NewDataset sets the dataset field to a newly allocated climate.TimeSeries_List, preferring placement in s's segment.
func (ClimateInstance_runSet_Params) Segment ¶
func (s ClimateInstance_runSet_Params) Segment() *capnp.Segment
func (ClimateInstance_runSet_Params) SetDataset ¶
func (s ClimateInstance_runSet_Params) SetDataset(v climate.TimeSeries_List) error
func (ClimateInstance_runSet_Params) String ¶
func (s ClimateInstance_runSet_Params) String() string
func (ClimateInstance_runSet_Params) ToPtr ¶
func (s ClimateInstance_runSet_Params) ToPtr() capnp.Ptr
type ClimateInstance_runSet_Params_Future ¶
ClimateInstance_runSet_Params_Future is a wrapper for a ClimateInstance_runSet_Params promised by a client call.
func (ClimateInstance_runSet_Params_Future) Struct ¶
func (f ClimateInstance_runSet_Params_Future) Struct() (ClimateInstance_runSet_Params, error)
type ClimateInstance_runSet_Params_List ¶
type ClimateInstance_runSet_Params_List = capnp.StructList[ClimateInstance_runSet_Params]
ClimateInstance_runSet_Params_List is a list of ClimateInstance_runSet_Params.
func NewClimateInstance_runSet_Params_List ¶
func NewClimateInstance_runSet_Params_List(s *capnp.Segment, sz int32) (ClimateInstance_runSet_Params_List, error)
NewClimateInstance_runSet_Params creates a new list of ClimateInstance_runSet_Params.
type ClimateInstance_runSet_Results ¶
func NewClimateInstance_runSet_Results ¶
func NewClimateInstance_runSet_Results(s *capnp.Segment) (ClimateInstance_runSet_Results, error)
func NewRootClimateInstance_runSet_Results ¶
func NewRootClimateInstance_runSet_Results(s *capnp.Segment) (ClimateInstance_runSet_Results, error)
func ReadRootClimateInstance_runSet_Results ¶
func ReadRootClimateInstance_runSet_Results(msg *capnp.Message) (ClimateInstance_runSet_Results, error)
func (ClimateInstance_runSet_Results) DecodeFromPtr ¶
func (ClimateInstance_runSet_Results) DecodeFromPtr(p capnp.Ptr) ClimateInstance_runSet_Results
func (ClimateInstance_runSet_Results) EncodeAsPtr ¶
func (s ClimateInstance_runSet_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ClimateInstance_runSet_Results) HasResult ¶
func (s ClimateInstance_runSet_Results) HasResult() bool
func (ClimateInstance_runSet_Results) IsValid ¶
func (s ClimateInstance_runSet_Results) IsValid() bool
func (ClimateInstance_runSet_Results) Message ¶
func (s ClimateInstance_runSet_Results) Message() *capnp.Message
func (ClimateInstance_runSet_Results) NewResult ¶
func (s ClimateInstance_runSet_Results) NewResult() (XYPlusResult, error)
NewResult sets the result field to a newly allocated XYPlusResult struct, preferring placement in s's segment.
func (ClimateInstance_runSet_Results) Result ¶
func (s ClimateInstance_runSet_Results) Result() (XYPlusResult, error)
func (ClimateInstance_runSet_Results) Segment ¶
func (s ClimateInstance_runSet_Results) Segment() *capnp.Segment
func (ClimateInstance_runSet_Results) SetResult ¶
func (s ClimateInstance_runSet_Results) SetResult(v XYPlusResult) error
func (ClimateInstance_runSet_Results) String ¶
func (s ClimateInstance_runSet_Results) String() string
func (ClimateInstance_runSet_Results) ToPtr ¶
func (s ClimateInstance_runSet_Results) ToPtr() capnp.Ptr
type ClimateInstance_runSet_Results_Future ¶
ClimateInstance_runSet_Results_Future is a wrapper for a ClimateInstance_runSet_Results promised by a client call.
func (ClimateInstance_runSet_Results_Future) Result ¶
func (p ClimateInstance_runSet_Results_Future) Result() XYPlusResult_Future
func (ClimateInstance_runSet_Results_Future) Struct ¶
func (f ClimateInstance_runSet_Results_Future) Struct() (ClimateInstance_runSet_Results, error)
type ClimateInstance_runSet_Results_List ¶
type ClimateInstance_runSet_Results_List = capnp.StructList[ClimateInstance_runSet_Results]
ClimateInstance_runSet_Results_List is a list of ClimateInstance_runSet_Results.
func NewClimateInstance_runSet_Results_List ¶
func NewClimateInstance_runSet_Results_List(s *capnp.Segment, sz int32) (ClimateInstance_runSet_Results_List, error)
NewClimateInstance_runSet_Results creates a new list of ClimateInstance_runSet_Results.
type ClimateInstance_run_Params ¶
func NewClimateInstance_run_Params ¶
func NewClimateInstance_run_Params(s *capnp.Segment) (ClimateInstance_run_Params, error)
func NewRootClimateInstance_run_Params ¶
func NewRootClimateInstance_run_Params(s *capnp.Segment) (ClimateInstance_run_Params, error)
func ReadRootClimateInstance_run_Params ¶
func ReadRootClimateInstance_run_Params(msg *capnp.Message) (ClimateInstance_run_Params, error)
func (ClimateInstance_run_Params) DecodeFromPtr ¶
func (ClimateInstance_run_Params) DecodeFromPtr(p capnp.Ptr) ClimateInstance_run_Params
func (ClimateInstance_run_Params) EncodeAsPtr ¶
func (s ClimateInstance_run_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ClimateInstance_run_Params) HasTimeSeries ¶
func (s ClimateInstance_run_Params) HasTimeSeries() bool
func (ClimateInstance_run_Params) IsValid ¶
func (s ClimateInstance_run_Params) IsValid() bool
func (ClimateInstance_run_Params) Message ¶
func (s ClimateInstance_run_Params) Message() *capnp.Message
func (ClimateInstance_run_Params) Segment ¶
func (s ClimateInstance_run_Params) Segment() *capnp.Segment
func (ClimateInstance_run_Params) SetTimeSeries ¶
func (s ClimateInstance_run_Params) SetTimeSeries(v climate.TimeSeries) error
func (ClimateInstance_run_Params) String ¶
func (s ClimateInstance_run_Params) String() string
func (ClimateInstance_run_Params) TimeSeries ¶
func (s ClimateInstance_run_Params) TimeSeries() climate.TimeSeries
func (ClimateInstance_run_Params) ToPtr ¶
func (s ClimateInstance_run_Params) ToPtr() capnp.Ptr
type ClimateInstance_run_Params_Future ¶
ClimateInstance_run_Params_Future is a wrapper for a ClimateInstance_run_Params promised by a client call.
func (ClimateInstance_run_Params_Future) Struct ¶
func (f ClimateInstance_run_Params_Future) Struct() (ClimateInstance_run_Params, error)
func (ClimateInstance_run_Params_Future) TimeSeries ¶
func (p ClimateInstance_run_Params_Future) TimeSeries() climate.TimeSeries
type ClimateInstance_run_Params_List ¶
type ClimateInstance_run_Params_List = capnp.StructList[ClimateInstance_run_Params]
ClimateInstance_run_Params_List is a list of ClimateInstance_run_Params.
func NewClimateInstance_run_Params_List ¶
func NewClimateInstance_run_Params_List(s *capnp.Segment, sz int32) (ClimateInstance_run_Params_List, error)
NewClimateInstance_run_Params creates a new list of ClimateInstance_run_Params.
type ClimateInstance_run_Results ¶
func NewClimateInstance_run_Results ¶
func NewClimateInstance_run_Results(s *capnp.Segment) (ClimateInstance_run_Results, error)
func NewRootClimateInstance_run_Results ¶
func NewRootClimateInstance_run_Results(s *capnp.Segment) (ClimateInstance_run_Results, error)
func ReadRootClimateInstance_run_Results ¶
func ReadRootClimateInstance_run_Results(msg *capnp.Message) (ClimateInstance_run_Results, error)
func (ClimateInstance_run_Results) DecodeFromPtr ¶
func (ClimateInstance_run_Results) DecodeFromPtr(p capnp.Ptr) ClimateInstance_run_Results
func (ClimateInstance_run_Results) EncodeAsPtr ¶
func (s ClimateInstance_run_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (ClimateInstance_run_Results) HasResult ¶
func (s ClimateInstance_run_Results) HasResult() bool
func (ClimateInstance_run_Results) IsValid ¶
func (s ClimateInstance_run_Results) IsValid() bool
func (ClimateInstance_run_Results) Message ¶
func (s ClimateInstance_run_Results) Message() *capnp.Message
func (ClimateInstance_run_Results) NewResult ¶
func (s ClimateInstance_run_Results) NewResult() (XYResult, error)
NewResult sets the result field to a newly allocated XYResult struct, preferring placement in s's segment.
func (ClimateInstance_run_Results) Result ¶
func (s ClimateInstance_run_Results) Result() (XYResult, error)
func (ClimateInstance_run_Results) Segment ¶
func (s ClimateInstance_run_Results) Segment() *capnp.Segment
func (ClimateInstance_run_Results) SetResult ¶
func (s ClimateInstance_run_Results) SetResult(v XYResult) error
func (ClimateInstance_run_Results) String ¶
func (s ClimateInstance_run_Results) String() string
func (ClimateInstance_run_Results) ToPtr ¶
func (s ClimateInstance_run_Results) ToPtr() capnp.Ptr
type ClimateInstance_run_Results_Future ¶
ClimateInstance_run_Results_Future is a wrapper for a ClimateInstance_run_Results promised by a client call.
func (ClimateInstance_run_Results_Future) Result ¶
func (p ClimateInstance_run_Results_Future) Result() XYResult_Future
func (ClimateInstance_run_Results_Future) Struct ¶
func (f ClimateInstance_run_Results_Future) Struct() (ClimateInstance_run_Results, error)
type ClimateInstance_run_Results_List ¶
type ClimateInstance_run_Results_List = capnp.StructList[ClimateInstance_run_Results]
ClimateInstance_run_Results_List is a list of ClimateInstance_run_Results.
func NewClimateInstance_run_Results_List ¶
func NewClimateInstance_run_Results_List(s *capnp.Segment, sz int32) (ClimateInstance_run_Results_List, error)
NewClimateInstance_run_Results creates a new list of ClimateInstance_run_Results.
type Env ¶
func (Env) HasMgmtEvents ¶
func (Env) HasSoilProfile ¶
func (Env) HasTimeSeries ¶
func (Env) MgmtEvents ¶
func (s Env) MgmtEvents() (management.Event_List, error)
func (Env) NewMgmtEvents ¶
func (s Env) NewMgmtEvents(n int32) (management.Event_List, error)
NewMgmtEvents sets the mgmtEvents field to a newly allocated management.Event_List, preferring placement in s's segment.
func (Env) SetMgmtEvents ¶
func (s Env) SetMgmtEvents(v management.Event_List) error
func (Env) SetTimeSeries ¶
func (s Env) SetTimeSeries(v climate.TimeSeries) error
func (Env) SoilProfile ¶
func (Env) TimeSeries ¶
func (s Env) TimeSeries() climate.TimeSeries
type EnvInstance ¶
func EnvInstance_ServerToClient ¶
func EnvInstance_ServerToClient(s EnvInstance_Server) EnvInstance
EnvInstance_ServerToClient creates a new Client from an implementation of EnvInstance_Server. The caller is responsible for calling Release on the returned Client.
func (EnvInstance) AddRef ¶
func (c EnvInstance) AddRef() EnvInstance
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 (EnvInstance) DecodeFromPtr ¶
func (EnvInstance) DecodeFromPtr(p capnp.Ptr) EnvInstance
func (EnvInstance) EncodeAsPtr ¶
func (c EnvInstance) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstance) GetFlowLimiter ¶
func (c EnvInstance) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (EnvInstance) Info ¶
func (c EnvInstance) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (EnvInstance) IsSame ¶
func (c EnvInstance) IsSame(other EnvInstance) 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 (EnvInstance) IsValid ¶
func (c EnvInstance) 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 (EnvInstance) Release ¶
func (c EnvInstance) 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 (EnvInstance) Resolve ¶
func (c EnvInstance) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (EnvInstance) Run ¶
func (c EnvInstance) Run(ctx context.Context, params func(EnvInstance_run_Params) error) (EnvInstance_run_Results_Future, capnp.ReleaseFunc)
func (EnvInstance) Save ¶
func (c EnvInstance) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
func (EnvInstance) SetFlowLimiter ¶
func (c EnvInstance) 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 (EnvInstance) Stop ¶
func (c EnvInstance) Stop(ctx context.Context, params func(service.Stopable_stop_Params) error) (service.Stopable_stop_Results_Future, capnp.ReleaseFunc)
func (EnvInstance) String ¶
func (c EnvInstance) 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 (EnvInstance) WaitStreaming ¶
func (c EnvInstance) WaitStreaming() error
type EnvInstanceProxy ¶
func EnvInstanceProxy_ServerToClient ¶
func EnvInstanceProxy_ServerToClient(s EnvInstanceProxy_Server) EnvInstanceProxy
EnvInstanceProxy_ServerToClient creates a new Client from an implementation of EnvInstanceProxy_Server. The caller is responsible for calling Release on the returned Client.
func (EnvInstanceProxy) AddRef ¶
func (c EnvInstanceProxy) AddRef() EnvInstanceProxy
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 (EnvInstanceProxy) DecodeFromPtr ¶
func (EnvInstanceProxy) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy
func (EnvInstanceProxy) EncodeAsPtr ¶
func (c EnvInstanceProxy) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstanceProxy) GetFlowLimiter ¶
func (c EnvInstanceProxy) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (EnvInstanceProxy) Info ¶
func (c EnvInstanceProxy) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy) IsSame ¶
func (c EnvInstanceProxy) IsSame(other EnvInstanceProxy) 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 (EnvInstanceProxy) IsValid ¶
func (c EnvInstanceProxy) 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 (EnvInstanceProxy) RegisterEnvInstance ¶
func (c EnvInstanceProxy) RegisterEnvInstance(ctx context.Context, params func(EnvInstanceProxy_registerEnvInstance_Params) error) (EnvInstanceProxy_registerEnvInstance_Results_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy) Release ¶
func (c EnvInstanceProxy) 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 (EnvInstanceProxy) Resolve ¶
func (c EnvInstanceProxy) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (EnvInstanceProxy) Run ¶
func (c EnvInstanceProxy) Run(ctx context.Context, params func(EnvInstance_run_Params) error) (EnvInstance_run_Results_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy) Save ¶
func (c EnvInstanceProxy) Save(ctx context.Context, params func(persistence.Persistent_SaveParams) error) (persistence.Persistent_SaveResults_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy) SetFlowLimiter ¶
func (c EnvInstanceProxy) 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 (EnvInstanceProxy) Stop ¶
func (c EnvInstanceProxy) Stop(ctx context.Context, params func(service.Stopable_stop_Params) error) (service.Stopable_stop_Results_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy) String ¶
func (c EnvInstanceProxy) 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 (EnvInstanceProxy) WaitStreaming ¶
func (c EnvInstanceProxy) WaitStreaming() error
type EnvInstanceProxy_List ¶
type EnvInstanceProxy_List = capnp.CapList[EnvInstanceProxy]
EnvInstanceProxy_List is a list of EnvInstanceProxy.
func NewEnvInstanceProxy_List ¶
func NewEnvInstanceProxy_List(s *capnp.Segment, sz int32) (EnvInstanceProxy_List, error)
NewEnvInstanceProxy creates a new list of EnvInstanceProxy.
type EnvInstanceProxy_Server ¶
type EnvInstanceProxy_Server interface { RegisterEnvInstance(context.Context, EnvInstanceProxy_registerEnvInstance) error Run(context.Context, EnvInstance_run) error Info(context.Context, common.Identifiable_info) error Save(context.Context, persistence.Persistent_save) error Stop(context.Context, service.Stopable_stop) error }
A EnvInstanceProxy_Server is a EnvInstanceProxy with a local implementation.
type EnvInstanceProxy_Unregister ¶
func EnvInstanceProxy_Unregister_ServerToClient ¶
func EnvInstanceProxy_Unregister_ServerToClient(s EnvInstanceProxy_Unregister_Server) EnvInstanceProxy_Unregister
EnvInstanceProxy_Unregister_ServerToClient creates a new Client from an implementation of EnvInstanceProxy_Unregister_Server. The caller is responsible for calling Release on the returned Client.
func (EnvInstanceProxy_Unregister) AddRef ¶
func (c EnvInstanceProxy_Unregister) AddRef() EnvInstanceProxy_Unregister
AddRef creates a new Client that refers to the same capability as c. If c is nil or has resolved to null, then AddRef returns nil.
func (EnvInstanceProxy_Unregister) DecodeFromPtr ¶
func (EnvInstanceProxy_Unregister) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_Unregister
func (EnvInstanceProxy_Unregister) EncodeAsPtr ¶
func (c EnvInstanceProxy_Unregister) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstanceProxy_Unregister) GetFlowLimiter ¶
func (c EnvInstanceProxy_Unregister) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (EnvInstanceProxy_Unregister) IsSame ¶
func (c EnvInstanceProxy_Unregister) IsSame(other EnvInstanceProxy_Unregister) bool
IsSame reports whether c and other refer to a capability created by the same call to NewClient. This can return false negatives if c or other are not fully resolved: use Resolve if this is an issue. If either c or other are released, then IsSame panics.
func (EnvInstanceProxy_Unregister) IsValid ¶
func (c EnvInstanceProxy_Unregister) IsValid() bool
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (EnvInstanceProxy_Unregister) Release ¶
func (c EnvInstanceProxy_Unregister) Release()
Release releases a capability reference. If this is the last reference to the capability, then the underlying resources associated with the capability will be released.
Release will panic if c has already been released, but not if c is nil or resolved to null.
func (EnvInstanceProxy_Unregister) Resolve ¶
func (c EnvInstanceProxy_Unregister) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (EnvInstanceProxy_Unregister) SetFlowLimiter ¶
func (c EnvInstanceProxy_Unregister) SetFlowLimiter(lim fc.FlowLimiter)
Update the flowcontrol.FlowLimiter used to manage flow control for this client. This affects all future calls, but not calls already waiting to send. Passing nil sets the value to flowcontrol.NopLimiter, which is also the default.
func (EnvInstanceProxy_Unregister) String ¶
func (c EnvInstanceProxy_Unregister) String() string
String returns a string that identifies this capability for debugging purposes. Its format should not be depended on: in particular, it should not be used to compare clients. Use IsSame to compare clients for equality.
func (EnvInstanceProxy_Unregister) Unregister ¶
func (c EnvInstanceProxy_Unregister) Unregister(ctx context.Context, params func(EnvInstanceProxy_Unregister_unregister_Params) error) (EnvInstanceProxy_Unregister_unregister_Results_Future, capnp.ReleaseFunc)
func (EnvInstanceProxy_Unregister) WaitStreaming ¶
func (c EnvInstanceProxy_Unregister) WaitStreaming() error
type EnvInstanceProxy_Unregister_List ¶
type EnvInstanceProxy_Unregister_List = capnp.CapList[EnvInstanceProxy_Unregister]
EnvInstanceProxy_Unregister_List is a list of EnvInstanceProxy_Unregister.
func NewEnvInstanceProxy_Unregister_List ¶
func NewEnvInstanceProxy_Unregister_List(s *capnp.Segment, sz int32) (EnvInstanceProxy_Unregister_List, error)
NewEnvInstanceProxy_Unregister creates a new list of EnvInstanceProxy_Unregister.
type EnvInstanceProxy_Unregister_Server ¶
type EnvInstanceProxy_Unregister_Server interface {
Unregister(context.Context, EnvInstanceProxy_Unregister_unregister) error
}
A EnvInstanceProxy_Unregister_Server is a EnvInstanceProxy_Unregister with a local implementation.
type EnvInstanceProxy_Unregister_unregister ¶
EnvInstanceProxy_Unregister_unregister holds the state for a server call to EnvInstanceProxy_Unregister.unregister. See server.Call for documentation.
func (EnvInstanceProxy_Unregister_unregister) AllocResults ¶
func (c EnvInstanceProxy_Unregister_unregister) AllocResults() (EnvInstanceProxy_Unregister_unregister_Results, error)
AllocResults allocates the results struct.
func (EnvInstanceProxy_Unregister_unregister) Args ¶
func (c EnvInstanceProxy_Unregister_unregister) Args() EnvInstanceProxy_Unregister_unregister_Params
Args returns the call's arguments.
type EnvInstanceProxy_Unregister_unregister_Params ¶
func NewEnvInstanceProxy_Unregister_unregister_Params ¶
func NewEnvInstanceProxy_Unregister_unregister_Params(s *capnp.Segment) (EnvInstanceProxy_Unregister_unregister_Params, error)
func NewRootEnvInstanceProxy_Unregister_unregister_Params ¶
func NewRootEnvInstanceProxy_Unregister_unregister_Params(s *capnp.Segment) (EnvInstanceProxy_Unregister_unregister_Params, error)
func ReadRootEnvInstanceProxy_Unregister_unregister_Params ¶
func ReadRootEnvInstanceProxy_Unregister_unregister_Params(msg *capnp.Message) (EnvInstanceProxy_Unregister_unregister_Params, error)
func (EnvInstanceProxy_Unregister_unregister_Params) DecodeFromPtr ¶
func (EnvInstanceProxy_Unregister_unregister_Params) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_Unregister_unregister_Params
func (EnvInstanceProxy_Unregister_unregister_Params) EncodeAsPtr ¶
func (s EnvInstanceProxy_Unregister_unregister_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstanceProxy_Unregister_unregister_Params) IsValid ¶
func (s EnvInstanceProxy_Unregister_unregister_Params) IsValid() bool
func (EnvInstanceProxy_Unregister_unregister_Params) Message ¶
func (s EnvInstanceProxy_Unregister_unregister_Params) Message() *capnp.Message
func (EnvInstanceProxy_Unregister_unregister_Params) Segment ¶
func (s EnvInstanceProxy_Unregister_unregister_Params) Segment() *capnp.Segment
func (EnvInstanceProxy_Unregister_unregister_Params) String ¶
func (s EnvInstanceProxy_Unregister_unregister_Params) String() string
func (EnvInstanceProxy_Unregister_unregister_Params) ToPtr ¶
func (s EnvInstanceProxy_Unregister_unregister_Params) ToPtr() capnp.Ptr
type EnvInstanceProxy_Unregister_unregister_Params_Future ¶
EnvInstanceProxy_Unregister_unregister_Params_Future is a wrapper for a EnvInstanceProxy_Unregister_unregister_Params promised by a client call.
type EnvInstanceProxy_Unregister_unregister_Params_List ¶
type EnvInstanceProxy_Unregister_unregister_Params_List = capnp.StructList[EnvInstanceProxy_Unregister_unregister_Params]
EnvInstanceProxy_Unregister_unregister_Params_List is a list of EnvInstanceProxy_Unregister_unregister_Params.
func NewEnvInstanceProxy_Unregister_unregister_Params_List ¶
func NewEnvInstanceProxy_Unregister_unregister_Params_List(s *capnp.Segment, sz int32) (EnvInstanceProxy_Unregister_unregister_Params_List, error)
NewEnvInstanceProxy_Unregister_unregister_Params creates a new list of EnvInstanceProxy_Unregister_unregister_Params.
type EnvInstanceProxy_Unregister_unregister_Results ¶
func NewEnvInstanceProxy_Unregister_unregister_Results ¶
func NewEnvInstanceProxy_Unregister_unregister_Results(s *capnp.Segment) (EnvInstanceProxy_Unregister_unregister_Results, error)
func NewRootEnvInstanceProxy_Unregister_unregister_Results ¶
func NewRootEnvInstanceProxy_Unregister_unregister_Results(s *capnp.Segment) (EnvInstanceProxy_Unregister_unregister_Results, error)
func ReadRootEnvInstanceProxy_Unregister_unregister_Results ¶
func ReadRootEnvInstanceProxy_Unregister_unregister_Results(msg *capnp.Message) (EnvInstanceProxy_Unregister_unregister_Results, error)
func (EnvInstanceProxy_Unregister_unregister_Results) DecodeFromPtr ¶
func (EnvInstanceProxy_Unregister_unregister_Results) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_Unregister_unregister_Results
func (EnvInstanceProxy_Unregister_unregister_Results) EncodeAsPtr ¶
func (s EnvInstanceProxy_Unregister_unregister_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstanceProxy_Unregister_unregister_Results) IsValid ¶
func (s EnvInstanceProxy_Unregister_unregister_Results) IsValid() bool
func (EnvInstanceProxy_Unregister_unregister_Results) Message ¶
func (s EnvInstanceProxy_Unregister_unregister_Results) Message() *capnp.Message
func (EnvInstanceProxy_Unregister_unregister_Results) Segment ¶
func (s EnvInstanceProxy_Unregister_unregister_Results) Segment() *capnp.Segment
func (EnvInstanceProxy_Unregister_unregister_Results) SetSuccess ¶
func (s EnvInstanceProxy_Unregister_unregister_Results) SetSuccess(v bool)
func (EnvInstanceProxy_Unregister_unregister_Results) String ¶
func (s EnvInstanceProxy_Unregister_unregister_Results) String() string
func (EnvInstanceProxy_Unregister_unregister_Results) Success ¶
func (s EnvInstanceProxy_Unregister_unregister_Results) Success() bool
func (EnvInstanceProxy_Unregister_unregister_Results) ToPtr ¶
func (s EnvInstanceProxy_Unregister_unregister_Results) ToPtr() capnp.Ptr
type EnvInstanceProxy_Unregister_unregister_Results_Future ¶
EnvInstanceProxy_Unregister_unregister_Results_Future is a wrapper for a EnvInstanceProxy_Unregister_unregister_Results promised by a client call.
type EnvInstanceProxy_Unregister_unregister_Results_List ¶
type EnvInstanceProxy_Unregister_unregister_Results_List = capnp.StructList[EnvInstanceProxy_Unregister_unregister_Results]
EnvInstanceProxy_Unregister_unregister_Results_List is a list of EnvInstanceProxy_Unregister_unregister_Results.
func NewEnvInstanceProxy_Unregister_unregister_Results_List ¶
func NewEnvInstanceProxy_Unregister_unregister_Results_List(s *capnp.Segment, sz int32) (EnvInstanceProxy_Unregister_unregister_Results_List, error)
NewEnvInstanceProxy_Unregister_unregister_Results creates a new list of EnvInstanceProxy_Unregister_unregister_Results.
type EnvInstanceProxy_registerEnvInstance ¶
EnvInstanceProxy_registerEnvInstance holds the state for a server call to EnvInstanceProxy.registerEnvInstance. See server.Call for documentation.
func (EnvInstanceProxy_registerEnvInstance) AllocResults ¶
func (c EnvInstanceProxy_registerEnvInstance) AllocResults() (EnvInstanceProxy_registerEnvInstance_Results, error)
AllocResults allocates the results struct.
type EnvInstanceProxy_registerEnvInstance_Params ¶
func NewEnvInstanceProxy_registerEnvInstance_Params ¶
func NewEnvInstanceProxy_registerEnvInstance_Params(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Params, error)
func NewRootEnvInstanceProxy_registerEnvInstance_Params ¶
func NewRootEnvInstanceProxy_registerEnvInstance_Params(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Params, error)
func ReadRootEnvInstanceProxy_registerEnvInstance_Params ¶
func ReadRootEnvInstanceProxy_registerEnvInstance_Params(msg *capnp.Message) (EnvInstanceProxy_registerEnvInstance_Params, error)
func (EnvInstanceProxy_registerEnvInstance_Params) DecodeFromPtr ¶
func (EnvInstanceProxy_registerEnvInstance_Params) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_registerEnvInstance_Params
func (EnvInstanceProxy_registerEnvInstance_Params) EncodeAsPtr ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstanceProxy_registerEnvInstance_Params) HasInstance ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) HasInstance() bool
func (EnvInstanceProxy_registerEnvInstance_Params) Instance ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) Instance() EnvInstance
func (EnvInstanceProxy_registerEnvInstance_Params) IsValid ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) IsValid() bool
func (EnvInstanceProxy_registerEnvInstance_Params) Message ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) Message() *capnp.Message
func (EnvInstanceProxy_registerEnvInstance_Params) Segment ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) Segment() *capnp.Segment
func (EnvInstanceProxy_registerEnvInstance_Params) SetInstance ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) SetInstance(v EnvInstance) error
func (EnvInstanceProxy_registerEnvInstance_Params) String ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) String() string
func (EnvInstanceProxy_registerEnvInstance_Params) ToPtr ¶
func (s EnvInstanceProxy_registerEnvInstance_Params) ToPtr() capnp.Ptr
type EnvInstanceProxy_registerEnvInstance_Params_Future ¶
EnvInstanceProxy_registerEnvInstance_Params_Future is a wrapper for a EnvInstanceProxy_registerEnvInstance_Params promised by a client call.
func (EnvInstanceProxy_registerEnvInstance_Params_Future) Instance ¶
func (p EnvInstanceProxy_registerEnvInstance_Params_Future) Instance() EnvInstance
type EnvInstanceProxy_registerEnvInstance_Params_List ¶
type EnvInstanceProxy_registerEnvInstance_Params_List = capnp.StructList[EnvInstanceProxy_registerEnvInstance_Params]
EnvInstanceProxy_registerEnvInstance_Params_List is a list of EnvInstanceProxy_registerEnvInstance_Params.
func NewEnvInstanceProxy_registerEnvInstance_Params_List ¶
func NewEnvInstanceProxy_registerEnvInstance_Params_List(s *capnp.Segment, sz int32) (EnvInstanceProxy_registerEnvInstance_Params_List, error)
NewEnvInstanceProxy_registerEnvInstance_Params creates a new list of EnvInstanceProxy_registerEnvInstance_Params.
type EnvInstanceProxy_registerEnvInstance_Results ¶
func NewEnvInstanceProxy_registerEnvInstance_Results ¶
func NewEnvInstanceProxy_registerEnvInstance_Results(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Results, error)
func NewRootEnvInstanceProxy_registerEnvInstance_Results ¶
func NewRootEnvInstanceProxy_registerEnvInstance_Results(s *capnp.Segment) (EnvInstanceProxy_registerEnvInstance_Results, error)
func ReadRootEnvInstanceProxy_registerEnvInstance_Results ¶
func ReadRootEnvInstanceProxy_registerEnvInstance_Results(msg *capnp.Message) (EnvInstanceProxy_registerEnvInstance_Results, error)
func (EnvInstanceProxy_registerEnvInstance_Results) DecodeFromPtr ¶
func (EnvInstanceProxy_registerEnvInstance_Results) DecodeFromPtr(p capnp.Ptr) EnvInstanceProxy_registerEnvInstance_Results
func (EnvInstanceProxy_registerEnvInstance_Results) EncodeAsPtr ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstanceProxy_registerEnvInstance_Results) HasUnregister ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) HasUnregister() bool
func (EnvInstanceProxy_registerEnvInstance_Results) IsValid ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) IsValid() bool
func (EnvInstanceProxy_registerEnvInstance_Results) Message ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) Message() *capnp.Message
func (EnvInstanceProxy_registerEnvInstance_Results) Segment ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) Segment() *capnp.Segment
func (EnvInstanceProxy_registerEnvInstance_Results) SetUnregister ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) SetUnregister(v EnvInstanceProxy_Unregister) error
func (EnvInstanceProxy_registerEnvInstance_Results) String ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) String() string
func (EnvInstanceProxy_registerEnvInstance_Results) ToPtr ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) ToPtr() capnp.Ptr
func (EnvInstanceProxy_registerEnvInstance_Results) Unregister ¶
func (s EnvInstanceProxy_registerEnvInstance_Results) Unregister() EnvInstanceProxy_Unregister
type EnvInstanceProxy_registerEnvInstance_Results_Future ¶
EnvInstanceProxy_registerEnvInstance_Results_Future is a wrapper for a EnvInstanceProxy_registerEnvInstance_Results promised by a client call.
func (EnvInstanceProxy_registerEnvInstance_Results_Future) Unregister ¶
func (p EnvInstanceProxy_registerEnvInstance_Results_Future) Unregister() EnvInstanceProxy_Unregister
type EnvInstanceProxy_registerEnvInstance_Results_List ¶
type EnvInstanceProxy_registerEnvInstance_Results_List = capnp.StructList[EnvInstanceProxy_registerEnvInstance_Results]
EnvInstanceProxy_registerEnvInstance_Results_List is a list of EnvInstanceProxy_registerEnvInstance_Results.
func NewEnvInstanceProxy_registerEnvInstance_Results_List ¶
func NewEnvInstanceProxy_registerEnvInstance_Results_List(s *capnp.Segment, sz int32) (EnvInstanceProxy_registerEnvInstance_Results_List, error)
NewEnvInstanceProxy_registerEnvInstance_Results creates a new list of EnvInstanceProxy_registerEnvInstance_Results.
type EnvInstance_List ¶
type EnvInstance_List = capnp.CapList[EnvInstance]
EnvInstance_List is a list of EnvInstance.
func NewEnvInstance_List ¶
func NewEnvInstance_List(s *capnp.Segment, sz int32) (EnvInstance_List, error)
NewEnvInstance creates a new list of EnvInstance.
type EnvInstance_Server ¶
type EnvInstance_Server interface { Run(context.Context, EnvInstance_run) error Info(context.Context, common.Identifiable_info) error Save(context.Context, persistence.Persistent_save) error Stop(context.Context, service.Stopable_stop) error }
A EnvInstance_Server is a EnvInstance with a local implementation.
type EnvInstance_run ¶
EnvInstance_run holds the state for a server call to EnvInstance.run. See server.Call for documentation.
func (EnvInstance_run) AllocResults ¶
func (c EnvInstance_run) AllocResults() (EnvInstance_run_Results, error)
AllocResults allocates the results struct.
func (EnvInstance_run) Args ¶
func (c EnvInstance_run) Args() EnvInstance_run_Params
Args returns the call's arguments.
type EnvInstance_run_Params ¶
func NewEnvInstance_run_Params ¶
func NewEnvInstance_run_Params(s *capnp.Segment) (EnvInstance_run_Params, error)
func NewRootEnvInstance_run_Params ¶
func NewRootEnvInstance_run_Params(s *capnp.Segment) (EnvInstance_run_Params, error)
func ReadRootEnvInstance_run_Params ¶
func ReadRootEnvInstance_run_Params(msg *capnp.Message) (EnvInstance_run_Params, error)
func (EnvInstance_run_Params) DecodeFromPtr ¶
func (EnvInstance_run_Params) DecodeFromPtr(p capnp.Ptr) EnvInstance_run_Params
func (EnvInstance_run_Params) EncodeAsPtr ¶
func (s EnvInstance_run_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstance_run_Params) Env ¶
func (s EnvInstance_run_Params) Env() (Env, error)
func (EnvInstance_run_Params) HasEnv ¶
func (s EnvInstance_run_Params) HasEnv() bool
func (EnvInstance_run_Params) IsValid ¶
func (s EnvInstance_run_Params) IsValid() bool
func (EnvInstance_run_Params) Message ¶
func (s EnvInstance_run_Params) Message() *capnp.Message
func (EnvInstance_run_Params) NewEnv ¶
func (s EnvInstance_run_Params) NewEnv() (Env, error)
NewEnv sets the env field to a newly allocated Env struct, preferring placement in s's segment.
func (EnvInstance_run_Params) Segment ¶
func (s EnvInstance_run_Params) Segment() *capnp.Segment
func (EnvInstance_run_Params) SetEnv ¶
func (s EnvInstance_run_Params) SetEnv(v Env) error
func (EnvInstance_run_Params) String ¶
func (s EnvInstance_run_Params) String() string
func (EnvInstance_run_Params) ToPtr ¶
func (s EnvInstance_run_Params) ToPtr() capnp.Ptr
type EnvInstance_run_Params_Future ¶
EnvInstance_run_Params_Future is a wrapper for a EnvInstance_run_Params promised by a client call.
func (EnvInstance_run_Params_Future) Env ¶
func (p EnvInstance_run_Params_Future) Env() Env_Future
func (EnvInstance_run_Params_Future) Struct ¶
func (f EnvInstance_run_Params_Future) Struct() (EnvInstance_run_Params, error)
type EnvInstance_run_Params_List ¶
type EnvInstance_run_Params_List = capnp.StructList[EnvInstance_run_Params]
EnvInstance_run_Params_List is a list of EnvInstance_run_Params.
func NewEnvInstance_run_Params_List ¶
func NewEnvInstance_run_Params_List(s *capnp.Segment, sz int32) (EnvInstance_run_Params_List, error)
NewEnvInstance_run_Params creates a new list of EnvInstance_run_Params.
type EnvInstance_run_Results ¶
func NewEnvInstance_run_Results ¶
func NewEnvInstance_run_Results(s *capnp.Segment) (EnvInstance_run_Results, error)
func NewRootEnvInstance_run_Results ¶
func NewRootEnvInstance_run_Results(s *capnp.Segment) (EnvInstance_run_Results, error)
func ReadRootEnvInstance_run_Results ¶
func ReadRootEnvInstance_run_Results(msg *capnp.Message) (EnvInstance_run_Results, error)
func (EnvInstance_run_Results) DecodeFromPtr ¶
func (EnvInstance_run_Results) DecodeFromPtr(p capnp.Ptr) EnvInstance_run_Results
func (EnvInstance_run_Results) EncodeAsPtr ¶
func (s EnvInstance_run_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (EnvInstance_run_Results) HasResult ¶
func (s EnvInstance_run_Results) HasResult() bool
func (EnvInstance_run_Results) IsValid ¶
func (s EnvInstance_run_Results) IsValid() bool
func (EnvInstance_run_Results) Message ¶
func (s EnvInstance_run_Results) Message() *capnp.Message
func (EnvInstance_run_Results) Result ¶
func (s EnvInstance_run_Results) Result() (capnp.Ptr, error)
func (EnvInstance_run_Results) Segment ¶
func (s EnvInstance_run_Results) Segment() *capnp.Segment
func (EnvInstance_run_Results) SetResult ¶
func (s EnvInstance_run_Results) SetResult(v capnp.Ptr) error
func (EnvInstance_run_Results) String ¶
func (s EnvInstance_run_Results) String() string
func (EnvInstance_run_Results) ToPtr ¶
func (s EnvInstance_run_Results) ToPtr() capnp.Ptr
type EnvInstance_run_Results_Future ¶
EnvInstance_run_Results_Future is a wrapper for a EnvInstance_run_Results promised by a client call.
func (EnvInstance_run_Results_Future) Result ¶
func (p EnvInstance_run_Results_Future) Result() *capnp.Future
func (EnvInstance_run_Results_Future) Struct ¶
func (f EnvInstance_run_Results_Future) Struct() (EnvInstance_run_Results, error)
type EnvInstance_run_Results_List ¶
type EnvInstance_run_Results_List = capnp.StructList[EnvInstance_run_Results]
EnvInstance_run_Results_List is a list of EnvInstance_run_Results.
func NewEnvInstance_run_Results_List ¶
func NewEnvInstance_run_Results_List(s *capnp.Segment, sz int32) (EnvInstance_run_Results_List, error)
NewEnvInstance_run_Results creates a new list of EnvInstance_run_Results.
type Env_Future ¶
Env_Future is a wrapper for a Env promised by a client call.
func (Env_Future) Rest ¶
func (p Env_Future) Rest() *capnp.Future
func (Env_Future) SoilProfile ¶
func (p Env_Future) SoilProfile() soil.Profile
func (Env_Future) Struct ¶
func (f Env_Future) Struct() (Env, error)
func (Env_Future) TimeSeries ¶
func (p Env_Future) TimeSeries() climate.TimeSeries
type InstanceFactory ¶
func InstanceFactory_ServerToClient ¶
func InstanceFactory_ServerToClient(s InstanceFactory_Server) InstanceFactory
InstanceFactory_ServerToClient creates a new Client from an implementation of InstanceFactory_Server. The caller is responsible for calling Release on the returned Client.
func (InstanceFactory) AddRef ¶
func (c InstanceFactory) AddRef() InstanceFactory
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 (InstanceFactory) DecodeFromPtr ¶
func (InstanceFactory) DecodeFromPtr(p capnp.Ptr) InstanceFactory
func (InstanceFactory) EncodeAsPtr ¶
func (c InstanceFactory) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (InstanceFactory) GetFlowLimiter ¶
func (c InstanceFactory) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (InstanceFactory) Info ¶
func (c InstanceFactory) Info(ctx context.Context, params func(common.Identifiable_info_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (InstanceFactory) IsSame ¶
func (c InstanceFactory) IsSame(other InstanceFactory) 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 (InstanceFactory) IsValid ¶
func (c InstanceFactory) 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 (InstanceFactory) ModelInfo ¶
func (c InstanceFactory) ModelInfo(ctx context.Context, params func(InstanceFactory_modelInfo_Params) error) (common.IdInformation_Future, capnp.ReleaseFunc)
func (InstanceFactory) NewInstance ¶
func (c InstanceFactory) NewInstance(ctx context.Context, params func(InstanceFactory_newInstance_Params) error) (InstanceFactory_newInstance_Results_Future, capnp.ReleaseFunc)
func (InstanceFactory) NewInstances ¶
func (c InstanceFactory) NewInstances(ctx context.Context, params func(InstanceFactory_newInstances_Params) error) (InstanceFactory_newInstances_Results_Future, capnp.ReleaseFunc)
func (InstanceFactory) Release ¶
func (c InstanceFactory) 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 (InstanceFactory) Resolve ¶
func (c InstanceFactory) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (InstanceFactory) SetFlowLimiter ¶
func (c InstanceFactory) 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 (InstanceFactory) String ¶
func (c InstanceFactory) 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 (InstanceFactory) WaitStreaming ¶
func (c InstanceFactory) WaitStreaming() error
type InstanceFactory_List ¶
type InstanceFactory_List = capnp.CapList[InstanceFactory]
InstanceFactory_List is a list of InstanceFactory.
func NewInstanceFactory_List ¶
func NewInstanceFactory_List(s *capnp.Segment, sz int32) (InstanceFactory_List, error)
NewInstanceFactory creates a new list of InstanceFactory.
type InstanceFactory_Server ¶
type InstanceFactory_Server interface { ModelInfo(context.Context, InstanceFactory_modelInfo) error NewInstance(context.Context, InstanceFactory_newInstance) error NewInstances(context.Context, InstanceFactory_newInstances) error Info(context.Context, common.Identifiable_info) error }
A InstanceFactory_Server is a InstanceFactory with a local implementation.
type InstanceFactory_modelInfo ¶
InstanceFactory_modelInfo holds the state for a server call to InstanceFactory.modelInfo. See server.Call for documentation.
func (InstanceFactory_modelInfo) AllocResults ¶
func (c InstanceFactory_modelInfo) AllocResults() (common.IdInformation, error)
AllocResults allocates the results struct.
func (InstanceFactory_modelInfo) Args ¶
func (c InstanceFactory_modelInfo) Args() InstanceFactory_modelInfo_Params
Args returns the call's arguments.
type InstanceFactory_modelInfo_Params ¶
func NewInstanceFactory_modelInfo_Params ¶
func NewInstanceFactory_modelInfo_Params(s *capnp.Segment) (InstanceFactory_modelInfo_Params, error)
func NewRootInstanceFactory_modelInfo_Params ¶
func NewRootInstanceFactory_modelInfo_Params(s *capnp.Segment) (InstanceFactory_modelInfo_Params, error)
func ReadRootInstanceFactory_modelInfo_Params ¶
func ReadRootInstanceFactory_modelInfo_Params(msg *capnp.Message) (InstanceFactory_modelInfo_Params, error)
func (InstanceFactory_modelInfo_Params) DecodeFromPtr ¶
func (InstanceFactory_modelInfo_Params) DecodeFromPtr(p capnp.Ptr) InstanceFactory_modelInfo_Params
func (InstanceFactory_modelInfo_Params) EncodeAsPtr ¶
func (s InstanceFactory_modelInfo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (InstanceFactory_modelInfo_Params) IsValid ¶
func (s InstanceFactory_modelInfo_Params) IsValid() bool
func (InstanceFactory_modelInfo_Params) Message ¶
func (s InstanceFactory_modelInfo_Params) Message() *capnp.Message
func (InstanceFactory_modelInfo_Params) Segment ¶
func (s InstanceFactory_modelInfo_Params) Segment() *capnp.Segment
func (InstanceFactory_modelInfo_Params) String ¶
func (s InstanceFactory_modelInfo_Params) String() string
func (InstanceFactory_modelInfo_Params) ToPtr ¶
func (s InstanceFactory_modelInfo_Params) ToPtr() capnp.Ptr
type InstanceFactory_modelInfo_Params_Future ¶
InstanceFactory_modelInfo_Params_Future is a wrapper for a InstanceFactory_modelInfo_Params promised by a client call.
func (InstanceFactory_modelInfo_Params_Future) Struct ¶
func (f InstanceFactory_modelInfo_Params_Future) Struct() (InstanceFactory_modelInfo_Params, error)
type InstanceFactory_modelInfo_Params_List ¶
type InstanceFactory_modelInfo_Params_List = capnp.StructList[InstanceFactory_modelInfo_Params]
InstanceFactory_modelInfo_Params_List is a list of InstanceFactory_modelInfo_Params.
func NewInstanceFactory_modelInfo_Params_List ¶
func NewInstanceFactory_modelInfo_Params_List(s *capnp.Segment, sz int32) (InstanceFactory_modelInfo_Params_List, error)
NewInstanceFactory_modelInfo_Params creates a new list of InstanceFactory_modelInfo_Params.
type InstanceFactory_newInstance ¶
InstanceFactory_newInstance holds the state for a server call to InstanceFactory.newInstance. See server.Call for documentation.
func (InstanceFactory_newInstance) AllocResults ¶
func (c InstanceFactory_newInstance) AllocResults() (InstanceFactory_newInstance_Results, error)
AllocResults allocates the results struct.
func (InstanceFactory_newInstance) Args ¶
func (c InstanceFactory_newInstance) Args() InstanceFactory_newInstance_Params
Args returns the call's arguments.
type InstanceFactory_newInstance_Params ¶
func NewInstanceFactory_newInstance_Params ¶
func NewInstanceFactory_newInstance_Params(s *capnp.Segment) (InstanceFactory_newInstance_Params, error)
func NewRootInstanceFactory_newInstance_Params ¶
func NewRootInstanceFactory_newInstance_Params(s *capnp.Segment) (InstanceFactory_newInstance_Params, error)
func ReadRootInstanceFactory_newInstance_Params ¶
func ReadRootInstanceFactory_newInstance_Params(msg *capnp.Message) (InstanceFactory_newInstance_Params, error)
func (InstanceFactory_newInstance_Params) DecodeFromPtr ¶
func (InstanceFactory_newInstance_Params) DecodeFromPtr(p capnp.Ptr) InstanceFactory_newInstance_Params
func (InstanceFactory_newInstance_Params) EncodeAsPtr ¶
func (s InstanceFactory_newInstance_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (InstanceFactory_newInstance_Params) IsValid ¶
func (s InstanceFactory_newInstance_Params) IsValid() bool
func (InstanceFactory_newInstance_Params) Message ¶
func (s InstanceFactory_newInstance_Params) Message() *capnp.Message
func (InstanceFactory_newInstance_Params) Segment ¶
func (s InstanceFactory_newInstance_Params) Segment() *capnp.Segment
func (InstanceFactory_newInstance_Params) String ¶
func (s InstanceFactory_newInstance_Params) String() string
func (InstanceFactory_newInstance_Params) ToPtr ¶
func (s InstanceFactory_newInstance_Params) ToPtr() capnp.Ptr
type InstanceFactory_newInstance_Params_Future ¶
InstanceFactory_newInstance_Params_Future is a wrapper for a InstanceFactory_newInstance_Params promised by a client call.
func (InstanceFactory_newInstance_Params_Future) Struct ¶
func (f InstanceFactory_newInstance_Params_Future) Struct() (InstanceFactory_newInstance_Params, error)
type InstanceFactory_newInstance_Params_List ¶
type InstanceFactory_newInstance_Params_List = capnp.StructList[InstanceFactory_newInstance_Params]
InstanceFactory_newInstance_Params_List is a list of InstanceFactory_newInstance_Params.
func NewInstanceFactory_newInstance_Params_List ¶
func NewInstanceFactory_newInstance_Params_List(s *capnp.Segment, sz int32) (InstanceFactory_newInstance_Params_List, error)
NewInstanceFactory_newInstance_Params creates a new list of InstanceFactory_newInstance_Params.
type InstanceFactory_newInstance_Results ¶
func NewInstanceFactory_newInstance_Results ¶
func NewInstanceFactory_newInstance_Results(s *capnp.Segment) (InstanceFactory_newInstance_Results, error)
func NewRootInstanceFactory_newInstance_Results ¶
func NewRootInstanceFactory_newInstance_Results(s *capnp.Segment) (InstanceFactory_newInstance_Results, error)
func ReadRootInstanceFactory_newInstance_Results ¶
func ReadRootInstanceFactory_newInstance_Results(msg *capnp.Message) (InstanceFactory_newInstance_Results, error)
func (InstanceFactory_newInstance_Results) DecodeFromPtr ¶
func (InstanceFactory_newInstance_Results) DecodeFromPtr(p capnp.Ptr) InstanceFactory_newInstance_Results
func (InstanceFactory_newInstance_Results) EncodeAsPtr ¶
func (s InstanceFactory_newInstance_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (InstanceFactory_newInstance_Results) HasInstance ¶
func (s InstanceFactory_newInstance_Results) HasInstance() bool
func (InstanceFactory_newInstance_Results) Instance ¶
func (s InstanceFactory_newInstance_Results) Instance() common.Identifiable
func (InstanceFactory_newInstance_Results) IsValid ¶
func (s InstanceFactory_newInstance_Results) IsValid() bool
func (InstanceFactory_newInstance_Results) Message ¶
func (s InstanceFactory_newInstance_Results) Message() *capnp.Message
func (InstanceFactory_newInstance_Results) Segment ¶
func (s InstanceFactory_newInstance_Results) Segment() *capnp.Segment
func (InstanceFactory_newInstance_Results) SetInstance ¶
func (s InstanceFactory_newInstance_Results) SetInstance(v common.Identifiable) error
func (InstanceFactory_newInstance_Results) String ¶
func (s InstanceFactory_newInstance_Results) String() string
func (InstanceFactory_newInstance_Results) ToPtr ¶
func (s InstanceFactory_newInstance_Results) ToPtr() capnp.Ptr
type InstanceFactory_newInstance_Results_Future ¶
InstanceFactory_newInstance_Results_Future is a wrapper for a InstanceFactory_newInstance_Results promised by a client call.
func (InstanceFactory_newInstance_Results_Future) Instance ¶
func (p InstanceFactory_newInstance_Results_Future) Instance() common.Identifiable
func (InstanceFactory_newInstance_Results_Future) Struct ¶
func (f InstanceFactory_newInstance_Results_Future) Struct() (InstanceFactory_newInstance_Results, error)
type InstanceFactory_newInstance_Results_List ¶
type InstanceFactory_newInstance_Results_List = capnp.StructList[InstanceFactory_newInstance_Results]
InstanceFactory_newInstance_Results_List is a list of InstanceFactory_newInstance_Results.
func NewInstanceFactory_newInstance_Results_List ¶
func NewInstanceFactory_newInstance_Results_List(s *capnp.Segment, sz int32) (InstanceFactory_newInstance_Results_List, error)
NewInstanceFactory_newInstance_Results creates a new list of InstanceFactory_newInstance_Results.
type InstanceFactory_newInstances ¶
InstanceFactory_newInstances holds the state for a server call to InstanceFactory.newInstances. See server.Call for documentation.
func (InstanceFactory_newInstances) AllocResults ¶
func (c InstanceFactory_newInstances) AllocResults() (InstanceFactory_newInstances_Results, error)
AllocResults allocates the results struct.
func (InstanceFactory_newInstances) Args ¶
func (c InstanceFactory_newInstances) Args() InstanceFactory_newInstances_Params
Args returns the call's arguments.
type InstanceFactory_newInstances_Params ¶
func NewInstanceFactory_newInstances_Params ¶
func NewInstanceFactory_newInstances_Params(s *capnp.Segment) (InstanceFactory_newInstances_Params, error)
func NewRootInstanceFactory_newInstances_Params ¶
func NewRootInstanceFactory_newInstances_Params(s *capnp.Segment) (InstanceFactory_newInstances_Params, error)
func ReadRootInstanceFactory_newInstances_Params ¶
func ReadRootInstanceFactory_newInstances_Params(msg *capnp.Message) (InstanceFactory_newInstances_Params, error)
func (InstanceFactory_newInstances_Params) DecodeFromPtr ¶
func (InstanceFactory_newInstances_Params) DecodeFromPtr(p capnp.Ptr) InstanceFactory_newInstances_Params
func (InstanceFactory_newInstances_Params) EncodeAsPtr ¶
func (s InstanceFactory_newInstances_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (InstanceFactory_newInstances_Params) IsValid ¶
func (s InstanceFactory_newInstances_Params) IsValid() bool
func (InstanceFactory_newInstances_Params) Message ¶
func (s InstanceFactory_newInstances_Params) Message() *capnp.Message
func (InstanceFactory_newInstances_Params) NumberOfInstances ¶
func (s InstanceFactory_newInstances_Params) NumberOfInstances() int16
func (InstanceFactory_newInstances_Params) Segment ¶
func (s InstanceFactory_newInstances_Params) Segment() *capnp.Segment
func (InstanceFactory_newInstances_Params) SetNumberOfInstances ¶
func (s InstanceFactory_newInstances_Params) SetNumberOfInstances(v int16)
func (InstanceFactory_newInstances_Params) String ¶
func (s InstanceFactory_newInstances_Params) String() string
func (InstanceFactory_newInstances_Params) ToPtr ¶
func (s InstanceFactory_newInstances_Params) ToPtr() capnp.Ptr
type InstanceFactory_newInstances_Params_Future ¶
InstanceFactory_newInstances_Params_Future is a wrapper for a InstanceFactory_newInstances_Params promised by a client call.
func (InstanceFactory_newInstances_Params_Future) Struct ¶
func (f InstanceFactory_newInstances_Params_Future) Struct() (InstanceFactory_newInstances_Params, error)
type InstanceFactory_newInstances_Params_List ¶
type InstanceFactory_newInstances_Params_List = capnp.StructList[InstanceFactory_newInstances_Params]
InstanceFactory_newInstances_Params_List is a list of InstanceFactory_newInstances_Params.
func NewInstanceFactory_newInstances_Params_List ¶
func NewInstanceFactory_newInstances_Params_List(s *capnp.Segment, sz int32) (InstanceFactory_newInstances_Params_List, error)
NewInstanceFactory_newInstances_Params creates a new list of InstanceFactory_newInstances_Params.
type InstanceFactory_newInstances_Results ¶
func NewInstanceFactory_newInstances_Results ¶
func NewInstanceFactory_newInstances_Results(s *capnp.Segment) (InstanceFactory_newInstances_Results, error)
func NewRootInstanceFactory_newInstances_Results ¶
func NewRootInstanceFactory_newInstances_Results(s *capnp.Segment) (InstanceFactory_newInstances_Results, error)
func ReadRootInstanceFactory_newInstances_Results ¶
func ReadRootInstanceFactory_newInstances_Results(msg *capnp.Message) (InstanceFactory_newInstances_Results, error)
func (InstanceFactory_newInstances_Results) DecodeFromPtr ¶
func (InstanceFactory_newInstances_Results) DecodeFromPtr(p capnp.Ptr) InstanceFactory_newInstances_Results
func (InstanceFactory_newInstances_Results) EncodeAsPtr ¶
func (s InstanceFactory_newInstances_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (InstanceFactory_newInstances_Results) HasInstances ¶
func (s InstanceFactory_newInstances_Results) HasInstances() bool
func (InstanceFactory_newInstances_Results) Instances ¶
func (s InstanceFactory_newInstances_Results) Instances() (common.Identifiable_List, error)
func (InstanceFactory_newInstances_Results) IsValid ¶
func (s InstanceFactory_newInstances_Results) IsValid() bool
func (InstanceFactory_newInstances_Results) Message ¶
func (s InstanceFactory_newInstances_Results) Message() *capnp.Message
func (InstanceFactory_newInstances_Results) NewInstances ¶
func (s InstanceFactory_newInstances_Results) NewInstances(n int32) (common.Identifiable_List, error)
NewInstances sets the instances field to a newly allocated common.Identifiable_List, preferring placement in s's segment.
func (InstanceFactory_newInstances_Results) Segment ¶
func (s InstanceFactory_newInstances_Results) Segment() *capnp.Segment
func (InstanceFactory_newInstances_Results) SetInstances ¶
func (s InstanceFactory_newInstances_Results) SetInstances(v common.Identifiable_List) error
func (InstanceFactory_newInstances_Results) String ¶
func (s InstanceFactory_newInstances_Results) String() string
func (InstanceFactory_newInstances_Results) ToPtr ¶
func (s InstanceFactory_newInstances_Results) ToPtr() capnp.Ptr
type InstanceFactory_newInstances_Results_Future ¶
InstanceFactory_newInstances_Results_Future is a wrapper for a InstanceFactory_newInstances_Results promised by a client call.
func (InstanceFactory_newInstances_Results_Future) Struct ¶
func (f InstanceFactory_newInstances_Results_Future) Struct() (InstanceFactory_newInstances_Results, error)
type InstanceFactory_newInstances_Results_List ¶
type InstanceFactory_newInstances_Results_List = capnp.StructList[InstanceFactory_newInstances_Results]
InstanceFactory_newInstances_Results_List is a list of InstanceFactory_newInstances_Results.
func NewInstanceFactory_newInstances_Results_List ¶
func NewInstanceFactory_newInstances_Results_List(s *capnp.Segment, sz int32) (InstanceFactory_newInstances_Results_List, error)
NewInstanceFactory_newInstances_Results creates a new list of InstanceFactory_newInstances_Results.
type Stat ¶
type Stat_Future ¶
Stat_Future is a wrapper for a Stat promised by a client call.
func (Stat_Future) Struct ¶
func (f Stat_Future) Struct() (Stat, error)
type Stat_Type ¶
type Stat_Type uint16
const ( Stat_Type_min Stat_Type = 0 Stat_Type_max Stat_Type = 1 Stat_Type_sd Stat_Type = 2 Stat_Type_avg Stat_Type = 3 Stat_Type_median Stat_Type = 4 )
Values of Stat_Type.
func Stat_TypeFromString ¶
Stat_TypeFromString returns the enum value with a name, or the zero value if there's no such value.
type Stat_Type_List ¶
func NewStat_Type_List ¶
func NewStat_Type_List(s *capnp.Segment, sz int32) (Stat_Type_List, error)
type XYPlusResult ¶
func NewRootXYPlusResult ¶
func NewRootXYPlusResult(s *capnp.Segment) (XYPlusResult, error)
func NewXYPlusResult ¶
func NewXYPlusResult(s *capnp.Segment) (XYPlusResult, error)
func ReadRootXYPlusResult ¶
func ReadRootXYPlusResult(msg *capnp.Message) (XYPlusResult, error)
func (XYPlusResult) DecodeFromPtr ¶
func (XYPlusResult) DecodeFromPtr(p capnp.Ptr) XYPlusResult
func (XYPlusResult) EncodeAsPtr ¶
func (s XYPlusResult) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (XYPlusResult) HasStats ¶
func (s XYPlusResult) HasStats() bool
func (XYPlusResult) HasXy ¶
func (s XYPlusResult) HasXy() bool
func (XYPlusResult) IsValid ¶
func (s XYPlusResult) IsValid() bool
func (XYPlusResult) Message ¶
func (s XYPlusResult) Message() *capnp.Message
func (XYPlusResult) NewStats ¶
func (s XYPlusResult) NewStats(n int32) (Stat_List, error)
NewStats sets the stats field to a newly allocated Stat_List, preferring placement in s's segment.
func (XYPlusResult) NewXy ¶
func (s XYPlusResult) NewXy() (XYResult, error)
NewXy sets the xy field to a newly allocated XYResult struct, preferring placement in s's segment.
func (XYPlusResult) Segment ¶
func (s XYPlusResult) Segment() *capnp.Segment
func (XYPlusResult) SetStats ¶
func (s XYPlusResult) SetStats(v Stat_List) error
func (XYPlusResult) SetXy ¶
func (s XYPlusResult) SetXy(v XYResult) error
func (XYPlusResult) Stats ¶
func (s XYPlusResult) Stats() (Stat_List, error)
func (XYPlusResult) String ¶
func (s XYPlusResult) String() string
func (XYPlusResult) ToPtr ¶
func (s XYPlusResult) ToPtr() capnp.Ptr
func (XYPlusResult) Xy ¶
func (s XYPlusResult) Xy() (XYResult, error)
type XYPlusResult_Future ¶
XYPlusResult_Future is a wrapper for a XYPlusResult promised by a client call.
func (XYPlusResult_Future) Struct ¶
func (f XYPlusResult_Future) Struct() (XYPlusResult, error)
func (XYPlusResult_Future) Xy ¶
func (p XYPlusResult_Future) Xy() XYResult_Future
type XYPlusResult_List ¶
type XYPlusResult_List = capnp.StructList[XYPlusResult]
XYPlusResult_List is a list of XYPlusResult.
func NewXYPlusResult_List ¶
func NewXYPlusResult_List(s *capnp.Segment, sz int32) (XYPlusResult_List, error)
NewXYPlusResult creates a new list of XYPlusResult.
type XYResult ¶
func (XYResult) NewXs ¶
func (s XYResult) NewXs(n int32) (capnp.Float64List, error)
NewXs sets the xs field to a newly allocated capnp.Float64List, preferring placement in s's segment.
type XYResult_Future ¶
XYResult_Future is a wrapper for a XYResult promised by a client call.
func (XYResult_Future) Struct ¶
func (f XYResult_Future) Struct() (XYResult, error)
type XYResult_List ¶
type XYResult_List = capnp.StructList[XYResult]
XYResult_List is a list of XYResult.
func NewXYResult_List ¶
func NewXYResult_List(s *capnp.Segment, sz int32) (XYResult_List, error)
NewXYResult creates a new list of XYResult.