v1

package
v0.5.74 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_labelingpipeline_v1_labelingpipeline_proto protoreflect.FileDescriptor
View Source
var LabelingPipelineService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.labelingpipeline.v1.LabelingPipelineService",
	HandlerType: (*LabelingPipelineServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListLabelingPipelines",
			Handler:    _LabelingPipelineService_ListLabelingPipelines_Handler,
		},
		{
			MethodName: "CreateLabelingPipeline",
			Handler:    _LabelingPipelineService_CreateLabelingPipeline_Handler,
		},
		{
			MethodName: "GetLabelingPipeline",
			Handler:    _LabelingPipelineService_GetLabelingPipeline_Handler,
		},
		{
			MethodName: "UpdateLabelingPipeline",
			Handler:    _LabelingPipelineService_UpdateLabelingPipeline_Handler,
		},
		{
			MethodName: "DeleteLabelingPipeline",
			Handler:    _LabelingPipelineService_DeleteLabelingPipeline_Handler,
		},
		{
			MethodName: "PauseLabelingPipeline",
			Handler:    _LabelingPipelineService_PauseLabelingPipeline_Handler,
		},
		{
			MethodName: "ResumeLabelingPipeline",
			Handler:    _LabelingPipelineService_ResumeLabelingPipeline_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/labelingpipeline/v1/labelingpipeline.proto",
}

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

Functions

func RegisterLabelingPipelineServiceHandler added in v0.4.687

func RegisterLabelingPipelineServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLabelingPipelineServiceHandler registers the http handlers for service LabelingPipelineService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLabelingPipelineServiceHandlerClient added in v0.4.687

func RegisterLabelingPipelineServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LabelingPipelineServiceClient) error

RegisterLabelingPipelineServiceHandlerClient registers the http handlers for service LabelingPipelineService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LabelingPipelineServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LabelingPipelineServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LabelingPipelineServiceClient" to call the correct interceptors.

func RegisterLabelingPipelineServiceHandlerFromEndpoint added in v0.4.687

func RegisterLabelingPipelineServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLabelingPipelineServiceHandlerFromEndpoint is same as RegisterLabelingPipelineServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLabelingPipelineServiceHandlerServer added in v0.4.687

func RegisterLabelingPipelineServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LabelingPipelineServiceServer) error

RegisterLabelingPipelineServiceHandlerServer registers the http handlers for service LabelingPipelineService to "mux". UnaryRPC :call LabelingPipelineServiceServer 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 RegisterLabelingPipelineServiceHandlerFromEndpoint instead.

func RegisterLabelingPipelineServiceServer

func RegisterLabelingPipelineServiceServer(s grpc.ServiceRegistrar, srv LabelingPipelineServiceServer)

Types

type CreateLabelingPipelineRequest

