models

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

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

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

Documentation

Index

Constants

View Source
const ClimateInstance_TypeID = 0xdfcfeb783c4948fc

ClimateInstance_TypeID is the unique identifier for the type ClimateInstance.

View Source
const ClimateInstance_runSet_Params_TypeID = 0xaa9d146226037822

ClimateInstance_runSet_Params_TypeID is the unique identifier for the type ClimateInstance_runSet_Params.

View Source
const ClimateInstance_runSet_Results_TypeID = 0xe22282cb3449bb4a

ClimateInstance_runSet_Results_TypeID is the unique identifier for the type ClimateInstance_runSet_Results.

View Source
const ClimateInstance_run_Params_TypeID = 0xdf787fd9d51f235b

ClimateInstance_run_Params_TypeID is the unique identifier for the type ClimateInstance_run_Params.

View Source
const ClimateInstance_run_Results_TypeID = 0xcc39e47cdead74c4

ClimateInstance_run_Results_TypeID is the unique identifier for the type ClimateInstance_run_Results.

View Source
const EnvInstanceProxy_TypeID = 0x87cbebfc1164a24a

EnvInstanceProxy_TypeID is the unique identifier for the type EnvInstanceProxy.

View Source
const EnvInstanceProxy_Unregister_TypeID = 0xc727892bd5c66f88

EnvInstanceProxy_Unregister_TypeID is the unique identifier for the type EnvInstanceProxy_Unregister.

View Source
const EnvInstanceProxy_Unregister_unregister_Params_TypeID = 0x82136633e6b6d8ae

EnvInstanceProxy_Unregister_unregister_Params_TypeID is the unique identifier for the type EnvInstanceProxy_Unregister_unregister_Params.

View Source
const EnvInstanceProxy_Unregister_unregister_Results_TypeID = 0xe91cc3866fdea82a

EnvInstanceProxy_Unregister_unregister_Results_TypeID is the unique identifier for the type EnvInstanceProxy_Unregister_unregister_Results.

View Source
const EnvInstanceProxy_registerEnvInstance_Params_TypeID = 0xd10259a623f95bb4

EnvInstanceProxy_registerEnvInstance_Params_TypeID is the unique identifier for the type EnvInstanceProxy_registerEnvInstance_Params.

View Source
const EnvInstanceProxy_registerEnvInstance_Results_TypeID = 0xdf50acfa56a9674e

EnvInstanceProxy_registerEnvInstance_Results_TypeID is the unique identifier for the type EnvInstanceProxy_registerEnvInstance_Results.

View Source
const EnvInstance_TypeID = 0xa5feedafa5ec5c4a

EnvInstance_TypeID is the unique identifier for the type EnvInstance.

View Source
const EnvInstance_run_Params_TypeID = 0x811895634b6bd959

EnvInstance_run_Params_TypeID is the unique identifier for the type EnvInstance_run_Params.

View Source
const EnvInstance_run_Results_TypeID = 0xa931ae5cae90ece0

EnvInstance_run_Results_TypeID is the unique identifier for the type EnvInstance_run_Results.

View Source
const Env_TypeID = 0xb7fc866ef1127f7c

Env_TypeID is the unique identifier for the type Env.

View Source
const InstanceFactory_TypeID = 0xce552eef738a45ea

InstanceFactory_TypeID is the unique identifier for the type InstanceFactory.

View Source
const InstanceFactory_modelInfo_Params_TypeID = 0xbf49e08cc9412aaf

InstanceFactory_modelInfo_Params_TypeID is the unique identifier for the type InstanceFactory_modelInfo_Params.

View Source
const InstanceFactory_newInstance_Params_TypeID = 0x9ee4515395213845

InstanceFactory_newInstance_Params_TypeID is the unique identifier for the type InstanceFactory_newInstance_Params.

View Source
const InstanceFactory_newInstance_Results_TypeID = 0xf013eda158070488

InstanceFactory_newInstance_Results_TypeID is the unique identifier for the type InstanceFactory_newInstance_Results.

