v1

package
v0.4.641 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_predictionstore_v1_predictionstore_proto protoreflect.FileDescriptor

Functions

func RegisterPredictionStoreServiceServer

func RegisterPredictionStoreServiceServer(s *grpc.Server, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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

PredictionStoreServiceServer is the server API for PredictionStoreService service.

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 can be embedded to have forward compatible implementations.

func (*UnimplementedPredictionStoreServiceServer) Ingest

Jump to

Keyboard shortcuts

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