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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_reciperun_v1_reciperun_proto protoreflect.FileDescriptor
View Source
var RecipeRunService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.reciperun.v1.RecipeRunService",
	HandlerType: (*RecipeRunServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListRecipeRuns",
			Handler:    _RecipeRunService_ListRecipeRuns_Handler,
		},
		{
			MethodName: "CreateRecipeRun",
			Handler:    _RecipeRunService_CreateRecipeRun_Handler,
		},
		{
			MethodName: "GetRecipeRun",
			Handler:    _RecipeRunService_GetRecipeRun_Handler,
		},
		{
			MethodName: "UpdateRecipeRun",
			Handler:    _RecipeRunService_UpdateRecipeRun_Handler,
		},
		{
			MethodName: "DeleteRecipeRun",
			Handler:    _RecipeRunService_DeleteRecipeRun_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/reciperun/v1/reciperun.proto",
}

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

Functions

func RegisterRecipeRunServiceServer

func RegisterRecipeRunServiceServer(s grpc.ServiceRegistrar, srv RecipeRunServiceServer)

Types

type CreateRecipeRunRequest

type CreateRecipeRunRequest struct {
	Reciperun *v1alpha1.RecipeRun `protobuf:"bytes,1,opt,name=reciperun,proto3" json:"reciperun,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRecipeRunRequest) Descriptor deprecated

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

Deprecated: Use CreateRecipeRunRequest.ProtoReflect.Descriptor instead.

func (*CreateRecipeRunRequest) GetReciperun added in v0.4.480

func (x *CreateRecipeRunRequest) GetReciperun() *v1alpha1.RecipeRun

func (*CreateRecipeRunRequest) ProtoMessage

func (*CreateRecipeRunRequest) ProtoMessage()

func (*CreateRecipeRunRequest) ProtoReflect

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

func (*CreateRecipeRunRequest) Reset

func (x *CreateRecipeRunRequest) Reset()

func (*CreateRecipeRunRequest) String

func (x *CreateRecipeRunRequest) String() string

type CreateRecipeRunResponse

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

func (*CreateRecipeRunResponse) Descriptor deprecated

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

Deprecated: Use CreateRecipeRunResponse.ProtoReflect.Descriptor instead.

func (*CreateRecipeRunResponse) ProtoMessage

func (*CreateRecipeRunResponse) ProtoMessage()

func (*CreateRecipeRunResponse) ProtoReflect

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

func (*CreateRecipeRunResponse) Reset

func (x *CreateRecipeRunResponse) Reset()

func (*CreateRecipeRunResponse) String

func (x *CreateRecipeRunResponse) String() string

type DeleteRecipeRunRequest

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

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

Deprecated: Use DeleteRecipeRunRequest.ProtoReflect.Descriptor instead.

func (*DeleteRecipeRunRequest) GetName

func (x *DeleteRecipeRunRequest) GetName() string

func (*DeleteRecipeRunRequest) GetNamespace

func (x *DeleteRecipeRunRequest) GetNamespace() string

func (*DeleteRecipeRunRequest) ProtoMessage

func (*DeleteRecipeRunRequest) ProtoMessage()

func (*DeleteRecipeRunRequest) ProtoReflect

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

func (*DeleteRecipeRunRequest) Reset

func (x *DeleteRecipeRunRequest) Reset()

func (*DeleteRecipeRunRequest) String

func (x *DeleteRecipeRunRequest) String() string

type DeleteRecipeRunResponse

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

func (*DeleteRecipeRunResponse) Descriptor deprecated

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

Deprecated: Use DeleteRecipeRunResponse.ProtoReflect.Descriptor instead.

func (*DeleteRecipeRunResponse) ProtoMessage

func (*DeleteRecipeRunResponse) ProtoMessage()

func (*DeleteRecipeRunResponse) ProtoReflect

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

func (*DeleteRecipeRunResponse) Reset

func (x *DeleteRecipeRunResponse) Reset()

func (*DeleteRecipeRunResponse) String

func (x *DeleteRecipeRunResponse) String() string

type GetRecipeRunRequest

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

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

Deprecated: Use GetRecipeRunRequest.ProtoReflect.Descriptor instead.

func (*GetRecipeRunRequest) GetName

func (x *GetRecipeRunRequest) GetName() string

func (*GetRecipeRunRequest) GetNamespace

func (x *GetRecipeRunRequest) GetNamespace() string

func (*GetRecipeRunRequest) ProtoMessage

func (*GetRecipeRunRequest) ProtoMessage()

func (*GetRecipeRunRequest) ProtoReflect

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

func (*GetRecipeRunRequest) Reset

func (x *GetRecipeRunRequest) Reset()

func (*GetRecipeRunRequest) String

func (x *GetRecipeRunRequest) String() string

type GetRecipeRunResponse

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

func (*GetRecipeRunResponse) Descriptor deprecated

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

Deprecated: Use GetRecipeRunResponse.ProtoReflect.Descriptor instead.

func (*GetRecipeRunResponse) GetReciperun added in v0.4.480

func (x *GetRecipeRunResponse) GetReciperun() *v1alpha1.RecipeRun

func (*GetRecipeRunResponse) GetYaml

func (x *GetRecipeRunResponse) GetYaml() string

func (*GetRecipeRunResponse) ProtoMessage

func (*GetRecipeRunResponse) ProtoMessage()

func (*GetRecipeRunResponse) ProtoReflect

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

func (*GetRecipeRunResponse) Reset

func (x *GetRecipeRunResponse) Reset()

func (*GetRecipeRunResponse) String

func (x *GetRecipeRunResponse) String() string

type ListRecipeRunsRequest

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

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

Deprecated: Use ListRecipeRunsRequest.ProtoReflect.Descriptor instead.

func (*ListRecipeRunsRequest) GetLabels

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

func (*ListRecipeRunsRequest) GetNamespace

func (x *ListRecipeRunsRequest) GetNamespace() string

func (*ListRecipeRunsRequest) GetOrderBy added in v0.4.414

func (x *ListRecipeRunsRequest) GetOrderBy() string

func (*ListRecipeRunsRequest) GetPageSize added in v0.4.414

func (x *ListRecipeRunsRequest) GetPageSize() int32

func (*ListRecipeRunsRequest) GetPageToken added in v0.4.414

func (x *ListRecipeRunsRequest) GetPageToken() string

func (*ListRecipeRunsRequest) ProtoMessage

func (*ListRecipeRunsRequest) ProtoMessage()

func (*ListRecipeRunsRequest) ProtoReflect

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

func (*ListRecipeRunsRequest) Reset

func (x *ListRecipeRunsRequest) Reset()

func (*ListRecipeRunsRequest) String

func (x *ListRecipeRunsRequest) String() string

type ListRecipeRunsResponse

type ListRecipeRunsResponse struct {
	Reciperuns    *v1alpha1.RecipeRunList `protobuf:"bytes,1,opt,name=reciperuns,proto3" json:"reciperuns,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 (*ListRecipeRunsResponse) Descriptor deprecated

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

Deprecated: Use ListRecipeRunsResponse.ProtoReflect.Descriptor instead.

func (*ListRecipeRunsResponse) GetNextPageToken added in v0.4.472

func (x *ListRecipeRunsResponse) GetNextPageToken() string

func (*ListRecipeRunsResponse) GetReciperuns added in v0.4.480

func (x *ListRecipeRunsResponse) GetReciperuns() *v1alpha1.RecipeRunList

func (*ListRecipeRunsResponse) ProtoMessage

func (*ListRecipeRunsResponse) ProtoMessage()

func (*ListRecipeRunsResponse) ProtoReflect

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

func (*ListRecipeRunsResponse) Reset

func (x *ListRecipeRunsResponse) Reset()

func (*ListRecipeRunsResponse) String

func (x *ListRecipeRunsResponse) String() string

type RecipeRunServiceClient

type RecipeRunServiceClient interface {
	ListRecipeRuns(ctx context.Context, in *ListRecipeRunsRequest, opts ...grpc.CallOption) (*ListRecipeRunsResponse, error)
	CreateRecipeRun(ctx context.Context, in *CreateRecipeRunRequest, opts ...grpc.CallOption) (*CreateRecipeRunResponse, error)
	GetRecipeRun(ctx context.Context, in *GetRecipeRunRequest, opts ...grpc.CallOption) (*GetRecipeRunResponse, error)
	UpdateRecipeRun(ctx context.Context, in *UpdateRecipeRunRequest, opts ...grpc.CallOption) (*UpdateRecipeRunResponse, error)
	DeleteRecipeRun(ctx context.Context, in *DeleteRecipeRunRequest, opts ...grpc.CallOption) (*DeleteRecipeRunResponse, error)
}

RecipeRunServiceClient is the client API for RecipeRunService 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 RecipeRunServiceServer

type RecipeRunServiceServer interface {
	ListRecipeRuns(context.Context, *ListRecipeRunsRequest) (*ListRecipeRunsResponse, error)
	CreateRecipeRun(context.Context, *CreateRecipeRunRequest) (*CreateRecipeRunResponse, error)
	GetRecipeRun(context.Context, *GetRecipeRunRequest) (*GetRecipeRunResponse, error)
	UpdateRecipeRun(context.Context, *UpdateRecipeRunRequest) (*UpdateRecipeRunResponse, error)
	DeleteRecipeRun(context.Context, *DeleteRecipeRunRequest) (*DeleteRecipeRunResponse, error)
	// contains filtered or unexported methods
}

RecipeRunServiceServer is the server API for RecipeRunService service. All implementations must embed UnimplementedRecipeRunServiceServer for forward compatibility

type UnimplementedRecipeRunServiceServer

type UnimplementedRecipeRunServiceServer struct {
}

UnimplementedRecipeRunServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRecipeRunServiceServer) CreateRecipeRun

