debug

package
v0.0.0-...-055f8da Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Debugger_TypeID = 0xc24c1801396ca74c

Debugger_TypeID is the unique identifier for the type Debugger.

View Source
const Debugger_envVars_Params_TypeID = 0x83db2441501729b0

Debugger_envVars_Params_TypeID is the unique identifier for the type Debugger_envVars_Params.

View Source
const Debugger_envVars_Results_TypeID = 0xb0d6060017654bb5

Debugger_envVars_Results_TypeID is the unique identifier for the type Debugger_envVars_Results.

View Source
const Debugger_profiler_Params_TypeID = 0x8a7b0758ee0ddecb

Debugger_profiler_Params_TypeID is the unique identifier for the type Debugger_profiler_Params.

View Source
const Debugger_profiler_Results_TypeID = 0x95d1c46932719c75

Debugger_profiler_Results_TypeID is the unique identifier for the type Debugger_profiler_Results.

View Source
const Debugger_sysInfo_Params_TypeID = 0xe5abfacae53c612f

Debugger_sysInfo_Params_TypeID is the unique identifier for the type Debugger_sysInfo_Params.

View Source
const Debugger_sysInfo_Results_TypeID = 0x824eafd52229a594

Debugger_sysInfo_Results_TypeID is the unique identifier for the type Debugger_sysInfo_Results.

View Source
const Debugger_tracer_Params_TypeID = 0xaaf96929f804b361

Debugger_tracer_Params_TypeID is the unique identifier for the type Debugger_tracer_Params.

View Source
const Debugger_tracer_Results_TypeID = 0xf9a6bfc943cf37b8

Debugger_tracer_Results_TypeID is the unique identifier for the type Debugger_tracer_Results.

View Source
const OSInfo_TypeID = 0xa78273130755c2b8

OSInfo_TypeID is the unique identifier for the type OSInfo.

View Source
const Profile_TypeID = 0x8fdb5f6d26c5dc7d

Profile_TypeID is the unique identifier for the type Profile.

View Source
const RuntimeInfo_TypeID = 0xd19693a973f6d246

RuntimeInfo_TypeID is the unique identifier for the type RuntimeInfo.

View Source
const Sampler_TypeID = 0xcb9867bf09c9fd97

Sampler_TypeID is the unique identifier for the type Sampler.

View Source
const Sampler_Writer_TypeID = 0xbad68cb175d6ef9e

Sampler_Writer_TypeID is the unique identifier for the type Sampler_Writer.

View Source
const Sampler_Writer_write_Params_TypeID = 0xe9c5e5ae3dbeef0f

Sampler_Writer_write_Params_TypeID is the unique identifier for the type Sampler_Writer_write_Params.

View Source
const Sampler_sample_Params_TypeID = 0xd9d25e11d54da126

Sampler_sample_Params_TypeID is the unique identifier for the type Sampler_sample_Params.

View Source
const Sampler_sample_Results_TypeID = 0xca4856ba299657e7

Sampler_sample_Results_TypeID is the unique identifier for the type Sampler_sample_Results.

View Source
const Snapshotter_TypeID = 0xca6d27d101913471

Snapshotter_TypeID is the unique identifier for the type Snapshotter.

View Source
const Snapshotter_snapshot_Params_TypeID = 0xdfdba19e4a7c94f1

Snapshotter_snapshot_Params_TypeID is the unique identifier for the type Snapshotter_snapshot_Params.

View Source
const Snapshotter_snapshot_Results_TypeID = 0x8e15524f9d7d00dd

Snapshotter_snapshot_Results_TypeID is the unique identifier for the type Snapshotter_snapshot_Results.

View Source
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 RegisterSchema(reg *schemas.Registry)

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

type Debugger capnp.Client

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

func (c Debugger) AddRef() Debugger

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

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

func (Debugger) EncodeAsPtr

func (c Debugger) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

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

func (c Debugger) IsSame(other Debugger) 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 (Debugger) IsValid

