v1

package
v0.6.310 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_predictionrun_v1_predictionrun_proto protoreflect.FileDescriptor
View Source
var PredictionRunService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.prediction.v1.PredictionRunService",
	HandlerType: (*PredictionRunServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListPredictionRuns",
			Handler:    _PredictionRunService_ListPredictionRuns_Handler,
		},
		{
			MethodName: "CreatePredictionRun",
			Handler:    _PredictionRunService_CreatePredictionRun_Handler,
		},
		{
			MethodName: "GetPredictionRun",
			Handler:    _PredictionRunService_GetPredictionRun_Handler,
		},
		{
			MethodName: "UpdatePredictionRun",
			Handler:    _PredictionRunService_UpdatePredictionRun_Handler,
		},
		{
			MethodName: "DeletePredictionRun",
			Handler:    _PredictionRunService_DeletePredictionRun_Handler,
		},
		{
			MethodName: "DownloadPredictionRun",
			Handler:    _PredictionRunService_DownloadPredictionRun_Handler,
		},
		{
			MethodName: "AbortPredictionRun",
			Handler:    _PredictionRunService_AbortPredictionRun_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/predictionrun/v1/predictionrun.proto",
}

PredictionRunService_ServiceDesc is the grpc.ServiceDesc for PredictionRunService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPredictionRunServiceServer

func RegisterPredictionRunServiceServer(s grpc.ServiceRegistrar, srv PredictionRunServiceServer)

Types

type AbortPredictionRunRequest

type AbortPredictionRunRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AbortPredictionRunRequest) Descriptor deprecated

func (*AbortPredictionRunRequest) Descriptor() ([]byte, []int)

Deprecated: Use AbortPredictionRunRequest.ProtoReflect.Descriptor instead.

func (*AbortPredictionRunRequest) GetName

func (x *AbortPredictionRunRequest) GetName() string

func (*AbortPredictionRunRequest) GetNamespace

func (x *AbortPredictionRunRequest) GetNamespace() string

func (*AbortPredictionRunRequest) ProtoMessage

func (*AbortPredictionRunRequest) ProtoMessage()

func (*AbortPredictionRunRequest) ProtoReflect

func (*AbortPredictionRunRequest) Reset

func (x *AbortPredictionRunRequest) Reset()

func (*AbortPredictionRunRequest) String

func (x *AbortPredictionRunRequest) String() string

type AbortPredictionRunResponse

type AbortPredictionRunResponse struct {
	// contains filtered or unexported fields
}

func (*AbortPredictionRunResponse) Descriptor deprecated

func (*AbortPredictionRunResponse) Descriptor() ([]byte, []int)

Deprecated: Use AbortPredictionRunResponse.ProtoReflect.Descriptor instead.

func (*AbortPredictionRunResponse) ProtoMessage

func (*AbortPredictionRunResponse) ProtoMessage()

func (*AbortPredictionRunResponse) ProtoReflect

func (*AbortPredictionRunResponse) Reset

func (x *AbortPredictionRunResponse) Reset()

func (*AbortPredictionRunResponse) String

func (x *AbortPredictionRunResponse) String() string

type CreatePredictionRunRequest