type CreateLabelingPipelineRequest struct {
	Labelingpipeline *v1alpha1.LabelingPipeline `protobuf:"bytes,1,opt,name=labelingpipeline,proto3" json:"labelingpipeline,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLabelingPipelineRequest) Descriptor deprecated

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

Deprecated: Use CreateLabelingPipelineRequest.ProtoReflect.Descriptor instead.

func (*CreateLabelingPipelineRequest) GetLabelingpipeline added in v0.4.472

func (x *CreateLabelingPipelineRequest) GetLabelingpipeline() *v1alpha1.LabelingPipeline

func (*CreateLabelingPipelineRequest) ProtoMessage

func (*CreateLabelingPipelineRequest) ProtoMessage()

func (*CreateLabelingPipelineRequest) ProtoReflect

func (*CreateLabelingPipelineRequest) Reset

func (x *CreateLabelingPipelineRequest) Reset()

func (*CreateLabelingPipelineRequest) String

type CreateLabelingPipelineResponse

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

func (*CreateLabelingPipelineResponse) Descriptor deprecated

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

Deprecated: Use CreateLabelingPipelineResponse.ProtoReflect.Descriptor instead.

func (*CreateLabelingPipelineResponse) ProtoMessage

func (*CreateLabelingPipelineResponse) ProtoMessage()

func (*CreateLabelingPipelineResponse) ProtoReflect

func (*CreateLabelingPipelineResponse) Reset

func (x *CreateLabelingPipelineResponse) Reset()

func (*CreateLabelingPipelineResponse) String

type DeleteLabelingPipelineRequest

type DeleteLabelingPipelineRequest 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 (*DeleteLabelingPipelineRequest) Descriptor deprecated

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

Deprecated: Use DeleteLabelingPipelineRequest.ProtoReflect.Descriptor instead.

func (*DeleteLabelingPipelineRequest) GetName

func (*DeleteLabelingPipelineRequest) GetNamespace

func (x *DeleteLabelingPipelineRequest) GetNamespace() string

func (*DeleteLabelingPipelineRequest) ProtoMessage

func (*DeleteLabelingPipelineRequest) ProtoMessage()

func (*DeleteLabelingPipelineRequest) ProtoReflect

func (*DeleteLabelingPipelineRequest) Reset

func (x *DeleteLabelingPipelineRequest) Reset()

func (*DeleteLabelingPipelineRequest) String

type DeleteLabelingPipelineResponse

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

func (*DeleteLabelingPipelineResponse) Descriptor deprecated

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

Deprecated: Use DeleteLabelingPipelineResponse.ProtoReflect.Descriptor instead.

func (*DeleteLabelingPipelineResponse) ProtoMessage

func (*DeleteLabelingPipelineResponse) ProtoMessage()

func (*DeleteLabelingPipelineResponse) ProtoReflect

func (*DeleteLabelingPipelineResponse) Reset

func (x *DeleteLabelingPipelineResponse) Reset()

func (*DeleteLabelingPipelineResponse) String

type GetLabelingPipelineRequest

type GetLabelingPipelineRequest 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 (*GetLabelingPipelineRequest) Descriptor deprecated

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

Deprecated: Use GetLabelingPipelineRequest.ProtoReflect.Descriptor instead.

func (*GetLabelingPipelineRequest) GetName

func (x *GetLabelingPipelineRequest) GetName() string

func (*GetLabelingPipelineRequest) GetNamespace

func (x *GetLabelingPipelineRequest) GetNamespace() string

func (*GetLabelingPipelineRequest) ProtoMessage

func (*GetLabelingPipelineRequest) ProtoMessage()

func (*GetLabelingPipelineRequest) ProtoReflect

func (*GetLabelingPipelineRequest) Reset

func (x *GetLabelingPipelineRequest) Reset()

func (*GetLabelingPipelineRequest) String

func (x *GetLabelingPipelineRequest) String() string

type GetLabelingPipelineResponse

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

func (*GetLabelingPipelineResponse) Descriptor deprecated

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

Deprecated: Use GetLabelingPipelineResponse.ProtoReflect.Descriptor instead.

func (*GetLabelingPipelineResponse) GetLabelingpipeline added in v0.4.475

func (x *GetLabelingPipelineResponse) GetLabelingpipeline() *v1alpha1.LabelingPipeline

func (*GetLabelingPipelineResponse) GetYaml

func (x *GetLabelingPipelineResponse) GetYaml() string

func (*GetLabelingPipelineResponse) ProtoMessage

func (*GetLabelingPipelineResponse) ProtoMessage()

func (*GetLabelingPipelineResponse) ProtoReflect

func (*GetLabelingPipelineResponse) Reset

func (x *GetLabelingPipelineResponse) Reset()

func (*GetLabelingPipelineResponse) String

func (x *GetLabelingPipelineResponse) String() string

type LabelingPipelineServiceClient

LabelingPipelineServiceClient is the client API for LabelingPipelineService 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 LabelingPipelineServiceServer

LabelingPipelineServiceServer is the server API for LabelingPipelineService service. All implementations must embed UnimplementedLabelingPipelineServiceServer for forward compatibility

type ListLabelingPipelineRequest

type ListLabelingPipelineRequest 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 (*ListLabelingPipelineRequest) Descriptor deprecated

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

Deprecated: Use ListLabelingPipelineRequest.ProtoReflect.Descriptor instead.

func (*ListLabelingPipelineRequest) GetLabels

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

func (*ListLabelingPipelineRequest) GetNamespace

func (x *ListLabelingPipelineRequest) GetNamespace() string

func (*ListLabelingPipelineRequest) GetOrderBy added in v0.4.414

func (x *ListLabelingPipelineRequest) GetOrderBy() string

func (*ListLabelingPipelineRequest) GetPageSize added in v0.4.414

func (x *ListLabelingPipelineRequest) GetPageSize() int32

func (*ListLabelingPipelineRequest) GetPageToken added in v0.4.414

func (x *ListLabelingPipelineRequest) GetPageToken() string

func (*ListLabelingPipelineRequest) ProtoMessage

func (*ListLabelingPipelineRequest) ProtoMessage()

func (*ListLabelingPipelineRequest) ProtoReflect

func (*ListLabelingPipelineRequest) Reset

func (x *ListLabelingPipelineRequest) Reset()

func (*ListLabelingPipelineRequest) String

func (x *ListLabelingPipelineRequest) String() string

type ListLabelingPipelineResponse

type ListLabelingPipelineResponse struct {
	Labelingpipelines *v1alpha1.LabelingPipelineList `protobuf:"bytes,1,opt,name=labelingpipelines,proto3" json:"labelingpipelines,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 (*ListLabelingPipelineResponse) Descriptor deprecated

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

Deprecated: Use ListLabelingPipelineResponse.ProtoReflect.Descriptor instead.

func (*ListLabelingPipelineResponse) GetLabelingpipelines added in v0.4.472

func (x *ListLabelingPipelineResponse) GetLabelingpipelines() *v1alpha1.LabelingPipelineList

func (*ListLabelingPipelineResponse) GetNextPageToken added in v0.4.472

func (x *ListLabelingPipelineResponse) GetNextPageToken() string

func (*ListLabelingPipelineResponse) ProtoMessage

func (*ListLabelingPipelineResponse) ProtoMessage()

func (*ListLabelingPipelineResponse) ProtoReflect

func (*ListLabelingPipelineResponse) Reset

func (x *ListLabelingPipelineResponse) Reset()

func (*ListLabelingPipelineResponse) String

type PauseLabelingPipelineRequest

type PauseLabelingPipelineRequest 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 (*PauseLabelingPipelineRequest) Descriptor deprecated

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

Deprecated: Use PauseLabelingPipelineRequest.ProtoReflect.Descriptor instead.

func (*PauseLabelingPipelineRequest) GetName

func (x *PauseLabelingPipelineRequest) GetName() string

func (*PauseLabelingPipelineRequest) GetNamespace

func (x *PauseLabelingPipelineRequest) GetNamespace() string

func (*PauseLabelingPipelineRequest) ProtoMessage

func (*PauseLabelingPipelineRequest) ProtoMessage()

func (*PauseLabelingPipelineRequest) ProtoReflect

func (*PauseLabelingPipelineRequest) Reset

func (x *PauseLabelingPipelineRequest) Reset()

func (*PauseLabelingPipelineRequest) String

type PauseLabelingPipelineResponse

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

func (*PauseLabelingPipelineResponse) Descriptor deprecated

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

Deprecated: Use PauseLabelingPipelineResponse.ProtoReflect.Descriptor instead.

func (*PauseLabelingPipelineResponse) ProtoMessage

func (*PauseLabelingPipelineResponse) ProtoMessage()

func (*PauseLabelingPipelineResponse) ProtoReflect

func (*PauseLabelingPipelineResponse) Reset

func (x *PauseLabelingPipelineResponse) Reset()

func (*PauseLabelingPipelineResponse) String

type ResumeLabelingPipelineRequest

type ResumeLabelingPipelineRequest 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 (*ResumeLabelingPipelineRequest) Descriptor deprecated

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

Deprecated: Use ResumeLabelingPipelineRequest.ProtoReflect.Descriptor instead.

func (*ResumeLabelingPipelineRequest) GetName

func (*ResumeLabelingPipelineRequest) GetNamespace

func (x *ResumeLabelingPipelineRequest) GetNamespace() string

func (*ResumeLabelingPipelineRequest) ProtoMessage

func (*ResumeLabelingPipelineRequest) ProtoMessage()

func (*ResumeLabelingPipelineRequest) ProtoReflect

func (*ResumeLabelingPipelineRequest) Reset

func (x *ResumeLabelingPipelineRequest) Reset()

func (*ResumeLabelingPipelineRequest) String

type ResumeLabelingPipelineResponse

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

func (*ResumeLabelingPipelineResponse) Descriptor deprecated

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

Deprecated: Use ResumeLabelingPipelineResponse.ProtoReflect.Descriptor instead.

func (*ResumeLabelingPipelineResponse) ProtoMessage

func (*ResumeLabelingPipelineResponse) ProtoMessage()

func (*ResumeLabelingPipelineResponse) ProtoReflect

func (*ResumeLabelingPipelineResponse) Reset

func (x *ResumeLabelingPipelineResponse) Reset()

func (*ResumeLabelingPipelineResponse) String

type UnimplementedLabelingPipelineServiceServer

type UnimplementedLabelingPipelineServiceServer struct {
}

UnimplementedLabelingPipelineServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLabelingPipelineServiceServer) CreateLabelingPipeline