func (c Debugger) 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 (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

func (c Debugger) Resolve(ctx context.Context) error

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

func (c Debugger) 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 (Debugger) WaitStreaming

func (c Debugger) WaitStreaming() error

type Debugger_List

type Debugger_List = capnp.CapList[Debugger]

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

A Debugger_Server is a Debugger with a local implementation.

type Debugger_envVars

type Debugger_envVars struct {
	*server.Call
}

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

Args returns the call's arguments.

type Debugger_envVars_Params

type Debugger_envVars_Params capnp.Struct

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

type Debugger_envVars_Params_Future struct{ *capnp.Future }

Debugger_envVars_Params_Future is a wrapper for a Debugger_envVars_Params promised by a client call.

func (Debugger_envVars_Params_Future) Struct

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

type Debugger_envVars_Results capnp.Struct

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

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

func (Debugger_envVars_Results) EnvVars

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

type Debugger_envVars_Results_Future

type Debugger_envVars_Results_Future struct{ *capnp.Future }

Debugger_envVars_Results_Future is a wrapper for a Debugger_envVars_Results promised by a client call.

func (Debugger_envVars_Results_Future) Struct

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

type Debugger_profiler struct {
	*server.Call
}

Debugger_profiler holds the state for a server call to Debugger.profiler. See server.Call for documentation.

func (Debugger_profiler) AllocResults

AllocResults allocates the results struct.

func (Debugger_profiler) Args

Args returns the call's arguments.

type Debugger_profiler_Params

type Debugger_profiler_Params capnp.Struct

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

type Debugger_profiler_Params_Future

type Debugger_profiler_Params_Future struct{ *capnp.Future }

Debugger_profiler_Params_Future is a wrapper for a Debugger_profiler_Params promised by a client call.

func (Debugger_profiler_Params_Future) Struct

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

type Debugger_profiler_Results capnp.Struct

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) 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 (Debugger_profiler_Results) Profiler

func (s Debugger_profiler_Results) Profiler() capnp.Client

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

type Debugger_profiler_Results_Future

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

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

type Debugger_sysInfo struct {
	*server.Call
}

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

Args returns the call's arguments.

type Debugger_sysInfo_Params

type Debugger_sysInfo_Params capnp.Struct

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

type Debugger_sysInfo_Params_Future struct{ *capnp.Future }

Debugger_sysInfo_Params_Future is a wrapper for a Debugger_sysInfo_Params promised by a client call.

func (Debugger_sysInfo_Params_Future) Struct

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

type Debugger_sysInfo_Results capnp.Struct

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

type Debugger_sysInfo_Results_Future

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

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

type Debugger_tracer struct {
	*server.Call
}

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

Args returns the call's arguments.

type Debugger_tracer_Params

type Debugger_tracer_Params capnp.Struct

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

type Debugger_tracer_Params_Future struct{ *capnp.Future }

Debugger_tracer_Params_Future is a wrapper for a Debugger_tracer_Params promised by a client call.

func (Debugger_tracer_Params_Future) Struct

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

type Debugger_tracer_Results capnp.Struct

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

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

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

type OSInfo capnp.Struct

func NewOSInfo

func NewOSInfo(s *capnp.Segment) (OSInfo, error)

func NewRootOSInfo

func NewRootOSInfo(s *capnp.Segment) (OSInfo, error)

func ReadRootOSInfo

func ReadRootOSInfo(msg *capnp.Message) (OSInfo, error)

func (OSInfo) Args

func (s OSInfo) Args() (capnp.TextList, error)

func (OSInfo) DecodeFromPtr

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

func (OSInfo) EncodeAsPtr

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

func (OSInfo) HasArgs

func (s OSInfo) HasArgs() bool

func (OSInfo) HasHostname

func (s OSInfo) HasHostname() bool

func (OSInfo) Hostname

func (s OSInfo) Hostname() (string, error)

func (OSInfo) HostnameBytes

func (s OSInfo) HostnameBytes() ([]byte, error)

