v1

package
v0.4.979 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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 FeaturePipelineRunService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.featurepipelinerun.v1.FeaturePipelineRunService",
	HandlerType: (*FeaturePipelineRunServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListFeaturePipelineRuns",
			Handler:    _FeaturePipelineRunService_ListFeaturePipelineRuns_Handler,
		},
		{
			MethodName: "CreateFeaturePipelineRun",
			Handler:    _FeaturePipelineRunService_CreateFeaturePipelineRun_Handler,
		},
		{
			MethodName: "GetFeaturePipelineRun",
			Handler:    _FeaturePipelineRunService_GetFeaturePipelineRun_Handler,
		},
		{
			MethodName: "UpdateFeaturePipelineRun",
			Handler:    _FeaturePipelineRunService_UpdateFeaturePipelineRun_Handler,
		},
		{
			MethodName: "DeleteFeaturePipelineRun",
			Handler:    _FeaturePipelineRunService_DeleteFeaturePipelineRun_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/featurepipelinerun/v1/featurepipelinerun.proto",
}

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

View Source
var File_github_com_metaprov_modelaapi_services_featurepipelinerun_v1_featurepipelinerun_proto protoreflect.FileDescriptor

Functions

func RegisterFeaturePipelineRunServiceHandler added in v0.4.687

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

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

func RegisterFeaturePipelineRunServiceHandlerClient added in v0.4.687

func RegisterFeaturePipelineRunServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FeaturePipelineRunServiceClient) error

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

func RegisterFeaturePipelineRunServiceHandlerFromEndpoint added in v0.4.687

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

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

func RegisterFeaturePipelineRunServiceHandlerServer added in v0.4.687

func RegisterFeaturePipelineRunServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FeaturePipelineRunServiceServer) error

RegisterFeaturePipelineRunServiceHandlerServer registers the http handlers for service FeaturePipelineRunService to "mux". UnaryRPC :call FeaturePipelineRunServiceServer 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 RegisterFeaturePipelineRunServiceHandlerFromEndpoint instead.

func RegisterFeaturePipelineRunServiceServer

func RegisterFeaturePipelineRunServiceServer(s grpc.ServiceRegistrar, srv FeaturePipelineRunServiceServer)

Types

type CreateFeaturePipelineRunRequest