func (UnimplementedLabelingPipelineServiceServer) DeleteLabelingPipeline

func (UnimplementedLabelingPipelineServiceServer) GetLabelingPipeline

func (UnimplementedLabelingPipelineServiceServer) ListLabelingPipelines

func (UnimplementedLabelingPipelineServiceServer) PauseLabelingPipeline

func (UnimplementedLabelingPipelineServiceServer) ResumeLabelingPipeline

func (UnimplementedLabelingPipelineServiceServer) UpdateLabelingPipeline

type UnsafeLabelingPipelineServiceServer added in v0.4.687

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

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

type UpdateLabelingPipelineRequest

type UpdateLabelingPipelineRequest struct {
	Labelingpipeline *v1alpha1.LabelingPipeline `protobuf:"bytes,1,opt,name=labelingpipeline,proto3" json:"labelingpipeline,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 (*UpdateLabelingPipelineRequest) Descriptor deprecated

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

Deprecated: Use UpdateLabelingPipelineRequest.ProtoReflect.Descriptor instead.

func (*UpdateLabelingPipelineRequest) GetFieldMask added in v0.4.422

func (*UpdateLabelingPipelineRequest) GetLabelingpipeline added in v0.4.475

func (x *UpdateLabelingPipelineRequest) GetLabelingpipeline() *v1alpha1.LabelingPipeline

func (*UpdateLabelingPipelineRequest) ProtoMessage

func (*UpdateLabelingPipelineRequest) ProtoMessage()

func (*UpdateLabelingPipelineRequest) ProtoReflect

func (*UpdateLabelingPipelineRequest) Reset

func (x *UpdateLabelingPipelineRequest) Reset()

func (*UpdateLabelingPipelineRequest) String

type UpdateLabelingPipelineResponse

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

func (*UpdateLabelingPipelineResponse) Descriptor deprecated

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

Deprecated: Use UpdateLabelingPipelineResponse.ProtoReflect.Descriptor instead.

func (*UpdateLabelingPipelineResponse) ProtoMessage

func (*UpdateLabelingPipelineResponse) ProtoMessage()

func (*UpdateLabelingPipelineResponse) ProtoReflect

func (*UpdateLabelingPipelineResponse) Reset

func (x *UpdateLabelingPipelineResponse) Reset()

func (*UpdateLabelingPipelineResponse) String

Jump to

Keyboard shortcuts

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