func (OSInfo) IsValid

func (s OSInfo) IsValid() bool

func (OSInfo) Message

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

func (OSInfo) NewArgs

func (s OSInfo) NewArgs(n int32) (capnp.TextList, error)

NewArgs sets the args field to a newly allocated capnp.TextList, preferring placement in s's segment.

func (OSInfo) Pid

func (s OSInfo) Pid() int64

func (OSInfo) Segment

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

func (OSInfo) SetArgs

func (s OSInfo) SetArgs(v capnp.TextList) error

func (OSInfo) SetHostname

func (s OSInfo) SetHostname(v string) error

func (OSInfo) SetPid

func (s OSInfo) SetPid(v int64)

func (OSInfo) String

func (s OSInfo) String() string

func (OSInfo) ToPtr

func (s OSInfo) ToPtr() capnp.Ptr

func (OSInfo) User

func (s OSInfo) User() OSInfo_user

type OSInfo_Future

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

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

type OSInfo_user_Future struct{ *capnp.Future }

OSInfo_user_Future is a wrapper for a OSInfo_user promised by a client call.

func (OSInfo_user_Future) Gid

func (OSInfo_user_Future) Struct

func (f OSInfo_user_Future) Struct() (OSInfo_user, error)

func (OSInfo_user_Future) Uid

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

type OSInfo_user_gid_Future

type OSInfo_user_gid_Future struct{ *capnp.Future }

OSInfo_user_gid_Future is a wrapper for a OSInfo_user_gid promised by a client call.

func (OSInfo_user_gid_Future) Struct

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

type OSInfo_user_uid_Future

type OSInfo_user_uid_Future struct{ *capnp.Future }

OSInfo_user_uid_Future is a wrapper for a OSInfo_user_uid promised by a client call.

func (OSInfo_user_uid_Future) Struct

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

func ProfileFromString(c string) Profile

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

func (Profile) String

func (c Profile) String() string

String returns the enum's constant name.

type Profile_List

type Profile_List = capnp.EnumList[Profile]

func NewProfile_List

func NewProfile_List(s *capnp.Segment, sz int32) (Profile_List, error)

type RuntimeInfo

type RuntimeInfo capnp.Struct

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

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

type Sampler capnp.Client

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

func (c Sampler) AddRef() Sampler

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

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

func (Sampler) EncodeAsPtr

func (c Sampler) EncodeAsPtr(seg *capnp.Segment) capnp.Ptr

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

func (c Sampler) IsSame(other Sampler) 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) IsValid

func (c Sampler) 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) 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

func (c Sampler) Resolve(ctx context.Context) error

Resolve blocks until the capability is fully resolved or the Context expires.

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

func (c Sampler) 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) WaitStreaming

func (c Sampler) WaitStreaming() error

type Sampler_List

type Sampler_List = capnp.CapList[Sampler]

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

type Sampler_Writer capnp.Client

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

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

type Sampler_Writer_write struct {
	*server.Call
}

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

Args returns the call's arguments.

type Sampler_Writer_write_Params

type Sampler_Writer_write_Params capnp.Struct

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) 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 (Sampler_Writer_write_Params) Sample

func (s Sampler_Writer_write_Params) Sample() ([]byte, error)

func (Sampler_Writer_write_Params) Segment

func (Sampler_Writer_write_Params) SetSample

func (s Sampler_Writer_write_Params) SetSample(v []byte) error

func (Sampler_Writer_write_Params) String

func (Sampler_Writer_write_Params) ToPtr

type Sampler_Writer_write_Params_Future

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

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

type Sampler_sample struct {
	*server.Call
}

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

Args returns the call's arguments.

type Sampler_sample_Params

type Sampler_sample_Params capnp.Struct

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

type Sampler_sample_Params_Future

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

type Sampler_sample_Results capnp.Struct

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

type Sampler_sample_Results_Future struct{ *capnp.Future }