View Source
const InstanceFactory_newInstances_Params_TypeID = 0xd9fa9ece71d1db50

InstanceFactory_newInstances_Params_TypeID is the unique identifier for the type InstanceFactory_newInstances_Params.

View Source
const InstanceFactory_newInstances_Results_TypeID = 0xaf9a1cb72ba68156

InstanceFactory_newInstances_Results_TypeID is the unique identifier for the type InstanceFactory_newInstances_Results.

View Source
const Stat_TypeID = 0xa6be2e805ea10a68

Stat_TypeID is the unique identifier for the type Stat.

View Source
const Stat_Type_TypeID = 0xbd33bb6d8cbd9ed2

Stat_Type_TypeID is the unique identifier for the type Stat_Type.

View Source
const XYPlusResult_TypeID = 0x8f86b66260d02d1d

XYPlusResult_TypeID is the unique identifier for the type XYPlusResult.

View Source
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

func RegisterSchema(reg *schemas.Registry)

Types

type ClimateInstance

type ClimateInstance capnp.Client

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

A ClimateInstance_Server is a ClimateInstance with a local implementation.

type ClimateInstance_run

type ClimateInstance_run struct {
	*server.Call
}

ClimateInstance_run holds the state for a server call to ClimateInstance.run. See server.Call for documentation.

func (ClimateInstance_run) AllocResults

AllocResults allocates the results struct.

func (ClimateInstance_run) Args

Args returns the call's arguments.

type ClimateInstance_runSet

type ClimateInstance_runSet struct {
	*server.Call
}

ClimateInstance_runSet holds the state for a server call to ClimateInstance.runSet. See server.Call for documentation.

func (ClimateInstance_runSet) AllocResults

AllocResults allocates the results struct.

func (ClimateInstance_runSet) Args

Args returns the call's arguments.

type ClimateInstance_runSet_Params

type ClimateInstance_runSet_Params capnp.Struct

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

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

NewDataset sets the dataset field to a newly allocated climate.TimeSeries_List, preferring placement in s's segment.

func (ClimateInstance_runSet_Params) Segment

func (ClimateInstance_runSet_Params) SetDataset

func (ClimateInstance_runSet_Params) String

func (ClimateInstance_runSet_Params) ToPtr

type ClimateInstance_runSet_Params_Future

type ClimateInstance_runSet_Params_Future struct{ *capnp.Future }

ClimateInstance_runSet_Params_Future is a wrapper for a ClimateInstance_runSet_Params promised by a client call.

func (ClimateInstance_runSet_Params_Future) Struct

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

type ClimateInstance_runSet_Results capnp.Struct

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

func (ClimateInstance_runSet_Results) HasResult

func (s ClimateInstance_runSet_Results) HasResult() bool

func (ClimateInstance_runSet_Results) IsValid

func (ClimateInstance_runSet_Results) Message

func (ClimateInstance_runSet_Results) NewResult

NewResult sets the result field to a newly allocated XYPlusResult struct, preferring placement in s's segment.

func (ClimateInstance_runSet_Results) Result

func (ClimateInstance_runSet_Results) Segment

func (ClimateInstance_runSet_Results) SetResult

func (ClimateInstance_runSet_Results) String

func (ClimateInstance_runSet_Results) ToPtr

type ClimateInstance_runSet_Results_Future

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

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

type ClimateInstance_run_Params capnp.Struct

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

func (ClimateInstance_run_Params) SetTimeSeries

func (ClimateInstance_run_Params) String

func (ClimateInstance_run_Params) TimeSeries

func (ClimateInstance_run_Params) ToPtr

type ClimateInstance_run_Params_Future

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

type ClimateInstance_run_Results capnp.Struct

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

func (ClimateInstance_run_Results) SetResult

func (ClimateInstance_run_Results) String

func (ClimateInstance_run_Results) ToPtr

type ClimateInstance_run_Results_Future

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

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

type Env capnp.Struct

func NewEnv

func NewEnv(s *capnp.Segment) (Env, error)

func NewRootEnv