type CreatePredictionRunRequest struct {
	PredictionRun *v1alpha1.PredictionRun `protobuf:"bytes,1,opt,name=predictionRun,proto3" json:"predictionRun,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePredictionRunRequest) Descriptor deprecated

func (*CreatePredictionRunRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePredictionRunRequest.ProtoReflect.Descriptor instead.

func (*CreatePredictionRunRequest) GetPredictionRun added in v0.6.310

func (x *CreatePredictionRunRequest) GetPredictionRun() *v1alpha1.PredictionRun

func (*CreatePredictionRunRequest) ProtoMessage

func (*CreatePredictionRunRequest) ProtoMessage()

func (*CreatePredictionRunRequest) ProtoReflect

func (*CreatePredictionRunRequest) Reset

func (x *CreatePredictionRunRequest) Reset()

func (*CreatePredictionRunRequest) String

func (x *CreatePredictionRunRequest) String() string

type CreatePredictionRunResponse

type CreatePredictionRunResponse struct {
	// contains filtered or unexported fields
}

func (*CreatePredictionRunResponse) Descriptor deprecated

func (*CreatePredictionRunResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreatePredictionRunResponse.ProtoReflect.Descriptor instead.

func (*CreatePredictionRunResponse) ProtoMessage

func (*CreatePredictionRunResponse) ProtoMessage()

func (*CreatePredictionRunResponse) ProtoReflect

func (*CreatePredictionRunResponse) Reset

func (x *CreatePredictionRunResponse) Reset()

func (*CreatePredictionRunResponse) String

func (x *CreatePredictionRunResponse) String() string

type DeletePredictionRunRequest

type DeletePredictionRunRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePredictionRunRequest) Descriptor deprecated

func (*DeletePredictionRunRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePredictionRunRequest.ProtoReflect.Descriptor instead.

func (*DeletePredictionRunRequest) GetName

func (x *DeletePredictionRunRequest) GetName() string

func (*DeletePredictionRunRequest) GetNamespace

func (x *DeletePredictionRunRequest) GetNamespace() string

func (*DeletePredictionRunRequest) ProtoMessage

func (*DeletePredictionRunRequest) ProtoMessage()

func (*DeletePredictionRunRequest) ProtoReflect

func (*DeletePredictionRunRequest) Reset

func (x *DeletePredictionRunRequest) Reset()

func (*DeletePredictionRunRequest) String

func (x *DeletePredictionRunRequest) String() string

type DeletePredictionRunResponse

type DeletePredictionRunResponse struct {
	// contains filtered or unexported fields
}

func (*DeletePredictionRunResponse) Descriptor deprecated

func (*DeletePredictionRunResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeletePredictionRunResponse.ProtoReflect.Descriptor instead.

func (*DeletePredictionRunResponse) ProtoMessage

func (*DeletePredictionRunResponse) ProtoMessage()

func (*DeletePredictionRunResponse) ProtoReflect

func (*DeletePredictionRunResponse) Reset

func (x *DeletePredictionRunResponse) Reset()

func (*DeletePredictionRunResponse) String

func (x *DeletePredictionRunResponse) String() string

type DownloadPredictionRunRequest

type DownloadPredictionRunRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadPredictionRunRequest) Descriptor deprecated

func (*DownloadPredictionRunRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPredictionRunRequest.ProtoReflect.Descriptor instead.

func (*DownloadPredictionRunRequest) GetName

func (x *DownloadPredictionRunRequest) GetName() string

func (*DownloadPredictionRunRequest) GetNamespace

func (x *DownloadPredictionRunRequest) GetNamespace() string

func (*DownloadPredictionRunRequest) ProtoMessage

func (*DownloadPredictionRunRequest) ProtoMessage()

func (*DownloadPredictionRunRequest) ProtoReflect

func (*DownloadPredictionRunRequest) Reset

func (x *DownloadPredictionRunRequest) Reset()

func (*DownloadPredictionRunRequest) String

type DownloadPredictionRunResponse

type DownloadPredictionRunResponse struct {
	Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadPredictionRunResponse) Descriptor deprecated

func (*DownloadPredictionRunResponse) Descriptor() ([]byte, []int)

Deprecated: Use DownloadPredictionRunResponse.ProtoReflect.Descriptor instead.

func (*DownloadPredictionRunResponse) GetRaw

func (x *DownloadPredictionRunResponse) GetRaw() []byte

func (*DownloadPredictionRunResponse) ProtoMessage

func (*DownloadPredictionRunResponse) ProtoMessage()

func (*DownloadPredictionRunResponse) ProtoReflect

func (*DownloadPredictionRunResponse) Reset

func (x *DownloadPredictionRunResponse) Reset()

func (*DownloadPredictionRunResponse) String

type GetPredictionRunRequest

type GetPredictionRunRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPredictionRunRequest) Descriptor deprecated

func (*GetPredictionRunRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPredictionRunRequest.ProtoReflect.Descriptor instead.

func (*GetPredictionRunRequest) GetName

func (x *GetPredictionRunRequest) GetName() string

func (*GetPredictionRunRequest) GetNamespace

func (x *GetPredictionRunRequest) GetNamespace() string

func (*GetPredictionRunRequest) ProtoMessage

func (*GetPredictionRunRequest) ProtoMessage()

func (*GetPredictionRunRequest) ProtoReflect

func (x *GetPredictionRunRequest) ProtoReflect() protoreflect.Message

func (*GetPredictionRunRequest) Reset

func (x *GetPredictionRunRequest) Reset()

func (*GetPredictionRunRequest) String

func (x *GetPredictionRunRequest) String() string

type GetPredictionRunResponse

type GetPredictionRunResponse struct {
	PredictionRun *v1alpha1.PredictionRun `protobuf:"bytes,1,opt,name=predictionRun,proto3" json:"predictionRun,omitempty"`
	Yaml          string                  `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPredictionRunResponse) Descriptor deprecated

