v1

package
v0.4.620 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 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_recipe_v1_recipe_proto protoreflect.FileDescriptor

Functions

func RegisterRecipeServiceServer

func RegisterRecipeServiceServer(s *grpc.Server, 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 (*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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type RecipeServiceServer

RecipeServiceServer is the server API for RecipeService service.

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 can be embedded to have forward compatible implementations.

func (*UnimplementedRecipeServiceServer) CreateRecipe

func (*UnimplementedRecipeServiceServer) DeleteRecipe

func (*UnimplementedRecipeServiceServer) GetRecipe

func (*UnimplementedRecipeServiceServer) ListRecipes

func (*UnimplementedRecipeServiceServer) ProfileRecipe

func (*UnimplementedRecipeServiceServer) RunRecipe

func (*UnimplementedRecipeServiceServer) UpdateRecipe

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

Jump to

Keyboard shortcuts

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