Documentation
¶
Overview ¶
Package sampler is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterSamplerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSamplerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SamplerServiceClient) error
- func RegisterSamplerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSamplerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SamplerServiceServer) error
- func RegisterSamplerServiceServer(s grpc.ServiceRegistrar, srv SamplerServiceServer)
- type DelSamplerRequest
- func (*DelSamplerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DelSamplerRequest) GetKey() string
- func (x *DelSamplerRequest) GetValue() string
- func (*DelSamplerRequest) ProtoMessage()
- func (x *DelSamplerRequest) ProtoReflect() protoreflect.Message
- func (x *DelSamplerRequest) Reset()
- func (x *DelSamplerRequest) String() string
- type DelSamplerResponse
- type GetSamplerRequest
- type GetSamplerResponse
- func (*GetSamplerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSamplerResponse) GetAttributes() []*KeyValues
- func (*GetSamplerResponse) ProtoMessage()
- func (x *GetSamplerResponse) ProtoReflect() protoreflect.Message
- func (x *GetSamplerResponse) Reset()
- func (x *GetSamplerResponse) String() string
- type GetSamplerV2Request
- type GetSamplerV2Response
- func (*GetSamplerV2Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetSamplerV2Response) GetAttributes() []*KeyValue
- func (*GetSamplerV2Response) ProtoMessage()
- func (x *GetSamplerV2Response) ProtoReflect() protoreflect.Message
- func (x *GetSamplerV2Response) Reset()
- func (x *GetSamplerV2Response) String() string
- type JudgeSamplerRequest
- func (*JudgeSamplerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JudgeSamplerRequest) GetKey() string
- func (x *JudgeSamplerRequest) GetValue() string
- func (*JudgeSamplerRequest) ProtoMessage()
- func (x *JudgeSamplerRequest) ProtoReflect() protoreflect.Message
- func (x *JudgeSamplerRequest) Reset()
- func (x *JudgeSamplerRequest) String() string
- type JudgeSamplerResponse
- func (*JudgeSamplerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JudgeSamplerResponse) GetDeadline() int64
- func (x *JudgeSamplerResponse) GetSampled() bool
- func (*JudgeSamplerResponse) ProtoMessage()
- func (x *JudgeSamplerResponse) ProtoReflect() protoreflect.Message
- func (x *JudgeSamplerResponse) Reset()
- func (x *JudgeSamplerResponse) String() string
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValue) GetComment() string
- func (x *KeyValue) GetDeadline() int64
- func (x *KeyValue) GetKey() string
- func (x *KeyValue) GetSampled() bool
- func (x *KeyValue) GetValue() string
- func (*KeyValue) ProtoMessage()
- func (x *KeyValue) ProtoReflect() protoreflect.Message
- func (x *KeyValue) Reset()
- func (x *KeyValue) String() string
- type KeyValues
- type SamplerServiceClient
- type SamplerServiceServer
- type SetSamplerRequest
- func (*SetSamplerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSamplerRequest) GetAttributes() []*KeyValues
- func (*SetSamplerRequest) ProtoMessage()
- func (x *SetSamplerRequest) ProtoReflect() protoreflect.Message
- func (x *SetSamplerRequest) Reset()
- func (x *SetSamplerRequest) String() string
- type SetSamplerResponse
- type SetSamplerV2Request
- func (*SetSamplerV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *SetSamplerV2Request) GetAttributes() []*KeyValue
- func (*SetSamplerV2Request) ProtoMessage()
- func (x *SetSamplerV2Request) ProtoReflect() protoreflect.Message
- func (x *SetSamplerV2Request) Reset()
- func (x *SetSamplerV2Request) String() string
- type SetSamplerV2Response
- type UnimplementedSamplerServiceServer
- func (UnimplementedSamplerServiceServer) DelSampler(context.Context, *DelSamplerRequest) (*DelSamplerResponse, error)
- func (UnimplementedSamplerServiceServer) GetSampler(context.Context, *GetSamplerRequest) (*GetSamplerResponse, error)
- func (UnimplementedSamplerServiceServer) GetSamplerV2(context.Context, *GetSamplerV2Request) (*GetSamplerV2Response, error)
- func (UnimplementedSamplerServiceServer) JudgeSampler(context.Context, *JudgeSamplerRequest) (*JudgeSamplerResponse, error)
- func (UnimplementedSamplerServiceServer) SetSampler(context.Context, *SetSamplerRequest) (*SetSamplerResponse, error)
- func (UnimplementedSamplerServiceServer) SetSamplerV2(context.Context, *SetSamplerV2Request) (*SetSamplerV2Response, error)
- type UnsafeSamplerServiceServer
Constants ¶
const ( SamplerService_SetSampler_FullMethodName = "/opentelemetry.ext.proto.sampler.SamplerService/SetSampler" SamplerService_GetSampler_FullMethodName = "/opentelemetry.ext.proto.sampler.SamplerService/GetSampler" SamplerService_DelSampler_FullMethodName = "/opentelemetry.ext.proto.sampler.SamplerService/DelSampler" SamplerService_JudgeSampler_FullMethodName = "/opentelemetry.ext.proto.sampler.SamplerService/JudgeSampler" SamplerService_SetSamplerV2_FullMethodName = "/opentelemetry.ext.proto.sampler.SamplerService/SetSamplerV2" SamplerService_GetSamplerV2_FullMethodName = "/opentelemetry.ext.proto.sampler.SamplerService/GetSamplerV2" )
Variables ¶
var File_opentelemetry_ext_proto_sampler_sampler_proto protoreflect.FileDescriptor
var SamplerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "opentelemetry.ext.proto.sampler.SamplerService", HandlerType: (*SamplerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetSampler", Handler: _SamplerService_SetSampler_Handler, }, { MethodName: "GetSampler", Handler: _SamplerService_GetSampler_Handler, }, { MethodName: "DelSampler", Handler: _SamplerService_DelSampler_Handler, }, { MethodName: "JudgeSampler", Handler: _SamplerService_JudgeSampler_Handler, }, { MethodName: "SetSamplerV2", Handler: _SamplerService_SetSamplerV2_Handler, }, { MethodName: "GetSamplerV2", Handler: _SamplerService_GetSamplerV2_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "opentelemetry-ext/proto/sampler/sampler.proto", }
SamplerService_ServiceDesc is the grpc.ServiceDesc for SamplerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSamplerServiceHandler ¶
func RegisterSamplerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSamplerServiceHandler registers the http handlers for service SamplerService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSamplerServiceHandlerClient ¶
func RegisterSamplerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SamplerServiceClient) error
RegisterSamplerServiceHandlerClient registers the http handlers for service SamplerService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SamplerServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SamplerServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SamplerServiceClient" to call the correct interceptors.
func RegisterSamplerServiceHandlerFromEndpoint ¶
func RegisterSamplerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSamplerServiceHandlerFromEndpoint is same as RegisterSamplerServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSamplerServiceHandlerServer ¶
func RegisterSamplerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SamplerServiceServer) error
RegisterSamplerServiceHandlerServer registers the http handlers for service SamplerService to "mux". UnaryRPC :call SamplerServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSamplerServiceHandlerFromEndpoint instead.
func RegisterSamplerServiceServer ¶
func RegisterSamplerServiceServer(s grpc.ServiceRegistrar, srv SamplerServiceServer)
Types ¶
type DelSamplerRequest ¶
type DelSamplerRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DelSamplerRequest) Descriptor
deprecated
func (*DelSamplerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DelSamplerRequest.ProtoReflect.Descriptor instead.
func (*DelSamplerRequest) GetKey ¶
func (x *DelSamplerRequest) GetKey() string
func (*DelSamplerRequest) GetValue ¶
func (x *DelSamplerRequest) GetValue() string
func (*DelSamplerRequest) ProtoMessage ¶
func (*DelSamplerRequest) ProtoMessage()
func (*DelSamplerRequest) ProtoReflect ¶
func (x *DelSamplerRequest) ProtoReflect() protoreflect.Message
func (*DelSamplerRequest) Reset ¶
func (x *DelSamplerRequest) Reset()
func (*DelSamplerRequest) String ¶
func (x *DelSamplerRequest) String() string
type DelSamplerResponse ¶
type DelSamplerResponse struct {
// contains filtered or unexported fields
}
func (*DelSamplerResponse) Descriptor
deprecated
func (*DelSamplerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DelSamplerResponse.ProtoReflect.Descriptor instead.
func (*DelSamplerResponse) ProtoMessage ¶
func (*DelSamplerResponse) ProtoMessage()
func (*DelSamplerResponse) ProtoReflect ¶
func (x *DelSamplerResponse) ProtoReflect() protoreflect.Message
func (*DelSamplerResponse) Reset ¶
func (x *DelSamplerResponse) Reset()
func (*DelSamplerResponse) String ¶
func (x *DelSamplerResponse) String() string
type GetSamplerRequest ¶
type GetSamplerRequest struct {
// contains filtered or unexported fields
}
func (*GetSamplerRequest) Descriptor
deprecated
func (*GetSamplerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSamplerRequest.ProtoReflect.Descriptor instead.
func (*GetSamplerRequest) ProtoMessage ¶
func (*GetSamplerRequest) ProtoMessage()
func (*GetSamplerRequest) ProtoReflect ¶
func (x *GetSamplerRequest) ProtoReflect() protoreflect.Message
func (*GetSamplerRequest) Reset ¶
func (x *GetSamplerRequest) Reset()
func (*GetSamplerRequest) String ¶
func (x *GetSamplerRequest) String() string
type GetSamplerResponse ¶
type GetSamplerResponse struct { Attributes []*KeyValues `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*GetSamplerResponse) Descriptor
deprecated
func (*GetSamplerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSamplerResponse.ProtoReflect.Descriptor instead.
func (*GetSamplerResponse) GetAttributes ¶
func (x *GetSamplerResponse) GetAttributes() []*KeyValues
func (*GetSamplerResponse) ProtoMessage ¶
func (*GetSamplerResponse) ProtoMessage()
func (*GetSamplerResponse) ProtoReflect ¶
func (x *GetSamplerResponse) ProtoReflect() protoreflect.Message
func (*GetSamplerResponse) Reset ¶
func (x *GetSamplerResponse) Reset()
func (*GetSamplerResponse) String ¶
func (x *GetSamplerResponse) String() string
type GetSamplerV2Request ¶
type GetSamplerV2Request struct {
// contains filtered or unexported fields
}
func (*GetSamplerV2Request) Descriptor
deprecated
func (*GetSamplerV2Request) Descriptor() ([]byte, []int)
Deprecated: Use GetSamplerV2Request.ProtoReflect.Descriptor instead.
func (*GetSamplerV2Request) ProtoMessage ¶
func (*GetSamplerV2Request) ProtoMessage()
func (*GetSamplerV2Request) ProtoReflect ¶
func (x *GetSamplerV2Request) ProtoReflect() protoreflect.Message
func (*GetSamplerV2Request) Reset ¶
func (x *GetSamplerV2Request) Reset()
func (*GetSamplerV2Request) String ¶
func (x *GetSamplerV2Request) String() string
type GetSamplerV2Response ¶
type GetSamplerV2Response struct { Attributes []*KeyValue `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*GetSamplerV2Response) Descriptor
deprecated
func (*GetSamplerV2Response) Descriptor() ([]byte, []int)
Deprecated: Use GetSamplerV2Response.ProtoReflect.Descriptor instead.
func (*GetSamplerV2Response) GetAttributes ¶
func (x *GetSamplerV2Response) GetAttributes() []*KeyValue
func (*GetSamplerV2Response) ProtoMessage ¶
func (*GetSamplerV2Response) ProtoMessage()
func (*GetSamplerV2Response) ProtoReflect ¶
func (x *GetSamplerV2Response) ProtoReflect() protoreflect.Message
func (*GetSamplerV2Response) Reset ¶
func (x *GetSamplerV2Response) Reset()
func (*GetSamplerV2Response) String ¶
func (x *GetSamplerV2Response) String() string
type JudgeSamplerRequest ¶
type JudgeSamplerRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*JudgeSamplerRequest) Descriptor
deprecated
func (*JudgeSamplerRequest) Descriptor() ([]byte, []int)
Deprecated: Use JudgeSamplerRequest.ProtoReflect.Descriptor instead.
func (*JudgeSamplerRequest) GetKey ¶
func (x *JudgeSamplerRequest) GetKey() string
func (*JudgeSamplerRequest) GetValue ¶
func (x *JudgeSamplerRequest) GetValue() string
func (*JudgeSamplerRequest) ProtoMessage ¶
func (*JudgeSamplerRequest) ProtoMessage()
func (*JudgeSamplerRequest) ProtoReflect ¶
func (x *JudgeSamplerRequest) ProtoReflect() protoreflect.Message
func (*JudgeSamplerRequest) Reset ¶
func (x *JudgeSamplerRequest) Reset()
func (*JudgeSamplerRequest) String ¶
func (x *JudgeSamplerRequest) String() string
type JudgeSamplerResponse ¶
type JudgeSamplerResponse struct { Sampled bool `protobuf:"varint,1,opt,name=sampled,proto3" json:"sampled,omitempty"` Deadline int64 `protobuf:"varint,2,opt,name=deadline,proto3" json:"deadline,omitempty"` // contains filtered or unexported fields }
func (*JudgeSamplerResponse) Descriptor
deprecated
func (*JudgeSamplerResponse) Descriptor() ([]byte, []int)
Deprecated: Use JudgeSamplerResponse.ProtoReflect.Descriptor instead.
func (*JudgeSamplerResponse) GetDeadline ¶
func (x *JudgeSamplerResponse) GetDeadline() int64
func (*JudgeSamplerResponse) GetSampled ¶
func (x *JudgeSamplerResponse) GetSampled() bool
func (*JudgeSamplerResponse) ProtoMessage ¶
func (*JudgeSamplerResponse) ProtoMessage()
func (*JudgeSamplerResponse) ProtoReflect ¶
func (x *JudgeSamplerResponse) ProtoReflect() protoreflect.Message
func (*JudgeSamplerResponse) Reset ¶
func (x *JudgeSamplerResponse) Reset()
func (*JudgeSamplerResponse) String ¶
func (x *JudgeSamplerResponse) String() string
type KeyValue ¶
type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Sampled bool `protobuf:"varint,3,opt,name=sampled,proto3" json:"sampled,omitempty"` Deadline int64 `protobuf:"varint,4,opt,name=deadline,proto3" json:"deadline,omitempty"` Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*KeyValue) Descriptor
deprecated
func (*KeyValue) GetComment ¶
func (*KeyValue) GetDeadline ¶
func (*KeyValue) GetSampled ¶
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶
func (x *KeyValue) ProtoReflect() protoreflect.Message
type KeyValues ¶
type KeyValues struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*KeyValues) Descriptor
deprecated
func (*KeyValues) ProtoMessage ¶
func (*KeyValues) ProtoMessage()
func (*KeyValues) ProtoReflect ¶
func (x *KeyValues) ProtoReflect() protoreflect.Message
type SamplerServiceClient ¶
type SamplerServiceClient interface { SetSampler(ctx context.Context, in *SetSamplerRequest, opts ...grpc.CallOption) (*SetSamplerResponse, error) GetSampler(ctx context.Context, in *GetSamplerRequest, opts ...grpc.CallOption) (*GetSamplerResponse, error) DelSampler(ctx context.Context, in *DelSamplerRequest, opts ...grpc.CallOption) (*DelSamplerResponse, error) JudgeSampler(ctx context.Context, in *JudgeSamplerRequest, opts ...grpc.CallOption) (*JudgeSamplerResponse, error) SetSamplerV2(ctx context.Context, in *SetSamplerV2Request, opts ...grpc.CallOption) (*SetSamplerV2Response, error) GetSamplerV2(ctx context.Context, in *GetSamplerV2Request, opts ...grpc.CallOption) (*GetSamplerV2Response, error) }
SamplerServiceClient is the client API for SamplerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSamplerServiceClient ¶
func NewSamplerServiceClient(cc grpc.ClientConnInterface) SamplerServiceClient
type SamplerServiceServer ¶
type SamplerServiceServer interface { SetSampler(context.Context, *SetSamplerRequest) (*SetSamplerResponse, error) GetSampler(context.Context, *GetSamplerRequest) (*GetSamplerResponse, error) DelSampler(context.Context, *DelSamplerRequest) (*DelSamplerResponse, error) JudgeSampler(context.Context, *JudgeSamplerRequest) (*JudgeSamplerResponse, error) SetSamplerV2(context.Context, *SetSamplerV2Request) (*SetSamplerV2Response, error) GetSamplerV2(context.Context, *GetSamplerV2Request) (*GetSamplerV2Response, error) // contains filtered or unexported methods }
SamplerServiceServer is the server API for SamplerService service. All implementations must embed UnimplementedSamplerServiceServer for forward compatibility
type SetSamplerRequest ¶
type SetSamplerRequest struct { Attributes []*KeyValues `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*SetSamplerRequest) Descriptor
deprecated
func (*SetSamplerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSamplerRequest.ProtoReflect.Descriptor instead.
func (*SetSamplerRequest) GetAttributes ¶
func (x *SetSamplerRequest) GetAttributes() []*KeyValues
func (*SetSamplerRequest) ProtoMessage ¶
func (*SetSamplerRequest) ProtoMessage()
func (*SetSamplerRequest) ProtoReflect ¶
func (x *SetSamplerRequest) ProtoReflect() protoreflect.Message
func (*SetSamplerRequest) Reset ¶
func (x *SetSamplerRequest) Reset()
func (*SetSamplerRequest) String ¶
func (x *SetSamplerRequest) String() string
type SetSamplerResponse ¶
type SetSamplerResponse struct {
// contains filtered or unexported fields
}
func (*SetSamplerResponse) Descriptor
deprecated
func (*SetSamplerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSamplerResponse.ProtoReflect.Descriptor instead.
func (*SetSamplerResponse) ProtoMessage ¶
func (*SetSamplerResponse) ProtoMessage()
func (*SetSamplerResponse) ProtoReflect ¶
func (x *SetSamplerResponse) ProtoReflect() protoreflect.Message
func (*SetSamplerResponse) Reset ¶
func (x *SetSamplerResponse) Reset()
func (*SetSamplerResponse) String ¶
func (x *SetSamplerResponse) String() string
type SetSamplerV2Request ¶
type SetSamplerV2Request struct { Attributes []*KeyValue `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*SetSamplerV2Request) Descriptor
deprecated
func (*SetSamplerV2Request) Descriptor() ([]byte, []int)
Deprecated: Use SetSamplerV2Request.ProtoReflect.Descriptor instead.
func (*SetSamplerV2Request) GetAttributes ¶
func (x *SetSamplerV2Request) GetAttributes() []*KeyValue
func (*SetSamplerV2Request) ProtoMessage ¶
func (*SetSamplerV2Request) ProtoMessage()
func (*SetSamplerV2Request) ProtoReflect ¶
func (x *SetSamplerV2Request) ProtoReflect() protoreflect.Message
func (*SetSamplerV2Request) Reset ¶
func (x *SetSamplerV2Request) Reset()
func (*SetSamplerV2Request) String ¶
func (x *SetSamplerV2Request) String() string
type SetSamplerV2Response ¶
type SetSamplerV2Response struct {
// contains filtered or unexported fields
}
func (*SetSamplerV2Response) Descriptor
deprecated
func (*SetSamplerV2Response) Descriptor() ([]byte, []int)
Deprecated: Use SetSamplerV2Response.ProtoReflect.Descriptor instead.
func (*SetSamplerV2Response) ProtoMessage ¶
func (*SetSamplerV2Response) ProtoMessage()
func (*SetSamplerV2Response) ProtoReflect ¶
func (x *SetSamplerV2Response) ProtoReflect() protoreflect.Message
func (*SetSamplerV2Response) Reset ¶
func (x *SetSamplerV2Response) Reset()
func (*SetSamplerV2Response) String ¶
func (x *SetSamplerV2Response) String() string
type UnimplementedSamplerServiceServer ¶
type UnimplementedSamplerServiceServer struct { }
UnimplementedSamplerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSamplerServiceServer) DelSampler ¶
func (UnimplementedSamplerServiceServer) DelSampler(context.Context, *DelSamplerRequest) (*DelSamplerResponse, error)
func (UnimplementedSamplerServiceServer) GetSampler ¶
func (UnimplementedSamplerServiceServer) GetSampler(context.Context, *GetSamplerRequest) (*GetSamplerResponse, error)
func (UnimplementedSamplerServiceServer) GetSamplerV2 ¶
func (UnimplementedSamplerServiceServer) GetSamplerV2(context.Context, *GetSamplerV2Request) (*GetSamplerV2Response, error)
func (UnimplementedSamplerServiceServer) JudgeSampler ¶
func (UnimplementedSamplerServiceServer) JudgeSampler(context.Context, *JudgeSamplerRequest) (*JudgeSamplerResponse, error)
func (UnimplementedSamplerServiceServer) SetSampler ¶
func (UnimplementedSamplerServiceServer) SetSampler(context.Context, *SetSamplerRequest) (*SetSamplerResponse, error)
func (UnimplementedSamplerServiceServer) SetSamplerV2 ¶
func (UnimplementedSamplerServiceServer) SetSamplerV2(context.Context, *SetSamplerV2Request) (*SetSamplerV2Response, error)
type UnsafeSamplerServiceServer ¶
type UnsafeSamplerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSamplerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SamplerServiceServer will result in compilation errors.