v1

package
v0.5.499 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 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
View Source
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.

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.

func (UnimplementedPredictionStoreServiceServer) Ingest

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.

Jump to

Keyboard shortcuts

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