Documentation ¶
Index ¶
- Constants
- func Debugger_Methods(methods []server.Method, s Debugger_Server) []server.Method
- func Debugger_NewServer(s Debugger_Server) *server.Server
- func RegisterSchema(reg *schemas.Registry)
- func Sampler_Methods(methods []server.Method, s Sampler_Server) []server.Method
- func Sampler_NewServer(s Sampler_Server) *server.Server
- func Sampler_Writer_Methods(methods []server.Method, s Sampler_Writer_Server) []server.Method
- func Sampler_Writer_NewServer(s Sampler_Writer_Server) *server.Server
- func Snapshotter_Methods(methods []server.Method, s Snapshotter_Server) []server.Method
- func Snapshotter_NewServer(s Snapshotter_Server) *server.Server
- type Debugger
- func (c Debugger) AddRef() Debugger
- func (Debugger) DecodeFromPtr(p capnp.Ptr) Debugger
- func (c Debugger) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Debugger) EnvVars(ctx context.Context, params func(Debugger_envVars_Params) error) (Debugger_envVars_Results_Future, capnp.ReleaseFunc)
- func (c Debugger) GetFlowLimiter() fc.FlowLimiter
- func (c Debugger) IsSame(other Debugger) bool
- func (c Debugger) IsValid() bool
- func (c Debugger) Profiler(ctx context.Context, params func(Debugger_profiler_Params) error) (Debugger_profiler_Results_Future, capnp.ReleaseFunc)
- func (c Debugger) Release()
- func (c Debugger) Resolve(ctx context.Context) error
- func (c Debugger) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Debugger) String() string
- func (c Debugger) SysInfo(ctx context.Context, params func(Debugger_sysInfo_Params) error) (Debugger_sysInfo_Results_Future, capnp.ReleaseFunc)
- func (c Debugger) Tracer(ctx context.Context, params func(Debugger_tracer_Params) error) (Debugger_tracer_Results_Future, capnp.ReleaseFunc)
- func (c Debugger) WaitStreaming() error
- type Debugger_List
- type Debugger_Server
- type Debugger_envVars
- type Debugger_envVars_Params
- func (Debugger_envVars_Params) DecodeFromPtr(p capnp.Ptr) Debugger_envVars_Params
- func (s Debugger_envVars_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Debugger_envVars_Params) IsValid() bool
- func (s Debugger_envVars_Params) Message() *capnp.Message
- func (s Debugger_envVars_Params) Segment() *capnp.Segment
- func (s Debugger_envVars_Params) String() string
- func (s Debugger_envVars_Params) ToPtr() capnp.Ptr
- type Debugger_envVars_Params_Future
- type Debugger_envVars_Params_List
- type Debugger_envVars_Results
- func (Debugger_envVars_Results) DecodeFromPtr(p capnp.Ptr) Debugger_envVars_Results
- func (s Debugger_envVars_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Debugger_envVars_Results) EnvVars() (capnp.TextList, error)
- func (s Debugger_envVars_Results) HasEnvVars() bool
- func (s Debugger_envVars_Results) IsValid() bool
- func (s Debugger_envVars_Results) Message() *capnp.Message
- func (s Debugger_envVars_Results) NewEnvVars(n int32) (capnp.TextList, error)
- func (s Debugger_envVars_Results) Segment() *capnp.Segment
- func (s Debugger_envVars_Results) SetEnvVars(v capnp.TextList) error
- func (s Debugger_envVars_Results) String() string
- func (s Debugger_envVars_Results) ToPtr() capnp.Ptr
- type Debugger_envVars_Results_Future
- type Debugger_envVars_Results_List
- type Debugger_profiler
- type Debugger_profiler_Params
- func (Debugger_profiler_Params) DecodeFromPtr(p capnp.Ptr) Debugger_profiler_Params
- func (s Debugger_profiler_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Debugger_profiler_Params) IsValid() bool
- func (s Debugger_profiler_Params) Message() *capnp.Message
- func (s Debugger_profiler_Params) Profile() Profile
- func (s Debugger_profiler_Params) Segment() *capnp.Segment
- func (s Debugger_profiler_Params) SetProfile(v Profile)
- func (s Debugger_profiler_Params) String() string
- func (s Debugger_profiler_Params) ToPtr() capnp.Ptr
- type Debugger_profiler_Params_Future
- type Debugger_profiler_Params_List
- type Debugger_profiler_Results
- func (Debugger_profiler_Results) DecodeFromPtr(p capnp.Ptr) Debugger_profiler_Results
- func (s Debugger_profiler_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Debugger_profiler_Results) HasProfiler() bool
- func (s Debugger_profiler_Results) IsValid() bool
- func (s Debugger_profiler_Results) Message() *capnp.Message
- func (s Debugger_profiler_Results) Profiler() capnp.Client
- func (s Debugger_profiler_Results) Segment() *capnp.Segment
- func (s Debugger_profiler_Results) SetProfiler(c capnp.Client) error
- func (s Debugger_profiler_Results) String() string
- func (s Debugger_profiler_Results) ToPtr() capnp.Ptr
- type Debugger_profiler_Results_Future
- type Debugger_profiler_Results_List
- type Debugger_sysInfo
- type Debugger_sysInfo_Params
- func (Debugger_sysInfo_Params) DecodeFromPtr(p capnp.Ptr) Debugger_sysInfo_Params
- func (s Debugger_sysInfo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Debugger_sysInfo_Params) IsValid() bool
- func (s Debugger_sysInfo_Params) Message() *capnp.Message
- func (s Debugger_sysInfo_Params) Segment() *capnp.Segment
- func (s Debugger_sysInfo_Params) String() string
- func (s Debugger_sysInfo_Params) ToPtr() capnp.Ptr
- type Debugger_sysInfo_Params_Future
- type Debugger_sysInfo_Params_List
- type Debugger_sysInfo_Results
- func (Debugger_sysInfo_Results) DecodeFromPtr(p capnp.Ptr) Debugger_sysInfo_Results
- func (s Debugger_sysInfo_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Debugger_sysInfo_Results) HasSysInfo() bool
- func (s Debugger_sysInfo_Results) IsValid() bool
- func (s Debugger_sysInfo_Results) Message() *capnp.Message
- func (s Debugger_sysInfo_Results) NewSysInfo() (SysInfo, error)
- func (s Debugger_sysInfo_Results) Segment() *capnp.Segment
- func (s Debugger_sysInfo_Results) SetSysInfo(v SysInfo) error
- func (s Debugger_sysInfo_Results) String() string
- func (s Debugger_sysInfo_Results) SysInfo() (SysInfo, error)
- func (s Debugger_sysInfo_Results) ToPtr() capnp.Ptr
- type Debugger_sysInfo_Results_Future
- type Debugger_sysInfo_Results_List
- type Debugger_tracer
- type Debugger_tracer_Params
- func (Debugger_tracer_Params) DecodeFromPtr(p capnp.Ptr) Debugger_tracer_Params
- func (s Debugger_tracer_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Debugger_tracer_Params) IsValid() bool
- func (s Debugger_tracer_Params) Message() *capnp.Message
- func (s Debugger_tracer_Params) Segment() *capnp.Segment
- func (s Debugger_tracer_Params) String() string
- func (s Debugger_tracer_Params) ToPtr() capnp.Ptr
- type Debugger_tracer_Params_Future
- type Debugger_tracer_Params_List
- type Debugger_tracer_Results
- func (Debugger_tracer_Results) DecodeFromPtr(p capnp.Ptr) Debugger_tracer_Results
- func (s Debugger_tracer_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Debugger_tracer_Results) HasTracer() bool
- func (s Debugger_tracer_Results) IsValid() bool
- func (s Debugger_tracer_Results) Message() *capnp.Message
- func (s Debugger_tracer_Results) Segment() *capnp.Segment
- func (s Debugger_tracer_Results) SetTracer(v Sampler) error
- func (s Debugger_tracer_Results) String() string
- func (s Debugger_tracer_Results) ToPtr() capnp.Ptr
- func (s Debugger_tracer_Results) Tracer() Sampler
- type Debugger_tracer_Results_Future
- type Debugger_tracer_Results_List
- type OSInfo
- func (s OSInfo) Args() (capnp.TextList, error)
- func (OSInfo) DecodeFromPtr(p capnp.Ptr) OSInfo
- func (s OSInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s OSInfo) HasArgs() bool
- func (s OSInfo) HasHostname() bool
- func (s OSInfo) Hostname() (string, error)
- func (s OSInfo) HostnameBytes() ([]byte, error)
- func (s OSInfo) IsValid() bool
- func (s OSInfo) Message() *capnp.Message
- func (s OSInfo) NewArgs(n int32) (capnp.TextList, error)
- func (s OSInfo) Pid() int64
- func (s OSInfo) Segment() *capnp.Segment
- func (s OSInfo) SetArgs(v capnp.TextList) error
- func (s OSInfo) SetHostname(v string) error
- func (s OSInfo) SetPid(v int64)
- func (s OSInfo) String() string
- func (s OSInfo) ToPtr() capnp.Ptr
- func (s OSInfo) User() OSInfo_user
- type OSInfo_Future
- type OSInfo_List
- type OSInfo_user
- func (s OSInfo_user) DisplayName() (string, error)
- func (s OSInfo_user) DisplayNameBytes() ([]byte, error)
- func (s OSInfo_user) Gid() OSInfo_user_gid
- func (s OSInfo_user) HasDisplayName() bool
- func (s OSInfo_user) HasHomeDir() bool
- func (s OSInfo_user) HasUsername() bool
- func (s OSInfo_user) HomeDir() (string, error)
- func (s OSInfo_user) HomeDirBytes() ([]byte, error)
- func (s OSInfo_user) IsValid() bool
- func (s OSInfo_user) Message() *capnp.Message
- func (s OSInfo_user) Segment() *capnp.Segment
- func (s OSInfo_user) SetDisplayName(v string) error
- func (s OSInfo_user) SetHomeDir(v string) error
- func (s OSInfo_user) SetUsername(v string) error
- func (s OSInfo_user) Uid() OSInfo_user_uid
- func (s OSInfo_user) Username() (string, error)
- func (s OSInfo_user) UsernameBytes() ([]byte, error)
- type OSInfo_user_Future
- type OSInfo_user_gid
- func (s OSInfo_user_gid) HasToken() bool
- func (s OSInfo_user_gid) IsValid() bool
- func (s OSInfo_user_gid) Message() *capnp.Message
- func (s OSInfo_user_gid) Numeric() uint64
- func (s OSInfo_user_gid) Segment() *capnp.Segment
- func (s OSInfo_user_gid) SetNone()
- func (s OSInfo_user_gid) SetNumeric(v uint64)
- func (s OSInfo_user_gid) SetToken(v string) error
- func (s OSInfo_user_gid) Token() (string, error)
- func (s OSInfo_user_gid) TokenBytes() ([]byte, error)
- func (s OSInfo_user_gid) Which() OSInfo_user_gid_Which
- type OSInfo_user_gid_Future
- type OSInfo_user_gid_Which
- type OSInfo_user_uid
- func (s OSInfo_user_uid) HasToken() bool
- func (s OSInfo_user_uid) IsValid() bool
- func (s OSInfo_user_uid) Message() *capnp.Message
- func (s OSInfo_user_uid) Numeric() uint64
- func (s OSInfo_user_uid) Segment() *capnp.Segment
- func (s OSInfo_user_uid) SetNone()
- func (s OSInfo_user_uid) SetNumeric(v uint64)
- func (s OSInfo_user_uid) SetToken(v string) error
- func (s OSInfo_user_uid) Token() (string, error)
- func (s OSInfo_user_uid) TokenBytes() ([]byte, error)
- func (s OSInfo_user_uid) Which() OSInfo_user_uid_Which
- type OSInfo_user_uid_Future
- type OSInfo_user_uid_Which
- type Profile
- type Profile_List
- type RuntimeInfo
- func (s RuntimeInfo) Arch() (string, error)
- func (s RuntimeInfo) ArchBytes() ([]byte, error)
- func (s RuntimeInfo) Compiler() (string, error)
- func (s RuntimeInfo) CompilerBytes() ([]byte, error)
- func (RuntimeInfo) DecodeFromPtr(p capnp.Ptr) RuntimeInfo
- func (s RuntimeInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s RuntimeInfo) HasArch() bool
- func (s RuntimeInfo) HasCompiler() bool
- func (s RuntimeInfo) HasOs() bool
- func (s RuntimeInfo) IsValid() bool
- func (s RuntimeInfo) Message() *capnp.Message
- func (s RuntimeInfo) NumCPU() uint32
- func (s RuntimeInfo) Os() (string, error)
- func (s RuntimeInfo) OsBytes() ([]byte, error)
- func (s RuntimeInfo) Segment() *capnp.Segment
- func (s RuntimeInfo) SetArch(v string) error
- func (s RuntimeInfo) SetCompiler(v string) error
- func (s RuntimeInfo) SetNumCPU(v uint32)
- func (s RuntimeInfo) SetOs(v string) error
- func (s RuntimeInfo) String() string
- func (s RuntimeInfo) ToPtr() capnp.Ptr
- type RuntimeInfo_Future
- type RuntimeInfo_List
- type Sampler
- func (c Sampler) AddRef() Sampler
- func (Sampler) DecodeFromPtr(p capnp.Ptr) Sampler
- func (c Sampler) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Sampler) GetFlowLimiter() fc.FlowLimiter
- func (c Sampler) IsSame(other Sampler) bool
- func (c Sampler) IsValid() bool
- func (c Sampler) Release()
- func (c Sampler) Resolve(ctx context.Context) error
- func (c Sampler) Sample(ctx context.Context, params func(Sampler_sample_Params) error) (Sampler_sample_Results_Future, capnp.ReleaseFunc)
- func (c Sampler) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Sampler) String() string
- func (c Sampler) WaitStreaming() error
- type Sampler_List
- type Sampler_Server
- type Sampler_Writer
- func (c Sampler_Writer) AddRef() Sampler_Writer
- func (Sampler_Writer) DecodeFromPtr(p capnp.Ptr) Sampler_Writer
- func (c Sampler_Writer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Sampler_Writer) GetFlowLimiter() fc.FlowLimiter
- func (c Sampler_Writer) IsSame(other Sampler_Writer) bool
- func (c Sampler_Writer) IsValid() bool
- func (c Sampler_Writer) Release()
- func (c Sampler_Writer) Resolve(ctx context.Context) error
- func (c Sampler_Writer) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Sampler_Writer) String() string
- func (c Sampler_Writer) WaitStreaming() error
- func (c Sampler_Writer) Write(ctx context.Context, params func(Sampler_Writer_write_Params) error) error
- type Sampler_Writer_List
- type Sampler_Writer_Server
- type Sampler_Writer_write
- type Sampler_Writer_write_Params
- func (Sampler_Writer_write_Params) DecodeFromPtr(p capnp.Ptr) Sampler_Writer_write_Params
- func (s Sampler_Writer_write_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Sampler_Writer_write_Params) HasSample() bool
- func (s Sampler_Writer_write_Params) IsValid() bool
- func (s Sampler_Writer_write_Params) Message() *capnp.Message
- func (s Sampler_Writer_write_Params) Sample() ([]byte, error)
- func (s Sampler_Writer_write_Params) Segment() *capnp.Segment
- func (s Sampler_Writer_write_Params) SetSample(v []byte) error
- func (s Sampler_Writer_write_Params) String() string
- func (s Sampler_Writer_write_Params) ToPtr() capnp.Ptr
- type Sampler_Writer_write_Params_Future
- type Sampler_Writer_write_Params_List
- type Sampler_sample
- type Sampler_sample_Params
- func (Sampler_sample_Params) DecodeFromPtr(p capnp.Ptr) Sampler_sample_Params
- func (s Sampler_sample_Params) Duration() int64
- func (s Sampler_sample_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Sampler_sample_Params) HasWriter() bool
- func (s Sampler_sample_Params) IsValid() bool
- func (s Sampler_sample_Params) Message() *capnp.Message
- func (s Sampler_sample_Params) Segment() *capnp.Segment
- func (s Sampler_sample_Params) SetDuration(v int64)
- func (s Sampler_sample_Params) SetWriter(v Sampler_Writer) error
- func (s Sampler_sample_Params) String() string
- func (s Sampler_sample_Params) ToPtr() capnp.Ptr
- func (s Sampler_sample_Params) Writer() Sampler_Writer
- type Sampler_sample_Params_Future
- type Sampler_sample_Params_List
- type Sampler_sample_Results
- func (Sampler_sample_Results) DecodeFromPtr(p capnp.Ptr) Sampler_sample_Results
- func (s Sampler_sample_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Sampler_sample_Results) IsValid() bool
- func (s Sampler_sample_Results) Message() *capnp.Message
- func (s Sampler_sample_Results) Segment() *capnp.Segment
- func (s Sampler_sample_Results) String() string
- func (s Sampler_sample_Results) ToPtr() capnp.Ptr
- type Sampler_sample_Results_Future
- type Sampler_sample_Results_List
- type Snapshotter
- func (c Snapshotter) AddRef() Snapshotter
- func (Snapshotter) DecodeFromPtr(p capnp.Ptr) Snapshotter
- func (c Snapshotter) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (c Snapshotter) GetFlowLimiter() fc.FlowLimiter
- func (c Snapshotter) IsSame(other Snapshotter) bool
- func (c Snapshotter) IsValid() bool
- func (c Snapshotter) Release()
- func (c Snapshotter) Resolve(ctx context.Context) error
- func (c Snapshotter) SetFlowLimiter(lim fc.FlowLimiter)
- func (c Snapshotter) Snapshot(ctx context.Context, params func(Snapshotter_snapshot_Params) error) (Snapshotter_snapshot_Results_Future, capnp.ReleaseFunc)
- func (c Snapshotter) String() string
- func (c Snapshotter) WaitStreaming() error
- type Snapshotter_List
- type Snapshotter_Server
- type Snapshotter_snapshot
- type Snapshotter_snapshot_Params
- func (s Snapshotter_snapshot_Params) Debug() uint8
- func (Snapshotter_snapshot_Params) DecodeFromPtr(p capnp.Ptr) Snapshotter_snapshot_Params
- func (s Snapshotter_snapshot_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Snapshotter_snapshot_Params) IsValid() bool
- func (s Snapshotter_snapshot_Params) Message() *capnp.Message
- func (s Snapshotter_snapshot_Params) Segment() *capnp.Segment
- func (s Snapshotter_snapshot_Params) SetDebug(v uint8)
- func (s Snapshotter_snapshot_Params) String() string
- func (s Snapshotter_snapshot_Params) ToPtr() capnp.Ptr
- type Snapshotter_snapshot_Params_Future
- type Snapshotter_snapshot_Params_List
- type Snapshotter_snapshot_Results
- func (Snapshotter_snapshot_Results) DecodeFromPtr(p capnp.Ptr) Snapshotter_snapshot_Results
- func (s Snapshotter_snapshot_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s Snapshotter_snapshot_Results) HasSnapshot() bool
- func (s Snapshotter_snapshot_Results) IsValid() bool
- func (s Snapshotter_snapshot_Results) Message() *capnp.Message
- func (s Snapshotter_snapshot_Results) Segment() *capnp.Segment
- func (s Snapshotter_snapshot_Results) SetSnapshot(v []byte) error
- func (s Snapshotter_snapshot_Results) Snapshot() ([]byte, error)
- func (s Snapshotter_snapshot_Results) String() string
- func (s Snapshotter_snapshot_Results) ToPtr() capnp.Ptr
- type Snapshotter_snapshot_Results_Future
- type Snapshotter_snapshot_Results_List
- type SysInfo
- func (s SysInfo) AppVersion() (string, error)
- func (s SysInfo) AppVersionBytes() ([]byte, error)
- func (SysInfo) DecodeFromPtr(p capnp.Ptr) SysInfo
- func (s SysInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
- func (s SysInfo) HasAppVersion() bool
- func (s SysInfo) HasOs() bool
- func (s SysInfo) HasRuntime() bool
- func (s SysInfo) HasVersion() bool
- func (s SysInfo) IsValid() bool
- func (s SysInfo) Message() *capnp.Message
- func (s SysInfo) NewOs() (OSInfo, error)
- func (s SysInfo) NewRuntime() (RuntimeInfo, error)
- func (s SysInfo) Os() (OSInfo, error)
- func (s SysInfo) Runtime() (RuntimeInfo, error)
- func (s SysInfo) Segment() *capnp.Segment
- func (s SysInfo) SetAppVersion(v string) error
- func (s SysInfo) SetOs(v OSInfo) error
- func (s SysInfo) SetRuntime(v RuntimeInfo) error
- func (s SysInfo) SetVersion(v string) error
- func (s SysInfo) String() string
- func (s SysInfo) ToPtr() capnp.Ptr
- func (s SysInfo) Version() (string, error)
- func (s SysInfo) VersionBytes() ([]byte, error)
- type SysInfo_Future
- type SysInfo_List
Constants ¶
const Debugger_TypeID = 0xc24c1801396ca74c
Debugger_TypeID is the unique identifier for the type Debugger.
const Debugger_envVars_Params_TypeID = 0x83db2441501729b0
Debugger_envVars_Params_TypeID is the unique identifier for the type Debugger_envVars_Params.
const Debugger_envVars_Results_TypeID = 0xb0d6060017654bb5
Debugger_envVars_Results_TypeID is the unique identifier for the type Debugger_envVars_Results.
const Debugger_profiler_Params_TypeID = 0x8a7b0758ee0ddecb
Debugger_profiler_Params_TypeID is the unique identifier for the type Debugger_profiler_Params.
const Debugger_profiler_Results_TypeID = 0x95d1c46932719c75
Debugger_profiler_Results_TypeID is the unique identifier for the type Debugger_profiler_Results.
const Debugger_sysInfo_Params_TypeID = 0xe5abfacae53c612f
Debugger_sysInfo_Params_TypeID is the unique identifier for the type Debugger_sysInfo_Params.
const Debugger_sysInfo_Results_TypeID = 0x824eafd52229a594
Debugger_sysInfo_Results_TypeID is the unique identifier for the type Debugger_sysInfo_Results.
const Debugger_tracer_Params_TypeID = 0xaaf96929f804b361
Debugger_tracer_Params_TypeID is the unique identifier for the type Debugger_tracer_Params.
const Debugger_tracer_Results_TypeID = 0xf9a6bfc943cf37b8
Debugger_tracer_Results_TypeID is the unique identifier for the type Debugger_tracer_Results.
const OSInfo_TypeID = 0xa78273130755c2b8
OSInfo_TypeID is the unique identifier for the type OSInfo.
const Profile_TypeID = 0x8fdb5f6d26c5dc7d
Profile_TypeID is the unique identifier for the type Profile.
const RuntimeInfo_TypeID = 0xd19693a973f6d246
RuntimeInfo_TypeID is the unique identifier for the type RuntimeInfo.
const Sampler_TypeID = 0xcb9867bf09c9fd97
Sampler_TypeID is the unique identifier for the type Sampler.
const Sampler_Writer_TypeID = 0xbad68cb175d6ef9e
Sampler_Writer_TypeID is the unique identifier for the type Sampler_Writer.
const Sampler_Writer_write_Params_TypeID = 0xe9c5e5ae3dbeef0f
Sampler_Writer_write_Params_TypeID is the unique identifier for the type Sampler_Writer_write_Params.
const Sampler_sample_Params_TypeID = 0xd9d25e11d54da126
Sampler_sample_Params_TypeID is the unique identifier for the type Sampler_sample_Params.
const Sampler_sample_Results_TypeID = 0xca4856ba299657e7
Sampler_sample_Results_TypeID is the unique identifier for the type Sampler_sample_Results.
const Snapshotter_TypeID = 0xca6d27d101913471
Snapshotter_TypeID is the unique identifier for the type Snapshotter.
const Snapshotter_snapshot_Params_TypeID = 0xdfdba19e4a7c94f1
Snapshotter_snapshot_Params_TypeID is the unique identifier for the type Snapshotter_snapshot_Params.
const Snapshotter_snapshot_Results_TypeID = 0x8e15524f9d7d00dd
Snapshotter_snapshot_Results_TypeID is the unique identifier for the type Snapshotter_snapshot_Results.
const SysInfo_TypeID = 0xb7089c9e44bf69bc
SysInfo_TypeID is the unique identifier for the type SysInfo.
Variables ¶
This section is empty.
Functions ¶
func Debugger_Methods ¶
func Debugger_Methods(methods []server.Method, s Debugger_Server) []server.Method
Debugger_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Debugger_NewServer ¶
func Debugger_NewServer(s Debugger_Server) *server.Server
Debugger_NewServer creates a new Server from an implementation of Debugger_Server.
func RegisterSchema ¶
func Sampler_Methods ¶
func Sampler_Methods(methods []server.Method, s Sampler_Server) []server.Method
Sampler_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Sampler_NewServer ¶
func Sampler_NewServer(s Sampler_Server) *server.Server
Sampler_NewServer creates a new Server from an implementation of Sampler_Server.
func Sampler_Writer_Methods ¶
func Sampler_Writer_Methods(methods []server.Method, s Sampler_Writer_Server) []server.Method
Sampler_Writer_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Sampler_Writer_NewServer ¶
func Sampler_Writer_NewServer(s Sampler_Writer_Server) *server.Server
Sampler_Writer_NewServer creates a new Server from an implementation of Sampler_Writer_Server.
func Snapshotter_Methods ¶
func Snapshotter_Methods(methods []server.Method, s Snapshotter_Server) []server.Method
Snapshotter_Methods appends Methods to a slice that invoke the methods on s. This can be used to create a more complicated Server.
func Snapshotter_NewServer ¶
func Snapshotter_NewServer(s Snapshotter_Server) *server.Server
Snapshotter_NewServer creates a new Server from an implementation of Snapshotter_Server.
Types ¶
type Debugger ¶
func Debugger_ServerToClient ¶
func Debugger_ServerToClient(s Debugger_Server) Debugger
Debugger_ServerToClient creates a new Client from an implementation of Debugger_Server. The caller is responsible for calling Release on the returned Client.
func (Debugger) 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 (Debugger) EnvVars ¶
func (c Debugger) EnvVars(ctx context.Context, params func(Debugger_envVars_Params) error) (Debugger_envVars_Results_Future, capnp.ReleaseFunc)
func (Debugger) GetFlowLimiter ¶
func (c Debugger) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Debugger) 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 (Debugger) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Debugger) Profiler ¶
func (c Debugger) Profiler(ctx context.Context, params func(Debugger_profiler_Params) error) (Debugger_profiler_Results_Future, capnp.ReleaseFunc)
func (Debugger) Release ¶
func (c Debugger) 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 (Debugger) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Debugger) SetFlowLimiter ¶
func (c Debugger) 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 (Debugger) 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 (Debugger) SysInfo ¶
func (c Debugger) SysInfo(ctx context.Context, params func(Debugger_sysInfo_Params) error) (Debugger_sysInfo_Results_Future, capnp.ReleaseFunc)
func (Debugger) Tracer ¶
func (c Debugger) Tracer(ctx context.Context, params func(Debugger_tracer_Params) error) (Debugger_tracer_Results_Future, capnp.ReleaseFunc)
func (Debugger) WaitStreaming ¶
type Debugger_List ¶
Debugger_List is a list of Debugger.
func NewDebugger_List ¶
func NewDebugger_List(s *capnp.Segment, sz int32) (Debugger_List, error)
NewDebugger creates a new list of Debugger.
type Debugger_Server ¶
type Debugger_Server interface { SysInfo(context.Context, Debugger_sysInfo) error EnvVars(context.Context, Debugger_envVars) error Profiler(context.Context, Debugger_profiler) error Tracer(context.Context, Debugger_tracer) error }
A Debugger_Server is a Debugger with a local implementation.
type Debugger_envVars ¶
Debugger_envVars holds the state for a server call to Debugger.envVars. See server.Call for documentation.
func (Debugger_envVars) AllocResults ¶
func (c Debugger_envVars) AllocResults() (Debugger_envVars_Results, error)
AllocResults allocates the results struct.
func (Debugger_envVars) Args ¶
func (c Debugger_envVars) Args() Debugger_envVars_Params
Args returns the call's arguments.
type Debugger_envVars_Params ¶
func NewDebugger_envVars_Params ¶
func NewDebugger_envVars_Params(s *capnp.Segment) (Debugger_envVars_Params, error)
func NewRootDebugger_envVars_Params ¶
func NewRootDebugger_envVars_Params(s *capnp.Segment) (Debugger_envVars_Params, error)
func ReadRootDebugger_envVars_Params ¶
func ReadRootDebugger_envVars_Params(msg *capnp.Message) (Debugger_envVars_Params, error)
func (Debugger_envVars_Params) DecodeFromPtr ¶
func (Debugger_envVars_Params) DecodeFromPtr(p capnp.Ptr) Debugger_envVars_Params
func (Debugger_envVars_Params) EncodeAsPtr ¶
func (s Debugger_envVars_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Debugger_envVars_Params) IsValid ¶
func (s Debugger_envVars_Params) IsValid() bool
func (Debugger_envVars_Params) Message ¶
func (s Debugger_envVars_Params) Message() *capnp.Message
func (Debugger_envVars_Params) Segment ¶
func (s Debugger_envVars_Params) Segment() *capnp.Segment
func (Debugger_envVars_Params) String ¶
func (s Debugger_envVars_Params) String() string
func (Debugger_envVars_Params) ToPtr ¶
func (s Debugger_envVars_Params) ToPtr() capnp.Ptr
type Debugger_envVars_Params_Future ¶
Debugger_envVars_Params_Future is a wrapper for a Debugger_envVars_Params promised by a client call.
func (Debugger_envVars_Params_Future) Struct ¶
func (f Debugger_envVars_Params_Future) Struct() (Debugger_envVars_Params, error)
type Debugger_envVars_Params_List ¶
type Debugger_envVars_Params_List = capnp.StructList[Debugger_envVars_Params]
Debugger_envVars_Params_List is a list of Debugger_envVars_Params.
func NewDebugger_envVars_Params_List ¶
func NewDebugger_envVars_Params_List(s *capnp.Segment, sz int32) (Debugger_envVars_Params_List, error)
NewDebugger_envVars_Params creates a new list of Debugger_envVars_Params.
type Debugger_envVars_Results ¶
func NewDebugger_envVars_Results ¶
func NewDebugger_envVars_Results(s *capnp.Segment) (Debugger_envVars_Results, error)
func NewRootDebugger_envVars_Results ¶
func NewRootDebugger_envVars_Results(s *capnp.Segment) (Debugger_envVars_Results, error)
func ReadRootDebugger_envVars_Results ¶
func ReadRootDebugger_envVars_Results(msg *capnp.Message) (Debugger_envVars_Results, error)
func (Debugger_envVars_Results) DecodeFromPtr ¶
func (Debugger_envVars_Results) DecodeFromPtr(p capnp.Ptr) Debugger_envVars_Results
func (Debugger_envVars_Results) EncodeAsPtr ¶
func (s Debugger_envVars_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Debugger_envVars_Results) EnvVars ¶
func (s Debugger_envVars_Results) EnvVars() (capnp.TextList, error)
func (Debugger_envVars_Results) HasEnvVars ¶
func (s Debugger_envVars_Results) HasEnvVars() bool
func (Debugger_envVars_Results) IsValid ¶
func (s Debugger_envVars_Results) IsValid() bool
func (Debugger_envVars_Results) Message ¶
func (s Debugger_envVars_Results) Message() *capnp.Message
func (Debugger_envVars_Results) NewEnvVars ¶
func (s Debugger_envVars_Results) NewEnvVars(n int32) (capnp.TextList, error)
NewEnvVars sets the envVars field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (Debugger_envVars_Results) Segment ¶
func (s Debugger_envVars_Results) Segment() *capnp.Segment
func (Debugger_envVars_Results) SetEnvVars ¶
func (s Debugger_envVars_Results) SetEnvVars(v capnp.TextList) error
func (Debugger_envVars_Results) String ¶
func (s Debugger_envVars_Results) String() string
func (Debugger_envVars_Results) ToPtr ¶
func (s Debugger_envVars_Results) ToPtr() capnp.Ptr
type Debugger_envVars_Results_Future ¶
Debugger_envVars_Results_Future is a wrapper for a Debugger_envVars_Results promised by a client call.
func (Debugger_envVars_Results_Future) Struct ¶
func (f Debugger_envVars_Results_Future) Struct() (Debugger_envVars_Results, error)
type Debugger_envVars_Results_List ¶
type Debugger_envVars_Results_List = capnp.StructList[Debugger_envVars_Results]
Debugger_envVars_Results_List is a list of Debugger_envVars_Results.
func NewDebugger_envVars_Results_List ¶
func NewDebugger_envVars_Results_List(s *capnp.Segment, sz int32) (Debugger_envVars_Results_List, error)
NewDebugger_envVars_Results creates a new list of Debugger_envVars_Results.
type Debugger_profiler ¶
Debugger_profiler holds the state for a server call to Debugger.profiler. See server.Call for documentation.
func (Debugger_profiler) AllocResults ¶
func (c Debugger_profiler) AllocResults() (Debugger_profiler_Results, error)
AllocResults allocates the results struct.
func (Debugger_profiler) Args ¶
func (c Debugger_profiler) Args() Debugger_profiler_Params
Args returns the call's arguments.
type Debugger_profiler_Params ¶
func NewDebugger_profiler_Params ¶
func NewDebugger_profiler_Params(s *capnp.Segment) (Debugger_profiler_Params, error)
func NewRootDebugger_profiler_Params ¶
func NewRootDebugger_profiler_Params(s *capnp.Segment) (Debugger_profiler_Params, error)
func ReadRootDebugger_profiler_Params ¶
func ReadRootDebugger_profiler_Params(msg *capnp.Message) (Debugger_profiler_Params, error)
func (Debugger_profiler_Params) DecodeFromPtr ¶
func (Debugger_profiler_Params) DecodeFromPtr(p capnp.Ptr) Debugger_profiler_Params
func (Debugger_profiler_Params) EncodeAsPtr ¶
func (s Debugger_profiler_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Debugger_profiler_Params) IsValid ¶
func (s Debugger_profiler_Params) IsValid() bool
func (Debugger_profiler_Params) Message ¶
func (s Debugger_profiler_Params) Message() *capnp.Message
func (Debugger_profiler_Params) Profile ¶
func (s Debugger_profiler_Params) Profile() Profile
func (Debugger_profiler_Params) Segment ¶
func (s Debugger_profiler_Params) Segment() *capnp.Segment
func (Debugger_profiler_Params) SetProfile ¶
func (s Debugger_profiler_Params) SetProfile(v Profile)
func (Debugger_profiler_Params) String ¶
func (s Debugger_profiler_Params) String() string
func (Debugger_profiler_Params) ToPtr ¶
func (s Debugger_profiler_Params) ToPtr() capnp.Ptr
type Debugger_profiler_Params_Future ¶
Debugger_profiler_Params_Future is a wrapper for a Debugger_profiler_Params promised by a client call.
func (Debugger_profiler_Params_Future) Struct ¶
func (f Debugger_profiler_Params_Future) Struct() (Debugger_profiler_Params, error)
type Debugger_profiler_Params_List ¶
type Debugger_profiler_Params_List = capnp.StructList[Debugger_profiler_Params]
Debugger_profiler_Params_List is a list of Debugger_profiler_Params.
func NewDebugger_profiler_Params_List ¶
func NewDebugger_profiler_Params_List(s *capnp.Segment, sz int32) (Debugger_profiler_Params_List, error)
NewDebugger_profiler_Params creates a new list of Debugger_profiler_Params.
type Debugger_profiler_Results ¶
func NewDebugger_profiler_Results ¶
func NewDebugger_profiler_Results(s *capnp.Segment) (Debugger_profiler_Results, error)
func NewRootDebugger_profiler_Results ¶
func NewRootDebugger_profiler_Results(s *capnp.Segment) (Debugger_profiler_Results, error)
func ReadRootDebugger_profiler_Results ¶
func ReadRootDebugger_profiler_Results(msg *capnp.Message) (Debugger_profiler_Results, error)
func (Debugger_profiler_Results) DecodeFromPtr ¶
func (Debugger_profiler_Results) DecodeFromPtr(p capnp.Ptr) Debugger_profiler_Results
func (Debugger_profiler_Results) EncodeAsPtr ¶
func (s Debugger_profiler_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Debugger_profiler_Results) HasProfiler ¶
func (s Debugger_profiler_Results) HasProfiler() bool
func (Debugger_profiler_Results) IsValid ¶
func (s Debugger_profiler_Results) IsValid() bool
func (Debugger_profiler_Results) Message ¶
func (s Debugger_profiler_Results) Message() *capnp.Message
func (Debugger_profiler_Results) Profiler ¶
func (s Debugger_profiler_Results) Profiler() capnp.Client
func (Debugger_profiler_Results) Segment ¶
func (s Debugger_profiler_Results) Segment() *capnp.Segment
func (Debugger_profiler_Results) SetProfiler ¶
func (s Debugger_profiler_Results) SetProfiler(c capnp.Client) error
func (Debugger_profiler_Results) String ¶
func (s Debugger_profiler_Results) String() string
func (Debugger_profiler_Results) ToPtr ¶
func (s Debugger_profiler_Results) ToPtr() capnp.Ptr
type Debugger_profiler_Results_Future ¶
Debugger_profiler_Results_Future is a wrapper for a Debugger_profiler_Results promised by a client call.
func (Debugger_profiler_Results_Future) Profiler ¶
func (p Debugger_profiler_Results_Future) Profiler() capnp.Client
func (Debugger_profiler_Results_Future) Struct ¶
func (f Debugger_profiler_Results_Future) Struct() (Debugger_profiler_Results, error)
type Debugger_profiler_Results_List ¶
type Debugger_profiler_Results_List = capnp.StructList[Debugger_profiler_Results]
Debugger_profiler_Results_List is a list of Debugger_profiler_Results.
func NewDebugger_profiler_Results_List ¶
func NewDebugger_profiler_Results_List(s *capnp.Segment, sz int32) (Debugger_profiler_Results_List, error)
NewDebugger_profiler_Results creates a new list of Debugger_profiler_Results.
type Debugger_sysInfo ¶
Debugger_sysInfo holds the state for a server call to Debugger.sysInfo. See server.Call for documentation.
func (Debugger_sysInfo) AllocResults ¶
func (c Debugger_sysInfo) AllocResults() (Debugger_sysInfo_Results, error)
AllocResults allocates the results struct.
func (Debugger_sysInfo) Args ¶
func (c Debugger_sysInfo) Args() Debugger_sysInfo_Params
Args returns the call's arguments.
type Debugger_sysInfo_Params ¶
func NewDebugger_sysInfo_Params ¶
func NewDebugger_sysInfo_Params(s *capnp.Segment) (Debugger_sysInfo_Params, error)
func NewRootDebugger_sysInfo_Params ¶
func NewRootDebugger_sysInfo_Params(s *capnp.Segment) (Debugger_sysInfo_Params, error)
func ReadRootDebugger_sysInfo_Params ¶
func ReadRootDebugger_sysInfo_Params(msg *capnp.Message) (Debugger_sysInfo_Params, error)
func (Debugger_sysInfo_Params) DecodeFromPtr ¶
func (Debugger_sysInfo_Params) DecodeFromPtr(p capnp.Ptr) Debugger_sysInfo_Params
func (Debugger_sysInfo_Params) EncodeAsPtr ¶
func (s Debugger_sysInfo_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Debugger_sysInfo_Params) IsValid ¶
func (s Debugger_sysInfo_Params) IsValid() bool
func (Debugger_sysInfo_Params) Message ¶
func (s Debugger_sysInfo_Params) Message() *capnp.Message
func (Debugger_sysInfo_Params) Segment ¶
func (s Debugger_sysInfo_Params) Segment() *capnp.Segment
func (Debugger_sysInfo_Params) String ¶
func (s Debugger_sysInfo_Params) String() string
func (Debugger_sysInfo_Params) ToPtr ¶
func (s Debugger_sysInfo_Params) ToPtr() capnp.Ptr
type Debugger_sysInfo_Params_Future ¶
Debugger_sysInfo_Params_Future is a wrapper for a Debugger_sysInfo_Params promised by a client call.
func (Debugger_sysInfo_Params_Future) Struct ¶
func (f Debugger_sysInfo_Params_Future) Struct() (Debugger_sysInfo_Params, error)
type Debugger_sysInfo_Params_List ¶
type Debugger_sysInfo_Params_List = capnp.StructList[Debugger_sysInfo_Params]
Debugger_sysInfo_Params_List is a list of Debugger_sysInfo_Params.
func NewDebugger_sysInfo_Params_List ¶
func NewDebugger_sysInfo_Params_List(s *capnp.Segment, sz int32) (Debugger_sysInfo_Params_List, error)
NewDebugger_sysInfo_Params creates a new list of Debugger_sysInfo_Params.
type Debugger_sysInfo_Results ¶
func NewDebugger_sysInfo_Results ¶
func NewDebugger_sysInfo_Results(s *capnp.Segment) (Debugger_sysInfo_Results, error)
func NewRootDebugger_sysInfo_Results ¶
func NewRootDebugger_sysInfo_Results(s *capnp.Segment) (Debugger_sysInfo_Results, error)
func ReadRootDebugger_sysInfo_Results ¶
func ReadRootDebugger_sysInfo_Results(msg *capnp.Message) (Debugger_sysInfo_Results, error)
func (Debugger_sysInfo_Results) DecodeFromPtr ¶
func (Debugger_sysInfo_Results) DecodeFromPtr(p capnp.Ptr) Debugger_sysInfo_Results
func (Debugger_sysInfo_Results) EncodeAsPtr ¶
func (s Debugger_sysInfo_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Debugger_sysInfo_Results) HasSysInfo ¶
func (s Debugger_sysInfo_Results) HasSysInfo() bool
func (Debugger_sysInfo_Results) IsValid ¶
func (s Debugger_sysInfo_Results) IsValid() bool
func (Debugger_sysInfo_Results) Message ¶
func (s Debugger_sysInfo_Results) Message() *capnp.Message
func (Debugger_sysInfo_Results) NewSysInfo ¶
func (s Debugger_sysInfo_Results) NewSysInfo() (SysInfo, error)
NewSysInfo sets the sysInfo field to a newly allocated SysInfo struct, preferring placement in s's segment.
func (Debugger_sysInfo_Results) Segment ¶
func (s Debugger_sysInfo_Results) Segment() *capnp.Segment
func (Debugger_sysInfo_Results) SetSysInfo ¶
func (s Debugger_sysInfo_Results) SetSysInfo(v SysInfo) error
func (Debugger_sysInfo_Results) String ¶
func (s Debugger_sysInfo_Results) String() string
func (Debugger_sysInfo_Results) SysInfo ¶
func (s Debugger_sysInfo_Results) SysInfo() (SysInfo, error)
func (Debugger_sysInfo_Results) ToPtr ¶
func (s Debugger_sysInfo_Results) ToPtr() capnp.Ptr
type Debugger_sysInfo_Results_Future ¶
Debugger_sysInfo_Results_Future is a wrapper for a Debugger_sysInfo_Results promised by a client call.
func (Debugger_sysInfo_Results_Future) Struct ¶
func (f Debugger_sysInfo_Results_Future) Struct() (Debugger_sysInfo_Results, error)
func (Debugger_sysInfo_Results_Future) SysInfo ¶
func (p Debugger_sysInfo_Results_Future) SysInfo() SysInfo_Future
type Debugger_sysInfo_Results_List ¶
type Debugger_sysInfo_Results_List = capnp.StructList[Debugger_sysInfo_Results]
Debugger_sysInfo_Results_List is a list of Debugger_sysInfo_Results.
func NewDebugger_sysInfo_Results_List ¶
func NewDebugger_sysInfo_Results_List(s *capnp.Segment, sz int32) (Debugger_sysInfo_Results_List, error)
NewDebugger_sysInfo_Results creates a new list of Debugger_sysInfo_Results.
type Debugger_tracer ¶
Debugger_tracer holds the state for a server call to Debugger.tracer. See server.Call for documentation.
func (Debugger_tracer) AllocResults ¶
func (c Debugger_tracer) AllocResults() (Debugger_tracer_Results, error)
AllocResults allocates the results struct.
func (Debugger_tracer) Args ¶
func (c Debugger_tracer) Args() Debugger_tracer_Params
Args returns the call's arguments.
type Debugger_tracer_Params ¶
func NewDebugger_tracer_Params ¶
func NewDebugger_tracer_Params(s *capnp.Segment) (Debugger_tracer_Params, error)
func NewRootDebugger_tracer_Params ¶
func NewRootDebugger_tracer_Params(s *capnp.Segment) (Debugger_tracer_Params, error)
func ReadRootDebugger_tracer_Params ¶
func ReadRootDebugger_tracer_Params(msg *capnp.Message) (Debugger_tracer_Params, error)
func (Debugger_tracer_Params) DecodeFromPtr ¶
func (Debugger_tracer_Params) DecodeFromPtr(p capnp.Ptr) Debugger_tracer_Params
func (Debugger_tracer_Params) EncodeAsPtr ¶
func (s Debugger_tracer_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Debugger_tracer_Params) IsValid ¶
func (s Debugger_tracer_Params) IsValid() bool
func (Debugger_tracer_Params) Message ¶
func (s Debugger_tracer_Params) Message() *capnp.Message
func (Debugger_tracer_Params) Segment ¶
func (s Debugger_tracer_Params) Segment() *capnp.Segment
func (Debugger_tracer_Params) String ¶
func (s Debugger_tracer_Params) String() string
func (Debugger_tracer_Params) ToPtr ¶
func (s Debugger_tracer_Params) ToPtr() capnp.Ptr
type Debugger_tracer_Params_Future ¶
Debugger_tracer_Params_Future is a wrapper for a Debugger_tracer_Params promised by a client call.
func (Debugger_tracer_Params_Future) Struct ¶
func (f Debugger_tracer_Params_Future) Struct() (Debugger_tracer_Params, error)
type Debugger_tracer_Params_List ¶
type Debugger_tracer_Params_List = capnp.StructList[Debugger_tracer_Params]
Debugger_tracer_Params_List is a list of Debugger_tracer_Params.
func NewDebugger_tracer_Params_List ¶
func NewDebugger_tracer_Params_List(s *capnp.Segment, sz int32) (Debugger_tracer_Params_List, error)
NewDebugger_tracer_Params creates a new list of Debugger_tracer_Params.
type Debugger_tracer_Results ¶
func NewDebugger_tracer_Results ¶
func NewDebugger_tracer_Results(s *capnp.Segment) (Debugger_tracer_Results, error)
func NewRootDebugger_tracer_Results ¶
func NewRootDebugger_tracer_Results(s *capnp.Segment) (Debugger_tracer_Results, error)
func ReadRootDebugger_tracer_Results ¶
func ReadRootDebugger_tracer_Results(msg *capnp.Message) (Debugger_tracer_Results, error)
func (Debugger_tracer_Results) DecodeFromPtr ¶
func (Debugger_tracer_Results) DecodeFromPtr(p capnp.Ptr) Debugger_tracer_Results
func (Debugger_tracer_Results) EncodeAsPtr ¶
func (s Debugger_tracer_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Debugger_tracer_Results) HasTracer ¶
func (s Debugger_tracer_Results) HasTracer() bool
func (Debugger_tracer_Results) IsValid ¶
func (s Debugger_tracer_Results) IsValid() bool
func (Debugger_tracer_Results) Message ¶
func (s Debugger_tracer_Results) Message() *capnp.Message
func (Debugger_tracer_Results) Segment ¶
func (s Debugger_tracer_Results) Segment() *capnp.Segment
func (Debugger_tracer_Results) SetTracer ¶
func (s Debugger_tracer_Results) SetTracer(v Sampler) error
func (Debugger_tracer_Results) String ¶
func (s Debugger_tracer_Results) String() string
func (Debugger_tracer_Results) ToPtr ¶
func (s Debugger_tracer_Results) ToPtr() capnp.Ptr
func (Debugger_tracer_Results) Tracer ¶
func (s Debugger_tracer_Results) Tracer() Sampler
type Debugger_tracer_Results_Future ¶
Debugger_tracer_Results_Future is a wrapper for a Debugger_tracer_Results promised by a client call.
func (Debugger_tracer_Results_Future) Struct ¶
func (f Debugger_tracer_Results_Future) Struct() (Debugger_tracer_Results, error)
func (Debugger_tracer_Results_Future) Tracer ¶
func (p Debugger_tracer_Results_Future) Tracer() Sampler
type Debugger_tracer_Results_List ¶
type Debugger_tracer_Results_List = capnp.StructList[Debugger_tracer_Results]
Debugger_tracer_Results_List is a list of Debugger_tracer_Results.
func NewDebugger_tracer_Results_List ¶
func NewDebugger_tracer_Results_List(s *capnp.Segment, sz int32) (Debugger_tracer_Results_List, error)
NewDebugger_tracer_Results creates a new list of Debugger_tracer_Results.
type OSInfo ¶
func (OSInfo) HasHostname ¶
func (OSInfo) HostnameBytes ¶
func (OSInfo) NewArgs ¶
NewArgs sets the args field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (OSInfo) SetHostname ¶
func (OSInfo) User ¶
func (s OSInfo) User() OSInfo_user
type OSInfo_Future ¶
OSInfo_Future is a wrapper for a OSInfo promised by a client call.
func (OSInfo_Future) Struct ¶
func (f OSInfo_Future) Struct() (OSInfo, error)
func (OSInfo_Future) User ¶
func (p OSInfo_Future) User() OSInfo_user_Future
type OSInfo_List ¶
type OSInfo_List = capnp.StructList[OSInfo]
OSInfo_List is a list of OSInfo.
func NewOSInfo_List ¶
func NewOSInfo_List(s *capnp.Segment, sz int32) (OSInfo_List, error)
NewOSInfo creates a new list of OSInfo.
type OSInfo_user ¶
type OSInfo_user OSInfo
func (OSInfo_user) DisplayName ¶
func (s OSInfo_user) DisplayName() (string, error)
func (OSInfo_user) DisplayNameBytes ¶
func (s OSInfo_user) DisplayNameBytes() ([]byte, error)
func (OSInfo_user) Gid ¶
func (s OSInfo_user) Gid() OSInfo_user_gid
func (OSInfo_user) HasDisplayName ¶
func (s OSInfo_user) HasDisplayName() bool
func (OSInfo_user) HasHomeDir ¶
func (s OSInfo_user) HasHomeDir() bool
func (OSInfo_user) HasUsername ¶
func (s OSInfo_user) HasUsername() bool
func (OSInfo_user) HomeDir ¶
func (s OSInfo_user) HomeDir() (string, error)
func (OSInfo_user) HomeDirBytes ¶
func (s OSInfo_user) HomeDirBytes() ([]byte, error)
func (OSInfo_user) IsValid ¶
func (s OSInfo_user) IsValid() bool
func (OSInfo_user) Message ¶
func (s OSInfo_user) Message() *capnp.Message
func (OSInfo_user) Segment ¶
func (s OSInfo_user) Segment() *capnp.Segment
func (OSInfo_user) SetDisplayName ¶
func (s OSInfo_user) SetDisplayName(v string) error
func (OSInfo_user) SetHomeDir ¶
func (s OSInfo_user) SetHomeDir(v string) error
func (OSInfo_user) SetUsername ¶
func (s OSInfo_user) SetUsername(v string) error
func (OSInfo_user) Uid ¶
func (s OSInfo_user) Uid() OSInfo_user_uid
func (OSInfo_user) Username ¶
func (s OSInfo_user) Username() (string, error)
func (OSInfo_user) UsernameBytes ¶
func (s OSInfo_user) UsernameBytes() ([]byte, error)
type OSInfo_user_Future ¶
OSInfo_user_Future is a wrapper for a OSInfo_user promised by a client call.
func (OSInfo_user_Future) Gid ¶
func (p OSInfo_user_Future) Gid() OSInfo_user_gid_Future
func (OSInfo_user_Future) Struct ¶
func (f OSInfo_user_Future) Struct() (OSInfo_user, error)
func (OSInfo_user_Future) Uid ¶
func (p OSInfo_user_Future) Uid() OSInfo_user_uid_Future
type OSInfo_user_gid ¶
type OSInfo_user_gid OSInfo
func (OSInfo_user_gid) HasToken ¶
func (s OSInfo_user_gid) HasToken() bool
func (OSInfo_user_gid) IsValid ¶
func (s OSInfo_user_gid) IsValid() bool
func (OSInfo_user_gid) Message ¶
func (s OSInfo_user_gid) Message() *capnp.Message
func (OSInfo_user_gid) Numeric ¶
func (s OSInfo_user_gid) Numeric() uint64
func (OSInfo_user_gid) Segment ¶
func (s OSInfo_user_gid) Segment() *capnp.Segment
func (OSInfo_user_gid) SetNone ¶
func (s OSInfo_user_gid) SetNone()
func (OSInfo_user_gid) SetNumeric ¶
func (s OSInfo_user_gid) SetNumeric(v uint64)
func (OSInfo_user_gid) SetToken ¶
func (s OSInfo_user_gid) SetToken(v string) error
func (OSInfo_user_gid) Token ¶
func (s OSInfo_user_gid) Token() (string, error)
func (OSInfo_user_gid) TokenBytes ¶
func (s OSInfo_user_gid) TokenBytes() ([]byte, error)
func (OSInfo_user_gid) Which ¶
func (s OSInfo_user_gid) Which() OSInfo_user_gid_Which
type OSInfo_user_gid_Future ¶
OSInfo_user_gid_Future is a wrapper for a OSInfo_user_gid promised by a client call.
func (OSInfo_user_gid_Future) Struct ¶
func (f OSInfo_user_gid_Future) Struct() (OSInfo_user_gid, error)
type OSInfo_user_gid_Which ¶
type OSInfo_user_gid_Which uint16
const ( OSInfo_user_gid_Which_none OSInfo_user_gid_Which = 0 OSInfo_user_gid_Which_numeric OSInfo_user_gid_Which = 1 OSInfo_user_gid_Which_token OSInfo_user_gid_Which = 2 )
func (OSInfo_user_gid_Which) String ¶
func (w OSInfo_user_gid_Which) String() string
type OSInfo_user_uid ¶
type OSInfo_user_uid OSInfo
func (OSInfo_user_uid) HasToken ¶
func (s OSInfo_user_uid) HasToken() bool
func (OSInfo_user_uid) IsValid ¶
func (s OSInfo_user_uid) IsValid() bool
func (OSInfo_user_uid) Message ¶
func (s OSInfo_user_uid) Message() *capnp.Message
func (OSInfo_user_uid) Numeric ¶
func (s OSInfo_user_uid) Numeric() uint64
func (OSInfo_user_uid) Segment ¶
func (s OSInfo_user_uid) Segment() *capnp.Segment
func (OSInfo_user_uid) SetNone ¶
func (s OSInfo_user_uid) SetNone()
func (OSInfo_user_uid) SetNumeric ¶
func (s OSInfo_user_uid) SetNumeric(v uint64)
func (OSInfo_user_uid) SetToken ¶
func (s OSInfo_user_uid) SetToken(v string) error
func (OSInfo_user_uid) Token ¶
func (s OSInfo_user_uid) Token() (string, error)
func (OSInfo_user_uid) TokenBytes ¶
func (s OSInfo_user_uid) TokenBytes() ([]byte, error)
func (OSInfo_user_uid) Which ¶
func (s OSInfo_user_uid) Which() OSInfo_user_uid_Which
type OSInfo_user_uid_Future ¶
OSInfo_user_uid_Future is a wrapper for a OSInfo_user_uid promised by a client call.
func (OSInfo_user_uid_Future) Struct ¶
func (f OSInfo_user_uid_Future) Struct() (OSInfo_user_uid, error)
type OSInfo_user_uid_Which ¶
type OSInfo_user_uid_Which uint16
const ( OSInfo_user_uid_Which_none OSInfo_user_uid_Which = 0 OSInfo_user_uid_Which_numeric OSInfo_user_uid_Which = 1 OSInfo_user_uid_Which_token OSInfo_user_uid_Which = 2 )
func (OSInfo_user_uid_Which) String ¶
func (w OSInfo_user_uid_Which) String() string
type Profile ¶
type Profile uint16
const ( Profile_cpu Profile = 0 Profile_allocs Profile = 1 Profile_block Profile = 2 Profile_goroutine Profile = 3 Profile_heap Profile = 4 Profile_mutex Profile = 5 Profile_threadcreate Profile = 6 )
Values of Profile.
func ProfileFromString ¶
ProfileFromString returns the enum value with a name, or the zero value if there's no such value.
type Profile_List ¶
func NewProfile_List ¶
func NewProfile_List(s *capnp.Segment, sz int32) (Profile_List, error)
type RuntimeInfo ¶
func NewRootRuntimeInfo ¶
func NewRootRuntimeInfo(s *capnp.Segment) (RuntimeInfo, error)
func NewRuntimeInfo ¶
func NewRuntimeInfo(s *capnp.Segment) (RuntimeInfo, error)
func ReadRootRuntimeInfo ¶
func ReadRootRuntimeInfo(msg *capnp.Message) (RuntimeInfo, error)
func (RuntimeInfo) Arch ¶
func (s RuntimeInfo) Arch() (string, error)
func (RuntimeInfo) ArchBytes ¶
func (s RuntimeInfo) ArchBytes() ([]byte, error)
func (RuntimeInfo) Compiler ¶
func (s RuntimeInfo) Compiler() (string, error)
func (RuntimeInfo) CompilerBytes ¶
func (s RuntimeInfo) CompilerBytes() ([]byte, error)
func (RuntimeInfo) DecodeFromPtr ¶
func (RuntimeInfo) DecodeFromPtr(p capnp.Ptr) RuntimeInfo
func (RuntimeInfo) EncodeAsPtr ¶
func (s RuntimeInfo) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (RuntimeInfo) HasArch ¶
func (s RuntimeInfo) HasArch() bool
func (RuntimeInfo) HasCompiler ¶
func (s RuntimeInfo) HasCompiler() bool
func (RuntimeInfo) HasOs ¶
func (s RuntimeInfo) HasOs() bool
func (RuntimeInfo) IsValid ¶
func (s RuntimeInfo) IsValid() bool
func (RuntimeInfo) Message ¶
func (s RuntimeInfo) Message() *capnp.Message
func (RuntimeInfo) NumCPU ¶
func (s RuntimeInfo) NumCPU() uint32
func (RuntimeInfo) Os ¶
func (s RuntimeInfo) Os() (string, error)
func (RuntimeInfo) OsBytes ¶
func (s RuntimeInfo) OsBytes() ([]byte, error)
func (RuntimeInfo) Segment ¶
func (s RuntimeInfo) Segment() *capnp.Segment
func (RuntimeInfo) SetArch ¶
func (s RuntimeInfo) SetArch(v string) error
func (RuntimeInfo) SetCompiler ¶
func (s RuntimeInfo) SetCompiler(v string) error
func (RuntimeInfo) SetNumCPU ¶
func (s RuntimeInfo) SetNumCPU(v uint32)
func (RuntimeInfo) SetOs ¶
func (s RuntimeInfo) SetOs(v string) error
func (RuntimeInfo) String ¶
func (s RuntimeInfo) String() string
func (RuntimeInfo) ToPtr ¶
func (s RuntimeInfo) ToPtr() capnp.Ptr
type RuntimeInfo_Future ¶
RuntimeInfo_Future is a wrapper for a RuntimeInfo promised by a client call.
func (RuntimeInfo_Future) Struct ¶
func (f RuntimeInfo_Future) Struct() (RuntimeInfo, error)
type RuntimeInfo_List ¶
type RuntimeInfo_List = capnp.StructList[RuntimeInfo]
RuntimeInfo_List is a list of RuntimeInfo.
func NewRuntimeInfo_List ¶
func NewRuntimeInfo_List(s *capnp.Segment, sz int32) (RuntimeInfo_List, error)
NewRuntimeInfo creates a new list of RuntimeInfo.
type Sampler ¶
func Sampler_ServerToClient ¶
func Sampler_ServerToClient(s Sampler_Server) Sampler
Sampler_ServerToClient creates a new Client from an implementation of Sampler_Server. The caller is responsible for calling Release on the returned Client.
func (Sampler) 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 (Sampler) GetFlowLimiter ¶
func (c Sampler) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Sampler) 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 (Sampler) IsValid ¶
IsValid reports whether c is a valid reference to a capability. A reference is invalid if it is nil, has resolved to null, or has been released.
func (Sampler) Release ¶
func (c Sampler) 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 (Sampler) Resolve ¶
Resolve blocks until the capability is fully resolved or the Context expires.
func (Sampler) Sample ¶
func (c Sampler) Sample(ctx context.Context, params func(Sampler_sample_Params) error) (Sampler_sample_Results_Future, capnp.ReleaseFunc)
func (Sampler) SetFlowLimiter ¶
func (c Sampler) 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 (Sampler) 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 (Sampler) WaitStreaming ¶
type Sampler_List ¶
Sampler_List is a list of Sampler.
func NewSampler_List ¶
func NewSampler_List(s *capnp.Segment, sz int32) (Sampler_List, error)
NewSampler creates a new list of Sampler.
type Sampler_Server ¶
type Sampler_Server interface {
Sample(context.Context, Sampler_sample) error
}
A Sampler_Server is a Sampler with a local implementation.
type Sampler_Writer ¶
func Sampler_Writer_ServerToClient ¶
func Sampler_Writer_ServerToClient(s Sampler_Writer_Server) Sampler_Writer
Sampler_Writer_ServerToClient creates a new Client from an implementation of Sampler_Writer_Server. The caller is responsible for calling Release on the returned Client.
func (Sampler_Writer) AddRef ¶
func (c Sampler_Writer) AddRef() Sampler_Writer
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 (Sampler_Writer) DecodeFromPtr ¶
func (Sampler_Writer) DecodeFromPtr(p capnp.Ptr) Sampler_Writer
func (Sampler_Writer) EncodeAsPtr ¶
func (c Sampler_Writer) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Sampler_Writer) GetFlowLimiter ¶
func (c Sampler_Writer) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Sampler_Writer) IsSame ¶
func (c Sampler_Writer) IsSame(other Sampler_Writer) 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 (Sampler_Writer) IsValid ¶
func (c Sampler_Writer) 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 (Sampler_Writer) Release ¶
func (c Sampler_Writer) 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 (Sampler_Writer) Resolve ¶
func (c Sampler_Writer) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Sampler_Writer) SetFlowLimiter ¶
func (c Sampler_Writer) 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 (Sampler_Writer) String ¶
func (c Sampler_Writer) 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 (Sampler_Writer) WaitStreaming ¶
func (c Sampler_Writer) WaitStreaming() error
func (Sampler_Writer) Write ¶
func (c Sampler_Writer) Write(ctx context.Context, params func(Sampler_Writer_write_Params) error) error
type Sampler_Writer_List ¶
type Sampler_Writer_List = capnp.CapList[Sampler_Writer]
Sampler_Writer_List is a list of Sampler_Writer.
func NewSampler_Writer_List ¶
func NewSampler_Writer_List(s *capnp.Segment, sz int32) (Sampler_Writer_List, error)
NewSampler_Writer creates a new list of Sampler_Writer.
type Sampler_Writer_Server ¶
type Sampler_Writer_Server interface {
Write(context.Context, Sampler_Writer_write) error
}
A Sampler_Writer_Server is a Sampler_Writer with a local implementation.
type Sampler_Writer_write ¶
Sampler_Writer_write holds the state for a server call to Sampler_Writer.write. See server.Call for documentation.
func (Sampler_Writer_write) AllocResults ¶
func (c Sampler_Writer_write) AllocResults() (stream.StreamResult, error)
AllocResults allocates the results struct.
func (Sampler_Writer_write) Args ¶
func (c Sampler_Writer_write) Args() Sampler_Writer_write_Params
Args returns the call's arguments.
type Sampler_Writer_write_Params ¶
func NewRootSampler_Writer_write_Params ¶
func NewRootSampler_Writer_write_Params(s *capnp.Segment) (Sampler_Writer_write_Params, error)
func NewSampler_Writer_write_Params ¶
func NewSampler_Writer_write_Params(s *capnp.Segment) (Sampler_Writer_write_Params, error)
func ReadRootSampler_Writer_write_Params ¶
func ReadRootSampler_Writer_write_Params(msg *capnp.Message) (Sampler_Writer_write_Params, error)
func (Sampler_Writer_write_Params) DecodeFromPtr ¶
func (Sampler_Writer_write_Params) DecodeFromPtr(p capnp.Ptr) Sampler_Writer_write_Params
func (Sampler_Writer_write_Params) EncodeAsPtr ¶
func (s Sampler_Writer_write_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Sampler_Writer_write_Params) HasSample ¶
func (s Sampler_Writer_write_Params) HasSample() bool
func (Sampler_Writer_write_Params) IsValid ¶
func (s Sampler_Writer_write_Params) IsValid() bool
func (Sampler_Writer_write_Params) Message ¶
func (s Sampler_Writer_write_Params) Message() *capnp.Message
func (Sampler_Writer_write_Params) Sample ¶
func (s Sampler_Writer_write_Params) Sample() ([]byte, error)
func (Sampler_Writer_write_Params) Segment ¶
func (s Sampler_Writer_write_Params) Segment() *capnp.Segment
func (Sampler_Writer_write_Params) SetSample ¶
func (s Sampler_Writer_write_Params) SetSample(v []byte) error
func (Sampler_Writer_write_Params) String ¶
func (s Sampler_Writer_write_Params) String() string
func (Sampler_Writer_write_Params) ToPtr ¶
func (s Sampler_Writer_write_Params) ToPtr() capnp.Ptr
type Sampler_Writer_write_Params_Future ¶
Sampler_Writer_write_Params_Future is a wrapper for a Sampler_Writer_write_Params promised by a client call.
func (Sampler_Writer_write_Params_Future) Struct ¶
func (f Sampler_Writer_write_Params_Future) Struct() (Sampler_Writer_write_Params, error)
type Sampler_Writer_write_Params_List ¶
type Sampler_Writer_write_Params_List = capnp.StructList[Sampler_Writer_write_Params]
Sampler_Writer_write_Params_List is a list of Sampler_Writer_write_Params.
func NewSampler_Writer_write_Params_List ¶
func NewSampler_Writer_write_Params_List(s *capnp.Segment, sz int32) (Sampler_Writer_write_Params_List, error)
NewSampler_Writer_write_Params creates a new list of Sampler_Writer_write_Params.
type Sampler_sample ¶
Sampler_sample holds the state for a server call to Sampler.sample. See server.Call for documentation.
func (Sampler_sample) AllocResults ¶
func (c Sampler_sample) AllocResults() (Sampler_sample_Results, error)
AllocResults allocates the results struct.
func (Sampler_sample) Args ¶
func (c Sampler_sample) Args() Sampler_sample_Params
Args returns the call's arguments.
type Sampler_sample_Params ¶
func NewRootSampler_sample_Params ¶
func NewRootSampler_sample_Params(s *capnp.Segment) (Sampler_sample_Params, error)
func NewSampler_sample_Params ¶
func NewSampler_sample_Params(s *capnp.Segment) (Sampler_sample_Params, error)
func ReadRootSampler_sample_Params ¶
func ReadRootSampler_sample_Params(msg *capnp.Message) (Sampler_sample_Params, error)
func (Sampler_sample_Params) DecodeFromPtr ¶
func (Sampler_sample_Params) DecodeFromPtr(p capnp.Ptr) Sampler_sample_Params
func (Sampler_sample_Params) Duration ¶
func (s Sampler_sample_Params) Duration() int64
func (Sampler_sample_Params) EncodeAsPtr ¶
func (s Sampler_sample_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Sampler_sample_Params) HasWriter ¶
func (s Sampler_sample_Params) HasWriter() bool
func (Sampler_sample_Params) IsValid ¶
func (s Sampler_sample_Params) IsValid() bool
func (Sampler_sample_Params) Message ¶
func (s Sampler_sample_Params) Message() *capnp.Message
func (Sampler_sample_Params) Segment ¶
func (s Sampler_sample_Params) Segment() *capnp.Segment
func (Sampler_sample_Params) SetDuration ¶
func (s Sampler_sample_Params) SetDuration(v int64)
func (Sampler_sample_Params) SetWriter ¶
func (s Sampler_sample_Params) SetWriter(v Sampler_Writer) error
func (Sampler_sample_Params) String ¶
func (s Sampler_sample_Params) String() string
func (Sampler_sample_Params) ToPtr ¶
func (s Sampler_sample_Params) ToPtr() capnp.Ptr
func (Sampler_sample_Params) Writer ¶
func (s Sampler_sample_Params) Writer() Sampler_Writer
type Sampler_sample_Params_Future ¶
Sampler_sample_Params_Future is a wrapper for a Sampler_sample_Params promised by a client call.
func (Sampler_sample_Params_Future) Struct ¶
func (f Sampler_sample_Params_Future) Struct() (Sampler_sample_Params, error)
func (Sampler_sample_Params_Future) Writer ¶
func (p Sampler_sample_Params_Future) Writer() Sampler_Writer
type Sampler_sample_Params_List ¶
type Sampler_sample_Params_List = capnp.StructList[Sampler_sample_Params]
Sampler_sample_Params_List is a list of Sampler_sample_Params.
func NewSampler_sample_Params_List ¶
func NewSampler_sample_Params_List(s *capnp.Segment, sz int32) (Sampler_sample_Params_List, error)
NewSampler_sample_Params creates a new list of Sampler_sample_Params.
type Sampler_sample_Results ¶
func NewRootSampler_sample_Results ¶
func NewRootSampler_sample_Results(s *capnp.Segment) (Sampler_sample_Results, error)
func NewSampler_sample_Results ¶
func NewSampler_sample_Results(s *capnp.Segment) (Sampler_sample_Results, error)
func ReadRootSampler_sample_Results ¶
func ReadRootSampler_sample_Results(msg *capnp.Message) (Sampler_sample_Results, error)
func (Sampler_sample_Results) DecodeFromPtr ¶
func (Sampler_sample_Results) DecodeFromPtr(p capnp.Ptr) Sampler_sample_Results
func (Sampler_sample_Results) EncodeAsPtr ¶
func (s Sampler_sample_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Sampler_sample_Results) IsValid ¶
func (s Sampler_sample_Results) IsValid() bool
func (Sampler_sample_Results) Message ¶
func (s Sampler_sample_Results) Message() *capnp.Message
func (Sampler_sample_Results) Segment ¶
func (s Sampler_sample_Results) Segment() *capnp.Segment
func (Sampler_sample_Results) String ¶
func (s Sampler_sample_Results) String() string
func (Sampler_sample_Results) ToPtr ¶
func (s Sampler_sample_Results) ToPtr() capnp.Ptr
type Sampler_sample_Results_Future ¶
Sampler_sample_Results_Future is a wrapper for a Sampler_sample_Results promised by a client call.
func (Sampler_sample_Results_Future) Struct ¶
func (f Sampler_sample_Results_Future) Struct() (Sampler_sample_Results, error)
type Sampler_sample_Results_List ¶
type Sampler_sample_Results_List = capnp.StructList[Sampler_sample_Results]
Sampler_sample_Results_List is a list of Sampler_sample_Results.
func NewSampler_sample_Results_List ¶
func NewSampler_sample_Results_List(s *capnp.Segment, sz int32) (Sampler_sample_Results_List, error)
NewSampler_sample_Results creates a new list of Sampler_sample_Results.
type Snapshotter ¶
func Snapshotter_ServerToClient ¶
func Snapshotter_ServerToClient(s Snapshotter_Server) Snapshotter
Snapshotter_ServerToClient creates a new Client from an implementation of Snapshotter_Server. The caller is responsible for calling Release on the returned Client.
func (Snapshotter) AddRef ¶
func (c Snapshotter) AddRef() Snapshotter
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 (Snapshotter) DecodeFromPtr ¶
func (Snapshotter) DecodeFromPtr(p capnp.Ptr) Snapshotter
func (Snapshotter) EncodeAsPtr ¶
func (c Snapshotter) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Snapshotter) GetFlowLimiter ¶
func (c Snapshotter) GetFlowLimiter() fc.FlowLimiter
Get the current flowcontrol.FlowLimiter used to manage flow control for this client.
func (Snapshotter) IsSame ¶
func (c Snapshotter) IsSame(other Snapshotter) 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 (Snapshotter) IsValid ¶
func (c Snapshotter) 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 (Snapshotter) Release ¶
func (c Snapshotter) 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 (Snapshotter) Resolve ¶
func (c Snapshotter) Resolve(ctx context.Context) error
Resolve blocks until the capability is fully resolved or the Context expires.
func (Snapshotter) SetFlowLimiter ¶
func (c Snapshotter) 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 (Snapshotter) Snapshot ¶
func (c Snapshotter) Snapshot(ctx context.Context, params func(Snapshotter_snapshot_Params) error) (Snapshotter_snapshot_Results_Future, capnp.ReleaseFunc)
func (Snapshotter) String ¶
func (c Snapshotter) 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 (Snapshotter) WaitStreaming ¶
func (c Snapshotter) WaitStreaming() error
type Snapshotter_List ¶
type Snapshotter_List = capnp.CapList[Snapshotter]
Snapshotter_List is a list of Snapshotter.
func NewSnapshotter_List ¶
func NewSnapshotter_List(s *capnp.Segment, sz int32) (Snapshotter_List, error)
NewSnapshotter creates a new list of Snapshotter.
type Snapshotter_Server ¶
type Snapshotter_Server interface {
Snapshot(context.Context, Snapshotter_snapshot) error
}
A Snapshotter_Server is a Snapshotter with a local implementation.
type Snapshotter_snapshot ¶
Snapshotter_snapshot holds the state for a server call to Snapshotter.snapshot. See server.Call for documentation.
func (Snapshotter_snapshot) AllocResults ¶
func (c Snapshotter_snapshot) AllocResults() (Snapshotter_snapshot_Results, error)
AllocResults allocates the results struct.
func (Snapshotter_snapshot) Args ¶
func (c Snapshotter_snapshot) Args() Snapshotter_snapshot_Params
Args returns the call's arguments.
type Snapshotter_snapshot_Params ¶
func NewRootSnapshotter_snapshot_Params ¶
func NewRootSnapshotter_snapshot_Params(s *capnp.Segment) (Snapshotter_snapshot_Params, error)
func NewSnapshotter_snapshot_Params ¶
func NewSnapshotter_snapshot_Params(s *capnp.Segment) (Snapshotter_snapshot_Params, error)
func ReadRootSnapshotter_snapshot_Params ¶
func ReadRootSnapshotter_snapshot_Params(msg *capnp.Message) (Snapshotter_snapshot_Params, error)
func (Snapshotter_snapshot_Params) Debug ¶
func (s Snapshotter_snapshot_Params) Debug() uint8
func (Snapshotter_snapshot_Params) DecodeFromPtr ¶
func (Snapshotter_snapshot_Params) DecodeFromPtr(p capnp.Ptr) Snapshotter_snapshot_Params
func (Snapshotter_snapshot_Params) EncodeAsPtr ¶
func (s Snapshotter_snapshot_Params) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Snapshotter_snapshot_Params) IsValid ¶
func (s Snapshotter_snapshot_Params) IsValid() bool
func (Snapshotter_snapshot_Params) Message ¶
func (s Snapshotter_snapshot_Params) Message() *capnp.Message
func (Snapshotter_snapshot_Params) Segment ¶
func (s Snapshotter_snapshot_Params) Segment() *capnp.Segment
func (Snapshotter_snapshot_Params) SetDebug ¶
func (s Snapshotter_snapshot_Params) SetDebug(v uint8)
func (Snapshotter_snapshot_Params) String ¶
func (s Snapshotter_snapshot_Params) String() string
func (Snapshotter_snapshot_Params) ToPtr ¶
func (s Snapshotter_snapshot_Params) ToPtr() capnp.Ptr
type Snapshotter_snapshot_Params_Future ¶
Snapshotter_snapshot_Params_Future is a wrapper for a Snapshotter_snapshot_Params promised by a client call.
func (Snapshotter_snapshot_Params_Future) Struct ¶
func (f Snapshotter_snapshot_Params_Future) Struct() (Snapshotter_snapshot_Params, error)
type Snapshotter_snapshot_Params_List ¶
type Snapshotter_snapshot_Params_List = capnp.StructList[Snapshotter_snapshot_Params]
Snapshotter_snapshot_Params_List is a list of Snapshotter_snapshot_Params.
func NewSnapshotter_snapshot_Params_List ¶
func NewSnapshotter_snapshot_Params_List(s *capnp.Segment, sz int32) (Snapshotter_snapshot_Params_List, error)
NewSnapshotter_snapshot_Params creates a new list of Snapshotter_snapshot_Params.
type Snapshotter_snapshot_Results ¶
func NewRootSnapshotter_snapshot_Results ¶
func NewRootSnapshotter_snapshot_Results(s *capnp.Segment) (Snapshotter_snapshot_Results, error)
func NewSnapshotter_snapshot_Results ¶
func NewSnapshotter_snapshot_Results(s *capnp.Segment) (Snapshotter_snapshot_Results, error)
func ReadRootSnapshotter_snapshot_Results ¶
func ReadRootSnapshotter_snapshot_Results(msg *capnp.Message) (Snapshotter_snapshot_Results, error)
func (Snapshotter_snapshot_Results) DecodeFromPtr ¶
func (Snapshotter_snapshot_Results) DecodeFromPtr(p capnp.Ptr) Snapshotter_snapshot_Results
func (Snapshotter_snapshot_Results) EncodeAsPtr ¶
func (s Snapshotter_snapshot_Results) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr
func (Snapshotter_snapshot_Results) HasSnapshot ¶
func (s Snapshotter_snapshot_Results) HasSnapshot() bool
func (Snapshotter_snapshot_Results) IsValid ¶
func (s Snapshotter_snapshot_Results) IsValid() bool
func (Snapshotter_snapshot_Results) Message ¶
func (s Snapshotter_snapshot_Results) Message() *capnp.Message
func (Snapshotter_snapshot_Results) Segment ¶
func (s Snapshotter_snapshot_Results) Segment() *capnp.Segment
func (Snapshotter_snapshot_Results) SetSnapshot ¶
func (s Snapshotter_snapshot_Results) SetSnapshot(v []byte) error
func (Snapshotter_snapshot_Results) Snapshot ¶
func (s Snapshotter_snapshot_Results) Snapshot() ([]byte, error)
func (Snapshotter_snapshot_Results) String ¶
func (s Snapshotter_snapshot_Results) String() string
func (Snapshotter_snapshot_Results) ToPtr ¶
func (s Snapshotter_snapshot_Results) ToPtr() capnp.Ptr
type Snapshotter_snapshot_Results_Future ¶
Snapshotter_snapshot_Results_Future is a wrapper for a Snapshotter_snapshot_Results promised by a client call.
func (Snapshotter_snapshot_Results_Future) Struct ¶
func (f Snapshotter_snapshot_Results_Future) Struct() (Snapshotter_snapshot_Results, error)
type Snapshotter_snapshot_Results_List ¶
type Snapshotter_snapshot_Results_List = capnp.StructList[Snapshotter_snapshot_Results]
Snapshotter_snapshot_Results_List is a list of Snapshotter_snapshot_Results.
func NewSnapshotter_snapshot_Results_List ¶
func NewSnapshotter_snapshot_Results_List(s *capnp.Segment, sz int32) (Snapshotter_snapshot_Results_List, error)
NewSnapshotter_snapshot_Results creates a new list of Snapshotter_snapshot_Results.
type SysInfo ¶
func (SysInfo) AppVersion ¶
func (SysInfo) AppVersionBytes ¶
func (SysInfo) HasAppVersion ¶
func (SysInfo) HasRuntime ¶
func (SysInfo) HasVersion ¶
func (SysInfo) NewOs ¶
NewOs sets the os field to a newly allocated OSInfo struct, preferring placement in s's segment.
func (SysInfo) NewRuntime ¶
func (s SysInfo) NewRuntime() (RuntimeInfo, error)
NewRuntime sets the runtime field to a newly allocated RuntimeInfo struct, preferring placement in s's segment.
func (SysInfo) Runtime ¶
func (s SysInfo) Runtime() (RuntimeInfo, error)
func (SysInfo) SetAppVersion ¶
func (SysInfo) SetRuntime ¶
func (s SysInfo) SetRuntime(v RuntimeInfo) error
func (SysInfo) SetVersion ¶
func (SysInfo) VersionBytes ¶
type SysInfo_Future ¶
SysInfo_Future is a wrapper for a SysInfo promised by a client call.
func (SysInfo_Future) Os ¶
func (p SysInfo_Future) Os() OSInfo_Future
func (SysInfo_Future) Runtime ¶
func (p SysInfo_Future) Runtime() RuntimeInfo_Future
func (SysInfo_Future) Struct ¶
func (f SysInfo_Future) Struct() (SysInfo, error)
type SysInfo_List ¶
type SysInfo_List = capnp.StructList[SysInfo]
SysInfo_List is a list of SysInfo.
func NewSysInfo_List ¶
func NewSysInfo_List(s *capnp.Segment, sz int32) (SysInfo_List, error)
NewSysInfo creates a new list of SysInfo.