func (*GetPredictionRunResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPredictionRunResponse.ProtoReflect.Descriptor instead.

func (*GetPredictionRunResponse) GetPredictionRun added in v0.6.310

func (x *GetPredictionRunResponse) GetPredictionRun() *v1alpha1.PredictionRun

func (*GetPredictionRunResponse) GetYaml

func (x *GetPredictionRunResponse) GetYaml() string

func (*GetPredictionRunResponse) ProtoMessage

func (*GetPredictionRunResponse) ProtoMessage()

func (*GetPredictionRunResponse) ProtoReflect

func (x *GetPredictionRunResponse) ProtoReflect() protoreflect.Message

func (*GetPredictionRunResponse) Reset

func (x *GetPredictionRunResponse) Reset()

func (*GetPredictionRunResponse) String

func (x *GetPredictionRunResponse) String() string

type ListPredictionRunsRequest

type ListPredictionRunsRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	PageSize  int32             `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string            `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string            `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPredictionRunsRequest) Descriptor deprecated

func (*ListPredictionRunsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPredictionRunsRequest.ProtoReflect.Descriptor instead.

func (*ListPredictionRunsRequest) GetLabels

func (x *ListPredictionRunsRequest) GetLabels() map[string]string

func (*ListPredictionRunsRequest) GetNamespace

func (x *ListPredictionRunsRequest) GetNamespace() string

func (*ListPredictionRunsRequest) GetOrderBy

func (x *ListPredictionRunsRequest) GetOrderBy() string

func (*ListPredictionRunsRequest) GetPageSize

func (x *ListPredictionRunsRequest) GetPageSize() int32

func (*ListPredictionRunsRequest) GetPageToken

func (x *ListPredictionRunsRequest) GetPageToken() string

func (*ListPredictionRunsRequest) ProtoMessage

func (*ListPredictionRunsRequest) ProtoMessage()

func (*ListPredictionRunsRequest) ProtoReflect

func (*ListPredictionRunsRequest) Reset

func (x *ListPredictionRunsRequest) Reset()

func (*ListPredictionRunsRequest) String

func (x *ListPredictionRunsRequest) String() string

type ListPredictionRunsResponse

type ListPredictionRunsResponse struct {
	PredictionRuns *v1alpha1.PredictionRunList `protobuf:"bytes,1,opt,name=predictionRuns,proto3" json:"predictionRuns,omitempty"`
	NextPageToken  string                      `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPredictionRunsResponse) Descriptor deprecated

func (*ListPredictionRunsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPredictionRunsResponse.ProtoReflect.Descriptor instead.

func (*ListPredictionRunsResponse) GetNextPageToken

func (x *ListPredictionRunsResponse) GetNextPageToken() string

func (*ListPredictionRunsResponse) GetPredictionRuns added in v0.6.310

func (x *ListPredictionRunsResponse) GetPredictionRuns() *v1alpha1.PredictionRunList

func (*ListPredictionRunsResponse) ProtoMessage

func (*ListPredictionRunsResponse) ProtoMessage()

func (*ListPredictionRunsResponse) ProtoReflect

func (*ListPredictionRunsResponse) Reset

func (x *ListPredictionRunsResponse) Reset()

func (*ListPredictionRunsResponse) String

func (x *ListPredictionRunsResponse) String() string

type PredictionRunServiceClient

PredictionRunServiceClient is the client API for PredictionRunService 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 PredictionRunServiceServer

PredictionRunServiceServer is the server API for PredictionRunService service. All implementations must embed UnimplementedPredictionRunServiceServer for forward compatibility

type UnimplementedPredictionRunServiceServer

type UnimplementedPredictionRunServiceServer struct {
}

UnimplementedPredictionRunServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPredictionRunServiceServer) AbortPredictionRun

func (UnimplementedPredictionRunServiceServer) CreatePredictionRun

func (UnimplementedPredictionRunServiceServer) DeletePredictionRun

func (UnimplementedPredictionRunServiceServer) DownloadPredictionRun

func (UnimplementedPredictionRunServiceServer) GetPredictionRun

func (UnimplementedPredictionRunServiceServer) ListPredictionRuns

func (UnimplementedPredictionRunServiceServer) UpdatePredictionRun

type UnsafePredictionRunServiceServer

type UnsafePredictionRunServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePredictionRunServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PredictionRunServiceServer will result in compilation errors.

type UpdatePredictionRunRequest

type UpdatePredictionRunRequest struct {
	PredictionRun *v1alpha1.PredictionRun `protobuf:"bytes,1,opt,name=predictionRun,proto3" json:"predictionRun,omitempty"`
	FieldMask     *field_mask.FieldMask   `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePredictionRunRequest) Descriptor deprecated

func (*UpdatePredictionRunRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePredictionRunRequest.ProtoReflect.Descriptor instead.

func (*UpdatePredictionRunRequest) GetFieldMask

func (x *UpdatePredictionRunRequest) GetFieldMask() *field_mask.FieldMask

func (*UpdatePredictionRunRequest) GetPredictionRun added in v0.6.310

func (x *UpdatePredictionRunRequest) GetPredictionRun() *v1alpha1.PredictionRun

func (*UpdatePredictionRunRequest) ProtoMessage

func (*UpdatePredictionRunRequest) ProtoMessage()

func (*UpdatePredictionRunRequest) ProtoReflect

func (*UpdatePredictionRunRequest) Reset

func (x *UpdatePredictionRunRequest) Reset()

func (*UpdatePredictionRunRequest) String

func (x *UpdatePredictionRunRequest) String() string

type UpdatePredictionRunResponse

type UpdatePredictionRunResponse struct {
	// contains filtered or unexported fields
}

func (*UpdatePredictionRunResponse) Descriptor deprecated

func (*UpdatePredictionRunResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePredictionRunResponse.ProtoReflect.Descriptor instead.

func (*UpdatePredictionRunResponse) ProtoMessage

func (*UpdatePredictionRunResponse) ProtoMessage()

func (*UpdatePredictionRunResponse) ProtoReflect

func (*UpdatePredictionRunResponse) Reset

func (x *UpdatePredictionRunResponse) Reset()

func (*UpdatePredictionRunResponse) String

func (x *UpdatePredictionRunResponse) String() string

Jump to

Keyboard shortcuts

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