type CreateFeaturePipelineRunRequest struct {
	Featurepipelinerun *v1alpha1.FeaturePipelineRun `protobuf:"bytes,1,opt,name=featurepipelinerun,proto3" json:"featurepipelinerun,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFeaturePipelineRunRequest) Descriptor deprecated

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

Deprecated: Use CreateFeaturePipelineRunRequest.ProtoReflect.Descriptor instead.

func (*CreateFeaturePipelineRunRequest) GetFeaturepipelinerun added in v0.4.472

func (x *CreateFeaturePipelineRunRequest) GetFeaturepipelinerun() *v1alpha1.FeaturePipelineRun

func (*CreateFeaturePipelineRunRequest) ProtoMessage

func (*CreateFeaturePipelineRunRequest) ProtoMessage()

func (*CreateFeaturePipelineRunRequest) ProtoReflect

func (*CreateFeaturePipelineRunRequest) Reset

func (*CreateFeaturePipelineRunRequest) String

type CreateFeaturePipelineRunResponse

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

func (*CreateFeaturePipelineRunResponse) Descriptor deprecated

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

Deprecated: Use CreateFeaturePipelineRunResponse.ProtoReflect.Descriptor instead.

func (*CreateFeaturePipelineRunResponse) ProtoMessage

func (*CreateFeaturePipelineRunResponse) ProtoMessage()

func (*CreateFeaturePipelineRunResponse) ProtoReflect

func (*CreateFeaturePipelineRunResponse) Reset

func (*CreateFeaturePipelineRunResponse) String

type DeleteFeaturePipelineRunRequest

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

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

Deprecated: Use DeleteFeaturePipelineRunRequest.ProtoReflect.Descriptor instead.

func (*DeleteFeaturePipelineRunRequest) GetName

func (*DeleteFeaturePipelineRunRequest) GetNamespace

func (x *DeleteFeaturePipelineRunRequest) GetNamespace() string

func (*DeleteFeaturePipelineRunRequest) ProtoMessage

func (*DeleteFeaturePipelineRunRequest) ProtoMessage()

func (*DeleteFeaturePipelineRunRequest) ProtoReflect

func (*DeleteFeaturePipelineRunRequest) Reset

func (*DeleteFeaturePipelineRunRequest) String

type DeleteFeaturePipelineRunResponse

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

func (*DeleteFeaturePipelineRunResponse) Descriptor deprecated

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

Deprecated: Use DeleteFeaturePipelineRunResponse.ProtoReflect.Descriptor instead.

func (*DeleteFeaturePipelineRunResponse) ProtoMessage

func (*DeleteFeaturePipelineRunResponse) ProtoMessage()

func (*DeleteFeaturePipelineRunResponse) ProtoReflect

func (*DeleteFeaturePipelineRunResponse) Reset

func (*DeleteFeaturePipelineRunResponse) String

type FeaturePipelineRunServiceClient

type FeaturePipelineRunServiceClient interface {
	ListFeaturePipelineRuns(ctx context.Context, in *ListFeaturePipelineRunRequest, opts ...grpc.CallOption) (*ListFeaturePipelineRunResponse, error)
	CreateFeaturePipelineRun(ctx context.Context, in *CreateFeaturePipelineRunRequest, opts ...grpc.CallOption) (*CreateFeaturePipelineRunResponse, error)
	GetFeaturePipelineRun(ctx context.Context, in *GetFeaturePipelineRunRequest, opts ...grpc.CallOption) (*GetFeaturePipelineRunResponse, error)
	UpdateFeaturePipelineRun(ctx context.Context, in *UpdateFeaturePipelineRunRequest, opts ...grpc.CallOption) (*UpdateFeaturePipelineRunResponse, error)
	DeleteFeaturePipelineRun(ctx context.Context, in *DeleteFeaturePipelineRunRequest, opts ...grpc.CallOption) (*DeleteFeaturePipelineRunResponse, error)
}

FeaturePipelineRunServiceClient is the client API for FeaturePipelineRunService 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 FeaturePipelineRunServiceServer

type FeaturePipelineRunServiceServer interface {
	ListFeaturePipelineRuns(context.Context, *ListFeaturePipelineRunRequest) (*ListFeaturePipelineRunResponse, error)
	CreateFeaturePipelineRun(context.Context, *CreateFeaturePipelineRunRequest) (*CreateFeaturePipelineRunResponse, error)
	GetFeaturePipelineRun(context.Context, *GetFeaturePipelineRunRequest) (*GetFeaturePipelineRunResponse, error)
	UpdateFeaturePipelineRun(context.Context, *UpdateFeaturePipelineRunRequest) (*UpdateFeaturePipelineRunResponse, error)
	DeleteFeaturePipelineRun(context.Context, *DeleteFeaturePipelineRunRequest) (*DeleteFeaturePipelineRunResponse, error)
	// contains filtered or unexported methods
}

FeaturePipelineRunServiceServer is the server API for FeaturePipelineRunService service. All implementations must embed UnimplementedFeaturePipelineRunServiceServer for forward compatibility

type GetFeaturePipelineRunRequest

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

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

Deprecated: Use GetFeaturePipelineRunRequest.ProtoReflect.Descriptor instead.

func (*GetFeaturePipelineRunRequest) GetName

func (x *GetFeaturePipelineRunRequest) GetName() string

func (*GetFeaturePipelineRunRequest) GetNamespace

func (x *GetFeaturePipelineRunRequest) GetNamespace() string

func (*GetFeaturePipelineRunRequest) ProtoMessage

func (*GetFeaturePipelineRunRequest) ProtoMessage()

func (*GetFeaturePipelineRunRequest) ProtoReflect

func (*GetFeaturePipelineRunRequest) Reset

func (x *GetFeaturePipelineRunRequest) Reset()

func (*GetFeaturePipelineRunRequest) String

type GetFeaturePipelineRunResponse

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

func (*GetFeaturePipelineRunResponse) Descriptor deprecated

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

Deprecated: Use GetFeaturePipelineRunResponse.ProtoReflect.Descriptor instead.

func (*GetFeaturePipelineRunResponse) GetFeaturepipelinerun added in v0.4.475

func (x *GetFeaturePipelineRunResponse) GetFeaturepipelinerun() *v1alpha1.FeaturePipelineRun

func (*GetFeaturePipelineRunResponse) GetYaml

func (*GetFeaturePipelineRunResponse) ProtoMessage

func (*GetFeaturePipelineRunResponse) ProtoMessage()

func (*GetFeaturePipelineRunResponse) ProtoReflect

func (*GetFeaturePipelineRunResponse) Reset

func (x *GetFeaturePipelineRunResponse) Reset()

func (*GetFeaturePipelineRunResponse) String

type ListFeaturePipelineRunRequest

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

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

Deprecated: Use ListFeaturePipelineRunRequest.ProtoReflect.Descriptor instead.

func (*ListFeaturePipelineRunRequest) GetLabels

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

func (*ListFeaturePipelineRunRequest) GetNamespace

func (x *ListFeaturePipelineRunRequest) GetNamespace() string

func (*ListFeaturePipelineRunRequest) GetOrderBy added in v0.4.414

func (x *ListFeaturePipelineRunRequest) GetOrderBy() string

func (*ListFeaturePipelineRunRequest) GetPageSize added in v0.4.414

func (x *ListFeaturePipelineRunRequest) GetPageSize() int32

func (*ListFeaturePipelineRunRequest) GetPageToken added in v0.4.414

func (x *ListFeaturePipelineRunRequest) GetPageToken() string

func (*ListFeaturePipelineRunRequest) ProtoMessage

func (*ListFeaturePipelineRunRequest) ProtoMessage()

func (*ListFeaturePipelineRunRequest) ProtoReflect

func (*ListFeaturePipelineRunRequest) Reset

func (x *ListFeaturePipelineRunRequest) Reset()

func (*ListFeaturePipelineRunRequest) String

type ListFeaturePipelineRunResponse

type ListFeaturePipelineRunResponse struct {
	Featurepipelineruns *v1alpha1.FeaturePipelineRunList `protobuf:"bytes,1,opt,name=featurepipelineruns,proto3" json:"featurepipelineruns,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 (*ListFeaturePipelineRunResponse) Descriptor deprecated

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

Deprecated: Use ListFeaturePipelineRunResponse.ProtoReflect.Descriptor instead.

func (*ListFeaturePipelineRunResponse) GetFeaturepipelineruns added in v0.4.472

func (x *ListFeaturePipelineRunResponse) GetFeaturepipelineruns() *v1alpha1.FeaturePipelineRunList

func (*ListFeaturePipelineRunResponse) GetNextPageToken added in v0.4.472

func (x *ListFeaturePipelineRunResponse) GetNextPageToken() string

func (*ListFeaturePipelineRunResponse) ProtoMessage

func (*ListFeaturePipelineRunResponse) ProtoMessage()

func (*ListFeaturePipelineRunResponse) ProtoReflect

func (*ListFeaturePipelineRunResponse) Reset

func (x *ListFeaturePipelineRunResponse) Reset()

func (*ListFeaturePipelineRunResponse) String

type UnimplementedFeaturePipelineRunServiceServer

type UnimplementedFeaturePipelineRunServiceServer struct {
}

UnimplementedFeaturePipelineRunServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFeaturePipelineRunServiceServer) GetFeaturePipelineRun