func NewRootEnv(s *capnp.Segment) (Env, error)

func ReadRootEnv

func ReadRootEnv(msg *capnp.Message) (Env, error)

func (Env) DecodeFromPtr

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

func (Env) EncodeAsPtr

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

func (Env) HasMgmtEvents

func (s Env) HasMgmtEvents() bool

func (Env) HasRest

func (s Env) HasRest() bool

func (Env) HasSoilProfile

func (s Env) HasSoilProfile() bool

func (Env) HasTimeSeries

func (s Env) HasTimeSeries() bool

func (Env) IsValid

func (s Env) IsValid() bool

func (Env) Message

func (s Env) Message() *capnp.Message

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

func (s Env) Rest() (capnp.Ptr, error)

func (Env) Segment

func (s Env) Segment() *capnp.Segment

func (Env) SetMgmtEvents

func (s Env) SetMgmtEvents(v management.Event_List) error

func (Env) SetRest

func (s Env) SetRest(v capnp.Ptr) error

func (Env) SetSoilProfile

func (s Env) SetSoilProfile(v soil.Profile) error

func (Env) SetTimeSeries

func (s Env) SetTimeSeries(v climate.TimeSeries) error

func (Env) SoilProfile

func (s Env) SoilProfile() soil.Profile

func (Env) String

func (s Env) String() string

func (Env) TimeSeries

func (s Env) TimeSeries() climate.TimeSeries

func (Env) ToPtr

func (s Env) ToPtr() capnp.Ptr

type EnvInstance

type EnvInstance capnp.Client

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

type EnvInstanceProxy capnp.Client

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

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

A EnvInstanceProxy_Server is a EnvInstanceProxy with a local implementation.

type EnvInstanceProxy_Unregister

type EnvInstanceProxy_Unregister capnp.Client

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

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

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

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

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

type EnvInstanceProxy_Unregister_unregister struct {
	*server.Call
}

EnvInstanceProxy_Unregister_unregister holds the state for a server call to EnvInstanceProxy_Unregister.unregister. See server.Call for documentation.

func (EnvInstanceProxy_Unregister_unregister) AllocResults

AllocResults allocates the results struct.

func (EnvInstanceProxy_Unregister_unregister) Args

Args returns the call's arguments.

type EnvInstanceProxy_Unregister_unregister_Params

type EnvInstanceProxy_Unregister_unregister_Params capnp.Struct

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

func (EnvInstanceProxy_Unregister_unregister_Params) IsValid

func (EnvInstanceProxy_Unregister_unregister_Params) Message

func (EnvInstanceProxy_Unregister_unregister_Params) Segment

func (EnvInstanceProxy_Unregister_unregister_Params) String

func (EnvInstanceProxy_Unregister_unregister_Params) ToPtr

type EnvInstanceProxy_Unregister_unregister_Params_Future

type EnvInstanceProxy_Unregister_unregister_Params_Future struct{ *capnp.Future }

EnvInstanceProxy_Unregister_unregister_Params_Future is a wrapper for a EnvInstanceProxy_Unregister_unregister_Params promised by a client call.

func (EnvInstanceProxy_Unregister_unregister_Params_Future) Struct

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

type EnvInstanceProxy_Unregister_unregister_Results capnp.Struct

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

func (EnvInstanceProxy_Unregister_unregister_Results) IsValid

func (EnvInstanceProxy_Unregister_unregister_Results) Message

func (EnvInstanceProxy_Unregister_unregister_Results) Segment

func (EnvInstanceProxy_Unregister_unregister_Results) SetSuccess

func (EnvInstanceProxy_Unregister_unregister_Results) String

func (EnvInstanceProxy_Unregister_unregister_Results) Success

func (EnvInstanceProxy_Unregister_unregister_Results) ToPtr

type EnvInstanceProxy_Unregister_unregister_Results_Future

type EnvInstanceProxy_Unregister_unregister_Results_Future struct{ *capnp.Future }