Sampler_sample_Results_Future is a wrapper for a Sampler_sample_Results promised by a client call.

func (Sampler_sample_Results_Future) Struct

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

type Snapshotter capnp.Client

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

type Snapshotter_snapshot struct {
	*server.Call
}

Snapshotter_snapshot holds the state for a server call to Snapshotter.snapshot. See server.Call for documentation.

func (Snapshotter_snapshot) AllocResults

AllocResults allocates the results struct.

func (Snapshotter_snapshot) Args

Args returns the call's arguments.

type Snapshotter_snapshot_Params

type Snapshotter_snapshot_Params capnp.Struct

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

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

func (Snapshotter_snapshot_Params) SetDebug

func (s Snapshotter_snapshot_Params) SetDebug(v uint8)

func (Snapshotter_snapshot_Params) String

func (Snapshotter_snapshot_Params) ToPtr

type Snapshotter_snapshot_Params_Future

type Snapshotter_snapshot_Params_Future struct{ *capnp.Future }

Snapshotter_snapshot_Params_Future is a wrapper for a Snapshotter_snapshot_Params promised by a client call.

func (Snapshotter_snapshot_Params_Future) Struct

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

type Snapshotter_snapshot_Results capnp.Struct

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) 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 (Snapshotter_snapshot_Results) 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 (Snapshotter_snapshot_Results) ToPtr

type Snapshotter_snapshot_Results_Future

type Snapshotter_snapshot_Results_Future struct{ *capnp.Future }

Snapshotter_snapshot_Results_Future is a wrapper for a Snapshotter_snapshot_Results promised by a client call.

func (Snapshotter_snapshot_Results_Future) Struct

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

type SysInfo capnp.Struct

func NewRootSysInfo

func NewRootSysInfo(s *capnp.Segment) (SysInfo, error)

func NewSysInfo

func NewSysInfo(s *capnp.Segment) (SysInfo, error)

func ReadRootSysInfo

func ReadRootSysInfo(msg *capnp.Message) (SysInfo, error)

func (SysInfo) AppVersion

func (s SysInfo) AppVersion() (string, error)

func (SysInfo) AppVersionBytes

func (s SysInfo) AppVersionBytes() ([]byte, error)

func (SysInfo) DecodeFromPtr

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

func (SysInfo) EncodeAsPtr

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

func (SysInfo) HasAppVersion

func (s SysInfo) HasAppVersion() bool

func (SysInfo) HasOs

func (s SysInfo) HasOs() bool

func (SysInfo) HasRuntime

func (s SysInfo) HasRuntime() bool

func (SysInfo) HasVersion

func (s SysInfo) HasVersion() bool

func (SysInfo) IsValid

func (s SysInfo) IsValid() bool

func (SysInfo) Message

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

func (SysInfo) NewOs

func (s SysInfo) NewOs() (OSInfo, error)

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

func (s SysInfo) Os() (OSInfo, error)

func (SysInfo) Runtime

func (s SysInfo) Runtime() (RuntimeInfo, error)

func (SysInfo) Segment

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

func (SysInfo) SetAppVersion

func (s SysInfo) SetAppVersion(v string) error

func (SysInfo) SetOs

func (s SysInfo) SetOs(v OSInfo) error

func (SysInfo) SetRuntime

func (s SysInfo) SetRuntime(v RuntimeInfo) error

func (SysInfo) SetVersion

func (s SysInfo) SetVersion(v string) error

func (SysInfo) String

func (s SysInfo) String() string

func (SysInfo) ToPtr

func (s SysInfo) ToPtr() capnp.Ptr

func (SysInfo) Version

func (s SysInfo) Version() (string, error)

func (SysInfo) VersionBytes

func (s SysInfo) VersionBytes() ([]byte, error)

type SysInfo_Future

type SysInfo_Future struct{ *capnp.Future }

SysInfo_Future is a wrapper for a SysInfo promised by a client call.

func (SysInfo_Future) Os

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.

Jump to

Keyboard shortcuts

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