func (UnimplementedFeaturePipelineRunServiceServer) ListFeaturePipelineRuns

type UnsafeFeaturePipelineRunServiceServer added in v0.4.687

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

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

type UpdateFeaturePipelineRunRequest

type UpdateFeaturePipelineRunRequest struct {
	Featurepipelinerun *v1alpha1.FeaturePipelineRun `protobuf:"bytes,1,opt,name=featurepipelinerun,proto3" json:"featurepipelinerun,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 (*UpdateFeaturePipelineRunRequest) Descriptor deprecated

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

Deprecated: Use UpdateFeaturePipelineRunRequest.ProtoReflect.Descriptor instead.

func (*UpdateFeaturePipelineRunRequest) GetFeaturepipelinerun added in v0.4.475

func (x *UpdateFeaturePipelineRunRequest) GetFeaturepipelinerun() *v1alpha1.FeaturePipelineRun

func (*UpdateFeaturePipelineRunRequest) GetFieldMask added in v0.4.422

func (*UpdateFeaturePipelineRunRequest) ProtoMessage

func (*UpdateFeaturePipelineRunRequest) ProtoMessage()

func (*UpdateFeaturePipelineRunRequest) ProtoReflect

func (*UpdateFeaturePipelineRunRequest) Reset

func (*UpdateFeaturePipelineRunRequest) String

type UpdateFeaturePipelineRunResponse

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

func (*UpdateFeaturePipelineRunResponse) Descriptor deprecated

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

Deprecated: Use UpdateFeaturePipelineRunResponse.ProtoReflect.Descriptor instead.

func (*UpdateFeaturePipelineRunResponse) ProtoMessage

func (*UpdateFeaturePipelineRunResponse) ProtoMessage()

func (*UpdateFeaturePipelineRunResponse) ProtoReflect

func (*UpdateFeaturePipelineRunResponse) Reset

func (*UpdateFeaturePipelineRunResponse) String

Jump to

Keyboard shortcuts

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