EnvInstanceProxy_Unregister_unregister_Results_Future is a wrapper for a EnvInstanceProxy_Unregister_unregister_Results promised by a client call.

func (EnvInstanceProxy_Unregister_unregister_Results_Future) Struct

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

type EnvInstanceProxy_registerEnvInstance struct {
	*server.Call
}

EnvInstanceProxy_registerEnvInstance holds the state for a server call to EnvInstanceProxy.registerEnvInstance. See server.Call for documentation.

func (EnvInstanceProxy_registerEnvInstance) AllocResults

AllocResults allocates the results struct.

func (EnvInstanceProxy_registerEnvInstance) Args

Args returns the call's arguments.

type EnvInstanceProxy_registerEnvInstance_Params

type EnvInstanceProxy_registerEnvInstance_Params capnp.Struct

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

func (EnvInstanceProxy_registerEnvInstance_Params) HasInstance

func (EnvInstanceProxy_registerEnvInstance_Params) Instance

func (EnvInstanceProxy_registerEnvInstance_Params) IsValid

func (EnvInstanceProxy_registerEnvInstance_Params) Message

func (EnvInstanceProxy_registerEnvInstance_Params) Segment

func (EnvInstanceProxy_registerEnvInstance_Params) SetInstance

func (EnvInstanceProxy_registerEnvInstance_Params) String

func (EnvInstanceProxy_registerEnvInstance_Params) ToPtr

type EnvInstanceProxy_registerEnvInstance_Params_Future

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

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

type EnvInstanceProxy_registerEnvInstance_Results capnp.Struct

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

func (EnvInstanceProxy_registerEnvInstance_Results) HasUnregister

func (EnvInstanceProxy_registerEnvInstance_Results) IsValid

func (EnvInstanceProxy_registerEnvInstance_Results) Message

func (EnvInstanceProxy_registerEnvInstance_Results) Segment

func (EnvInstanceProxy_registerEnvInstance_Results) SetUnregister

func (EnvInstanceProxy_registerEnvInstance_Results) String

func (EnvInstanceProxy_registerEnvInstance_Results) ToPtr

func (EnvInstanceProxy_registerEnvInstance_Results) Unregister

type EnvInstanceProxy_registerEnvInstance_Results_Future

type EnvInstanceProxy_registerEnvInstance_Results_Future struct{ *capnp.Future }

EnvInstanceProxy_registerEnvInstance_Results_Future is a wrapper for a EnvInstanceProxy_registerEnvInstance_Results promised by a client call.

func (EnvInstanceProxy_registerEnvInstance_Results_Future) Struct

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

A EnvInstance_Server is a EnvInstance with a local implementation.

type EnvInstance_run

type EnvInstance_run struct {
	*server.Call
}

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

Args returns the call's arguments.

type EnvInstance_run_Params

type EnvInstance_run_Params capnp.Struct

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

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

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

type EnvInstance_run_Results capnp.Struct

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

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

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

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

type Env_List = capnp.StructList[Env]

Env_List is a list of Env.

func NewEnv_List

func NewEnv_List(s *capnp.Segment, sz int32) (Env_List, error)

NewEnv creates a new list of Env.

type InstanceFactory

type InstanceFactory capnp.Client

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

A InstanceFactory_Server is a InstanceFactory with a local implementation.

type InstanceFactory_modelInfo

type InstanceFactory_modelInfo struct {
	*server.Call
}

InstanceFactory_modelInfo holds the state for a server call to InstanceFactory.modelInfo. See server.Call for documentation.

func (InstanceFactory_modelInfo) AllocResults

AllocResults allocates the results struct.

func (InstanceFactory_modelInfo) Args

Args returns the call's arguments.

type InstanceFactory_modelInfo_Params

type InstanceFactory_modelInfo_Params capnp.Struct

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

func (InstanceFactory_modelInfo_Params) IsValid

func (InstanceFactory_modelInfo_Params) Message

func (InstanceFactory_modelInfo_Params) Segment

func (InstanceFactory_modelInfo_Params) String

func (InstanceFactory_modelInfo_Params) ToPtr

