Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterRecipeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRecipeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RecipeServiceClient) error
- func RegisterRecipeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRecipeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RecipeServiceServer) error
- func RegisterRecipeServiceServer(s grpc.ServiceRegistrar, srv RecipeServiceServer)
- type CreateRecipeRequest
- func (*CreateRecipeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRecipeRequest) GetRecipe() *v1alpha1.Recipe
- func (*CreateRecipeRequest) ProtoMessage()
- func (x *CreateRecipeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRecipeRequest) Reset()
- func (x *CreateRecipeRequest) String() string
- type CreateRecipeResponse
- type DeleteRecipeRequest
- func (*DeleteRecipeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRecipeRequest) GetName() string
- func (x *DeleteRecipeRequest) GetNamespace() string
- func (*DeleteRecipeRequest) ProtoMessage()
- func (x *DeleteRecipeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRecipeRequest) Reset()
- func (x *DeleteRecipeRequest) String() string
- type DeleteRecipeResponse
- type GetRecipeRequest
- func (*GetRecipeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecipeRequest) GetName() string
- func (x *GetRecipeRequest) GetNamespace() string
- func (*GetRecipeRequest) ProtoMessage()
- func (x *GetRecipeRequest) ProtoReflect() protoreflect.Message
- func (x *GetRecipeRequest) Reset()
- func (x *GetRecipeRequest) String() string
- type GetRecipeResponse
- func (*GetRecipeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecipeResponse) GetRecipe() *v1alpha1.Recipe
- func (x *GetRecipeResponse) GetYaml() string
- func (*GetRecipeResponse) ProtoMessage()
- func (x *GetRecipeResponse) ProtoReflect() protoreflect.Message
- func (x *GetRecipeResponse) Reset()
- func (x *GetRecipeResponse) String() string
- type ListRecipesRequest
- func (*ListRecipesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecipesRequest) GetLabels() map[string]string
- func (x *ListRecipesRequest) GetNamespace() string
- func (x *ListRecipesRequest) GetOrderBy() string
- func (x *ListRecipesRequest) GetPageSize() int32
- func (x *ListRecipesRequest) GetPageToken() string
- func (*ListRecipesRequest) ProtoMessage()
- func (x *ListRecipesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRecipesRequest) Reset()
- func (x *ListRecipesRequest) String() string
- type ListRecipesResponse
- func (*ListRecipesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecipesResponse) GetNextPageToken() string
- func (x *ListRecipesResponse) GetRecipes() *v1alpha1.RecipeList
- func (*ListRecipesResponse) ProtoMessage()
- func (x *ListRecipesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRecipesResponse) Reset()
- func (x *ListRecipesResponse) String() string
- type ProfileRecipeRequest
- func (*ProfileRecipeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileRecipeRequest) GetName() string
- func (x *ProfileRecipeRequest) GetNamespace() string
- func (x *ProfileRecipeRequest) GetSpec() *v1alpha1.RecipeSpec
- func (*ProfileRecipeRequest) ProtoMessage()
- func (x *ProfileRecipeRequest) ProtoReflect() protoreflect.Message
- func (x *ProfileRecipeRequest) Reset()
- func (x *ProfileRecipeRequest) String() string
- type ProfileRecipeResponse
- func (*ProfileRecipeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileRecipeResponse) GetTable() *v1.TableView
- func (*ProfileRecipeResponse) ProtoMessage()
- func (x *ProfileRecipeResponse) ProtoReflect() protoreflect.Message
- func (x *ProfileRecipeResponse) Reset()
- func (x *ProfileRecipeResponse) String() string
- type RecipeServiceClient
- type RecipeServiceServer
- type RunRecipeRequest
- func (*RunRecipeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunRecipeRequest) GetName() string
- func (x *RunRecipeRequest) GetNamespace() string
- func (x *RunRecipeRequest) GetSpec() *v1alpha1.RecipeSpec
- func (*RunRecipeRequest) ProtoMessage()
- func (x *RunRecipeRequest) ProtoReflect() protoreflect.Message
- func (x *RunRecipeRequest) Reset()
- func (x *RunRecipeRequest) String() string
- type RunRecipeResponse
- func (*RunRecipeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunRecipeResponse) GetRecipe() *v1alpha1.Recipe
- func (x *RunRecipeResponse) GetYaml() string
- func (*RunRecipeResponse) ProtoMessage()
- func (x *RunRecipeResponse) ProtoReflect() protoreflect.Message
- func (x *RunRecipeResponse) Reset()
- func (x *RunRecipeResponse) String() string
- type UnimplementedRecipeServiceServer
- func (UnimplementedRecipeServiceServer) CreateRecipe(context.Context, *CreateRecipeRequest) (*CreateRecipeResponse, error)
- func (UnimplementedRecipeServiceServer) DeleteRecipe(context.Context, *DeleteRecipeRequest) (*DeleteRecipeResponse, error)
- func (UnimplementedRecipeServiceServer) GetRecipe(context.Context, *GetRecipeRequest) (*GetRecipeResponse, error)
- func (UnimplementedRecipeServiceServer) ListRecipes(context.Context, *ListRecipesRequest) (*ListRecipesResponse, error)
- func (UnimplementedRecipeServiceServer) ProfileRecipe(context.Context, *ProfileRecipeRequest) (*ProfileRecipeResponse, error)
- func (UnimplementedRecipeServiceServer) RunRecipe(context.Context, *RunRecipeRequest) (*RunRecipeResponse, error)
- func (UnimplementedRecipeServiceServer) UpdateRecipe(context.Context, *UpdateRecipeRequest) (*UpdateRecipeResponse, error)
- type UnsafeRecipeServiceServer
- type UpdateRecipeRequest
- func (*UpdateRecipeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRecipeRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateRecipeRequest) GetRecipe() *v1alpha1.Recipe
- func (*UpdateRecipeRequest) ProtoMessage()
- func (x *UpdateRecipeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRecipeRequest) Reset()
- func (x *UpdateRecipeRequest) String() string
- type UpdateRecipeResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_recipe_v1_recipe_proto protoreflect.FileDescriptor
var RecipeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.recipe.v1.RecipeService", HandlerType: (*RecipeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListRecipes", Handler: _RecipeService_ListRecipes_Handler, }, { MethodName: "CreateRecipe", Handler: _RecipeService_CreateRecipe_Handler, }, { MethodName: "GetRecipe", Handler: _RecipeService_GetRecipe_Handler, }, { MethodName: "RunRecipe", Handler: _RecipeService_RunRecipe_Handler, }, { MethodName: "ProfileRecipe", Handler: _RecipeService_ProfileRecipe_Handler, }, { MethodName: "UpdateRecipe", Handler: _RecipeService_UpdateRecipe_Handler, }, { MethodName: "DeleteRecipe", Handler: _RecipeService_DeleteRecipe_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/metaprov/modelaapi/services/recipe/v1/recipe.proto", }
RecipeService_ServiceDesc is the grpc.ServiceDesc for RecipeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRecipeServiceHandler ¶ added in v0.4.687
func RegisterRecipeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRecipeServiceHandler registers the http handlers for service RecipeService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRecipeServiceHandlerClient ¶ added in v0.4.687
func RegisterRecipeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RecipeServiceClient) error
RegisterRecipeServiceHandlerClient registers the http handlers for service RecipeService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RecipeServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RecipeServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RecipeServiceClient" to call the correct interceptors.
func RegisterRecipeServiceHandlerFromEndpoint ¶ added in v0.4.687
func RegisterRecipeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRecipeServiceHandlerFromEndpoint is same as RegisterRecipeServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRecipeServiceHandlerServer ¶ added in v0.4.687
func RegisterRecipeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RecipeServiceServer) error
RegisterRecipeServiceHandlerServer registers the http handlers for service RecipeService to "mux". UnaryRPC :call RecipeServiceServer 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 RegisterRecipeServiceHandlerFromEndpoint instead.
func RegisterRecipeServiceServer ¶
func RegisterRecipeServiceServer(s grpc.ServiceRegistrar, srv RecipeServiceServer)
Types ¶
type CreateRecipeRequest ¶
type CreateRecipeRequest struct { Recipe *v1alpha1.Recipe `protobuf:"bytes,1,opt,name=recipe,proto3" json:"recipe,omitempty"` // contains filtered or unexported fields }
func (*CreateRecipeRequest) Descriptor
deprecated
func (*CreateRecipeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRecipeRequest.ProtoReflect.Descriptor instead.
func (*CreateRecipeRequest) GetRecipe ¶ added in v0.4.472
func (x *CreateRecipeRequest) GetRecipe() *v1alpha1.Recipe
func (*CreateRecipeRequest) ProtoMessage ¶
func (*CreateRecipeRequest) ProtoMessage()
func (*CreateRecipeRequest) ProtoReflect ¶
func (x *CreateRecipeRequest) ProtoReflect() protoreflect.Message
func (*CreateRecipeRequest) Reset ¶
func (x *CreateRecipeRequest) Reset()
func (*CreateRecipeRequest) String ¶
func (x *CreateRecipeRequest) String() string
type CreateRecipeResponse ¶
type CreateRecipeResponse struct {
// contains filtered or unexported fields
}
func (*CreateRecipeResponse) Descriptor
deprecated
func (*CreateRecipeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRecipeResponse.ProtoReflect.Descriptor instead.
func (*CreateRecipeResponse) ProtoMessage ¶
func (*CreateRecipeResponse) ProtoMessage()
func (*CreateRecipeResponse) ProtoReflect ¶
func (x *CreateRecipeResponse) ProtoReflect() protoreflect.Message
func (*CreateRecipeResponse) Reset ¶
func (x *CreateRecipeResponse) Reset()
func (*CreateRecipeResponse) String ¶
func (x *CreateRecipeResponse) String() string
type DeleteRecipeRequest ¶
type DeleteRecipeRequest 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 (*DeleteRecipeRequest) Descriptor
deprecated
func (*DeleteRecipeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRecipeRequest.ProtoReflect.Descriptor instead.
func (*DeleteRecipeRequest) GetName ¶
func (x *DeleteRecipeRequest) GetName() string
func (*DeleteRecipeRequest) GetNamespace ¶
func (x *DeleteRecipeRequest) GetNamespace() string
func (*DeleteRecipeRequest) ProtoMessage ¶
func (*DeleteRecipeRequest) ProtoMessage()
func (*DeleteRecipeRequest) ProtoReflect ¶
func (x *DeleteRecipeRequest) ProtoReflect() protoreflect.Message
func (*DeleteRecipeRequest) Reset ¶
func (x *DeleteRecipeRequest) Reset()
func (*DeleteRecipeRequest) String ¶
func (x *DeleteRecipeRequest) String() string
type DeleteRecipeResponse ¶
type DeleteRecipeResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRecipeResponse) Descriptor
deprecated
func (*DeleteRecipeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRecipeResponse.ProtoReflect.Descriptor instead.
func (*DeleteRecipeResponse) ProtoMessage ¶
func (*DeleteRecipeResponse) ProtoMessage()
func (*DeleteRecipeResponse) ProtoReflect ¶
func (x *DeleteRecipeResponse) ProtoReflect() protoreflect.Message
func (*DeleteRecipeResponse) Reset ¶
func (x *DeleteRecipeResponse) Reset()
func (*DeleteRecipeResponse) String ¶
func (x *DeleteRecipeResponse) String() string
type GetRecipeRequest ¶
type GetRecipeRequest 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 (*GetRecipeRequest) Descriptor
deprecated
func (*GetRecipeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRecipeRequest.ProtoReflect.Descriptor instead.
func (*GetRecipeRequest) GetName ¶
func (x *GetRecipeRequest) GetName() string
func (*GetRecipeRequest) GetNamespace ¶
func (x *GetRecipeRequest) GetNamespace() string
func (*GetRecipeRequest) ProtoMessage ¶
func (*GetRecipeRequest) ProtoMessage()
func (*GetRecipeRequest) ProtoReflect ¶
func (x *GetRecipeRequest) ProtoReflect() protoreflect.Message
func (*GetRecipeRequest) Reset ¶
func (x *GetRecipeRequest) Reset()
func (*GetRecipeRequest) String ¶
func (x *GetRecipeRequest) String() string
type GetRecipeResponse ¶
type GetRecipeResponse struct { Recipe *v1alpha1.Recipe `protobuf:"bytes,1,opt,name=recipe,proto3" json:"recipe,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetRecipeResponse) Descriptor
deprecated
func (*GetRecipeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRecipeResponse.ProtoReflect.Descriptor instead.
func (*GetRecipeResponse) GetRecipe ¶ added in v0.4.479
func (x *GetRecipeResponse) GetRecipe() *v1alpha1.Recipe
func (*GetRecipeResponse) GetYaml ¶
func (x *GetRecipeResponse) GetYaml() string
func (*GetRecipeResponse) ProtoMessage ¶
func (*GetRecipeResponse) ProtoMessage()
func (*GetRecipeResponse) ProtoReflect ¶
func (x *GetRecipeResponse) ProtoReflect() protoreflect.Message
func (*GetRecipeResponse) Reset ¶
func (x *GetRecipeResponse) Reset()
func (*GetRecipeResponse) String ¶
func (x *GetRecipeResponse) String() string
type ListRecipesRequest ¶
type ListRecipesRequest 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 (*ListRecipesRequest) Descriptor
deprecated
func (*ListRecipesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRecipesRequest.ProtoReflect.Descriptor instead.
func (*ListRecipesRequest) GetLabels ¶
func (x *ListRecipesRequest) GetLabels() map[string]string
func (*ListRecipesRequest) GetNamespace ¶
func (x *ListRecipesRequest) GetNamespace() string
func (*ListRecipesRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListRecipesRequest) GetOrderBy() string
func (*ListRecipesRequest) GetPageSize ¶ added in v0.4.414
func (x *ListRecipesRequest) GetPageSize() int32
func (*ListRecipesRequest) GetPageToken ¶ added in v0.4.414
func (x *ListRecipesRequest) GetPageToken() string
func (*ListRecipesRequest) ProtoMessage ¶
func (*ListRecipesRequest) ProtoMessage()
func (*ListRecipesRequest) ProtoReflect ¶
func (x *ListRecipesRequest) ProtoReflect() protoreflect.Message
func (*ListRecipesRequest) Reset ¶
func (x *ListRecipesRequest) Reset()
func (*ListRecipesRequest) String ¶
func (x *ListRecipesRequest) String() string
type ListRecipesResponse ¶
type ListRecipesResponse struct { Recipes *v1alpha1.RecipeList `protobuf:"bytes,1,opt,name=recipes,proto3" json:"recipes,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 (*ListRecipesResponse) Descriptor
deprecated
func (*ListRecipesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRecipesResponse.ProtoReflect.Descriptor instead.
func (*ListRecipesResponse) GetNextPageToken ¶ added in v0.4.472
func (x *ListRecipesResponse) GetNextPageToken() string
func (*ListRecipesResponse) GetRecipes ¶ added in v0.4.472
func (x *ListRecipesResponse) GetRecipes() *v1alpha1.RecipeList
func (*ListRecipesResponse) ProtoMessage ¶
func (*ListRecipesResponse) ProtoMessage()
func (*ListRecipesResponse) ProtoReflect ¶
func (x *ListRecipesResponse) ProtoReflect() protoreflect.Message
func (*ListRecipesResponse) Reset ¶
func (x *ListRecipesResponse) Reset()
func (*ListRecipesResponse) String ¶
func (x *ListRecipesResponse) String() string
type ProfileRecipeRequest ¶
type ProfileRecipeRequest 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"` Spec *v1alpha1.RecipeSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
func (*ProfileRecipeRequest) Descriptor
deprecated
func (*ProfileRecipeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProfileRecipeRequest.ProtoReflect.Descriptor instead.
func (*ProfileRecipeRequest) GetName ¶
func (x *ProfileRecipeRequest) GetName() string
func (*ProfileRecipeRequest) GetNamespace ¶
func (x *ProfileRecipeRequest) GetNamespace() string
func (*ProfileRecipeRequest) GetSpec ¶
func (x *ProfileRecipeRequest) GetSpec() *v1alpha1.RecipeSpec
func (*ProfileRecipeRequest) ProtoMessage ¶
func (*ProfileRecipeRequest) ProtoMessage()
func (*ProfileRecipeRequest) ProtoReflect ¶
func (x *ProfileRecipeRequest) ProtoReflect() protoreflect.Message
func (*ProfileRecipeRequest) Reset ¶
func (x *ProfileRecipeRequest) Reset()
func (*ProfileRecipeRequest) String ¶
func (x *ProfileRecipeRequest) String() string
type ProfileRecipeResponse ¶
type ProfileRecipeResponse struct { Table *v1.TableView `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` // contains filtered or unexported fields }
func (*ProfileRecipeResponse) Descriptor
deprecated
func (*ProfileRecipeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProfileRecipeResponse.ProtoReflect.Descriptor instead.
func (*ProfileRecipeResponse) GetTable ¶
func (x *ProfileRecipeResponse) GetTable() *v1.TableView
func (*ProfileRecipeResponse) ProtoMessage ¶
func (*ProfileRecipeResponse) ProtoMessage()
func (*ProfileRecipeResponse) ProtoReflect ¶
func (x *ProfileRecipeResponse) ProtoReflect() protoreflect.Message
func (*ProfileRecipeResponse) Reset ¶
func (x *ProfileRecipeResponse) Reset()
func (*ProfileRecipeResponse) String ¶
func (x *ProfileRecipeResponse) String() string
type RecipeServiceClient ¶
type RecipeServiceClient interface { ListRecipes(ctx context.Context, in *ListRecipesRequest, opts ...grpc.CallOption) (*ListRecipesResponse, error) CreateRecipe(ctx context.Context, in *CreateRecipeRequest, opts ...grpc.CallOption) (*CreateRecipeResponse, error) GetRecipe(ctx context.Context, in *GetRecipeRequest, opts ...grpc.CallOption) (*GetRecipeResponse, error) RunRecipe(ctx context.Context, in *RunRecipeRequest, opts ...grpc.CallOption) (*RunRecipeResponse, error) // profile the recipe based on the sample ProfileRecipe(ctx context.Context, in *ProfileRecipeRequest, opts ...grpc.CallOption) (*ProfileRecipeResponse, error) UpdateRecipe(ctx context.Context, in *UpdateRecipeRequest, opts ...grpc.CallOption) (*UpdateRecipeResponse, error) DeleteRecipe(ctx context.Context, in *DeleteRecipeRequest, opts ...grpc.CallOption) (*DeleteRecipeResponse, error) }
RecipeServiceClient is the client API for RecipeService 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.
func NewRecipeServiceClient ¶
func NewRecipeServiceClient(cc grpc.ClientConnInterface) RecipeServiceClient
type RecipeServiceServer ¶
type RecipeServiceServer interface { ListRecipes(context.Context, *ListRecipesRequest) (*ListRecipesResponse, error) CreateRecipe(context.Context, *CreateRecipeRequest) (*CreateRecipeResponse, error) GetRecipe(context.Context, *GetRecipeRequest) (*GetRecipeResponse, error) RunRecipe(context.Context, *RunRecipeRequest) (*RunRecipeResponse, error) // profile the recipe based on the sample ProfileRecipe(context.Context, *ProfileRecipeRequest) (*ProfileRecipeResponse, error) UpdateRecipe(context.Context, *UpdateRecipeRequest) (*UpdateRecipeResponse, error) DeleteRecipe(context.Context, *DeleteRecipeRequest) (*DeleteRecipeResponse, error) // contains filtered or unexported methods }
RecipeServiceServer is the server API for RecipeService service. All implementations must embed UnimplementedRecipeServiceServer for forward compatibility
type RunRecipeRequest ¶
type RunRecipeRequest 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"` Spec *v1alpha1.RecipeSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
func (*RunRecipeRequest) Descriptor
deprecated
func (*RunRecipeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunRecipeRequest.ProtoReflect.Descriptor instead.
func (*RunRecipeRequest) GetName ¶
func (x *RunRecipeRequest) GetName() string
func (*RunRecipeRequest) GetNamespace ¶
func (x *RunRecipeRequest) GetNamespace() string
func (*RunRecipeRequest) GetSpec ¶
func (x *RunRecipeRequest) GetSpec() *v1alpha1.RecipeSpec
func (*RunRecipeRequest) ProtoMessage ¶
func (*RunRecipeRequest) ProtoMessage()
func (*RunRecipeRequest) ProtoReflect ¶
func (x *RunRecipeRequest) ProtoReflect() protoreflect.Message
func (*RunRecipeRequest) Reset ¶
func (x *RunRecipeRequest) Reset()
func (*RunRecipeRequest) String ¶
func (x *RunRecipeRequest) String() string
type RunRecipeResponse ¶
type RunRecipeResponse struct { Recipe *v1alpha1.Recipe `protobuf:"bytes,1,opt,name=recipe,proto3" json:"recipe,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*RunRecipeResponse) Descriptor
deprecated
func (*RunRecipeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunRecipeResponse.ProtoReflect.Descriptor instead.
func (*RunRecipeResponse) GetRecipe ¶
func (x *RunRecipeResponse) GetRecipe() *v1alpha1.Recipe
func (*RunRecipeResponse) GetYaml ¶
func (x *RunRecipeResponse) GetYaml() string
func (*RunRecipeResponse) ProtoMessage ¶
func (*RunRecipeResponse) ProtoMessage()
func (*RunRecipeResponse) ProtoReflect ¶
func (x *RunRecipeResponse) ProtoReflect() protoreflect.Message
func (*RunRecipeResponse) Reset ¶
func (x *RunRecipeResponse) Reset()
func (*RunRecipeResponse) String ¶
func (x *RunRecipeResponse) String() string
type UnimplementedRecipeServiceServer ¶
type UnimplementedRecipeServiceServer struct { }
UnimplementedRecipeServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRecipeServiceServer) CreateRecipe ¶
func (UnimplementedRecipeServiceServer) CreateRecipe(context.Context, *CreateRecipeRequest) (*CreateRecipeResponse, error)
func (UnimplementedRecipeServiceServer) DeleteRecipe ¶
func (UnimplementedRecipeServiceServer) DeleteRecipe(context.Context, *DeleteRecipeRequest) (*DeleteRecipeResponse, error)
func (UnimplementedRecipeServiceServer) GetRecipe ¶
func (UnimplementedRecipeServiceServer) GetRecipe(context.Context, *GetRecipeRequest) (*GetRecipeResponse, error)
func (UnimplementedRecipeServiceServer) ListRecipes ¶
func (UnimplementedRecipeServiceServer) ListRecipes(context.Context, *ListRecipesRequest) (*ListRecipesResponse, error)
func (UnimplementedRecipeServiceServer) ProfileRecipe ¶
func (UnimplementedRecipeServiceServer) ProfileRecipe(context.Context, *ProfileRecipeRequest) (*ProfileRecipeResponse, error)
func (UnimplementedRecipeServiceServer) RunRecipe ¶
func (UnimplementedRecipeServiceServer) RunRecipe(context.Context, *RunRecipeRequest) (*RunRecipeResponse, error)
func (UnimplementedRecipeServiceServer) UpdateRecipe ¶
func (UnimplementedRecipeServiceServer) UpdateRecipe(context.Context, *UpdateRecipeRequest) (*UpdateRecipeResponse, error)
type UnsafeRecipeServiceServer ¶ added in v0.4.687
type UnsafeRecipeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRecipeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RecipeServiceServer will result in compilation errors.
type UpdateRecipeRequest ¶
type UpdateRecipeRequest struct { Recipe *v1alpha1.Recipe `protobuf:"bytes,1,opt,name=recipe,proto3" json:"recipe,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 (*UpdateRecipeRequest) Descriptor
deprecated
func (*UpdateRecipeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRecipeRequest.ProtoReflect.Descriptor instead.
func (*UpdateRecipeRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateRecipeRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateRecipeRequest) GetRecipe ¶ added in v0.4.472
func (x *UpdateRecipeRequest) GetRecipe() *v1alpha1.Recipe
func (*UpdateRecipeRequest) ProtoMessage ¶
func (*UpdateRecipeRequest) ProtoMessage()
func (*UpdateRecipeRequest) ProtoReflect ¶
func (x *UpdateRecipeRequest) ProtoReflect() protoreflect.Message
func (*UpdateRecipeRequest) Reset ¶
func (x *UpdateRecipeRequest) Reset()
func (*UpdateRecipeRequest) String ¶
func (x *UpdateRecipeRequest) String() string
type UpdateRecipeResponse ¶
type UpdateRecipeResponse struct {
// contains filtered or unexported fields
}
func (*UpdateRecipeResponse) Descriptor
deprecated
func (*UpdateRecipeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRecipeResponse.ProtoReflect.Descriptor instead.
func (*UpdateRecipeResponse) ProtoMessage ¶
func (*UpdateRecipeResponse) ProtoMessage()
func (*UpdateRecipeResponse) ProtoReflect ¶
func (x *UpdateRecipeResponse) ProtoReflect() protoreflect.Message
func (*UpdateRecipeResponse) Reset ¶
func (x *UpdateRecipeResponse) Reset()
func (*UpdateRecipeResponse) String ¶
func (x *UpdateRecipeResponse) String() string