Documentation ¶
Index ¶
- Constants
- Variables
- func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
- func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
- type EmptyTest
- type EmptyTestPlugin
- type KnownTypesTest
- type KnownTypesTestPlugin
- type Request
- func (x *Request) GetA() *durationpb.Duration
- func (x *Request) GetB() *timestamppb.Timestamp
- func (x *Request) GetC() *structpb.Value
- func (x *Request) GetD() *wrapperspb.BoolValue
- func (x *Request) GetE() *wrapperspb.BytesValue
- func (x *Request) GetF() *wrapperspb.DoubleValue
- func (x *Request) GetG() *wrapperspb.FloatValue
- func (x *Request) GetH() *wrapperspb.Int32Value
- func (x *Request) GetI() *wrapperspb.Int64Value
- func (x *Request) GetJ() *wrapperspb.StringValue
- func (x *Request) GetK() *wrapperspb.UInt32Value
- func (x *Request) GetL() *wrapperspb.UInt64Value
- func (m *Request) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Request) MarshalToVT(dAtA []byte) (int, error)
- func (m *Request) MarshalVT() (dAtA []byte, err error)
- func (x *Request) ProtoReflect() protoreflect.Message
- func (m *Request) SizeVT() (n int)
- func (m *Request) UnmarshalVT(dAtA []byte) error
- type Response
- func (x *Response) GetA() *durationpb.Duration
- func (x *Response) GetB() *timestamppb.Timestamp
- func (x *Response) GetC() *structpb.Value
- func (x *Response) GetD() *wrapperspb.BoolValue
- func (x *Response) GetE() *wrapperspb.BytesValue
- func (x *Response) GetF() *wrapperspb.DoubleValue
- func (x *Response) GetG() *wrapperspb.FloatValue
- func (x *Response) GetH() *wrapperspb.Int32Value
- func (x *Response) GetI() *wrapperspb.Int64Value
- func (x *Response) GetJ() *wrapperspb.StringValue
- func (x *Response) GetK() *wrapperspb.UInt32Value
- func (x *Response) GetL() *wrapperspb.UInt64Value
- func (m *Response) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Response) MarshalToVT(dAtA []byte) (int, error)
- func (m *Response) MarshalVT() (dAtA []byte, err error)
- func (x *Response) ProtoReflect() protoreflect.Message
- func (m *Response) SizeVT() (n int)
- func (m *Response) UnmarshalVT(dAtA []byte) error
- type WazeroConfig
- type WazeroNewRuntime
Constants ¶
View Source
const EmptyTestPluginAPIVersion = 1
View Source
const KnownTypesTestPluginAPIVersion = 1
Variables ¶
Functions ¶
func WazeroModuleConfig ¶ added in v0.6.0
func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
func WazeroRuntime ¶ added in v0.6.0
func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
Types ¶
type EmptyTestPlugin ¶
type EmptyTestPlugin struct {
// contains filtered or unexported fields
}
func NewEmptyTestPlugin ¶
func NewEmptyTestPlugin(ctx context.Context, opts ...wazeroConfigOption) (*EmptyTestPlugin, error)
type KnownTypesTest ¶
go:plugin type=plugin version=1
type KnownTypesTestPlugin ¶
type KnownTypesTestPlugin struct {
// contains filtered or unexported fields
}
func NewKnownTypesTestPlugin ¶
func NewKnownTypesTestPlugin(ctx context.Context, opts ...wazeroConfigOption) (*KnownTypesTestPlugin, error)
type Request ¶
type Request struct { // duration A *durationpb.Duration `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // timestamp B *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` // struct C *structpb.Value `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` // wrappers D *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=d,proto3" json:"d,omitempty"` E *wrapperspb.BytesValue `protobuf:"bytes,5,opt,name=e,proto3" json:"e,omitempty"` F *wrapperspb.DoubleValue `protobuf:"bytes,6,opt,name=f,proto3" json:"f,omitempty"` G *wrapperspb.FloatValue `protobuf:"bytes,7,opt,name=g,proto3" json:"g,omitempty"` H *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=h,proto3" json:"h,omitempty"` I *wrapperspb.Int64Value `protobuf:"bytes,9,opt,name=i,proto3" json:"i,omitempty"` J *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=j,proto3" json:"j,omitempty"` K *wrapperspb.UInt32Value `protobuf:"bytes,11,opt,name=k,proto3" json:"k,omitempty"` L *wrapperspb.UInt64Value `protobuf:"bytes,12,opt,name=l,proto3" json:"l,omitempty"` // contains filtered or unexported fields }
func (*Request) GetA ¶
func (x *Request) GetA() *durationpb.Duration
func (*Request) GetB ¶
func (x *Request) GetB() *timestamppb.Timestamp
func (*Request) GetD ¶
func (x *Request) GetD() *wrapperspb.BoolValue
func (*Request) GetE ¶
func (x *Request) GetE() *wrapperspb.BytesValue
func (*Request) GetF ¶
func (x *Request) GetF() *wrapperspb.DoubleValue
func (*Request) GetG ¶
func (x *Request) GetG() *wrapperspb.FloatValue
func (*Request) GetH ¶
func (x *Request) GetH() *wrapperspb.Int32Value
func (*Request) GetI ¶
func (x *Request) GetI() *wrapperspb.Int64Value
func (*Request) GetJ ¶
func (x *Request) GetJ() *wrapperspb.StringValue
func (*Request) GetK ¶
func (x *Request) GetK() *wrapperspb.UInt32Value
func (*Request) GetL ¶
func (x *Request) GetL() *wrapperspb.UInt64Value
func (*Request) MarshalToSizedBufferVT ¶
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) UnmarshalVT ¶
type Response ¶
type Response struct { A *durationpb.Duration `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` B *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` C *structpb.Value `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` D *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=d,proto3" json:"d,omitempty"` E *wrapperspb.BytesValue `protobuf:"bytes,5,opt,name=e,proto3" json:"e,omitempty"` F *wrapperspb.DoubleValue `protobuf:"bytes,6,opt,name=f,proto3" json:"f,omitempty"` G *wrapperspb.FloatValue `protobuf:"bytes,7,opt,name=g,proto3" json:"g,omitempty"` H *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=h,proto3" json:"h,omitempty"` I *wrapperspb.Int64Value `protobuf:"bytes,9,opt,name=i,proto3" json:"i,omitempty"` J *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=j,proto3" json:"j,omitempty"` K *wrapperspb.UInt32Value `protobuf:"bytes,11,opt,name=k,proto3" json:"k,omitempty"` L *wrapperspb.UInt64Value `protobuf:"bytes,12,opt,name=l,proto3" json:"l,omitempty"` // contains filtered or unexported fields }
func (*Response) GetA ¶
func (x *Response) GetA() *durationpb.Duration
func (*Response) GetB ¶
func (x *Response) GetB() *timestamppb.Timestamp
func (*Response) GetD ¶
func (x *Response) GetD() *wrapperspb.BoolValue
func (*Response) GetE ¶
func (x *Response) GetE() *wrapperspb.BytesValue
func (*Response) GetF ¶
func (x *Response) GetF() *wrapperspb.DoubleValue
func (*Response) GetG ¶
func (x *Response) GetG() *wrapperspb.FloatValue
func (*Response) GetH ¶
func (x *Response) GetH() *wrapperspb.Int32Value
func (*Response) GetI ¶
func (x *Response) GetI() *wrapperspb.Int64Value
func (*Response) GetJ ¶
func (x *Response) GetJ() *wrapperspb.StringValue
func (*Response) GetK ¶
func (x *Response) GetK() *wrapperspb.UInt32Value
func (*Response) GetL ¶
func (x *Response) GetL() *wrapperspb.UInt64Value
func (*Response) MarshalToSizedBufferVT ¶
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
func (*Response) UnmarshalVT ¶
type WazeroConfig ¶ added in v0.6.0
type WazeroConfig struct {
// contains filtered or unexported fields
}
type WazeroNewRuntime ¶ added in v0.6.0
func DefaultWazeroRuntime ¶ added in v0.7.0
func DefaultWazeroRuntime() WazeroNewRuntime
Click to show internal directories.
Click to hide internal directories.