1251 lines
45 KiB
Go
1251 lines
45 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.31.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 ModuleSpec_ValueKind int32
|
|
|
|
const (
|
|
ModuleSpec_ValueKindUnknown ModuleSpec_ValueKind = 0
|
|
ModuleSpec_ValueKindAttribute ModuleSpec_ValueKind = 1
|
|
ModuleSpec_ValueKindLabel ModuleSpec_ValueKind = 2
|
|
ModuleSpec_ValueKindBlock ModuleSpec_ValueKind = 4
|
|
)
|
|
|
|
// Enum value maps for ModuleSpec_ValueKind.
|
|
var (
|
|
ModuleSpec_ValueKind_name = map[int32]string{
|
|
0: "ValueKindUnknown",
|
|
1: "ValueKindAttribute",
|
|
2: "ValueKindLabel",
|
|
4: "ValueKindBlock",
|
|
}
|
|
ModuleSpec_ValueKind_value = map[string]int32{
|
|
"ValueKindUnknown": 0,
|
|
"ValueKindAttribute": 1,
|
|
"ValueKindLabel": 2,
|
|
"ValueKindBlock": 4,
|
|
}
|
|
)
|
|
|
|
func (x ModuleSpec_ValueKind) Enum() *ModuleSpec_ValueKind {
|
|
p := new(ModuleSpec_ValueKind)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ModuleSpec_ValueKind) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ModuleSpec_ValueKind) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rpc_v1_spec_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (ModuleSpec_ValueKind) Type() protoreflect.EnumType {
|
|
return &file_rpc_v1_spec_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x ModuleSpec_ValueKind) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ModuleSpec_ValueKind.Descriptor instead.
|
|
func (ModuleSpec_ValueKind) EnumDescriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
type ModuleSpec_ValueType int32
|
|
|
|
const (
|
|
ModuleSpec_ValueTypeUnknown ModuleSpec_ValueType = 0
|
|
ModuleSpec_ValueTypeSingle ModuleSpec_ValueType = 1
|
|
ModuleSpec_ValueTypeObject ModuleSpec_ValueType = 2
|
|
ModuleSpec_ValueTypeMap ModuleSpec_ValueType = 3
|
|
ModuleSpec_ValueTypeStringSlice ModuleSpec_ValueType = 4
|
|
ModuleSpec_ValueTypeIntSlice ModuleSpec_ValueType = 5
|
|
ModuleSpec_ValueTypeDoubleSlice ModuleSpec_ValueType = 6
|
|
ModuleSpec_ValueTypeBoolSlice ModuleSpec_ValueType = 7
|
|
)
|
|
|
|
// Enum value maps for ModuleSpec_ValueType.
|
|
var (
|
|
ModuleSpec_ValueType_name = map[int32]string{
|
|
0: "ValueTypeUnknown",
|
|
1: "ValueTypeSingle",
|
|
2: "ValueTypeObject",
|
|
3: "ValueTypeMap",
|
|
4: "ValueTypeStringSlice",
|
|
5: "ValueTypeIntSlice",
|
|
6: "ValueTypeDoubleSlice",
|
|
7: "ValueTypeBoolSlice",
|
|
}
|
|
ModuleSpec_ValueType_value = map[string]int32{
|
|
"ValueTypeUnknown": 0,
|
|
"ValueTypeSingle": 1,
|
|
"ValueTypeObject": 2,
|
|
"ValueTypeMap": 3,
|
|
"ValueTypeStringSlice": 4,
|
|
"ValueTypeIntSlice": 5,
|
|
"ValueTypeDoubleSlice": 6,
|
|
"ValueTypeBoolSlice": 7,
|
|
}
|
|
)
|
|
|
|
func (x ModuleSpec_ValueType) Enum() *ModuleSpec_ValueType {
|
|
p := new(ModuleSpec_ValueType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ModuleSpec_ValueType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ModuleSpec_ValueType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rpc_v1_spec_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (ModuleSpec_ValueType) Type() protoreflect.EnumType {
|
|
return &file_rpc_v1_spec_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x ModuleSpec_ValueType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ModuleSpec_ValueType.Descriptor instead.
|
|
func (ModuleSpec_ValueType) EnumDescriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1, 1}
|
|
}
|
|
|
|
type ModuleReference struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ModuleCategory Category `protobuf:"varint,1,opt,name=module_category,json=moduleCategory,proto3,enum=buildr.rpc.v1.Category" json:"module_category,omitempty"`
|
|
ModuleType string `protobuf:"bytes,2,opt,name=module_type,json=moduleType,proto3" json:"module_type,omitempty"`
|
|
}
|
|
|
|
func (x *ModuleReference) Reset() {
|
|
*x = ModuleReference{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_spec_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ModuleReference) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModuleReference) ProtoMessage() {}
|
|
|
|
func (x *ModuleReference) 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 ModuleReference.ProtoReflect.Descriptor instead.
|
|
func (*ModuleReference) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ModuleReference) GetModuleCategory() Category {
|
|
if x != nil {
|
|
return x.ModuleCategory
|
|
}
|
|
return Category_CategoryUnknown
|
|
}
|
|
|
|
func (x *ModuleReference) GetModuleType() string {
|
|
if x != nil {
|
|
return x.ModuleType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ModuleSpec 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"`
|
|
Values map[string]*ModuleSpec_Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *ModuleSpec) Reset() {
|
|
*x = ModuleSpec{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_spec_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ModuleSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModuleSpec) ProtoMessage() {}
|
|
|
|
func (x *ModuleSpec) 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 ModuleSpec.ProtoReflect.Descriptor instead.
|
|
func (*ModuleSpec) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ModuleSpec) GetCategory() Category {
|
|
if x != nil {
|
|
return x.Category
|
|
}
|
|
return Category_CategoryUnknown
|
|
}
|
|
|
|
func (x *ModuleSpec) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModuleSpec) GetValues() map[string]*ModuleSpec_Value {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
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[2]
|
|
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[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 ContainerCapabilities.ProtoReflect.Descriptor instead.
|
|
func (*ContainerCapabilities) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
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[3]
|
|
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[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 ContainerBindMount.ProtoReflect.Descriptor instead.
|
|
func (*ContainerBindMount) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
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[4]
|
|
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[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 ContainerTmpfsMount.ProtoReflect.Descriptor instead.
|
|
func (*ContainerTmpfsMount) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
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[5]
|
|
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[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 ContainerVolumeMount.ProtoReflect.Descriptor instead.
|
|
func (*ContainerVolumeMount) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
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[6]
|
|
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[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 ContainerSpec.ProtoReflect.Descriptor instead.
|
|
func (*ContainerSpec) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
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"`
|
|
ModuleSpec *ModuleSpec `protobuf:"bytes,2,opt,name=module_spec,json=moduleSpec,proto3" json:"module_spec,omitempty"`
|
|
Container *ContainerSpec `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
|
|
OutputDir string `protobuf:"bytes,4,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[7]
|
|
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[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 TaskSpec.ProtoReflect.Descriptor instead.
|
|
func (*TaskSpec) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *TaskSpec) GetModuleName() string {
|
|
if x != nil {
|
|
return x.ModuleName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskSpec) GetModuleSpec() *ModuleSpec {
|
|
if x != nil {
|
|
return x.ModuleSpec
|
|
}
|
|
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 ModuleSpec_Value struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Type ModuleSpec_ValueType `protobuf:"varint,1,opt,name=type,proto3,enum=buildr.rpc.v1.ModuleSpec_ValueType" json:"type,omitempty"`
|
|
Kind ModuleSpec_ValueKind `protobuf:"varint,2,opt,name=kind,proto3,enum=buildr.rpc.v1.ModuleSpec_ValueKind" json:"kind,omitempty"`
|
|
ComplexValue map[string]*ModuleSpec_Value `protobuf:"bytes,10,rep,name=complex_value,json=complexValue,proto3" json:"complex_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// Types that are assignable to SingleValue:
|
|
//
|
|
// *ModuleSpec_Value_StringValue
|
|
// *ModuleSpec_Value_IntValue
|
|
// *ModuleSpec_Value_DoubleValue
|
|
// *ModuleSpec_Value_BoolValue
|
|
SingleValue isModuleSpec_Value_SingleValue `protobuf_oneof:"single_value"`
|
|
StringValues []string `protobuf:"bytes,21,rep,name=string_values,json=stringValues,proto3" json:"string_values,omitempty"`
|
|
IntValues []int64 `protobuf:"varint,22,rep,packed,name=int_values,json=intValues,proto3" json:"int_values,omitempty"`
|
|
DoubleValues []float64 `protobuf:"fixed64,23,rep,packed,name=double_values,json=doubleValues,proto3" json:"double_values,omitempty"`
|
|
BoolValues []bool `protobuf:"varint,24,rep,packed,name=bool_values,json=boolValues,proto3" json:"bool_values,omitempty"`
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) Reset() {
|
|
*x = ModuleSpec_Value{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_rpc_v1_spec_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModuleSpec_Value) ProtoMessage() {}
|
|
|
|
func (x *ModuleSpec_Value) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_v1_spec_proto_msgTypes[8]
|
|
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 ModuleSpec_Value.ProtoReflect.Descriptor instead.
|
|
func (*ModuleSpec_Value) Descriptor() ([]byte, []int) {
|
|
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetType() ModuleSpec_ValueType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ModuleSpec_ValueTypeUnknown
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetKind() ModuleSpec_ValueKind {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ModuleSpec_ValueKindUnknown
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetComplexValue() map[string]*ModuleSpec_Value {
|
|
if x != nil {
|
|
return x.ComplexValue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ModuleSpec_Value) GetSingleValue() isModuleSpec_Value_SingleValue {
|
|
if m != nil {
|
|
return m.SingleValue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetStringValue() string {
|
|
if x, ok := x.GetSingleValue().(*ModuleSpec_Value_StringValue); ok {
|
|
return x.StringValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetIntValue() int64 {
|
|
if x, ok := x.GetSingleValue().(*ModuleSpec_Value_IntValue); ok {
|
|
return x.IntValue
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetDoubleValue() float64 {
|
|
if x, ok := x.GetSingleValue().(*ModuleSpec_Value_DoubleValue); ok {
|
|
return x.DoubleValue
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetBoolValue() bool {
|
|
if x, ok := x.GetSingleValue().(*ModuleSpec_Value_BoolValue); ok {
|
|
return x.BoolValue
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetStringValues() []string {
|
|
if x != nil {
|
|
return x.StringValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetIntValues() []int64 {
|
|
if x != nil {
|
|
return x.IntValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetDoubleValues() []float64 {
|
|
if x != nil {
|
|
return x.DoubleValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ModuleSpec_Value) GetBoolValues() []bool {
|
|
if x != nil {
|
|
return x.BoolValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isModuleSpec_Value_SingleValue interface {
|
|
isModuleSpec_Value_SingleValue()
|
|
}
|
|
|
|
type ModuleSpec_Value_StringValue struct {
|
|
StringValue string `protobuf:"bytes,11,opt,name=string_value,json=stringValue,proto3,oneof"`
|
|
}
|
|
|
|
type ModuleSpec_Value_IntValue struct {
|
|
IntValue int64 `protobuf:"varint,12,opt,name=int_value,json=intValue,proto3,oneof"`
|
|
}
|
|
|
|
type ModuleSpec_Value_DoubleValue struct {
|
|
DoubleValue float64 `protobuf:"fixed64,13,opt,name=double_value,json=doubleValue,proto3,oneof"`
|
|
}
|
|
|
|
type ModuleSpec_Value_BoolValue struct {
|
|
BoolValue bool `protobuf:"varint,14,opt,name=bool_value,json=boolValue,proto3,oneof"`
|
|
}
|
|
|
|
func (*ModuleSpec_Value_StringValue) isModuleSpec_Value_SingleValue() {}
|
|
|
|
func (*ModuleSpec_Value_IntValue) isModuleSpec_Value_SingleValue() {}
|
|
|
|
func (*ModuleSpec_Value_DoubleValue) isModuleSpec_Value_SingleValue() {}
|
|
|
|
func (*ModuleSpec_Value_BoolValue) isModuleSpec_Value_SingleValue() {}
|
|
|
|
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, 0x74, 0x0a, 0x0f, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65,
|
|
0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f,
|
|
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, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43,
|
|
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
|
|
0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f,
|
|
0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0xf0, 0x08, 0x0a, 0x0a, 0x4d, 0x6f, 0x64,
|
|
0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 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, 0x3d, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75,
|
|
0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a,
|
|
0xd7, 0x04, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
|
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70,
|
|
0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
|
|
0x70, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x23, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75,
|
|
0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x56, 0x0a, 0x0d, 0x63,
|
|
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 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, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61,
|
|
0x6c, 0x75, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x56, 0x61,
|
|
0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x0b, 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, 0x0c, 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, 0x0d, 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, 0x0e, 0x20, 0x01, 0x28, 0x08,
|
|
0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a,
|
|
0x0d, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x15,
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75,
|
|
0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
|
0x18, 0x16, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
|
0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
|
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0a, 0x62, 0x6f, 0x6f,
|
|
0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x60, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x70, 0x6c,
|
|
0x65, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35,
|
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
|
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f,
|
|
0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x73, 0x69, 0x6e,
|
|
0x67, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x5a, 0x0a, 0x0b, 0x56, 0x61, 0x6c,
|
|
0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c,
|
|
0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
|
|
0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x61, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4b, 0x69,
|
|
0x6e, 0x64, 0x12, 0x14, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x55,
|
|
0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x61, 0x6c, 0x75,
|
|
0x65, 0x4b, 0x69, 0x6e, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x10, 0x01,
|
|
0x12, 0x12, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x4c, 0x61, 0x62,
|
|
0x65, 0x6c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4b, 0x69, 0x6e,
|
|
0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x10, 0x04, 0x22, 0xc0, 0x01, 0x0a, 0x09, 0x56, 0x61, 0x6c,
|
|
0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54,
|
|
0x79, 0x70, 0x65, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f,
|
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x10,
|
|
0x01, 0x12, 0x13, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x4f, 0x62,
|
|
0x6a, 0x65, 0x63, 0x74, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54,
|
|
0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x75,
|
|
0x65, 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x6c, 0x69, 0x63, 0x65,
|
|
0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x49,
|
|
0x6e, 0x74, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x56, 0x61, 0x6c,
|
|
0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x53, 0x6c, 0x69, 0x63,
|
|
0x65, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65,
|
|
0x42, 0x6f, 0x6f, 0x6c, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x10, 0x07, 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, 0xc2, 0x01, 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, 0x3a, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63,
|
|
0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3a, 0x0a, 0x09,
|
|
0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 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, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x75,
|
|
0x74, 0x70, 0x75, 0x74, 0x44, 0x69, 0x72, 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, 0xa6, 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, 0x48, 0x02, 0x50, 0x01, 0x5a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x2e,
|
|
0x69, 0x63, 0x62, 0x34, 0x64, 0x63, 0x30, 0x2e, 0x64, 0x65, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64,
|
|
0x72, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2f, 0x61, 0x70, 0x69, 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, 3)
|
|
var file_rpc_v1_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
var file_rpc_v1_spec_proto_goTypes = []interface{}{
|
|
(Category)(0), // 0: buildr.rpc.v1.Category
|
|
(ModuleSpec_ValueKind)(0), // 1: buildr.rpc.v1.ModuleSpec.ValueKind
|
|
(ModuleSpec_ValueType)(0), // 2: buildr.rpc.v1.ModuleSpec.ValueType
|
|
(*ModuleReference)(nil), // 3: buildr.rpc.v1.ModuleReference
|
|
(*ModuleSpec)(nil), // 4: buildr.rpc.v1.ModuleSpec
|
|
(*ContainerCapabilities)(nil), // 5: buildr.rpc.v1.ContainerCapabilities
|
|
(*ContainerBindMount)(nil), // 6: buildr.rpc.v1.ContainerBindMount
|
|
(*ContainerTmpfsMount)(nil), // 7: buildr.rpc.v1.ContainerTmpfsMount
|
|
(*ContainerVolumeMount)(nil), // 8: buildr.rpc.v1.ContainerVolumeMount
|
|
(*ContainerSpec)(nil), // 9: buildr.rpc.v1.ContainerSpec
|
|
(*TaskSpec)(nil), // 10: buildr.rpc.v1.TaskSpec
|
|
(*ModuleSpec_Value)(nil), // 11: buildr.rpc.v1.ModuleSpec.Value
|
|
nil, // 12: buildr.rpc.v1.ModuleSpec.ValuesEntry
|
|
nil, // 13: buildr.rpc.v1.ModuleSpec.Value.ComplexValueEntry
|
|
}
|
|
var file_rpc_v1_spec_proto_depIdxs = []int32{
|
|
0, // 0: buildr.rpc.v1.ModuleReference.module_category:type_name -> buildr.rpc.v1.Category
|
|
0, // 1: buildr.rpc.v1.ModuleSpec.category:type_name -> buildr.rpc.v1.Category
|
|
12, // 2: buildr.rpc.v1.ModuleSpec.values:type_name -> buildr.rpc.v1.ModuleSpec.ValuesEntry
|
|
5, // 3: buildr.rpc.v1.ContainerSpec.capabilities:type_name -> buildr.rpc.v1.ContainerCapabilities
|
|
8, // 4: buildr.rpc.v1.ContainerSpec.volume_mounts:type_name -> buildr.rpc.v1.ContainerVolumeMount
|
|
7, // 5: buildr.rpc.v1.ContainerSpec.tmpfs_mounts:type_name -> buildr.rpc.v1.ContainerTmpfsMount
|
|
6, // 6: buildr.rpc.v1.ContainerSpec.bind_mounts:type_name -> buildr.rpc.v1.ContainerBindMount
|
|
4, // 7: buildr.rpc.v1.TaskSpec.module_spec:type_name -> buildr.rpc.v1.ModuleSpec
|
|
9, // 8: buildr.rpc.v1.TaskSpec.container:type_name -> buildr.rpc.v1.ContainerSpec
|
|
2, // 9: buildr.rpc.v1.ModuleSpec.Value.type:type_name -> buildr.rpc.v1.ModuleSpec.ValueType
|
|
1, // 10: buildr.rpc.v1.ModuleSpec.Value.kind:type_name -> buildr.rpc.v1.ModuleSpec.ValueKind
|
|
13, // 11: buildr.rpc.v1.ModuleSpec.Value.complex_value:type_name -> buildr.rpc.v1.ModuleSpec.Value.ComplexValueEntry
|
|
11, // 12: buildr.rpc.v1.ModuleSpec.ValuesEntry.value:type_name -> buildr.rpc.v1.ModuleSpec.Value
|
|
11, // 13: buildr.rpc.v1.ModuleSpec.Value.ComplexValueEntry.value:type_name -> buildr.rpc.v1.ModuleSpec.Value
|
|
14, // [14:14] is the sub-list for method output_type
|
|
14, // [14:14] is the sub-list for method input_type
|
|
14, // [14:14] is the sub-list for extension type_name
|
|
14, // [14:14] is the sub-list for extension extendee
|
|
0, // [0:14] 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.(*ModuleReference); 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.(*ModuleSpec); 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.(*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[3].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[4].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[5].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[6].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[7].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[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ModuleSpec_Value); 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[8].OneofWrappers = []interface{}{
|
|
(*ModuleSpec_Value_StringValue)(nil),
|
|
(*ModuleSpec_Value_IntValue)(nil),
|
|
(*ModuleSpec_Value_DoubleValue)(nil),
|
|
(*ModuleSpec_Value_BoolValue)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_rpc_v1_spec_proto_rawDesc,
|
|
NumEnums: 3,
|
|
NumMessages: 11,
|
|
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
|
|
}
|