998 lines
36 KiB
Go
998 lines
36 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.30.0
|
||
|
// protoc (unknown)
|
||
|
// source: rpc/v1/spec.proto
|
||
|
|
||
|
package rpcv1
|
||
|
|
||
|
import (
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// Verify that this generated code is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
|
)
|
||
|
|
||
|
type Category int32
|
||
|
|
||
|
const (
|
||
|
Category_CategoryUnknown Category = 0
|
||
|
Category_CategoryTool Category = 1
|
||
|
Category_CategoryTask Category = 2
|
||
|
Category_CategoryBuild Category = 3
|
||
|
Category_CategoryPackage Category = 4
|
||
|
)
|
||
|
|
||
|
// Enum value maps for Category.
|
||
|
var (
|
||
|
Category_name = map[int32]string{
|
||
|
0: "CategoryUnknown",
|
||
|
1: "CategoryTool",
|
||
|
2: "CategoryTask",
|
||
|
3: "CategoryBuild",
|
||
|
4: "CategoryPackage",
|
||
|
}
|
||
|
Category_value = map[string]int32{
|
||
|
"CategoryUnknown": 0,
|
||
|
"CategoryTool": 1,
|
||
|
"CategoryTask": 2,
|
||
|
"CategoryBuild": 3,
|
||
|
"CategoryPackage": 4,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x Category) Enum() *Category {
|
||
|
p := new(Category)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x Category) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (Category) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_rpc_v1_spec_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (Category) Type() protoreflect.EnumType {
|
||
|
return &file_rpc_v1_spec_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x Category) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Category.Descriptor instead.
|
||
|
func (Category) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
type ModuleDescription struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Category Category `protobuf:"varint,1,opt,name=category,proto3,enum=buildr.rpc.v1.Category" json:"category,omitempty"`
|
||
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||
|
DescriptionValues []*ModuleDescription_DescriptionValue `protobuf:"bytes,3,rep,name=description_values,json=descriptionValues,proto3" json:"description_values,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription) Reset() {
|
||
|
*x = ModuleDescription{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ModuleDescription) ProtoMessage() {}
|
||
|
|
||
|
func (x *ModuleDescription) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ModuleDescription.ProtoReflect.Descriptor instead.
|
||
|
func (*ModuleDescription) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription) GetCategory() Category {
|
||
|
if x != nil {
|
||
|
return x.Category
|
||
|
}
|
||
|
return Category_CategoryUnknown
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription) GetType() string {
|
||
|
if x != nil {
|
||
|
return x.Type
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription) GetDescriptionValues() []*ModuleDescription_DescriptionValue {
|
||
|
if x != nil {
|
||
|
return x.DescriptionValues
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type ContainerCapabilities struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Add []string `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`
|
||
|
Drop []string `protobuf:"bytes,2,rep,name=drop,proto3" json:"drop,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ContainerCapabilities) Reset() {
|
||
|
*x = ContainerCapabilities{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerCapabilities) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ContainerCapabilities) ProtoMessage() {}
|
||
|
|
||
|
func (x *ContainerCapabilities) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ContainerCapabilities.ProtoReflect.Descriptor instead.
|
||
|
func (*ContainerCapabilities) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerCapabilities) GetAdd() []string {
|
||
|
if x != nil {
|
||
|
return x.Add
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ContainerCapabilities) GetDrop() []string {
|
||
|
if x != nil {
|
||
|
return x.Drop
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type ContainerBindMount struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
|
||
|
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
|
||
|
ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ContainerBindMount) Reset() {
|
||
|
*x = ContainerBindMount{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerBindMount) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ContainerBindMount) ProtoMessage() {}
|
||
|
|
||
|
func (x *ContainerBindMount) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ContainerBindMount.ProtoReflect.Descriptor instead.
|
||
|
func (*ContainerBindMount) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerBindMount) GetTarget() string {
|
||
|
if x != nil {
|
||
|
return x.Target
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ContainerBindMount) GetSource() string {
|
||
|
if x != nil {
|
||
|
return x.Source
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ContainerBindMount) GetReadOnly() bool {
|
||
|
if x != nil {
|
||
|
return x.ReadOnly
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type ContainerTmpfsMount struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
|
||
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
||
|
ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ContainerTmpfsMount) Reset() {
|
||
|
*x = ContainerTmpfsMount{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerTmpfsMount) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ContainerTmpfsMount) ProtoMessage() {}
|
||
|
|
||
|
func (x *ContainerTmpfsMount) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ContainerTmpfsMount.ProtoReflect.Descriptor instead.
|
||
|
func (*ContainerTmpfsMount) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerTmpfsMount) GetTarget() string {
|
||
|
if x != nil {
|
||
|
return x.Target
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ContainerTmpfsMount) GetSize() int64 {
|
||
|
if x != nil {
|
||
|
return x.Size
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *ContainerTmpfsMount) GetReadOnly() bool {
|
||
|
if x != nil {
|
||
|
return x.ReadOnly
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type ContainerVolumeMount struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
|
||
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
|
||
|
NoCopy bool `protobuf:"varint,4,opt,name=no_copy,json=noCopy,proto3" json:"no_copy,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ContainerVolumeMount) Reset() {
|
||
|
*x = ContainerVolumeMount{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerVolumeMount) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ContainerVolumeMount) ProtoMessage() {}
|
||
|
|
||
|
func (x *ContainerVolumeMount) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ContainerVolumeMount.ProtoReflect.Descriptor instead.
|
||
|
func (*ContainerVolumeMount) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerVolumeMount) GetTarget() string {
|
||
|
if x != nil {
|
||
|
return x.Target
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ContainerVolumeMount) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ContainerVolumeMount) GetReadOnly() bool {
|
||
|
if x != nil {
|
||
|
return x.ReadOnly
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *ContainerVolumeMount) GetNoCopy() bool {
|
||
|
if x != nil {
|
||
|
return x.NoCopy
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
type ContainerSpec struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
|
||
|
User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
||
|
Privileged bool `protobuf:"varint,3,opt,name=privileged,proto3" json:"privileged,omitempty"`
|
||
|
Capabilities *ContainerCapabilities `protobuf:"bytes,4,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
|
||
|
VolumeMounts []*ContainerVolumeMount `protobuf:"bytes,5,rep,name=volume_mounts,json=volumeMounts,proto3" json:"volume_mounts,omitempty"`
|
||
|
TmpfsMounts []*ContainerTmpfsMount `protobuf:"bytes,6,rep,name=tmpfs_mounts,json=tmpfsMounts,proto3" json:"tmpfs_mounts,omitempty"`
|
||
|
BindMounts []*ContainerBindMount `protobuf:"bytes,7,rep,name=bind_mounts,json=bindMounts,proto3" json:"bind_mounts,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) Reset() {
|
||
|
*x = ContainerSpec{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ContainerSpec) ProtoMessage() {}
|
||
|
|
||
|
func (x *ContainerSpec) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[5]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ContainerSpec.ProtoReflect.Descriptor instead.
|
||
|
func (*ContainerSpec) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) GetImage() string {
|
||
|
if x != nil {
|
||
|
return x.Image
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) GetUser() string {
|
||
|
if x != nil {
|
||
|
return x.User
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) GetPrivileged() bool {
|
||
|
if x != nil {
|
||
|
return x.Privileged
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) GetCapabilities() *ContainerCapabilities {
|
||
|
if x != nil {
|
||
|
return x.Capabilities
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) GetVolumeMounts() []*ContainerVolumeMount {
|
||
|
if x != nil {
|
||
|
return x.VolumeMounts
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) GetTmpfsMounts() []*ContainerTmpfsMount {
|
||
|
if x != nil {
|
||
|
return x.TmpfsMounts
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ContainerSpec) GetBindMounts() []*ContainerBindMount {
|
||
|
if x != nil {
|
||
|
return x.BindMounts
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type TaskSpec struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ModuleName string `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
|
||
|
ModuleDescription *ModuleDescription `protobuf:"bytes,2,opt,name=module_description,json=moduleDescription,proto3" json:"module_description,omitempty"`
|
||
|
InputMapping map[string]string `protobuf:"bytes,3,rep,name=input_mapping,json=inputMapping,proto3" json:"input_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||
|
Container *ContainerSpec `protobuf:"bytes,4,opt,name=container,proto3" json:"container,omitempty"`
|
||
|
OutputDir string `protobuf:"bytes,5,opt,name=output_dir,json=outputDir,proto3" json:"output_dir,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *TaskSpec) Reset() {
|
||
|
*x = TaskSpec{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *TaskSpec) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*TaskSpec) ProtoMessage() {}
|
||
|
|
||
|
func (x *TaskSpec) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[6]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use TaskSpec.ProtoReflect.Descriptor instead.
|
||
|
func (*TaskSpec) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (x *TaskSpec) GetModuleName() string {
|
||
|
if x != nil {
|
||
|
return x.ModuleName
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *TaskSpec) GetModuleDescription() *ModuleDescription {
|
||
|
if x != nil {
|
||
|
return x.ModuleDescription
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TaskSpec) GetInputMapping() map[string]string {
|
||
|
if x != nil {
|
||
|
return x.InputMapping
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TaskSpec) GetContainer() *ContainerSpec {
|
||
|
if x != nil {
|
||
|
return x.Container
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *TaskSpec) GetOutputDir() string {
|
||
|
if x != nil {
|
||
|
return x.OutputDir
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type ModuleDescription_DescriptionValue struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||
|
// Types that are assignable to Value:
|
||
|
//
|
||
|
// *ModuleDescription_DescriptionValue_StringValue
|
||
|
// *ModuleDescription_DescriptionValue_IntValue
|
||
|
// *ModuleDescription_DescriptionValue_DoubleValue
|
||
|
// *ModuleDescription_DescriptionValue_BoolValue
|
||
|
// *ModuleDescription_DescriptionValue_NestedValue
|
||
|
Value isModuleDescription_DescriptionValue_Value `protobuf_oneof:"value"`
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) Reset() {
|
||
|
*x = ModuleDescription_DescriptionValue{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[7]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ModuleDescription_DescriptionValue) ProtoMessage() {}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_rpc_v1_spec_proto_msgTypes[7]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ModuleDescription_DescriptionValue.ProtoReflect.Descriptor instead.
|
||
|
func (*ModuleDescription_DescriptionValue) Descriptor() ([]byte, []int) {
|
||
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{0, 0}
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) GetKey() string {
|
||
|
if x != nil {
|
||
|
return x.Key
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *ModuleDescription_DescriptionValue) GetValue() isModuleDescription_DescriptionValue_Value {
|
||
|
if m != nil {
|
||
|
return m.Value
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) GetStringValue() string {
|
||
|
if x, ok := x.GetValue().(*ModuleDescription_DescriptionValue_StringValue); ok {
|
||
|
return x.StringValue
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) GetIntValue() int64 {
|
||
|
if x, ok := x.GetValue().(*ModuleDescription_DescriptionValue_IntValue); ok {
|
||
|
return x.IntValue
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) GetDoubleValue() float64 {
|
||
|
if x, ok := x.GetValue().(*ModuleDescription_DescriptionValue_DoubleValue); ok {
|
||
|
return x.DoubleValue
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) GetBoolValue() bool {
|
||
|
if x, ok := x.GetValue().(*ModuleDescription_DescriptionValue_BoolValue); ok {
|
||
|
return x.BoolValue
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *ModuleDescription_DescriptionValue) GetNestedValue() *ModuleDescription_DescriptionValue {
|
||
|
if x, ok := x.GetValue().(*ModuleDescription_DescriptionValue_NestedValue); ok {
|
||
|
return x.NestedValue
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type isModuleDescription_DescriptionValue_Value interface {
|
||
|
isModuleDescription_DescriptionValue_Value()
|
||
|
}
|
||
|
|
||
|
type ModuleDescription_DescriptionValue_StringValue struct {
|
||
|
StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type ModuleDescription_DescriptionValue_IntValue struct {
|
||
|
IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type ModuleDescription_DescriptionValue_DoubleValue struct {
|
||
|
DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type ModuleDescription_DescriptionValue_BoolValue struct {
|
||
|
BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
type ModuleDescription_DescriptionValue_NestedValue struct {
|
||
|
NestedValue *ModuleDescription_DescriptionValue `protobuf:"bytes,6,opt,name=nested_value,json=nestedValue,proto3,oneof"`
|
||
|
}
|
||
|
|
||
|
func (*ModuleDescription_DescriptionValue_StringValue) isModuleDescription_DescriptionValue_Value() {}
|
||
|
|
||
|
func (*ModuleDescription_DescriptionValue_IntValue) isModuleDescription_DescriptionValue_Value() {}
|
||
|
|
||
|
func (*ModuleDescription_DescriptionValue_DoubleValue) isModuleDescription_DescriptionValue_Value() {}
|
||
|
|
||
|
func (*ModuleDescription_DescriptionValue_BoolValue) isModuleDescription_DescriptionValue_Value() {}
|
||
|
|
||
|
func (*ModuleDescription_DescriptionValue_NestedValue) isModuleDescription_DescriptionValue_Value() {}
|
||
|
|
||
|
var File_rpc_v1_spec_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_rpc_v1_spec_proto_rawDesc = []byte{
|
||
|
0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
||
|
0x76, 0x31, 0x22, 0xd0, 0x03, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x73,
|
||
|
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65,
|
||
|
0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x62, 0x75, 0x69,
|
||
|
0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67,
|
||
|
0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a,
|
||
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
|
||
|
0x65, 0x12, 0x60, 0x0a, 0x12, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||
|
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e,
|
||
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f,
|
||
|
0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
||
|
0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||
|
0x52, 0x11, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c,
|
||
|
0x75, 0x65, 0x73, 0x1a, 0x8f, 0x02, 0x0a, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
||
|
0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
||
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74,
|
||
|
0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
||
|
0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||
|
0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23,
|
||
|
0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04,
|
||
|
0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61,
|
||
|
0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||
|
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56,
|
||
|
0x61, 0x6c, 0x75, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x76,
|
||
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x69,
|
||
|
0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
|
||
|
0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x73,
|
||
|
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52,
|
||
|
0x0b, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05,
|
||
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3d, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
|
||
|
0x65, 0x72, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x10,
|
||
|
0x0a, 0x03, 0x61, 0x64, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x61, 0x64, 0x64,
|
||
|
0x12, 0x12, 0x0a, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04,
|
||
|
0x64, 0x72, 0x6f, 0x70, 0x22, 0x61, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
|
||
|
0x72, 0x42, 0x69, 0x6e, 0x64, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61,
|
||
|
0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67,
|
||
|
0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65,
|
||
|
0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72,
|
||
|
0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x5e, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x61,
|
||
|
0x69, 0x6e, 0x65, 0x72, 0x54, 0x6d, 0x70, 0x66, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16,
|
||
|
0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
||
|
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02,
|
||
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65,
|
||
|
0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72,
|
||
|
0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x78, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x74, 0x61,
|
||
|
0x69, 0x6e, 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
||
|
0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||
|
0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72,
|
||
|
0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
|
||
|
0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x5f, 0x63,
|
||
|
0x6f, 0x70, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x43, 0x6f, 0x70,
|
||
|
0x79, 0x22, 0xf8, 0x02, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53,
|
||
|
0x70, 0x65, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65,
|
||
|
0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x0a,
|
||
|
0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||
|
0x08, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x12, 0x48, 0x0a,
|
||
|
0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20,
|
||
|
0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63,
|
||
|
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x43, 0x61, 0x70,
|
||
|
0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62,
|
||
|
0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x0d, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
|
||
|
0x65, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23,
|
||
|
0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
||
|
0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f,
|
||
|
0x75, 0x6e, 0x74, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x75, 0x6e, 0x74,
|
||
|
0x73, 0x12, 0x45, 0x0a, 0x0c, 0x74, 0x6d, 0x70, 0x66, 0x73, 0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
|
||
|
0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
||
|
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
|
||
|
0x72, 0x54, 0x6d, 0x70, 0x66, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0b, 0x74, 0x6d, 0x70,
|
||
|
0x66, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x0b, 0x62, 0x69, 0x6e, 0x64,
|
||
|
0x5f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
|
||
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
|
||
|
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x42, 0x69, 0x6e, 0x64, 0x4d, 0x6f, 0x75, 0x6e, 0x74,
|
||
|
0x52, 0x0a, 0x62, 0x69, 0x6e, 0x64, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0xe8, 0x02, 0x0a,
|
||
|
0x08, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64,
|
||
|
0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
||
|
0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x12, 0x6d, 0x6f,
|
||
|
0x64, 0x75, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e,
|
||
|
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x44, 0x65, 0x73,
|
||
|
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
|
||
|
0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x0d, 0x69,
|
||
|
0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x03,
|
||
|
0x28, 0x0b, 0x32, 0x29, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
||
|
0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x49, 0x6e, 0x70, 0x75,
|
||
|
0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x69,
|
||
|
0x6e, 0x70, 0x75, 0x74, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x3a, 0x0a, 0x09, 0x63,
|
||
|
0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
|
||
|
0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
||
|
0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, 0x09, 0x63, 0x6f,
|
||
|
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75,
|
||
|
0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x75, 0x74,
|
||
|
0x70, 0x75, 0x74, 0x44, 0x69, 0x72, 0x1a, 0x3f, 0x0a, 0x11, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4d,
|
||
|
0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
||
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
||
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
|
||
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x6b, 0x0a, 0x08, 0x43, 0x61, 0x74, 0x65, 0x67,
|
||
|
0x6f, 0x72, 0x79, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x55,
|
||
|
0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x61, 0x74, 0x65,
|
||
|
0x67, 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x6f, 0x6c, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x61,
|
||
|
0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d,
|
||
|
0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x10, 0x03, 0x12,
|
||
|
0x13, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x63, 0x6b, 0x61,
|
||
|
0x67, 0x65, 0x10, 0x04, 0x42, 0xb5, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x69,
|
||
|
0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x53, 0x70, 0x65, 0x63,
|
||
|
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x69, 0x63,
|
||
|
0x62, 0x34, 0x64, 0x63, 0x30, 0x2e, 0x64, 0x65, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2f,
|
||
|
0x77, 0x61, 0x73, 0x69, 0x2d, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x73, 0x64, 0x6b, 0x2d,
|
||
|
0x67, 0x6f, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x2f,
|
||
|
0x76, 0x31, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x52, 0x58, 0xaa, 0x02,
|
||
|
0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02,
|
||
|
0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02,
|
||
|
0x19, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47,
|
||
|
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0f, 0x42, 0x75, 0x69,
|
||
|
0x6c, 0x64, 0x72, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_rpc_v1_spec_proto_rawDescOnce sync.Once
|
||
|
file_rpc_v1_spec_proto_rawDescData = file_rpc_v1_spec_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_rpc_v1_spec_proto_rawDescGZIP() []byte {
|
||
|
file_rpc_v1_spec_proto_rawDescOnce.Do(func() {
|
||
|
file_rpc_v1_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_v1_spec_proto_rawDescData)
|
||
|
})
|
||
|
return file_rpc_v1_spec_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_rpc_v1_spec_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
|
var file_rpc_v1_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||
|
var file_rpc_v1_spec_proto_goTypes = []interface{}{
|
||
|
(Category)(0), // 0: buildr.rpc.v1.Category
|
||
|
(*ModuleDescription)(nil), // 1: buildr.rpc.v1.ModuleDescription
|
||
|
(*ContainerCapabilities)(nil), // 2: buildr.rpc.v1.ContainerCapabilities
|
||
|
(*ContainerBindMount)(nil), // 3: buildr.rpc.v1.ContainerBindMount
|
||
|
(*ContainerTmpfsMount)(nil), // 4: buildr.rpc.v1.ContainerTmpfsMount
|
||
|
(*ContainerVolumeMount)(nil), // 5: buildr.rpc.v1.ContainerVolumeMount
|
||
|
(*ContainerSpec)(nil), // 6: buildr.rpc.v1.ContainerSpec
|
||
|
(*TaskSpec)(nil), // 7: buildr.rpc.v1.TaskSpec
|
||
|
(*ModuleDescription_DescriptionValue)(nil), // 8: buildr.rpc.v1.ModuleDescription.DescriptionValue
|
||
|
nil, // 9: buildr.rpc.v1.TaskSpec.InputMappingEntry
|
||
|
}
|
||
|
var file_rpc_v1_spec_proto_depIdxs = []int32{
|
||
|
0, // 0: buildr.rpc.v1.ModuleDescription.category:type_name -> buildr.rpc.v1.Category
|
||
|
8, // 1: buildr.rpc.v1.ModuleDescription.description_values:type_name -> buildr.rpc.v1.ModuleDescription.DescriptionValue
|
||
|
2, // 2: buildr.rpc.v1.ContainerSpec.capabilities:type_name -> buildr.rpc.v1.ContainerCapabilities
|
||
|
5, // 3: buildr.rpc.v1.ContainerSpec.volume_mounts:type_name -> buildr.rpc.v1.ContainerVolumeMount
|
||
|
4, // 4: buildr.rpc.v1.ContainerSpec.tmpfs_mounts:type_name -> buildr.rpc.v1.ContainerTmpfsMount
|
||
|
3, // 5: buildr.rpc.v1.ContainerSpec.bind_mounts:type_name -> buildr.rpc.v1.ContainerBindMount
|
||
|
1, // 6: buildr.rpc.v1.TaskSpec.module_description:type_name -> buildr.rpc.v1.ModuleDescription
|
||
|
9, // 7: buildr.rpc.v1.TaskSpec.input_mapping:type_name -> buildr.rpc.v1.TaskSpec.InputMappingEntry
|
||
|
6, // 8: buildr.rpc.v1.TaskSpec.container:type_name -> buildr.rpc.v1.ContainerSpec
|
||
|
8, // 9: buildr.rpc.v1.ModuleDescription.DescriptionValue.nested_value:type_name -> buildr.rpc.v1.ModuleDescription.DescriptionValue
|
||
|
10, // [10:10] is the sub-list for method output_type
|
||
|
10, // [10:10] is the sub-list for method input_type
|
||
|
10, // [10:10] is the sub-list for extension type_name
|
||
|
10, // [10:10] is the sub-list for extension extendee
|
||
|
0, // [0:10] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_rpc_v1_spec_proto_init() }
|
||
|
func file_rpc_v1_spec_proto_init() {
|
||
|
if File_rpc_v1_spec_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_rpc_v1_spec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ModuleDescription); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ContainerCapabilities); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ContainerBindMount); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ContainerTmpfsMount); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ContainerVolumeMount); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ContainerSpec); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*TaskSpec); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ModuleDescription_DescriptionValue); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
file_rpc_v1_spec_proto_msgTypes[7].OneofWrappers = []interface{}{
|
||
|
(*ModuleDescription_DescriptionValue_StringValue)(nil),
|
||
|
(*ModuleDescription_DescriptionValue_IntValue)(nil),
|
||
|
(*ModuleDescription_DescriptionValue_DoubleValue)(nil),
|
||
|
(*ModuleDescription_DescriptionValue_BoolValue)(nil),
|
||
|
(*ModuleDescription_DescriptionValue_NestedValue)(nil),
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_rpc_v1_spec_proto_rawDesc,
|
||
|
NumEnums: 1,
|
||
|
NumMessages: 9,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 0,
|
||
|
},
|
||
|
GoTypes: file_rpc_v1_spec_proto_goTypes,
|
||
|
DependencyIndexes: file_rpc_v1_spec_proto_depIdxs,
|
||
|
EnumInfos: file_rpc_v1_spec_proto_enumTypes,
|
||
|
MessageInfos: file_rpc_v1_spec_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_rpc_v1_spec_proto = out.File
|
||
|
file_rpc_v1_spec_proto_rawDesc = nil
|
||
|
file_rpc_v1_spec_proto_goTypes = nil
|
||
|
file_rpc_v1_spec_proto_depIdxs = nil
|
||
|
}
|