Documentation
¶
Index ¶
- Variables
- func RegisterPredictionStoreServiceServer(s grpc.ServiceRegistrar, srv PredictionStoreServiceServer)
- type PredictionIngestResponse
- type PredictionStoreServiceClient
- type PredictionStoreServiceServer
- type PredictionsIngestRequest
- func (*PredictionsIngestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PredictionsIngestRequest) GetConnection() *v1alpha11.Connection
- func (x *PredictionsIngestRequest) GetDataset() *v1alpha1.Dataset
- func (x *PredictionsIngestRequest) GetKey() string
- func (x *PredictionsIngestRequest) GetSecret() *v1.Secret
- func (*PredictionsIngestRequest) ProtoMessage()
- func (x *PredictionsIngestRequest) ProtoReflect() protoreflect.Message
- func (x *PredictionsIngestRequest) Reset()
- func (x *PredictionsIngestRequest) String() string
- type UnimplementedPredictionStoreServiceServer
- type UnsafePredictionStoreServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_predictionstore_v1_predictionstore_proto protoreflect.FileDescriptor
var PredictionStoreService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.predictionstore.v1.PredictionStoreService", HandlerType: (*PredictionStoreServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ingest", Handler: _PredictionStoreService_Ingest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/metaprov/modelaapi/services/predictionstore/v1/predictionstore.proto", }
PredictionStoreService_ServiceDesc is the grpc.ServiceDesc for PredictionStoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPredictionStoreServiceServer ¶
func RegisterPredictionStoreServiceServer(s grpc.ServiceRegistrar, srv PredictionStoreServiceServer)
Types ¶
type PredictionIngestResponse ¶
type PredictionIngestResponse struct {
// contains filtered or unexported fields
}
func (*PredictionIngestResponse) Descriptor
deprecated
func (*PredictionIngestResponse) Descriptor() ([]byte, []int)
Deprecated: Use PredictionIngestResponse.ProtoReflect.Descriptor instead.
func (*PredictionIngestResponse) ProtoMessage ¶
func (*PredictionIngestResponse) ProtoMessage()
func (*PredictionIngestResponse) ProtoReflect ¶
func (x *PredictionIngestResponse) ProtoReflect() protoreflect.Message
func (*PredictionIngestResponse) Reset ¶
func (x *PredictionIngestResponse) Reset()
func (*PredictionIngestResponse) String ¶
func (x *PredictionIngestResponse) String() string
type PredictionStoreServiceClient ¶
type PredictionStoreServiceClient interface { // upload the current prediction database to the cloud. // The archived prediction will turn into a predicted dataset. Ingest(ctx context.Context, in *PredictionsIngestRequest, opts ...grpc.CallOption) (*PredictionIngestResponse, error) }
PredictionStoreServiceClient is the client API for PredictionStoreService 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 NewPredictionStoreServiceClient ¶
func NewPredictionStoreServiceClient(cc grpc.ClientConnInterface) PredictionStoreServiceClient
type PredictionStoreServiceServer ¶
type PredictionStoreServiceServer interface { // upload the current prediction database to the cloud. // The archived prediction will turn into a predicted dataset. Ingest(context.Context, *PredictionsIngestRequest) (*PredictionIngestResponse, error) // contains filtered or unexported methods }
PredictionStoreServiceServer is the server API for PredictionStoreService service. All implementations must embed UnimplementedPredictionStoreServiceServer for forward compatibility
type PredictionsIngestRequest ¶
type PredictionsIngestRequest struct { Dataset *v1alpha1.Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // the location to put the prediction db in. Connection *v1alpha11.Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"` Secret *v1.Secret `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*PredictionsIngestRequest) Descriptor
deprecated
func (*PredictionsIngestRequest) Descriptor() ([]byte, []int)
Deprecated: Use PredictionsIngestRequest.ProtoReflect.Descriptor instead.
func (*PredictionsIngestRequest) GetConnection ¶
func (x *PredictionsIngestRequest) GetConnection() *v1alpha11.Connection
func (*PredictionsIngestRequest) GetDataset ¶
func (x *PredictionsIngestRequest) GetDataset() *v1alpha1.Dataset
func (*PredictionsIngestRequest) GetKey ¶
func (x *PredictionsIngestRequest) GetKey() string
func (*PredictionsIngestRequest) GetSecret ¶
func (x *PredictionsIngestRequest) GetSecret() *v1.Secret
func (*PredictionsIngestRequest) ProtoMessage ¶
func (*PredictionsIngestRequest) ProtoMessage()
func (*PredictionsIngestRequest) ProtoReflect ¶
func (x *PredictionsIngestRequest) ProtoReflect() protoreflect.Message
func (*PredictionsIngestRequest) Reset ¶
func (x *PredictionsIngestRequest) Reset()
func (*PredictionsIngestRequest) String ¶
func (x *PredictionsIngestRequest) String() string
type UnimplementedPredictionStoreServiceServer ¶
type UnimplementedPredictionStoreServiceServer struct { }
UnimplementedPredictionStoreServiceServer must be embedded to have forward compatible implementations.
type UnsafePredictionStoreServiceServer ¶ added in v0.4.687
type UnsafePredictionStoreServiceServer interface {
// contains filtered or unexported methods
}
UnsafePredictionStoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PredictionStoreServiceServer will result in compilation errors.