type InstanceFactory_modelInfo_Params_Future

type InstanceFactory_modelInfo_Params_Future struct{ *capnp.Future }

InstanceFactory_modelInfo_Params_Future is a wrapper for a InstanceFactory_modelInfo_Params promised by a client call.

func (InstanceFactory_modelInfo_Params_Future) Struct

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

type InstanceFactory_newInstance struct {
	*server.Call
}

InstanceFactory_newInstance holds the state for a server call to InstanceFactory.newInstance. See server.Call for documentation.

func (InstanceFactory_newInstance) AllocResults

AllocResults allocates the results struct.

func (InstanceFactory_newInstance) Args

Args returns the call's arguments.

type InstanceFactory_newInstance_Params

type InstanceFactory_newInstance_Params capnp.Struct

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

func (InstanceFactory_newInstance_Params) IsValid

func (InstanceFactory_newInstance_Params) Message

func (InstanceFactory_newInstance_Params) Segment

func (InstanceFactory_newInstance_Params) String

func (InstanceFactory_newInstance_Params) ToPtr

type InstanceFactory_newInstance_Params_Future

type InstanceFactory_newInstance_Params_Future struct{ *capnp.Future }

InstanceFactory_newInstance_Params_Future is a wrapper for a InstanceFactory_newInstance_Params promised by a client call.

func (InstanceFactory_newInstance_Params_Future) Struct

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

type InstanceFactory_newInstance_Results capnp.Struct

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

func (InstanceFactory_newInstance_Results) HasInstance

func (s InstanceFactory_newInstance_Results) HasInstance() bool

func (InstanceFactory_newInstance_Results) Instance

func (InstanceFactory_newInstance_Results) IsValid

func (InstanceFactory_newInstance_Results) Message

func (InstanceFactory_newInstance_Results) Segment

func (InstanceFactory_newInstance_Results) SetInstance

func (InstanceFactory_newInstance_Results) String

func (InstanceFactory_newInstance_Results) ToPtr

type InstanceFactory_newInstance_Results_Future

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

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

type InstanceFactory_newInstances struct {
	*server.Call
}

InstanceFactory_newInstances holds the state for a server call to InstanceFactory.newInstances. See server.Call for documentation.

func (InstanceFactory_newInstances) AllocResults

AllocResults allocates the results struct.

func (InstanceFactory_newInstances) Args

Args returns the call's arguments.

type InstanceFactory_newInstances_Params

type InstanceFactory_newInstances_Params capnp.Struct

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

func (InstanceFactory_newInstances_Params) IsValid

func (InstanceFactory_newInstances_Params) Message

func (InstanceFactory_newInstances_Params) NumberOfInstances

func (s InstanceFactory_newInstances_Params) NumberOfInstances() int16

func (InstanceFactory_newInstances_Params) Segment

func (InstanceFactory_newInstances_Params) SetNumberOfInstances

func (s InstanceFactory_newInstances_Params) SetNumberOfInstances(v int16)

func (InstanceFactory_newInstances_Params) String

func (InstanceFactory_newInstances_Params) ToPtr

type InstanceFactory_newInstances_Params_Future

type InstanceFactory_newInstances_Params_Future struct{ *capnp.Future }

InstanceFactory_newInstances_Params_Future is a wrapper for a InstanceFactory_newInstances_Params promised by a client call.

func (InstanceFactory_newInstances_Params_Future) Struct

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

type InstanceFactory_newInstances_Results capnp.Struct

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

func (InstanceFactory_newInstances_Results) HasInstances

func (s InstanceFactory_newInstances_Results) HasInstances() bool

func (InstanceFactory_newInstances_Results) Instances

func (InstanceFactory_newInstances_Results) IsValid

func (InstanceFactory_newInstances_Results) Message

func (InstanceFactory_newInstances_Results) NewInstances

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

func (InstanceFactory_newInstances_Results) Segment

func (InstanceFactory_newInstances_Results) SetInstances

func (InstanceFactory_newInstances_Results) String