func (UnimplementedRecipeRunServiceServer) DeleteRecipeRun

func (UnimplementedRecipeRunServiceServer) GetRecipeRun

func (UnimplementedRecipeRunServiceServer) ListRecipeRuns

func (UnimplementedRecipeRunServiceServer) UpdateRecipeRun

type UnsafeRecipeRunServiceServer added in v0.4.687

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

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

type UpdateRecipeRunRequest

type UpdateRecipeRunRequest struct {
	Reciperun *v1alpha1.RecipeRun   `protobuf:"bytes,1,opt,name=reciperun,proto3" json:"reciperun,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 (*UpdateRecipeRunRequest) Descriptor deprecated

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

Deprecated: Use UpdateRecipeRunRequest.ProtoReflect.Descriptor instead.

func (*UpdateRecipeRunRequest) GetFieldMask added in v0.4.422

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

func (*UpdateRecipeRunRequest) GetReciperun added in v0.4.480

func (x *UpdateRecipeRunRequest) GetReciperun() *v1alpha1.RecipeRun

func (*UpdateRecipeRunRequest) ProtoMessage

func (*UpdateRecipeRunRequest) ProtoMessage()

func (*UpdateRecipeRunRequest) ProtoReflect

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

func (*UpdateRecipeRunRequest) Reset

func (x *UpdateRecipeRunRequest) Reset()

func (*UpdateRecipeRunRequest) String

func (x *UpdateRecipeRunRequest) String() string

type UpdateRecipeRunResponse

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

func (*UpdateRecipeRunResponse) Descriptor deprecated

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

Deprecated: Use UpdateRecipeRunResponse.ProtoReflect.Descriptor instead.

func (*UpdateRecipeRunResponse) ProtoMessage

func (*UpdateRecipeRunResponse) ProtoMessage()

func (*UpdateRecipeRunResponse) ProtoReflect

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

func (*UpdateRecipeRunResponse) Reset

func (x *UpdateRecipeRunResponse) Reset()

func (*UpdateRecipeRunResponse) String

func (x *UpdateRecipeRunResponse) String() string

Jump to

Keyboard shortcuts

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