func (InstanceFactory_newInstances_Results) ToPtr

type InstanceFactory_newInstances_Results_Future

type InstanceFactory_newInstances_Results_Future struct{ *capnp.Future }

InstanceFactory_newInstances_Results_Future is a wrapper for a InstanceFactory_newInstances_Results promised by a client call.

func (InstanceFactory_newInstances_Results_Future) Struct

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 capnp.Struct

func NewRootStat

func NewRootStat(s *capnp.Segment) (Stat, error)

func NewStat

func NewStat(s *capnp.Segment) (Stat, error)

func ReadRootStat

func ReadRootStat(msg *capnp.Message) (Stat, error)

func (Stat) DecodeFromPtr

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

func (Stat) EncodeAsPtr

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

func (Stat) HasVs

func (s Stat) HasVs() bool

func (Stat) IsValid

func (s Stat) IsValid() bool

func (Stat) Message

func (s Stat) Message() *capnp.Message

func (Stat) NewVs

func (s Stat) NewVs(n int32) (capnp.Float64List, error)

NewVs sets the vs field to a newly allocated capnp.Float64List, preferring placement in s's segment.

func (Stat) Segment

func (s Stat) Segment() *capnp.Segment

func (Stat) SetType

func (s Stat) SetType(v Stat_Type)

func (Stat) SetVs

func (s Stat) SetVs(v capnp.Float64List) error

func (Stat) String

func (s Stat) String() string

func (Stat) ToPtr

func (s Stat) ToPtr() capnp.Ptr

func (Stat) Type

func (s Stat) Type() Stat_Type

func (Stat) Vs

func (s Stat) Vs() (capnp.Float64List, error)

type Stat_Future

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

type Stat_List = capnp.StructList[Stat]

Stat_List is a list of Stat.

func NewStat_List

func NewStat_List(s *capnp.Segment, sz int32) (Stat_List, error)

NewStat creates a new list of Stat.

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

func Stat_TypeFromString(c string) Stat_Type

Stat_TypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (Stat_Type) String

func (c Stat_Type) String() string

String returns the enum's constant name.

type Stat_Type_List

type Stat_Type_List = capnp.EnumList[Stat_Type]

func NewStat_Type_List

func NewStat_Type_List(s *capnp.Segment, sz int32) (Stat_Type_List, error)

type XYPlusResult

type XYPlusResult capnp.Struct

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

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

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

type XYResult capnp.Struct

func NewRootXYResult

func NewRootXYResult(s *capnp.Segment) (XYResult, error)

func NewXYResult

func NewXYResult(s *capnp.Segment) (XYResult, error)

func ReadRootXYResult

func ReadRootXYResult(msg *capnp.Message) (XYResult, error)

func (XYResult) DecodeFromPtr

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

func (XYResult) EncodeAsPtr

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

func (XYResult) HasXs

func (s XYResult) HasXs() bool

func (XYResult) HasYs

func (s XYResult) HasYs() bool

func (XYResult) IsValid

func (s XYResult) IsValid() bool

func (XYResult) Message

func (s XYResult) Message() *capnp.Message

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.

func (XYResult) NewYs

func (s XYResult) NewYs(n int32) (capnp.Float64List, error)

NewYs sets the ys field to a newly allocated capnp.Float64List, preferring placement in s's segment.

func (XYResult) Segment

func (s XYResult) Segment() *capnp.Segment

func (XYResult) SetXs

func (s XYResult) SetXs(v capnp.Float64List) error

func (XYResult) SetYs

func (s XYResult) SetYs(v capnp.Float64List) error

func (XYResult) String

func (s XYResult) String() string

func (XYResult) ToPtr

func (s XYResult) ToPtr() capnp.Ptr

func (XYResult) Xs

func (s XYResult) Xs() (capnp.Float64List, error)

func (XYResult) Ys

func (s XYResult) Ys() (capnp.Float64List, error)

type XYResult_Future

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

Directories

Path Synopsis
monica module
weberest module
yieldstat module

Jump to

Keyboard shortcuts

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