refactor: introduce separate packages and switch to connect
This commit is contained in:
parent
9729e3ce7e
commit
75a3bbdf11
19 changed files with 3557 additions and 2393 deletions
|
@ -7,14 +7,15 @@ task "script" "go_fmt" {
|
||||||
|
|
||||||
task "script" "buf_generate" {
|
task "script" "buf_generate" {
|
||||||
inline = [
|
inline = [
|
||||||
"buf generate",
|
"buf generate"
|
||||||
"echo -e \"//go:build !wasi\\n\\n$(cat generated/rpc/v1/executor_grpc.pb.go)\" > generated/rpc/v1/executor_grpc.pb.go"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
out_dir = repo.root
|
out_dir = repo.root
|
||||||
|
|
||||||
input_mapping = {
|
input_mapping = {
|
||||||
"rpc" = "rpc",
|
"common" = "common",
|
||||||
|
"remote" = "remote",
|
||||||
|
"wasi" = "wasi",
|
||||||
"buf.yaml" = "buf.yaml"
|
"buf.yaml" = "buf.yaml"
|
||||||
"buf.gen.yaml" = "buf.gen.yaml"
|
"buf.gen.yaml" = "buf.gen.yaml"
|
||||||
"buf.work.yaml" = "buf.work.yaml"
|
"buf.work.yaml" = "buf.work.yaml"
|
||||||
|
|
11
buf.gen.yaml
11
buf.gen.yaml
|
@ -3,21 +3,20 @@ managed:
|
||||||
enabled: true
|
enabled: true
|
||||||
optimize_for: CODE_SIZE
|
optimize_for: CODE_SIZE
|
||||||
go_package_prefix:
|
go_package_prefix:
|
||||||
default: code.icb4dc0.de/buildr/buildr/api
|
default: code.icb4dc0.de/buildr/api/generated
|
||||||
except:
|
except:
|
||||||
- buf.build/googleapis/googleapis
|
- buf.build/googleapis/googleapis
|
||||||
plugins:
|
plugins:
|
||||||
- plugin: buf.build/protocolbuffers/go:v1.31.0
|
- plugin: buf.build/protocolbuffers/go:v1.31.0
|
||||||
out: ./generated/
|
out: ./generated/
|
||||||
opt: paths=source_relative
|
opt: paths=source_relative
|
||||||
- plugin: buf.build/grpc/go:v1.3.0
|
|
||||||
out: ./generated/
|
|
||||||
opt:
|
|
||||||
- paths=source_relative
|
|
||||||
- require_unimplemented_servers=false
|
|
||||||
- plugin: buf.build/community/planetscale-vtprotobuf:v0.4.0
|
- plugin: buf.build/community/planetscale-vtprotobuf:v0.4.0
|
||||||
out: ./generated/
|
out: ./generated/
|
||||||
opt:
|
opt:
|
||||||
- features=marshal+unmarshal+size+pool
|
- features=marshal+unmarshal+size+pool
|
||||||
- paths=source_relative
|
- paths=source_relative
|
||||||
revision: 1
|
revision: 1
|
||||||
|
- plugin: buf.build/connectrpc/go:v1.11.1
|
||||||
|
out: ./generated/
|
||||||
|
opt:
|
||||||
|
- paths=source_relative
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
version: v1
|
|
||||||
directories:
|
|
||||||
- .
|
|
|
@ -2,7 +2,7 @@
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.31.0
|
// protoc-gen-go v1.31.0
|
||||||
// protoc (unknown)
|
// protoc (unknown)
|
||||||
// source: rpc/v1/spec.proto
|
// source: common/v1/spec.proto
|
||||||
|
|
||||||
package rpcv1
|
package rpcv1
|
||||||
|
|
||||||
|
@ -62,11 +62,11 @@ func (x Category) String() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (Category) Descriptor() protoreflect.EnumDescriptor {
|
func (Category) Descriptor() protoreflect.EnumDescriptor {
|
||||||
return file_rpc_v1_spec_proto_enumTypes[0].Descriptor()
|
return file_common_v1_spec_proto_enumTypes[0].Descriptor()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (Category) Type() protoreflect.EnumType {
|
func (Category) Type() protoreflect.EnumType {
|
||||||
return &file_rpc_v1_spec_proto_enumTypes[0]
|
return &file_common_v1_spec_proto_enumTypes[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x Category) Number() protoreflect.EnumNumber {
|
func (x Category) Number() protoreflect.EnumNumber {
|
||||||
|
@ -75,7 +75,7 @@ func (x Category) Number() protoreflect.EnumNumber {
|
||||||
|
|
||||||
// Deprecated: Use Category.Descriptor instead.
|
// Deprecated: Use Category.Descriptor instead.
|
||||||
func (Category) EnumDescriptor() ([]byte, []int) {
|
func (Category) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{0}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type ModuleSpec_ValueKind int32
|
type ModuleSpec_ValueKind int32
|
||||||
|
@ -114,11 +114,11 @@ func (x ModuleSpec_ValueKind) String() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ModuleSpec_ValueKind) Descriptor() protoreflect.EnumDescriptor {
|
func (ModuleSpec_ValueKind) Descriptor() protoreflect.EnumDescriptor {
|
||||||
return file_rpc_v1_spec_proto_enumTypes[1].Descriptor()
|
return file_common_v1_spec_proto_enumTypes[1].Descriptor()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ModuleSpec_ValueKind) Type() protoreflect.EnumType {
|
func (ModuleSpec_ValueKind) Type() protoreflect.EnumType {
|
||||||
return &file_rpc_v1_spec_proto_enumTypes[1]
|
return &file_common_v1_spec_proto_enumTypes[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x ModuleSpec_ValueKind) Number() protoreflect.EnumNumber {
|
func (x ModuleSpec_ValueKind) Number() protoreflect.EnumNumber {
|
||||||
|
@ -127,7 +127,7 @@ func (x ModuleSpec_ValueKind) Number() protoreflect.EnumNumber {
|
||||||
|
|
||||||
// Deprecated: Use ModuleSpec_ValueKind.Descriptor instead.
|
// Deprecated: Use ModuleSpec_ValueKind.Descriptor instead.
|
||||||
func (ModuleSpec_ValueKind) EnumDescriptor() ([]byte, []int) {
|
func (ModuleSpec_ValueKind) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1, 0}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{1, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
type ModuleSpec_ValueType int32
|
type ModuleSpec_ValueType int32
|
||||||
|
@ -178,11 +178,11 @@ func (x ModuleSpec_ValueType) String() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ModuleSpec_ValueType) Descriptor() protoreflect.EnumDescriptor {
|
func (ModuleSpec_ValueType) Descriptor() protoreflect.EnumDescriptor {
|
||||||
return file_rpc_v1_spec_proto_enumTypes[2].Descriptor()
|
return file_common_v1_spec_proto_enumTypes[2].Descriptor()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ModuleSpec_ValueType) Type() protoreflect.EnumType {
|
func (ModuleSpec_ValueType) Type() protoreflect.EnumType {
|
||||||
return &file_rpc_v1_spec_proto_enumTypes[2]
|
return &file_common_v1_spec_proto_enumTypes[2]
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x ModuleSpec_ValueType) Number() protoreflect.EnumNumber {
|
func (x ModuleSpec_ValueType) Number() protoreflect.EnumNumber {
|
||||||
|
@ -191,7 +191,7 @@ func (x ModuleSpec_ValueType) Number() protoreflect.EnumNumber {
|
||||||
|
|
||||||
// Deprecated: Use ModuleSpec_ValueType.Descriptor instead.
|
// Deprecated: Use ModuleSpec_ValueType.Descriptor instead.
|
||||||
func (ModuleSpec_ValueType) EnumDescriptor() ([]byte, []int) {
|
func (ModuleSpec_ValueType) EnumDescriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1, 1}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{1, 1}
|
||||||
}
|
}
|
||||||
|
|
||||||
type ModuleReference struct {
|
type ModuleReference struct {
|
||||||
|
@ -206,7 +206,7 @@ type ModuleReference struct {
|
||||||
func (x *ModuleReference) Reset() {
|
func (x *ModuleReference) Reset() {
|
||||||
*x = ModuleReference{}
|
*x = ModuleReference{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[0]
|
mi := &file_common_v1_spec_proto_msgTypes[0]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -219,7 +219,7 @@ func (x *ModuleReference) String() string {
|
||||||
func (*ModuleReference) ProtoMessage() {}
|
func (*ModuleReference) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ModuleReference) ProtoReflect() protoreflect.Message {
|
func (x *ModuleReference) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[0]
|
mi := &file_common_v1_spec_proto_msgTypes[0]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -232,7 +232,7 @@ func (x *ModuleReference) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use ModuleReference.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ModuleReference.ProtoReflect.Descriptor instead.
|
||||||
func (*ModuleReference) Descriptor() ([]byte, []int) {
|
func (*ModuleReference) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{0}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ModuleReference) GetModuleCategory() Category {
|
func (x *ModuleReference) GetModuleCategory() Category {
|
||||||
|
@ -262,7 +262,7 @@ type ModuleSpec struct {
|
||||||
func (x *ModuleSpec) Reset() {
|
func (x *ModuleSpec) Reset() {
|
||||||
*x = ModuleSpec{}
|
*x = ModuleSpec{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[1]
|
mi := &file_common_v1_spec_proto_msgTypes[1]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -275,7 +275,7 @@ func (x *ModuleSpec) String() string {
|
||||||
func (*ModuleSpec) ProtoMessage() {}
|
func (*ModuleSpec) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ModuleSpec) ProtoReflect() protoreflect.Message {
|
func (x *ModuleSpec) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[1]
|
mi := &file_common_v1_spec_proto_msgTypes[1]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -288,7 +288,7 @@ func (x *ModuleSpec) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use ModuleSpec.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ModuleSpec.ProtoReflect.Descriptor instead.
|
||||||
func (*ModuleSpec) Descriptor() ([]byte, []int) {
|
func (*ModuleSpec) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ModuleSpec) GetCategory() Category {
|
func (x *ModuleSpec) GetCategory() Category {
|
||||||
|
@ -324,7 +324,7 @@ type ContainerCapabilities struct {
|
||||||
func (x *ContainerCapabilities) Reset() {
|
func (x *ContainerCapabilities) Reset() {
|
||||||
*x = ContainerCapabilities{}
|
*x = ContainerCapabilities{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[2]
|
mi := &file_common_v1_spec_proto_msgTypes[2]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -337,7 +337,7 @@ func (x *ContainerCapabilities) String() string {
|
||||||
func (*ContainerCapabilities) ProtoMessage() {}
|
func (*ContainerCapabilities) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ContainerCapabilities) ProtoReflect() protoreflect.Message {
|
func (x *ContainerCapabilities) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[2]
|
mi := &file_common_v1_spec_proto_msgTypes[2]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -350,7 +350,7 @@ func (x *ContainerCapabilities) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use ContainerCapabilities.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ContainerCapabilities.ProtoReflect.Descriptor instead.
|
||||||
func (*ContainerCapabilities) Descriptor() ([]byte, []int) {
|
func (*ContainerCapabilities) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{2}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContainerCapabilities) GetAdd() []string {
|
func (x *ContainerCapabilities) GetAdd() []string {
|
||||||
|
@ -380,7 +380,7 @@ type ContainerBindMount struct {
|
||||||
func (x *ContainerBindMount) Reset() {
|
func (x *ContainerBindMount) Reset() {
|
||||||
*x = ContainerBindMount{}
|
*x = ContainerBindMount{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[3]
|
mi := &file_common_v1_spec_proto_msgTypes[3]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -393,7 +393,7 @@ func (x *ContainerBindMount) String() string {
|
||||||
func (*ContainerBindMount) ProtoMessage() {}
|
func (*ContainerBindMount) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ContainerBindMount) ProtoReflect() protoreflect.Message {
|
func (x *ContainerBindMount) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[3]
|
mi := &file_common_v1_spec_proto_msgTypes[3]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -406,7 +406,7 @@ func (x *ContainerBindMount) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use ContainerBindMount.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ContainerBindMount.ProtoReflect.Descriptor instead.
|
||||||
func (*ContainerBindMount) Descriptor() ([]byte, []int) {
|
func (*ContainerBindMount) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{3}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContainerBindMount) GetTarget() string {
|
func (x *ContainerBindMount) GetTarget() string {
|
||||||
|
@ -443,7 +443,7 @@ type ContainerTmpfsMount struct {
|
||||||
func (x *ContainerTmpfsMount) Reset() {
|
func (x *ContainerTmpfsMount) Reset() {
|
||||||
*x = ContainerTmpfsMount{}
|
*x = ContainerTmpfsMount{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[4]
|
mi := &file_common_v1_spec_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -456,7 +456,7 @@ func (x *ContainerTmpfsMount) String() string {
|
||||||
func (*ContainerTmpfsMount) ProtoMessage() {}
|
func (*ContainerTmpfsMount) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ContainerTmpfsMount) ProtoReflect() protoreflect.Message {
|
func (x *ContainerTmpfsMount) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[4]
|
mi := &file_common_v1_spec_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -469,7 +469,7 @@ func (x *ContainerTmpfsMount) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use ContainerTmpfsMount.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ContainerTmpfsMount.ProtoReflect.Descriptor instead.
|
||||||
func (*ContainerTmpfsMount) Descriptor() ([]byte, []int) {
|
func (*ContainerTmpfsMount) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{4}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContainerTmpfsMount) GetTarget() string {
|
func (x *ContainerTmpfsMount) GetTarget() string {
|
||||||
|
@ -507,7 +507,7 @@ type ContainerVolumeMount struct {
|
||||||
func (x *ContainerVolumeMount) Reset() {
|
func (x *ContainerVolumeMount) Reset() {
|
||||||
*x = ContainerVolumeMount{}
|
*x = ContainerVolumeMount{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[5]
|
mi := &file_common_v1_spec_proto_msgTypes[5]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -520,7 +520,7 @@ func (x *ContainerVolumeMount) String() string {
|
||||||
func (*ContainerVolumeMount) ProtoMessage() {}
|
func (*ContainerVolumeMount) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ContainerVolumeMount) ProtoReflect() protoreflect.Message {
|
func (x *ContainerVolumeMount) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[5]
|
mi := &file_common_v1_spec_proto_msgTypes[5]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -533,7 +533,7 @@ func (x *ContainerVolumeMount) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use ContainerVolumeMount.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ContainerVolumeMount.ProtoReflect.Descriptor instead.
|
||||||
func (*ContainerVolumeMount) Descriptor() ([]byte, []int) {
|
func (*ContainerVolumeMount) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{5}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContainerVolumeMount) GetTarget() string {
|
func (x *ContainerVolumeMount) GetTarget() string {
|
||||||
|
@ -581,7 +581,7 @@ type ContainerSpec struct {
|
||||||
func (x *ContainerSpec) Reset() {
|
func (x *ContainerSpec) Reset() {
|
||||||
*x = ContainerSpec{}
|
*x = ContainerSpec{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[6]
|
mi := &file_common_v1_spec_proto_msgTypes[6]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -594,7 +594,7 @@ func (x *ContainerSpec) String() string {
|
||||||
func (*ContainerSpec) ProtoMessage() {}
|
func (*ContainerSpec) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ContainerSpec) ProtoReflect() protoreflect.Message {
|
func (x *ContainerSpec) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[6]
|
mi := &file_common_v1_spec_proto_msgTypes[6]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -607,7 +607,7 @@ func (x *ContainerSpec) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use ContainerSpec.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ContainerSpec.ProtoReflect.Descriptor instead.
|
||||||
func (*ContainerSpec) Descriptor() ([]byte, []int) {
|
func (*ContainerSpec) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{6}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ContainerSpec) GetImage() string {
|
func (x *ContainerSpec) GetImage() string {
|
||||||
|
@ -673,7 +673,7 @@ type TaskSpec struct {
|
||||||
func (x *TaskSpec) Reset() {
|
func (x *TaskSpec) Reset() {
|
||||||
*x = TaskSpec{}
|
*x = TaskSpec{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[7]
|
mi := &file_common_v1_spec_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -686,7 +686,7 @@ func (x *TaskSpec) String() string {
|
||||||
func (*TaskSpec) ProtoMessage() {}
|
func (*TaskSpec) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *TaskSpec) ProtoReflect() protoreflect.Message {
|
func (x *TaskSpec) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[7]
|
mi := &file_common_v1_spec_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -699,7 +699,7 @@ func (x *TaskSpec) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use TaskSpec.ProtoReflect.Descriptor instead.
|
// Deprecated: Use TaskSpec.ProtoReflect.Descriptor instead.
|
||||||
func (*TaskSpec) Descriptor() ([]byte, []int) {
|
func (*TaskSpec) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{7}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TaskSpec) GetModuleName() string {
|
func (x *TaskSpec) GetModuleName() string {
|
||||||
|
@ -754,7 +754,7 @@ type ModuleSpec_Value struct {
|
||||||
func (x *ModuleSpec_Value) Reset() {
|
func (x *ModuleSpec_Value) Reset() {
|
||||||
*x = ModuleSpec_Value{}
|
*x = ModuleSpec_Value{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[8]
|
mi := &file_common_v1_spec_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
|
@ -767,7 +767,7 @@ func (x *ModuleSpec_Value) String() string {
|
||||||
func (*ModuleSpec_Value) ProtoMessage() {}
|
func (*ModuleSpec_Value) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ModuleSpec_Value) ProtoReflect() protoreflect.Message {
|
func (x *ModuleSpec_Value) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_rpc_v1_spec_proto_msgTypes[8]
|
mi := &file_common_v1_spec_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
@ -780,7 +780,7 @@ func (x *ModuleSpec_Value) ProtoReflect() protoreflect.Message {
|
||||||
|
|
||||||
// Deprecated: Use ModuleSpec_Value.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ModuleSpec_Value.ProtoReflect.Descriptor instead.
|
||||||
func (*ModuleSpec_Value) Descriptor() ([]byte, []int) {
|
func (*ModuleSpec_Value) Descriptor() ([]byte, []int) {
|
||||||
return file_rpc_v1_spec_proto_rawDescGZIP(), []int{1, 0}
|
return file_common_v1_spec_proto_rawDescGZIP(), []int{1, 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ModuleSpec_Value) GetType() ModuleSpec_ValueType {
|
func (x *ModuleSpec_Value) GetType() ModuleSpec_ValueType {
|
||||||
|
@ -895,186 +895,187 @@ func (*ModuleSpec_Value_DoubleValue) isModuleSpec_Value_SingleValue() {}
|
||||||
|
|
||||||
func (*ModuleSpec_Value_BoolValue) isModuleSpec_Value_SingleValue() {}
|
func (*ModuleSpec_Value_BoolValue) isModuleSpec_Value_SingleValue() {}
|
||||||
|
|
||||||
var File_rpc_v1_spec_proto protoreflect.FileDescriptor
|
var File_common_v1_spec_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_rpc_v1_spec_proto_rawDesc = []byte{
|
var file_common_v1_spec_proto_rawDesc = []byte{
|
||||||
0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72,
|
0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63,
|
||||||
0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72,
|
||||||
0x76, 0x31, 0x22, 0x74, 0x0a, 0x0f, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65,
|
0x70, 0x63, 0x2e, 0x76, 0x31, 0x22, 0x74, 0x0a, 0x0f, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52,
|
||||||
0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f,
|
0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x6d, 0x6f, 0x64, 0x75,
|
||||||
0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17,
|
0x6c, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
0x0e, 0x32, 0x17, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76,
|
||||||
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43,
|
0x31, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x6f, 0x64, 0x75,
|
||||||
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c,
|
0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f,
|
||||||
0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f,
|
0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0xf0, 0x08, 0x0a, 0x0a, 0x4d, 0x6f, 0x64,
|
0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0xf0, 0x08, 0x0a, 0x0a,
|
||||||
0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x33, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67,
|
0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x33, 0x0a, 0x08, 0x63, 0x61,
|
||||||
0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x62, 0x75, 0x69, 0x6c,
|
0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x62,
|
||||||
0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
|
0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x74,
|
||||||
0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04,
|
0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12,
|
||||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
|
||||||
0x12, 0x3d, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20,
|
||||||
0x32, 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63,
|
||||||
0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75,
|
0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56,
|
||||||
0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a,
|
0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75,
|
||||||
0xd7, 0x04, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
0x65, 0x73, 0x1a, 0xd7, 0x04, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x04,
|
||||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72,
|
0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x75, 0x69,
|
||||||
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70,
|
0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
|
||||||
0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79,
|
0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
|
||||||
0x70, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20,
|
||||||
0x32, 0x23, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63,
|
||||||
0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75,
|
0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56,
|
||||||
0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x56, 0x0a, 0x0d, 0x63,
|
0x61, 0x6c, 0x75, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x56,
|
||||||
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x03,
|
0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
||||||
0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72,
|
||||||
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,
|
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,
|
0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x56, 0x61,
|
||||||
0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
|
||||||
0x1c, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
|
0x78, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
|
||||||
0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, 0x09, 0x63,
|
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
|
||||||
0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x70,
|
0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69,
|
||||||
0x75, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x75,
|
0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00,
|
||||||
0x74, 0x70, 0x75, 0x74, 0x44, 0x69, 0x72, 0x2a, 0x80, 0x01, 0x0a, 0x08, 0x43, 0x61, 0x74, 0x65,
|
0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f,
|
||||||
0x67, 0x6f, 0x72, 0x79, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
|
0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01,
|
||||||
0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x61, 0x74,
|
0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
||||||
0x65, 0x67, 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x6f, 0x6c, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x43,
|
0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0e, 0x20,
|
||||||
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x10, 0x02, 0x12, 0x11, 0x0a,
|
0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x0d, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x10, 0x03,
|
0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x12, 0x13, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x63, 0x6b,
|
0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56,
|
||||||
0x61, 0x67, 0x65, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
|
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c,
|
||||||
0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x10, 0x05, 0x42, 0xa6, 0x01, 0x0a, 0x11, 0x63,
|
0x75, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x56, 0x61,
|
||||||
0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76,
|
||||||
0x42, 0x09, 0x53, 0x70, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x02, 0x50, 0x01, 0x5a,
|
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0c, 0x64, 0x6f, 0x75,
|
||||||
0x2e, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x69, 0x63, 0x62, 0x34, 0x64, 0x63, 0x30, 0x2e, 0x64, 0x65,
|
0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x6f, 0x6f,
|
||||||
0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2f, 0x61,
|
0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0a,
|
||||||
0x70, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x31, 0xa2,
|
0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x60, 0x0a, 0x11, 0x43, 0x6f,
|
||||||
0x02, 0x03, 0x42, 0x52, 0x58, 0xaa, 0x02, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x52,
|
0x6d, 0x70, 0x6c, 0x65, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
||||||
0x70, 0x63, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x5c, 0x52,
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
||||||
0x70, 0x63, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x5c, 0x52,
|
0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||||||
0x70, 0x63, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
0x32, 0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
||||||
0x61, 0xea, 0x02, 0x0f, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a,
|
0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x75,
|
||||||
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
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, 0x80, 0x01, 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, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x61, 0x74, 0x65,
|
||||||
|
0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x10, 0x05, 0x42, 0xac, 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, 0x34, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x69, 0x63, 0x62, 0x34, 0x64, 0x63, 0x30,
|
||||||
|
0x2e, 0x64, 0x65, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67,
|
||||||
|
0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 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 (
|
var (
|
||||||
file_rpc_v1_spec_proto_rawDescOnce sync.Once
|
file_common_v1_spec_proto_rawDescOnce sync.Once
|
||||||
file_rpc_v1_spec_proto_rawDescData = file_rpc_v1_spec_proto_rawDesc
|
file_common_v1_spec_proto_rawDescData = file_common_v1_spec_proto_rawDesc
|
||||||
)
|
)
|
||||||
|
|
||||||
func file_rpc_v1_spec_proto_rawDescGZIP() []byte {
|
func file_common_v1_spec_proto_rawDescGZIP() []byte {
|
||||||
file_rpc_v1_spec_proto_rawDescOnce.Do(func() {
|
file_common_v1_spec_proto_rawDescOnce.Do(func() {
|
||||||
file_rpc_v1_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_v1_spec_proto_rawDescData)
|
file_common_v1_spec_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_v1_spec_proto_rawDescData)
|
||||||
})
|
})
|
||||||
return file_rpc_v1_spec_proto_rawDescData
|
return file_common_v1_spec_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_rpc_v1_spec_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
var file_common_v1_spec_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||||
var file_rpc_v1_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
var file_common_v1_spec_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||||
var file_rpc_v1_spec_proto_goTypes = []interface{}{
|
var file_common_v1_spec_proto_goTypes = []interface{}{
|
||||||
(Category)(0), // 0: buildr.rpc.v1.Category
|
(Category)(0), // 0: buildr.rpc.v1.Category
|
||||||
(ModuleSpec_ValueKind)(0), // 1: buildr.rpc.v1.ModuleSpec.ValueKind
|
(ModuleSpec_ValueKind)(0), // 1: buildr.rpc.v1.ModuleSpec.ValueKind
|
||||||
(ModuleSpec_ValueType)(0), // 2: buildr.rpc.v1.ModuleSpec.ValueType
|
(ModuleSpec_ValueType)(0), // 2: buildr.rpc.v1.ModuleSpec.ValueType
|
||||||
|
@ -1090,7 +1091,7 @@ var file_rpc_v1_spec_proto_goTypes = []interface{}{
|
||||||
nil, // 12: buildr.rpc.v1.ModuleSpec.ValuesEntry
|
nil, // 12: buildr.rpc.v1.ModuleSpec.ValuesEntry
|
||||||
nil, // 13: buildr.rpc.v1.ModuleSpec.Value.ComplexValueEntry
|
nil, // 13: buildr.rpc.v1.ModuleSpec.Value.ComplexValueEntry
|
||||||
}
|
}
|
||||||
var file_rpc_v1_spec_proto_depIdxs = []int32{
|
var file_common_v1_spec_proto_depIdxs = []int32{
|
||||||
0, // 0: buildr.rpc.v1.ModuleReference.module_category:type_name -> buildr.rpc.v1.Category
|
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
|
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
|
12, // 2: buildr.rpc.v1.ModuleSpec.values:type_name -> buildr.rpc.v1.ModuleSpec.ValuesEntry
|
||||||
|
@ -1112,13 +1113,13 @@ var file_rpc_v1_spec_proto_depIdxs = []int32{
|
||||||
0, // [0:14] is the sub-list for field type_name
|
0, // [0:14] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_rpc_v1_spec_proto_init() }
|
func init() { file_common_v1_spec_proto_init() }
|
||||||
func file_rpc_v1_spec_proto_init() {
|
func file_common_v1_spec_proto_init() {
|
||||||
if File_rpc_v1_spec_proto != nil {
|
if File_common_v1_spec_proto != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !protoimpl.UnsafeEnabled {
|
if !protoimpl.UnsafeEnabled {
|
||||||
file_rpc_v1_spec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ModuleReference); i {
|
switch v := v.(*ModuleReference); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1130,7 +1131,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ModuleSpec); i {
|
switch v := v.(*ModuleSpec); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1142,7 +1143,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ContainerCapabilities); i {
|
switch v := v.(*ContainerCapabilities); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1154,7 +1155,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ContainerBindMount); i {
|
switch v := v.(*ContainerBindMount); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1166,7 +1167,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ContainerTmpfsMount); i {
|
switch v := v.(*ContainerTmpfsMount); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1178,7 +1179,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ContainerVolumeMount); i {
|
switch v := v.(*ContainerVolumeMount); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1190,7 +1191,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ContainerSpec); i {
|
switch v := v.(*ContainerSpec); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1202,7 +1203,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*TaskSpec); i {
|
switch v := v.(*TaskSpec); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1214,7 +1215,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_common_v1_spec_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ModuleSpec_Value); i {
|
switch v := v.(*ModuleSpec_Value); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
|
@ -1227,7 +1228,7 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_rpc_v1_spec_proto_msgTypes[8].OneofWrappers = []interface{}{
|
file_common_v1_spec_proto_msgTypes[8].OneofWrappers = []interface{}{
|
||||||
(*ModuleSpec_Value_StringValue)(nil),
|
(*ModuleSpec_Value_StringValue)(nil),
|
||||||
(*ModuleSpec_Value_IntValue)(nil),
|
(*ModuleSpec_Value_IntValue)(nil),
|
||||||
(*ModuleSpec_Value_DoubleValue)(nil),
|
(*ModuleSpec_Value_DoubleValue)(nil),
|
||||||
|
@ -1237,19 +1238,19 @@ func file_rpc_v1_spec_proto_init() {
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
File: protoimpl.DescBuilder{
|
File: protoimpl.DescBuilder{
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_rpc_v1_spec_proto_rawDesc,
|
RawDescriptor: file_common_v1_spec_proto_rawDesc,
|
||||||
NumEnums: 3,
|
NumEnums: 3,
|
||||||
NumMessages: 11,
|
NumMessages: 11,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
GoTypes: file_rpc_v1_spec_proto_goTypes,
|
GoTypes: file_common_v1_spec_proto_goTypes,
|
||||||
DependencyIndexes: file_rpc_v1_spec_proto_depIdxs,
|
DependencyIndexes: file_common_v1_spec_proto_depIdxs,
|
||||||
EnumInfos: file_rpc_v1_spec_proto_enumTypes,
|
EnumInfos: file_common_v1_spec_proto_enumTypes,
|
||||||
MessageInfos: file_rpc_v1_spec_proto_msgTypes,
|
MessageInfos: file_common_v1_spec_proto_msgTypes,
|
||||||
}.Build()
|
}.Build()
|
||||||
File_rpc_v1_spec_proto = out.File
|
File_common_v1_spec_proto = out.File
|
||||||
file_rpc_v1_spec_proto_rawDesc = nil
|
file_common_v1_spec_proto_rawDesc = nil
|
||||||
file_rpc_v1_spec_proto_goTypes = nil
|
file_common_v1_spec_proto_goTypes = nil
|
||||||
file_rpc_v1_spec_proto_depIdxs = nil
|
file_common_v1_spec_proto_depIdxs = nil
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
|
// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
|
||||||
// protoc-gen-go-vtproto version: v0.4.0
|
// protoc-gen-go-vtproto version: v0.4.0
|
||||||
// source: rpc/v1/spec.proto
|
// source: common/v1/spec.proto
|
||||||
|
|
||||||
package rpcv1
|
package rpcv1
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,13 +1,15 @@
|
||||||
// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
|
// Code generated by protoc-gen-go-vtproto. DO NOT EDIT.
|
||||||
// protoc-gen-go-vtproto version: v0.4.0
|
// protoc-gen-go-vtproto version: v0.4.0
|
||||||
// source: rpc/v1/executor.proto
|
// source: remote/v1/executor.proto
|
||||||
|
|
||||||
package rpcv1
|
package rpcv1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
v1 "code.icb4dc0.de/buildr/api/generated/common/v1"
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
io "io"
|
io "io"
|
||||||
|
bits "math/bits"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -619,101 +621,6 @@ func (m *Result) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
|
||||||
return len(dAtA) - i, nil
|
return len(dAtA) - i, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PluginInventory_InventorySpec) MarshalVT() (dAtA []byte, err error) {
|
|
||||||
if m == nil {
|
|
||||||
return nil, nil
|
|
||||||
}
|
|
||||||
size := m.SizeVT()
|
|
||||||
dAtA = make([]byte, size)
|
|
||||||
n, err := m.MarshalToSizedBufferVT(dAtA[:size])
|
|
||||||
if err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
return dAtA[:n], nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *PluginInventory_InventorySpec) MarshalToVT(dAtA []byte) (int, error) {
|
|
||||||
size := m.SizeVT()
|
|
||||||
return m.MarshalToSizedBufferVT(dAtA[:size])
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *PluginInventory_InventorySpec) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
|
|
||||||
if m == nil {
|
|
||||||
return 0, nil
|
|
||||||
}
|
|
||||||
i := len(dAtA)
|
|
||||||
_ = i
|
|
||||||
var l int
|
|
||||||
_ = l
|
|
||||||
if m.unknownFields != nil {
|
|
||||||
i -= len(m.unknownFields)
|
|
||||||
copy(dAtA[i:], m.unknownFields)
|
|
||||||
}
|
|
||||||
if len(m.EmptySpec) > 0 {
|
|
||||||
i -= len(m.EmptySpec)
|
|
||||||
copy(dAtA[i:], m.EmptySpec)
|
|
||||||
i = encodeVarint(dAtA, i, uint64(len(m.EmptySpec)))
|
|
||||||
i--
|
|
||||||
dAtA[i] = 0x12
|
|
||||||
}
|
|
||||||
if m.ModuleRef != nil {
|
|
||||||
size, err := m.ModuleRef.MarshalToSizedBufferVT(dAtA[:i])
|
|
||||||
if err != nil {
|
|
||||||
return 0, err
|
|
||||||
}
|
|
||||||
i -= size
|
|
||||||
i = encodeVarint(dAtA, i, uint64(size))
|
|
||||||
i--
|
|
||||||
dAtA[i] = 0xa
|
|
||||||
}
|
|
||||||
return len(dAtA) - i, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *PluginInventory) MarshalVT() (dAtA []byte, err error) {
|
|
||||||
if m == nil {
|
|
||||||
return nil, nil
|
|
||||||
}
|
|
||||||
size := m.SizeVT()
|
|
||||||
dAtA = make([]byte, size)
|
|
||||||
n, err := m.MarshalToSizedBufferVT(dAtA[:size])
|
|
||||||
if err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
return dAtA[:n], nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *PluginInventory) MarshalToVT(dAtA []byte) (int, error) {
|
|
||||||
size := m.SizeVT()
|
|
||||||
return m.MarshalToSizedBufferVT(dAtA[:size])
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *PluginInventory) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
|
|
||||||
if m == nil {
|
|
||||||
return 0, nil
|
|
||||||
}
|
|
||||||
i := len(dAtA)
|
|
||||||
_ = i
|
|
||||||
var l int
|
|
||||||
_ = l
|
|
||||||
if m.unknownFields != nil {
|
|
||||||
i -= len(m.unknownFields)
|
|
||||||
copy(dAtA[i:], m.unknownFields)
|
|
||||||
}
|
|
||||||
if len(m.Specs) > 0 {
|
|
||||||
for iNdEx := len(m.Specs) - 1; iNdEx >= 0; iNdEx-- {
|
|
||||||
size, err := m.Specs[iNdEx].MarshalToSizedBufferVT(dAtA[:i])
|
|
||||||
if err != nil {
|
|
||||||
return 0, err
|
|
||||||
}
|
|
||||||
i -= size
|
|
||||||
i = encodeVarint(dAtA, i, uint64(size))
|
|
||||||
i--
|
|
||||||
dAtA[i] = 0xa
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return len(dAtA) - i, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *ExecutionClientMessage) MarshalVT() (dAtA []byte, err error) {
|
func (m *ExecutionClientMessage) MarshalVT() (dAtA []byte, err error) {
|
||||||
if m == nil {
|
if m == nil {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
|
@ -1024,6 +931,100 @@ func (m *ExecutionServerMessage_SetState) MarshalToSizedBufferVT(dAtA []byte) (i
|
||||||
}
|
}
|
||||||
return len(dAtA) - i, nil
|
return len(dAtA) - i, nil
|
||||||
}
|
}
|
||||||
|
func (m *RegisterPluginModuleRequest) MarshalVT() (dAtA []byte, err error) {
|
||||||
|
if m == nil {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
size := m.SizeVT()
|
||||||
|
dAtA = make([]byte, size)
|
||||||
|
n, err := m.MarshalToSizedBufferVT(dAtA[:size])
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return dAtA[:n], nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *RegisterPluginModuleRequest) MarshalToVT(dAtA []byte) (int, error) {
|
||||||
|
size := m.SizeVT()
|
||||||
|
return m.MarshalToSizedBufferVT(dAtA[:size])
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *RegisterPluginModuleRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
|
||||||
|
if m == nil {
|
||||||
|
return 0, nil
|
||||||
|
}
|
||||||
|
i := len(dAtA)
|
||||||
|
_ = i
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
if m.unknownFields != nil {
|
||||||
|
i -= len(m.unknownFields)
|
||||||
|
copy(dAtA[i:], m.unknownFields)
|
||||||
|
}
|
||||||
|
if len(m.PluginPayload) > 0 {
|
||||||
|
i -= len(m.PluginPayload)
|
||||||
|
copy(dAtA[i:], m.PluginPayload)
|
||||||
|
i = encodeVarint(dAtA, i, uint64(len(m.PluginPayload)))
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x12
|
||||||
|
}
|
||||||
|
if m.ModuleRef != nil {
|
||||||
|
size, err := m.ModuleRef.MarshalToSizedBufferVT(dAtA[:i])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarint(dAtA, i, uint64(size))
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0xa
|
||||||
|
}
|
||||||
|
return len(dAtA) - i, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *RegisterPluginModuleResponse) MarshalVT() (dAtA []byte, err error) {
|
||||||
|
if m == nil {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
size := m.SizeVT()
|
||||||
|
dAtA = make([]byte, size)
|
||||||
|
n, err := m.MarshalToSizedBufferVT(dAtA[:size])
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return dAtA[:n], nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *RegisterPluginModuleResponse) MarshalToVT(dAtA []byte) (int, error) {
|
||||||
|
size := m.SizeVT()
|
||||||
|
return m.MarshalToSizedBufferVT(dAtA[:size])
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *RegisterPluginModuleResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) {
|
||||||
|
if m == nil {
|
||||||
|
return 0, nil
|
||||||
|
}
|
||||||
|
i := len(dAtA)
|
||||||
|
_ = i
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
if m.unknownFields != nil {
|
||||||
|
i -= len(m.unknownFields)
|
||||||
|
copy(dAtA[i:], m.unknownFields)
|
||||||
|
}
|
||||||
|
return len(dAtA) - i, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func encodeVarint(dAtA []byte, offset int, v uint64) int {
|
||||||
|
offset -= sov(v)
|
||||||
|
base := offset
|
||||||
|
for v >= 1<<7 {
|
||||||
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
||||||
|
v >>= 7
|
||||||
|
offset++
|
||||||
|
}
|
||||||
|
dAtA[offset] = uint8(v)
|
||||||
|
return base
|
||||||
|
}
|
||||||
func (m *Buildr_Repo) SizeVT() (n int) {
|
func (m *Buildr_Repo) SizeVT() (n int) {
|
||||||
if m == nil {
|
if m == nil {
|
||||||
return 0
|
return 0
|
||||||
|
@ -1250,40 +1251,6 @@ func (m *Result) SizeVT() (n int) {
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *PluginInventory_InventorySpec) SizeVT() (n int) {
|
|
||||||
if m == nil {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
var l int
|
|
||||||
_ = l
|
|
||||||
if m.ModuleRef != nil {
|
|
||||||
l = m.ModuleRef.SizeVT()
|
|
||||||
n += 1 + l + sov(uint64(l))
|
|
||||||
}
|
|
||||||
l = len(m.EmptySpec)
|
|
||||||
if l > 0 {
|
|
||||||
n += 1 + l + sov(uint64(l))
|
|
||||||
}
|
|
||||||
n += len(m.unknownFields)
|
|
||||||
return n
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *PluginInventory) SizeVT() (n int) {
|
|
||||||
if m == nil {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
var l int
|
|
||||||
_ = l
|
|
||||||
if len(m.Specs) > 0 {
|
|
||||||
for _, e := range m.Specs {
|
|
||||||
l = e.SizeVT()
|
|
||||||
n += 1 + l + sov(uint64(l))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
n += len(m.unknownFields)
|
|
||||||
return n
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *ExecutionClientMessage) SizeVT() (n int) {
|
func (m *ExecutionClientMessage) SizeVT() (n int) {
|
||||||
if m == nil {
|
if m == nil {
|
||||||
return 0
|
return 0
|
||||||
|
@ -1452,6 +1419,40 @@ func (m *ExecutionServerMessage_SetState) SizeVT() (n int) {
|
||||||
}
|
}
|
||||||
return n
|
return n
|
||||||
}
|
}
|
||||||
|
func (m *RegisterPluginModuleRequest) SizeVT() (n int) {
|
||||||
|
if m == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
if m.ModuleRef != nil {
|
||||||
|
l = m.ModuleRef.SizeVT()
|
||||||
|
n += 1 + l + sov(uint64(l))
|
||||||
|
}
|
||||||
|
l = len(m.PluginPayload)
|
||||||
|
if l > 0 {
|
||||||
|
n += 1 + l + sov(uint64(l))
|
||||||
|
}
|
||||||
|
n += len(m.unknownFields)
|
||||||
|
return n
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *RegisterPluginModuleResponse) SizeVT() (n int) {
|
||||||
|
if m == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
n += len(m.unknownFields)
|
||||||
|
return n
|
||||||
|
}
|
||||||
|
|
||||||
|
func sov(x uint64) (n int) {
|
||||||
|
return (bits.Len64(x|1) + 6) / 7
|
||||||
|
}
|
||||||
|
func soz(x uint64) (n int) {
|
||||||
|
return sov(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
||||||
|
}
|
||||||
func (m *Buildr_Repo) UnmarshalVT(dAtA []byte) error {
|
func (m *Buildr_Repo) UnmarshalVT(dAtA []byte) error {
|
||||||
l := len(dAtA)
|
l := len(dAtA)
|
||||||
iNdEx := 0
|
iNdEx := 0
|
||||||
|
@ -1809,7 +1810,7 @@ func (m *TaskReference) UnmarshalVT(dAtA []byte) error {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.Module == nil {
|
if m.Module == nil {
|
||||||
m.Module = &ModuleReference{}
|
m.Module = &v1.ModuleReference{}
|
||||||
}
|
}
|
||||||
if err := m.Module.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.Module.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -1968,7 +1969,7 @@ func (m *StartTaskRequest) UnmarshalVT(dAtA []byte) error {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.Spec == nil {
|
if m.Spec == nil {
|
||||||
m.Spec = &ModuleSpec{}
|
m.Spec = &v1.ModuleSpec{}
|
||||||
}
|
}
|
||||||
if err := m.Spec.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.Spec.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -2911,212 +2912,6 @@ func (m *Result) UnmarshalVT(dAtA []byte) error {
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (m *PluginInventory_InventorySpec) UnmarshalVT(dAtA []byte) error {
|
|
||||||
l := len(dAtA)
|
|
||||||
iNdEx := 0
|
|
||||||
for iNdEx < l {
|
|
||||||
preIndex := iNdEx
|
|
||||||
var wire uint64
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflow
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
wire |= uint64(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fieldNum := int32(wire >> 3)
|
|
||||||
wireType := int(wire & 0x7)
|
|
||||||
if wireType == 4 {
|
|
||||||
return fmt.Errorf("proto: PluginInventory_InventorySpec: wiretype end group for non-group")
|
|
||||||
}
|
|
||||||
if fieldNum <= 0 {
|
|
||||||
return fmt.Errorf("proto: PluginInventory_InventorySpec: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
||||||
}
|
|
||||||
switch fieldNum {
|
|
||||||
case 1:
|
|
||||||
if wireType != 2 {
|
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field ModuleRef", wireType)
|
|
||||||
}
|
|
||||||
var msglen int
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflow
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
msglen |= int(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if msglen < 0 {
|
|
||||||
return ErrInvalidLength
|
|
||||||
}
|
|
||||||
postIndex := iNdEx + msglen
|
|
||||||
if postIndex < 0 {
|
|
||||||
return ErrInvalidLength
|
|
||||||
}
|
|
||||||
if postIndex > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
if m.ModuleRef == nil {
|
|
||||||
m.ModuleRef = &ModuleReference{}
|
|
||||||
}
|
|
||||||
if err := m.ModuleRef.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
iNdEx = postIndex
|
|
||||||
case 2:
|
|
||||||
if wireType != 2 {
|
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field EmptySpec", wireType)
|
|
||||||
}
|
|
||||||
var byteLen int
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflow
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
byteLen |= int(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if byteLen < 0 {
|
|
||||||
return ErrInvalidLength
|
|
||||||
}
|
|
||||||
postIndex := iNdEx + byteLen
|
|
||||||
if postIndex < 0 {
|
|
||||||
return ErrInvalidLength
|
|
||||||
}
|
|
||||||
if postIndex > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
m.EmptySpec = append(m.EmptySpec[:0], dAtA[iNdEx:postIndex]...)
|
|
||||||
if m.EmptySpec == nil {
|
|
||||||
m.EmptySpec = []byte{}
|
|
||||||
}
|
|
||||||
iNdEx = postIndex
|
|
||||||
default:
|
|
||||||
iNdEx = preIndex
|
|
||||||
skippy, err := skip(dAtA[iNdEx:])
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
||||||
return ErrInvalidLength
|
|
||||||
}
|
|
||||||
if (iNdEx + skippy) > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
|
|
||||||
iNdEx += skippy
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if iNdEx > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
func (m *PluginInventory) UnmarshalVT(dAtA []byte) error {
|
|
||||||
l := len(dAtA)
|
|
||||||
iNdEx := 0
|
|
||||||
for iNdEx < l {
|
|
||||||
preIndex := iNdEx
|
|
||||||
var wire uint64
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflow
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
wire |= uint64(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fieldNum := int32(wire >> 3)
|
|
||||||
wireType := int(wire & 0x7)
|
|
||||||
if wireType == 4 {
|
|
||||||
return fmt.Errorf("proto: PluginInventory: wiretype end group for non-group")
|
|
||||||
}
|
|
||||||
if fieldNum <= 0 {
|
|
||||||
return fmt.Errorf("proto: PluginInventory: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
||||||
}
|
|
||||||
switch fieldNum {
|
|
||||||
case 1:
|
|
||||||
if wireType != 2 {
|
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field Specs", wireType)
|
|
||||||
}
|
|
||||||
var msglen int
|
|
||||||
for shift := uint(0); ; shift += 7 {
|
|
||||||
if shift >= 64 {
|
|
||||||
return ErrIntOverflow
|
|
||||||
}
|
|
||||||
if iNdEx >= l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
b := dAtA[iNdEx]
|
|
||||||
iNdEx++
|
|
||||||
msglen |= int(b&0x7F) << shift
|
|
||||||
if b < 0x80 {
|
|
||||||
break
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if msglen < 0 {
|
|
||||||
return ErrInvalidLength
|
|
||||||
}
|
|
||||||
postIndex := iNdEx + msglen
|
|
||||||
if postIndex < 0 {
|
|
||||||
return ErrInvalidLength
|
|
||||||
}
|
|
||||||
if postIndex > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
m.Specs = append(m.Specs, &PluginInventory_InventorySpec{})
|
|
||||||
if err := m.Specs[len(m.Specs)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
iNdEx = postIndex
|
|
||||||
default:
|
|
||||||
iNdEx = preIndex
|
|
||||||
skippy, err := skip(dAtA[iNdEx:])
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
||||||
return ErrInvalidLength
|
|
||||||
}
|
|
||||||
if (iNdEx + skippy) > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
|
|
||||||
iNdEx += skippy
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if iNdEx > l {
|
|
||||||
return io.ErrUnexpectedEOF
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
func (m *ExecutionClientMessage) UnmarshalVT(dAtA []byte) error {
|
func (m *ExecutionClientMessage) UnmarshalVT(dAtA []byte) error {
|
||||||
l := len(dAtA)
|
l := len(dAtA)
|
||||||
iNdEx := 0
|
iNdEx := 0
|
||||||
|
@ -3679,3 +3474,260 @@ func (m *ExecutionServerMessage) UnmarshalVT(dAtA []byte) error {
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
func (m *RegisterPluginModuleRequest) UnmarshalVT(dAtA []byte) error {
|
||||||
|
l := len(dAtA)
|
||||||
|
iNdEx := 0
|
||||||
|
for iNdEx < l {
|
||||||
|
preIndex := iNdEx
|
||||||
|
var wire uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflow
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
wire |= uint64(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fieldNum := int32(wire >> 3)
|
||||||
|
wireType := int(wire & 0x7)
|
||||||
|
if wireType == 4 {
|
||||||
|
return fmt.Errorf("proto: RegisterPluginModuleRequest: wiretype end group for non-group")
|
||||||
|
}
|
||||||
|
if fieldNum <= 0 {
|
||||||
|
return fmt.Errorf("proto: RegisterPluginModuleRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||||
|
}
|
||||||
|
switch fieldNum {
|
||||||
|
case 1:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field ModuleRef", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflow
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLength
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex < 0 {
|
||||||
|
return ErrInvalidLength
|
||||||
|
}
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
if m.ModuleRef == nil {
|
||||||
|
m.ModuleRef = &v1.ModuleReference{}
|
||||||
|
}
|
||||||
|
if err := m.ModuleRef.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
case 2:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field PluginPayload", wireType)
|
||||||
|
}
|
||||||
|
var byteLen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflow
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
byteLen |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if byteLen < 0 {
|
||||||
|
return ErrInvalidLength
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + byteLen
|
||||||
|
if postIndex < 0 {
|
||||||
|
return ErrInvalidLength
|
||||||
|
}
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
m.PluginPayload = append(m.PluginPayload[:0], dAtA[iNdEx:postIndex]...)
|
||||||
|
if m.PluginPayload == nil {
|
||||||
|
m.PluginPayload = []byte{}
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
default:
|
||||||
|
iNdEx = preIndex
|
||||||
|
skippy, err := skip(dAtA[iNdEx:])
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||||
|
return ErrInvalidLength
|
||||||
|
}
|
||||||
|
if (iNdEx + skippy) > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
|
||||||
|
iNdEx += skippy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if iNdEx > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
func (m *RegisterPluginModuleResponse) UnmarshalVT(dAtA []byte) error {
|
||||||
|
l := len(dAtA)
|
||||||
|
iNdEx := 0
|
||||||
|
for iNdEx < l {
|
||||||
|
preIndex := iNdEx
|
||||||
|
var wire uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflow
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
wire |= uint64(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fieldNum := int32(wire >> 3)
|
||||||
|
wireType := int(wire & 0x7)
|
||||||
|
if wireType == 4 {
|
||||||
|
return fmt.Errorf("proto: RegisterPluginModuleResponse: wiretype end group for non-group")
|
||||||
|
}
|
||||||
|
if fieldNum <= 0 {
|
||||||
|
return fmt.Errorf("proto: RegisterPluginModuleResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||||
|
}
|
||||||
|
switch fieldNum {
|
||||||
|
default:
|
||||||
|
iNdEx = preIndex
|
||||||
|
skippy, err := skip(dAtA[iNdEx:])
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||||
|
return ErrInvalidLength
|
||||||
|
}
|
||||||
|
if (iNdEx + skippy) > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...)
|
||||||
|
iNdEx += skippy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if iNdEx > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func skip(dAtA []byte) (n int, err error) {
|
||||||
|
l := len(dAtA)
|
||||||
|
iNdEx := 0
|
||||||
|
depth := 0
|
||||||
|
for iNdEx < l {
|
||||||
|
var wire uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflow
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
wire |= (uint64(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
wireType := int(wire & 0x7)
|
||||||
|
switch wireType {
|
||||||
|
case 0:
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflow
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
iNdEx++
|
||||||
|
if dAtA[iNdEx-1] < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 1:
|
||||||
|
iNdEx += 8
|
||||||
|
case 2:
|
||||||
|
var length int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflow
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
length |= (int(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if length < 0 {
|
||||||
|
return 0, ErrInvalidLength
|
||||||
|
}
|
||||||
|
iNdEx += length
|
||||||
|
case 3:
|
||||||
|
depth++
|
||||||
|
case 4:
|
||||||
|
if depth == 0 {
|
||||||
|
return 0, ErrUnexpectedEndOfGroup
|
||||||
|
}
|
||||||
|
depth--
|
||||||
|
case 5:
|
||||||
|
iNdEx += 4
|
||||||
|
default:
|
||||||
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
||||||
|
}
|
||||||
|
if iNdEx < 0 {
|
||||||
|
return 0, ErrInvalidLength
|
||||||
|
}
|
||||||
|
if depth == 0 {
|
||||||
|
return iNdEx, nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling")
|
||||||
|
ErrIntOverflow = fmt.Errorf("proto: integer overflow")
|
||||||
|
ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
|
||||||
|
)
|
177
generated/remote/v1/rpcv1connect/executor.connect.go
Normal file
177
generated/remote/v1/rpcv1connect/executor.connect.go
Normal file
|
@ -0,0 +1,177 @@
|
||||||
|
// Code generated by protoc-gen-connect-go. DO NOT EDIT.
|
||||||
|
//
|
||||||
|
// Source: remote/v1/executor.proto
|
||||||
|
|
||||||
|
package rpcv1connect
|
||||||
|
|
||||||
|
import (
|
||||||
|
v1 "code.icb4dc0.de/buildr/api/generated/remote/v1"
|
||||||
|
connect "connectrpc.com/connect"
|
||||||
|
context "context"
|
||||||
|
errors "errors"
|
||||||
|
http "net/http"
|
||||||
|
strings "strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion to ensure that this generated file and the connect package are
|
||||||
|
// compatible. If you get a compiler error that this constant is not defined, this code was
|
||||||
|
// generated with a version of connect newer than the one compiled into your binary. You can fix the
|
||||||
|
// problem by either regenerating this code with an older version of connect or updating the connect
|
||||||
|
// version compiled into your binary.
|
||||||
|
const _ = connect.IsAtLeastVersion0_1_0
|
||||||
|
|
||||||
|
const (
|
||||||
|
// ExecutorServiceName is the fully-qualified name of the ExecutorService service.
|
||||||
|
ExecutorServiceName = "buildr.rpc.v1.ExecutorService"
|
||||||
|
// PluginManagerServiceName is the fully-qualified name of the PluginManagerService service.
|
||||||
|
PluginManagerServiceName = "buildr.rpc.v1.PluginManagerService"
|
||||||
|
)
|
||||||
|
|
||||||
|
// These constants are the fully-qualified names of the RPCs defined in this package. They're
|
||||||
|
// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
|
||||||
|
//
|
||||||
|
// Note that these are different from the fully-qualified method names used by
|
||||||
|
// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to
|
||||||
|
// reflection-formatted method names, remove the leading slash and convert the remaining slash to a
|
||||||
|
// period.
|
||||||
|
const (
|
||||||
|
// ExecutorServiceExecuteStreamProcedure is the fully-qualified name of the ExecutorService's
|
||||||
|
// ExecuteStream RPC.
|
||||||
|
ExecutorServiceExecuteStreamProcedure = "/buildr.rpc.v1.ExecutorService/ExecuteStream"
|
||||||
|
// PluginManagerServiceRegisterPluginModuleProcedure is the fully-qualified name of the
|
||||||
|
// PluginManagerService's RegisterPluginModule RPC.
|
||||||
|
PluginManagerServiceRegisterPluginModuleProcedure = "/buildr.rpc.v1.PluginManagerService/RegisterPluginModule"
|
||||||
|
)
|
||||||
|
|
||||||
|
// ExecutorServiceClient is a client for the buildr.rpc.v1.ExecutorService service.
|
||||||
|
type ExecutorServiceClient interface {
|
||||||
|
ExecuteStream(context.Context) *connect.BidiStreamForClient[v1.ExecutionClientMessage, v1.ExecutionServerMessage]
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewExecutorServiceClient constructs a client for the buildr.rpc.v1.ExecutorService service. By
|
||||||
|
// default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses,
|
||||||
|
// and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the
|
||||||
|
// connect.WithGRPC() or connect.WithGRPCWeb() options.
|
||||||
|
//
|
||||||
|
// The URL supplied here should be the base URL for the Connect or gRPC server (for example,
|
||||||
|
// http://api.acme.com or https://acme.com/grpc).
|
||||||
|
func NewExecutorServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ExecutorServiceClient {
|
||||||
|
baseURL = strings.TrimRight(baseURL, "/")
|
||||||
|
return &executorServiceClient{
|
||||||
|
executeStream: connect.NewClient[v1.ExecutionClientMessage, v1.ExecutionServerMessage](
|
||||||
|
httpClient,
|
||||||
|
baseURL+ExecutorServiceExecuteStreamProcedure,
|
||||||
|
opts...,
|
||||||
|
),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// executorServiceClient implements ExecutorServiceClient.
|
||||||
|
type executorServiceClient struct {
|
||||||
|
executeStream *connect.Client[v1.ExecutionClientMessage, v1.ExecutionServerMessage]
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExecuteStream calls buildr.rpc.v1.ExecutorService.ExecuteStream.
|
||||||
|
func (c *executorServiceClient) ExecuteStream(ctx context.Context) *connect.BidiStreamForClient[v1.ExecutionClientMessage, v1.ExecutionServerMessage] {
|
||||||
|
return c.executeStream.CallBidiStream(ctx)
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExecutorServiceHandler is an implementation of the buildr.rpc.v1.ExecutorService service.
|
||||||
|
type ExecutorServiceHandler interface {
|
||||||
|
ExecuteStream(context.Context, *connect.BidiStream[v1.ExecutionClientMessage, v1.ExecutionServerMessage]) error
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewExecutorServiceHandler builds an HTTP handler from the service implementation. It returns the
|
||||||
|
// path on which to mount the handler and the handler itself.
|
||||||
|
//
|
||||||
|
// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf
|
||||||
|
// and JSON codecs. They also support gzip compression.
|
||||||
|
func NewExecutorServiceHandler(svc ExecutorServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) {
|
||||||
|
executorServiceExecuteStreamHandler := connect.NewBidiStreamHandler(
|
||||||
|
ExecutorServiceExecuteStreamProcedure,
|
||||||
|
svc.ExecuteStream,
|
||||||
|
opts...,
|
||||||
|
)
|
||||||
|
return "/buildr.rpc.v1.ExecutorService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
switch r.URL.Path {
|
||||||
|
case ExecutorServiceExecuteStreamProcedure:
|
||||||
|
executorServiceExecuteStreamHandler.ServeHTTP(w, r)
|
||||||
|
default:
|
||||||
|
http.NotFound(w, r)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnimplementedExecutorServiceHandler returns CodeUnimplemented from all methods.
|
||||||
|
type UnimplementedExecutorServiceHandler struct{}
|
||||||
|
|
||||||
|
func (UnimplementedExecutorServiceHandler) ExecuteStream(context.Context, *connect.BidiStream[v1.ExecutionClientMessage, v1.ExecutionServerMessage]) error {
|
||||||
|
return connect.NewError(connect.CodeUnimplemented, errors.New("buildr.rpc.v1.ExecutorService.ExecuteStream is not implemented"))
|
||||||
|
}
|
||||||
|
|
||||||
|
// PluginManagerServiceClient is a client for the buildr.rpc.v1.PluginManagerService service.
|
||||||
|
type PluginManagerServiceClient interface {
|
||||||
|
RegisterPluginModule(context.Context, *connect.Request[v1.RegisterPluginModuleRequest]) (*connect.Response[v1.RegisterPluginModuleResponse], error)
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewPluginManagerServiceClient constructs a client for the buildr.rpc.v1.PluginManagerService
|
||||||
|
// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for
|
||||||
|
// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply
|
||||||
|
// the connect.WithGRPC() or connect.WithGRPCWeb() options.
|
||||||
|
//
|
||||||
|
// The URL supplied here should be the base URL for the Connect or gRPC server (for example,
|
||||||
|
// http://api.acme.com or https://acme.com/grpc).
|
||||||
|
func NewPluginManagerServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) PluginManagerServiceClient {
|
||||||
|
baseURL = strings.TrimRight(baseURL, "/")
|
||||||
|
return &pluginManagerServiceClient{
|
||||||
|
registerPluginModule: connect.NewClient[v1.RegisterPluginModuleRequest, v1.RegisterPluginModuleResponse](
|
||||||
|
httpClient,
|
||||||
|
baseURL+PluginManagerServiceRegisterPluginModuleProcedure,
|
||||||
|
opts...,
|
||||||
|
),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// pluginManagerServiceClient implements PluginManagerServiceClient.
|
||||||
|
type pluginManagerServiceClient struct {
|
||||||
|
registerPluginModule *connect.Client[v1.RegisterPluginModuleRequest, v1.RegisterPluginModuleResponse]
|
||||||
|
}
|
||||||
|
|
||||||
|
// RegisterPluginModule calls buildr.rpc.v1.PluginManagerService.RegisterPluginModule.
|
||||||
|
func (c *pluginManagerServiceClient) RegisterPluginModule(ctx context.Context, req *connect.Request[v1.RegisterPluginModuleRequest]) (*connect.Response[v1.RegisterPluginModuleResponse], error) {
|
||||||
|
return c.registerPluginModule.CallUnary(ctx, req)
|
||||||
|
}
|
||||||
|
|
||||||
|
// PluginManagerServiceHandler is an implementation of the buildr.rpc.v1.PluginManagerService
|
||||||
|
// service.
|
||||||
|
type PluginManagerServiceHandler interface {
|
||||||
|
RegisterPluginModule(context.Context, *connect.Request[v1.RegisterPluginModuleRequest]) (*connect.Response[v1.RegisterPluginModuleResponse], error)
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewPluginManagerServiceHandler builds an HTTP handler from the service implementation. It returns
|
||||||
|
// the path on which to mount the handler and the handler itself.
|
||||||
|
//
|
||||||
|
// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf
|
||||||
|
// and JSON codecs. They also support gzip compression.
|
||||||
|
func NewPluginManagerServiceHandler(svc PluginManagerServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) {
|
||||||
|
pluginManagerServiceRegisterPluginModuleHandler := connect.NewUnaryHandler(
|
||||||
|
PluginManagerServiceRegisterPluginModuleProcedure,
|
||||||
|
svc.RegisterPluginModule,
|
||||||
|
opts...,
|
||||||
|
)
|
||||||
|
return "/buildr.rpc.v1.PluginManagerService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
switch r.URL.Path {
|
||||||
|
case PluginManagerServiceRegisterPluginModuleProcedure:
|
||||||
|
pluginManagerServiceRegisterPluginModuleHandler.ServeHTTP(w, r)
|
||||||
|
default:
|
||||||
|
http.NotFound(w, r)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnimplementedPluginManagerServiceHandler returns CodeUnimplemented from all methods.
|
||||||
|
type UnimplementedPluginManagerServiceHandler struct{}
|
||||||
|
|
||||||
|
func (UnimplementedPluginManagerServiceHandler) RegisterPluginModule(context.Context, *connect.Request[v1.RegisterPluginModuleRequest]) (*connect.Response[v1.RegisterPluginModuleResponse], error) {
|
||||||
|
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("buildr.rpc.v1.PluginManagerService.RegisterPluginModule is not implemented"))
|
||||||
|
}
|
|
@ -1,141 +0,0 @@
|
||||||
//go:build !wasi
|
|
||||||
|
|
||||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
||||||
// versions:
|
|
||||||
// - protoc-gen-go-grpc v1.3.0
|
|
||||||
// - protoc (unknown)
|
|
||||||
// source: rpc/v1/executor.proto
|
|
||||||
|
|
||||||
package rpcv1
|
|
||||||
|
|
||||||
import (
|
|
||||||
context "context"
|
|
||||||
grpc "google.golang.org/grpc"
|
|
||||||
codes "google.golang.org/grpc/codes"
|
|
||||||
status "google.golang.org/grpc/status"
|
|
||||||
)
|
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
|
||||||
// is compatible with the grpc package it is being compiled against.
|
|
||||||
// Requires gRPC-Go v1.32.0 or later.
|
|
||||||
const _ = grpc.SupportPackageIsVersion7
|
|
||||||
|
|
||||||
const (
|
|
||||||
ExecutorService_ExecuteStream_FullMethodName = "/buildr.rpc.v1.ExecutorService/ExecuteStream"
|
|
||||||
)
|
|
||||||
|
|
||||||
// ExecutorServiceClient is the client API for ExecutorService service.
|
|
||||||
//
|
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
||||||
type ExecutorServiceClient interface {
|
|
||||||
ExecuteStream(ctx context.Context, opts ...grpc.CallOption) (ExecutorService_ExecuteStreamClient, error)
|
|
||||||
}
|
|
||||||
|
|
||||||
type executorServiceClient struct {
|
|
||||||
cc grpc.ClientConnInterface
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewExecutorServiceClient(cc grpc.ClientConnInterface) ExecutorServiceClient {
|
|
||||||
return &executorServiceClient{cc}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *executorServiceClient) ExecuteStream(ctx context.Context, opts ...grpc.CallOption) (ExecutorService_ExecuteStreamClient, error) {
|
|
||||||
stream, err := c.cc.NewStream(ctx, &ExecutorService_ServiceDesc.Streams[0], ExecutorService_ExecuteStream_FullMethodName, opts...)
|
|
||||||
if err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
x := &executorServiceExecuteStreamClient{stream}
|
|
||||||
return x, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type ExecutorService_ExecuteStreamClient interface {
|
|
||||||
Send(*ExecutionClientMessage) error
|
|
||||||
Recv() (*ExecutionServerMessage, error)
|
|
||||||
grpc.ClientStream
|
|
||||||
}
|
|
||||||
|
|
||||||
type executorServiceExecuteStreamClient struct {
|
|
||||||
grpc.ClientStream
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *executorServiceExecuteStreamClient) Send(m *ExecutionClientMessage) error {
|
|
||||||
return x.ClientStream.SendMsg(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *executorServiceExecuteStreamClient) Recv() (*ExecutionServerMessage, error) {
|
|
||||||
m := new(ExecutionServerMessage)
|
|
||||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
return m, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// ExecutorServiceServer is the server API for ExecutorService service.
|
|
||||||
// All implementations should embed UnimplementedExecutorServiceServer
|
|
||||||
// for forward compatibility
|
|
||||||
type ExecutorServiceServer interface {
|
|
||||||
ExecuteStream(ExecutorService_ExecuteStreamServer) error
|
|
||||||
}
|
|
||||||
|
|
||||||
// UnimplementedExecutorServiceServer should be embedded to have forward compatible implementations.
|
|
||||||
type UnimplementedExecutorServiceServer struct {
|
|
||||||
}
|
|
||||||
|
|
||||||
func (UnimplementedExecutorServiceServer) ExecuteStream(ExecutorService_ExecuteStreamServer) error {
|
|
||||||
return status.Errorf(codes.Unimplemented, "method ExecuteStream not implemented")
|
|
||||||
}
|
|
||||||
|
|
||||||
// UnsafeExecutorServiceServer may be embedded to opt out of forward compatibility for this service.
|
|
||||||
// Use of this interface is not recommended, as added methods to ExecutorServiceServer will
|
|
||||||
// result in compilation errors.
|
|
||||||
type UnsafeExecutorServiceServer interface {
|
|
||||||
mustEmbedUnimplementedExecutorServiceServer()
|
|
||||||
}
|
|
||||||
|
|
||||||
func RegisterExecutorServiceServer(s grpc.ServiceRegistrar, srv ExecutorServiceServer) {
|
|
||||||
s.RegisterService(&ExecutorService_ServiceDesc, srv)
|
|
||||||
}
|
|
||||||
|
|
||||||
func _ExecutorService_ExecuteStream_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
||||||
return srv.(ExecutorServiceServer).ExecuteStream(&executorServiceExecuteStreamServer{stream})
|
|
||||||
}
|
|
||||||
|
|
||||||
type ExecutorService_ExecuteStreamServer interface {
|
|
||||||
Send(*ExecutionServerMessage) error
|
|
||||||
Recv() (*ExecutionClientMessage, error)
|
|
||||||
grpc.ServerStream
|
|
||||||
}
|
|
||||||
|
|
||||||
type executorServiceExecuteStreamServer struct {
|
|
||||||
grpc.ServerStream
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *executorServiceExecuteStreamServer) Send(m *ExecutionServerMessage) error {
|
|
||||||
return x.ServerStream.SendMsg(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *executorServiceExecuteStreamServer) Recv() (*ExecutionClientMessage, error) {
|
|
||||||
m := new(ExecutionClientMessage)
|
|
||||||
if err := x.ServerStream.RecvMsg(m); err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
return m, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
// ExecutorService_ServiceDesc is the grpc.ServiceDesc for ExecutorService service.
|
|
||||||
// It's only intended for direct use with grpc.RegisterService,
|
|
||||||
// and not to be introspected or modified (even as a copy)
|
|
||||||
var ExecutorService_ServiceDesc = grpc.ServiceDesc{
|
|
||||||
ServiceName: "buildr.rpc.v1.ExecutorService",
|
|
||||||
HandlerType: (*ExecutorServiceServer)(nil),
|
|
||||||
Methods: []grpc.MethodDesc{},
|
|
||||||
Streams: []grpc.StreamDesc{
|
|
||||||
{
|
|
||||||
StreamName: "ExecuteStream",
|
|
||||||
Handler: _ExecutorService_ExecuteStream_Handler,
|
|
||||||
ServerStreams: true,
|
|
||||||
ClientStreams: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
Metadata: "rpc/v1/executor.proto",
|
|
||||||
}
|
|
|
@ -1,659 +0,0 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
||||||
// versions:
|
|
||||||
// protoc-gen-go v1.31.0
|
|
||||||
// protoc (unknown)
|
|
||||||
// source: rpc/v1/wasi.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 ProcessStartRequest struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
|
||||||
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
|
|
||||||
WorkingDirectory string `protobuf:"bytes,3,opt,name=working_directory,json=workingDirectory,proto3" json:"working_directory,omitempty"`
|
|
||||||
Environment map[string]string `protobuf:"bytes,4,rep,name=environment,proto3" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
||||||
Stdin []byte `protobuf:"bytes,5,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartRequest) Reset() {
|
|
||||||
*x = ProcessStartRequest{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_rpc_v1_wasi_proto_msgTypes[0]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartRequest) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*ProcessStartRequest) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *ProcessStartRequest) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_rpc_v1_wasi_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 ProcessStartRequest.ProtoReflect.Descriptor instead.
|
|
||||||
func (*ProcessStartRequest) Descriptor() ([]byte, []int) {
|
|
||||||
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{0}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartRequest) GetCommand() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Command
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartRequest) GetArgs() []string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Args
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartRequest) GetWorkingDirectory() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.WorkingDirectory
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartRequest) GetEnvironment() map[string]string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Environment
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartRequest) GetStdin() []byte {
|
|
||||||
if x != nil {
|
|
||||||
return x.Stdin
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type ProcessStartResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
|
|
||||||
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
||||||
Stderr []byte `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartResponse) Reset() {
|
|
||||||
*x = ProcessStartResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_rpc_v1_wasi_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*ProcessStartResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *ProcessStartResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_rpc_v1_wasi_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 ProcessStartResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*ProcessStartResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{1}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartResponse) GetExitCode() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.ExitCode
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartResponse) GetError() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Error
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *ProcessStartResponse) GetStderr() []byte {
|
|
||||||
if x != nil {
|
|
||||||
return x.Stderr
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type LookupPathRequest struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *LookupPathRequest) Reset() {
|
|
||||||
*x = LookupPathRequest{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_rpc_v1_wasi_proto_msgTypes[2]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *LookupPathRequest) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*LookupPathRequest) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *LookupPathRequest) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_rpc_v1_wasi_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 LookupPathRequest.ProtoReflect.Descriptor instead.
|
|
||||||
func (*LookupPathRequest) Descriptor() ([]byte, []int) {
|
|
||||||
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{2}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *LookupPathRequest) GetCommand() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Command
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
type LookupPathResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
||||||
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *LookupPathResponse) Reset() {
|
|
||||||
*x = LookupPathResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_rpc_v1_wasi_proto_msgTypes[3]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *LookupPathResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*LookupPathResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *LookupPathResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_rpc_v1_wasi_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 LookupPathResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*LookupPathResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{3}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *LookupPathResponse) GetPath() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Path
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *LookupPathResponse) GetError() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Error
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
type HelpRequest struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
ModuleReference *ModuleReference `protobuf:"bytes,1,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HelpRequest) Reset() {
|
|
||||||
*x = HelpRequest{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_rpc_v1_wasi_proto_msgTypes[4]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HelpRequest) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*HelpRequest) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *HelpRequest) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_rpc_v1_wasi_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 HelpRequest.ProtoReflect.Descriptor instead.
|
|
||||||
func (*HelpRequest) Descriptor() ([]byte, []int) {
|
|
||||||
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{4}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HelpRequest) GetModuleReference() *ModuleReference {
|
|
||||||
if x != nil {
|
|
||||||
return x.ModuleReference
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type TaskExample struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
||||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
||||||
TaskSpec *TaskSpec `protobuf:"bytes,3,opt,name=task_spec,json=taskSpec,proto3" json:"task_spec,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TaskExample) Reset() {
|
|
||||||
*x = TaskExample{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_rpc_v1_wasi_proto_msgTypes[5]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TaskExample) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*TaskExample) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *TaskExample) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_rpc_v1_wasi_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 TaskExample.ProtoReflect.Descriptor instead.
|
|
||||||
func (*TaskExample) Descriptor() ([]byte, []int) {
|
|
||||||
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{5}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TaskExample) GetName() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Name
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TaskExample) GetDescription() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Description
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TaskExample) GetTaskSpec() *TaskSpec {
|
|
||||||
if x != nil {
|
|
||||||
return x.TaskSpec
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type HelpResponse struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
||||||
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
||||||
Examples []*TaskExample `protobuf:"bytes,3,rep,name=examples,proto3" json:"examples,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HelpResponse) Reset() {
|
|
||||||
*x = HelpResponse{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_rpc_v1_wasi_proto_msgTypes[6]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HelpResponse) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*HelpResponse) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *HelpResponse) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_rpc_v1_wasi_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 HelpResponse.ProtoReflect.Descriptor instead.
|
|
||||||
func (*HelpResponse) Descriptor() ([]byte, []int) {
|
|
||||||
return file_rpc_v1_wasi_proto_rawDescGZIP(), []int{6}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HelpResponse) GetName() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Name
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HelpResponse) GetDescription() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Description
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *HelpResponse) GetExamples() []*TaskExample {
|
|
||||||
if x != nil {
|
|
||||||
return x.Examples
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
var File_rpc_v1_wasi_proto protoreflect.FileDescriptor
|
|
||||||
|
|
||||||
var file_rpc_v1_wasi_proto_rawDesc = []byte{
|
|
||||||
0x0a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61, 0x73, 0x69, 0x2e, 0x70, 0x72,
|
|
||||||
0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
|
||||||
0x76, 0x31, 0x1a, 0x11, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2e,
|
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x02, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73,
|
|
||||||
0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
|
||||||
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
||||||
0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18,
|
|
||||||
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x77,
|
|
||||||
0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79,
|
|
||||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44,
|
|
||||||
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x55, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69,
|
|
||||||
0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e,
|
|
||||||
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
|
|
||||||
0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
||||||
0x74, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74,
|
|
||||||
0x72, 0x79, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12,
|
|
||||||
0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05,
|
|
||||||
0x73, 0x74, 0x64, 0x69, 0x6e, 0x1a, 0x3e, 0x0a, 0x10, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e,
|
|
||||||
0x6d, 0x65, 0x6e, 0x74, 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, 0x22, 0x61, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73,
|
|
||||||
0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a,
|
|
||||||
0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
||||||
0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72,
|
|
||||||
0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
|
|
||||||
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
|
||||||
0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x22, 0x2d, 0x0a, 0x11, 0x4c, 0x6f, 0x6f, 0x6b,
|
|
||||||
0x75, 0x70, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
|
|
||||||
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
||||||
0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x3e, 0x0a, 0x12, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
|
|
||||||
0x70, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
|
|
||||||
0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
|
|
||||||
0x68, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
||||||
0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x58, 0x0a, 0x0b, 0x48, 0x65, 0x6c, 0x70, 0x52,
|
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
|
|
||||||
0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
||||||
0x32, 0x1e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
|
||||||
0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
|
|
||||||
0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
|
|
||||||
0x65, 0x22, 0x79, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
|
|
||||||
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
||||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
||||||
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
|
|
||||||
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73,
|
|
||||||
0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x75, 0x69, 0x6c,
|
|
||||||
0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70,
|
|
||||||
0x65, 0x63, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x22, 0x7c, 0x0a, 0x0c,
|
|
||||||
0x48, 0x65, 0x6c, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
|
||||||
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
||||||
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
||||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
|
||||||
0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x03,
|
|
||||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70,
|
|
||||||
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
|
|
||||||
0x52, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x42, 0xa6, 0x01, 0x0a, 0x11, 0x63,
|
|
||||||
0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
|
||||||
0x42, 0x09, 0x57, 0x61, 0x73, 0x69, 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_wasi_proto_rawDescOnce sync.Once
|
|
||||||
file_rpc_v1_wasi_proto_rawDescData = file_rpc_v1_wasi_proto_rawDesc
|
|
||||||
)
|
|
||||||
|
|
||||||
func file_rpc_v1_wasi_proto_rawDescGZIP() []byte {
|
|
||||||
file_rpc_v1_wasi_proto_rawDescOnce.Do(func() {
|
|
||||||
file_rpc_v1_wasi_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_v1_wasi_proto_rawDescData)
|
|
||||||
})
|
|
||||||
return file_rpc_v1_wasi_proto_rawDescData
|
|
||||||
}
|
|
||||||
|
|
||||||
var file_rpc_v1_wasi_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
||||||
var file_rpc_v1_wasi_proto_goTypes = []interface{}{
|
|
||||||
(*ProcessStartRequest)(nil), // 0: buildr.rpc.v1.ProcessStartRequest
|
|
||||||
(*ProcessStartResponse)(nil), // 1: buildr.rpc.v1.ProcessStartResponse
|
|
||||||
(*LookupPathRequest)(nil), // 2: buildr.rpc.v1.LookupPathRequest
|
|
||||||
(*LookupPathResponse)(nil), // 3: buildr.rpc.v1.LookupPathResponse
|
|
||||||
(*HelpRequest)(nil), // 4: buildr.rpc.v1.HelpRequest
|
|
||||||
(*TaskExample)(nil), // 5: buildr.rpc.v1.TaskExample
|
|
||||||
(*HelpResponse)(nil), // 6: buildr.rpc.v1.HelpResponse
|
|
||||||
nil, // 7: buildr.rpc.v1.ProcessStartRequest.EnvironmentEntry
|
|
||||||
(*ModuleReference)(nil), // 8: buildr.rpc.v1.ModuleReference
|
|
||||||
(*TaskSpec)(nil), // 9: buildr.rpc.v1.TaskSpec
|
|
||||||
}
|
|
||||||
var file_rpc_v1_wasi_proto_depIdxs = []int32{
|
|
||||||
7, // 0: buildr.rpc.v1.ProcessStartRequest.environment:type_name -> buildr.rpc.v1.ProcessStartRequest.EnvironmentEntry
|
|
||||||
8, // 1: buildr.rpc.v1.HelpRequest.module_reference:type_name -> buildr.rpc.v1.ModuleReference
|
|
||||||
9, // 2: buildr.rpc.v1.TaskExample.task_spec:type_name -> buildr.rpc.v1.TaskSpec
|
|
||||||
5, // 3: buildr.rpc.v1.HelpResponse.examples:type_name -> buildr.rpc.v1.TaskExample
|
|
||||||
4, // [4:4] is the sub-list for method output_type
|
|
||||||
4, // [4:4] is the sub-list for method input_type
|
|
||||||
4, // [4:4] is the sub-list for extension type_name
|
|
||||||
4, // [4:4] is the sub-list for extension extendee
|
|
||||||
0, // [0:4] is the sub-list for field type_name
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { file_rpc_v1_wasi_proto_init() }
|
|
||||||
func file_rpc_v1_wasi_proto_init() {
|
|
||||||
if File_rpc_v1_wasi_proto != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
file_rpc_v1_spec_proto_init()
|
|
||||||
if !protoimpl.UnsafeEnabled {
|
|
||||||
file_rpc_v1_wasi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ProcessStartRequest); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_rpc_v1_wasi_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*ProcessStartResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_rpc_v1_wasi_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*LookupPathRequest); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_rpc_v1_wasi_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*LookupPathResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_rpc_v1_wasi_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*HelpRequest); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_rpc_v1_wasi_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*TaskExample); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_rpc_v1_wasi_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*HelpResponse); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
type x struct{}
|
|
||||||
out := protoimpl.TypeBuilder{
|
|
||||||
File: protoimpl.DescBuilder{
|
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
||||||
RawDescriptor: file_rpc_v1_wasi_proto_rawDesc,
|
|
||||||
NumEnums: 0,
|
|
||||||
NumMessages: 8,
|
|
||||||
NumExtensions: 0,
|
|
||||||
NumServices: 0,
|
|
||||||
},
|
|
||||||
GoTypes: file_rpc_v1_wasi_proto_goTypes,
|
|
||||||
DependencyIndexes: file_rpc_v1_wasi_proto_depIdxs,
|
|
||||||
MessageInfos: file_rpc_v1_wasi_proto_msgTypes,
|
|
||||||
}.Build()
|
|
||||||
File_rpc_v1_wasi_proto = out.File
|
|
||||||
file_rpc_v1_wasi_proto_rawDesc = nil
|
|
||||||
file_rpc_v1_wasi_proto_goTypes = nil
|
|
||||||
file_rpc_v1_wasi_proto_depIdxs = nil
|
|
||||||
}
|
|
231
generated/wasi/v1/rpcv1connect/wasi.connect.go
Normal file
231
generated/wasi/v1/rpcv1connect/wasi.connect.go
Normal file
|
@ -0,0 +1,231 @@
|
||||||
|
// Code generated by protoc-gen-connect-go. DO NOT EDIT.
|
||||||
|
//
|
||||||
|
// Source: wasi/v1/wasi.proto
|
||||||
|
|
||||||
|
package rpcv1connect
|
||||||
|
|
||||||
|
import (
|
||||||
|
v1 "code.icb4dc0.de/buildr/api/generated/remote/v1"
|
||||||
|
v11 "code.icb4dc0.de/buildr/api/generated/wasi/v1"
|
||||||
|
connect "connectrpc.com/connect"
|
||||||
|
context "context"
|
||||||
|
errors "errors"
|
||||||
|
http "net/http"
|
||||||
|
strings "strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion to ensure that this generated file and the connect package are
|
||||||
|
// compatible. If you get a compiler error that this constant is not defined, this code was
|
||||||
|
// generated with a version of connect newer than the one compiled into your binary. You can fix the
|
||||||
|
// problem by either regenerating this code with an older version of connect or updating the connect
|
||||||
|
// version compiled into your binary.
|
||||||
|
const _ = connect.IsAtLeastVersion0_1_0
|
||||||
|
|
||||||
|
const (
|
||||||
|
// WasiExecutorServiceName is the fully-qualified name of the WasiExecutorService service.
|
||||||
|
WasiExecutorServiceName = "buildr.rpc.v1.WasiExecutorService"
|
||||||
|
// ExecutorHostServiceName is the fully-qualified name of the ExecutorHostService service.
|
||||||
|
ExecutorHostServiceName = "buildr.rpc.v1.ExecutorHostService"
|
||||||
|
)
|
||||||
|
|
||||||
|
// These constants are the fully-qualified names of the RPCs defined in this package. They're
|
||||||
|
// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
|
||||||
|
//
|
||||||
|
// Note that these are different from the fully-qualified method names used by
|
||||||
|
// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to
|
||||||
|
// reflection-formatted method names, remove the leading slash and convert the remaining slash to a
|
||||||
|
// period.
|
||||||
|
const (
|
||||||
|
// WasiExecutorServiceStartTaskProcedure is the fully-qualified name of the WasiExecutorService's
|
||||||
|
// StartTask RPC.
|
||||||
|
WasiExecutorServiceStartTaskProcedure = "/buildr.rpc.v1.WasiExecutorService/StartTask"
|
||||||
|
// WasiExecutorServiceHelpProcedure is the fully-qualified name of the WasiExecutorService's Help
|
||||||
|
// RPC.
|
||||||
|
WasiExecutorServiceHelpProcedure = "/buildr.rpc.v1.WasiExecutorService/Help"
|
||||||
|
// ExecutorHostServiceProcessStartProcedure is the fully-qualified name of the ExecutorHostService's
|
||||||
|
// ProcessStart RPC.
|
||||||
|
ExecutorHostServiceProcessStartProcedure = "/buildr.rpc.v1.ExecutorHostService/ProcessStart"
|
||||||
|
// ExecutorHostServiceLookupPathProcedure is the fully-qualified name of the ExecutorHostService's
|
||||||
|
// LookupPath RPC.
|
||||||
|
ExecutorHostServiceLookupPathProcedure = "/buildr.rpc.v1.ExecutorHostService/LookupPath"
|
||||||
|
)
|
||||||
|
|
||||||
|
// WasiExecutorServiceClient is a client for the buildr.rpc.v1.WasiExecutorService service.
|
||||||
|
type WasiExecutorServiceClient interface {
|
||||||
|
StartTask(context.Context, *connect.Request[v1.StartTaskRequest]) (*connect.Response[v11.StartTaskResponse], error)
|
||||||
|
Help(context.Context, *connect.Request[v11.HelpRequest]) (*connect.Response[v11.HelpResponse], error)
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewWasiExecutorServiceClient constructs a client for the buildr.rpc.v1.WasiExecutorService
|
||||||
|
// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for
|
||||||
|
// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply
|
||||||
|
// the connect.WithGRPC() or connect.WithGRPCWeb() options.
|
||||||
|
//
|
||||||
|
// The URL supplied here should be the base URL for the Connect or gRPC server (for example,
|
||||||
|
// http://api.acme.com or https://acme.com/grpc).
|
||||||
|
func NewWasiExecutorServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) WasiExecutorServiceClient {
|
||||||
|
baseURL = strings.TrimRight(baseURL, "/")
|
||||||
|
return &wasiExecutorServiceClient{
|
||||||
|
startTask: connect.NewClient[v1.StartTaskRequest, v11.StartTaskResponse](
|
||||||
|
httpClient,
|
||||||
|
baseURL+WasiExecutorServiceStartTaskProcedure,
|
||||||
|
opts...,
|
||||||
|
),
|
||||||
|
help: connect.NewClient[v11.HelpRequest, v11.HelpResponse](
|
||||||
|
httpClient,
|
||||||
|
baseURL+WasiExecutorServiceHelpProcedure,
|
||||||
|
opts...,
|
||||||
|
),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// wasiExecutorServiceClient implements WasiExecutorServiceClient.
|
||||||
|
type wasiExecutorServiceClient struct {
|
||||||
|
startTask *connect.Client[v1.StartTaskRequest, v11.StartTaskResponse]
|
||||||
|
help *connect.Client[v11.HelpRequest, v11.HelpResponse]
|
||||||
|
}
|
||||||
|
|
||||||
|
// StartTask calls buildr.rpc.v1.WasiExecutorService.StartTask.
|
||||||
|
func (c *wasiExecutorServiceClient) StartTask(ctx context.Context, req *connect.Request[v1.StartTaskRequest]) (*connect.Response[v11.StartTaskResponse], error) {
|
||||||
|
return c.startTask.CallUnary(ctx, req)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Help calls buildr.rpc.v1.WasiExecutorService.Help.
|
||||||
|
func (c *wasiExecutorServiceClient) Help(ctx context.Context, req *connect.Request[v11.HelpRequest]) (*connect.Response[v11.HelpResponse], error) {
|
||||||
|
return c.help.CallUnary(ctx, req)
|
||||||
|
}
|
||||||
|
|
||||||
|
// WasiExecutorServiceHandler is an implementation of the buildr.rpc.v1.WasiExecutorService service.
|
||||||
|
type WasiExecutorServiceHandler interface {
|
||||||
|
StartTask(context.Context, *connect.Request[v1.StartTaskRequest]) (*connect.Response[v11.StartTaskResponse], error)
|
||||||
|
Help(context.Context, *connect.Request[v11.HelpRequest]) (*connect.Response[v11.HelpResponse], error)
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewWasiExecutorServiceHandler builds an HTTP handler from the service implementation. It returns
|
||||||
|
// the path on which to mount the handler and the handler itself.
|
||||||
|
//
|
||||||
|
// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf
|
||||||
|
// and JSON codecs. They also support gzip compression.
|
||||||
|
func NewWasiExecutorServiceHandler(svc WasiExecutorServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) {
|
||||||
|
wasiExecutorServiceStartTaskHandler := connect.NewUnaryHandler(
|
||||||
|
WasiExecutorServiceStartTaskProcedure,
|
||||||
|
svc.StartTask,
|
||||||
|
opts...,
|
||||||
|
)
|
||||||
|
wasiExecutorServiceHelpHandler := connect.NewUnaryHandler(
|
||||||
|
WasiExecutorServiceHelpProcedure,
|
||||||
|
svc.Help,
|
||||||
|
opts...,
|
||||||
|
)
|
||||||
|
return "/buildr.rpc.v1.WasiExecutorService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
switch r.URL.Path {
|
||||||
|
case WasiExecutorServiceStartTaskProcedure:
|
||||||
|
wasiExecutorServiceStartTaskHandler.ServeHTTP(w, r)
|
||||||
|
case WasiExecutorServiceHelpProcedure:
|
||||||
|
wasiExecutorServiceHelpHandler.ServeHTTP(w, r)
|
||||||
|
default:
|
||||||
|
http.NotFound(w, r)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnimplementedWasiExecutorServiceHandler returns CodeUnimplemented from all methods.
|
||||||
|
type UnimplementedWasiExecutorServiceHandler struct{}
|
||||||
|
|
||||||
|
func (UnimplementedWasiExecutorServiceHandler) StartTask(context.Context, *connect.Request[v1.StartTaskRequest]) (*connect.Response[v11.StartTaskResponse], error) {
|
||||||
|
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("buildr.rpc.v1.WasiExecutorService.StartTask is not implemented"))
|
||||||
|
}
|
||||||
|
|
||||||
|
func (UnimplementedWasiExecutorServiceHandler) Help(context.Context, *connect.Request[v11.HelpRequest]) (*connect.Response[v11.HelpResponse], error) {
|
||||||
|
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("buildr.rpc.v1.WasiExecutorService.Help is not implemented"))
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExecutorHostServiceClient is a client for the buildr.rpc.v1.ExecutorHostService service.
|
||||||
|
type ExecutorHostServiceClient interface {
|
||||||
|
ProcessStart(context.Context, *connect.Request[v11.ProcessStartRequest]) (*connect.Response[v11.ProcessStartResponse], error)
|
||||||
|
LookupPath(context.Context, *connect.Request[v11.LookupPathRequest]) (*connect.Response[v11.LookupPathResponse], error)
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewExecutorHostServiceClient constructs a client for the buildr.rpc.v1.ExecutorHostService
|
||||||
|
// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for
|
||||||
|
// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply
|
||||||
|
// the connect.WithGRPC() or connect.WithGRPCWeb() options.
|
||||||
|
//
|
||||||
|
// The URL supplied here should be the base URL for the Connect or gRPC server (for example,
|
||||||
|
// http://api.acme.com or https://acme.com/grpc).
|
||||||
|
func NewExecutorHostServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ExecutorHostServiceClient {
|
||||||
|
baseURL = strings.TrimRight(baseURL, "/")
|
||||||
|
return &executorHostServiceClient{
|
||||||
|
processStart: connect.NewClient[v11.ProcessStartRequest, v11.ProcessStartResponse](
|
||||||
|
httpClient,
|
||||||
|
baseURL+ExecutorHostServiceProcessStartProcedure,
|
||||||
|
opts...,
|
||||||
|
),
|
||||||
|
lookupPath: connect.NewClient[v11.LookupPathRequest, v11.LookupPathResponse](
|
||||||
|
httpClient,
|
||||||
|
baseURL+ExecutorHostServiceLookupPathProcedure,
|
||||||
|
opts...,
|
||||||
|
),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// executorHostServiceClient implements ExecutorHostServiceClient.
|
||||||
|
type executorHostServiceClient struct {
|
||||||
|
processStart *connect.Client[v11.ProcessStartRequest, v11.ProcessStartResponse]
|
||||||
|
lookupPath *connect.Client[v11.LookupPathRequest, v11.LookupPathResponse]
|
||||||
|
}
|
||||||
|
|
||||||
|
// ProcessStart calls buildr.rpc.v1.ExecutorHostService.ProcessStart.
|
||||||
|
func (c *executorHostServiceClient) ProcessStart(ctx context.Context, req *connect.Request[v11.ProcessStartRequest]) (*connect.Response[v11.ProcessStartResponse], error) {
|
||||||
|
return c.processStart.CallUnary(ctx, req)
|
||||||
|
}
|
||||||
|
|
||||||
|
// LookupPath calls buildr.rpc.v1.ExecutorHostService.LookupPath.
|
||||||
|
func (c *executorHostServiceClient) LookupPath(ctx context.Context, req *connect.Request[v11.LookupPathRequest]) (*connect.Response[v11.LookupPathResponse], error) {
|
||||||
|
return c.lookupPath.CallUnary(ctx, req)
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExecutorHostServiceHandler is an implementation of the buildr.rpc.v1.ExecutorHostService service.
|
||||||
|
type ExecutorHostServiceHandler interface {
|
||||||
|
ProcessStart(context.Context, *connect.Request[v11.ProcessStartRequest]) (*connect.Response[v11.ProcessStartResponse], error)
|
||||||
|
LookupPath(context.Context, *connect.Request[v11.LookupPathRequest]) (*connect.Response[v11.LookupPathResponse], error)
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewExecutorHostServiceHandler builds an HTTP handler from the service implementation. It returns
|
||||||
|
// the path on which to mount the handler and the handler itself.
|
||||||
|
//
|
||||||
|
// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf
|
||||||
|
// and JSON codecs. They also support gzip compression.
|
||||||
|
func NewExecutorHostServiceHandler(svc ExecutorHostServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) {
|
||||||
|
executorHostServiceProcessStartHandler := connect.NewUnaryHandler(
|
||||||
|
ExecutorHostServiceProcessStartProcedure,
|
||||||
|
svc.ProcessStart,
|
||||||
|
opts...,
|
||||||
|
)
|
||||||
|
executorHostServiceLookupPathHandler := connect.NewUnaryHandler(
|
||||||
|
ExecutorHostServiceLookupPathProcedure,
|
||||||
|
svc.LookupPath,
|
||||||
|
opts...,
|
||||||
|
)
|
||||||
|
return "/buildr.rpc.v1.ExecutorHostService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
switch r.URL.Path {
|
||||||
|
case ExecutorHostServiceProcessStartProcedure:
|
||||||
|
executorHostServiceProcessStartHandler.ServeHTTP(w, r)
|
||||||
|
case ExecutorHostServiceLookupPathProcedure:
|
||||||
|
executorHostServiceLookupPathHandler.ServeHTTP(w, r)
|
||||||
|
default:
|
||||||
|
http.NotFound(w, r)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnimplementedExecutorHostServiceHandler returns CodeUnimplemented from all methods.
|
||||||
|
type UnimplementedExecutorHostServiceHandler struct{}
|
||||||
|
|
||||||
|
func (UnimplementedExecutorHostServiceHandler) ProcessStart(context.Context, *connect.Request[v11.ProcessStartRequest]) (*connect.Response[v11.ProcessStartResponse], error) {
|
||||||
|
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("buildr.rpc.v1.ExecutorHostService.ProcessStart is not implemented"))
|
||||||
|
}
|
||||||
|
|
||||||
|
func (UnimplementedExecutorHostServiceHandler) LookupPath(context.Context, *connect.Request[v11.LookupPathRequest]) (*connect.Response[v11.LookupPathResponse], error) {
|
||||||
|
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("buildr.rpc.v1.ExecutorHostService.LookupPath is not implemented"))
|
||||||
|
}
|
899
generated/wasi/v1/wasi.pb.go
Normal file
899
generated/wasi/v1/wasi.pb.go
Normal file
|
@ -0,0 +1,899 @@
|
||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.31.0
|
||||||
|
// protoc (unknown)
|
||||||
|
// source: wasi/v1/wasi.proto
|
||||||
|
|
||||||
|
package rpcv1
|
||||||
|
|
||||||
|
import (
|
||||||
|
v1 "code.icb4dc0.de/buildr/api/generated/common/v1"
|
||||||
|
v11 "code.icb4dc0.de/buildr/api/generated/remote/v1"
|
||||||
|
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 HelpRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
ModuleReference *v1.ModuleReference `protobuf:"bytes,1,opt,name=module_reference,json=moduleReference,proto3" json:"module_reference,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HelpRequest) Reset() {
|
||||||
|
*x = HelpRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HelpRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*HelpRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *HelpRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 HelpRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*HelpRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HelpRequest) GetModuleReference() *v1.ModuleReference {
|
||||||
|
if x != nil {
|
||||||
|
return x.ModuleReference
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type TaskExample struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||||
|
TaskSpec *v1.TaskSpec `protobuf:"bytes,3,opt,name=task_spec,json=taskSpec,proto3" json:"task_spec,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *TaskExample) Reset() {
|
||||||
|
*x = TaskExample{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *TaskExample) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*TaskExample) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *TaskExample) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 TaskExample.ProtoReflect.Descriptor instead.
|
||||||
|
func (*TaskExample) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{1}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *TaskExample) GetName() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Name
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *TaskExample) GetDescription() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Description
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *TaskExample) GetTaskSpec() *v1.TaskSpec {
|
||||||
|
if x != nil {
|
||||||
|
return x.TaskSpec
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type HelpResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
||||||
|
Examples []*TaskExample `protobuf:"bytes,3,rep,name=examples,proto3" json:"examples,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HelpResponse) Reset() {
|
||||||
|
*x = HelpResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HelpResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*HelpResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *HelpResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 HelpResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*HelpResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{2}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HelpResponse) GetName() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Name
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HelpResponse) GetDescription() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Description
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *HelpResponse) GetExamples() []*TaskExample {
|
||||||
|
if x != nil {
|
||||||
|
return x.Examples
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type PluginInventory struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Specs []*PluginInventory_InventorySpec `protobuf:"bytes,1,rep,name=specs,proto3" json:"specs,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PluginInventory) Reset() {
|
||||||
|
*x = PluginInventory{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[3]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PluginInventory) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PluginInventory) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PluginInventory) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 PluginInventory.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PluginInventory) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{3}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PluginInventory) GetSpecs() []*PluginInventory_InventorySpec {
|
||||||
|
if x != nil {
|
||||||
|
return x.Specs
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type StartTaskResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StartTaskResponse) Reset() {
|
||||||
|
*x = StartTaskResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[4]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StartTaskResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*StartTaskResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *StartTaskResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 StartTaskResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*StartTaskResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{4}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StartTaskResponse) GetError() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Error
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type ProcessStartRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||||||
|
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
|
||||||
|
WorkingDirectory string `protobuf:"bytes,3,opt,name=working_directory,json=workingDirectory,proto3" json:"working_directory,omitempty"`
|
||||||
|
Environment map[string]string `protobuf:"bytes,4,rep,name=environment,proto3" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
|
Stdin []byte `protobuf:"bytes,5,opt,name=stdin,proto3" json:"stdin,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartRequest) Reset() {
|
||||||
|
*x = ProcessStartRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[5]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*ProcessStartRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ProcessStartRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 ProcessStartRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*ProcessStartRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{5}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartRequest) GetCommand() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Command
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartRequest) GetArgs() []string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Args
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartRequest) GetWorkingDirectory() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.WorkingDirectory
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartRequest) GetEnvironment() map[string]string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Environment
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartRequest) GetStdin() []byte {
|
||||||
|
if x != nil {
|
||||||
|
return x.Stdin
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ProcessStartResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
|
||||||
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
||||||
|
Stderr []byte `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartResponse) Reset() {
|
||||||
|
*x = ProcessStartResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[6]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*ProcessStartResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ProcessStartResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 ProcessStartResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*ProcessStartResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{6}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartResponse) GetExitCode() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.ExitCode
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartResponse) GetError() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Error
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ProcessStartResponse) GetStderr() []byte {
|
||||||
|
if x != nil {
|
||||||
|
return x.Stderr
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type LookupPathRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *LookupPathRequest) Reset() {
|
||||||
|
*x = LookupPathRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[7]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *LookupPathRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*LookupPathRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *LookupPathRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 LookupPathRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*LookupPathRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{7}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *LookupPathRequest) GetCommand() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Command
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type LookupPathResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||||
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *LookupPathResponse) Reset() {
|
||||||
|
*x = LookupPathResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[8]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *LookupPathResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*LookupPathResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *LookupPathResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_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 LookupPathResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*LookupPathResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{8}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *LookupPathResponse) GetPath() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Path
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *LookupPathResponse) GetError() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Error
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type PluginInventory_InventorySpec struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
ModuleRef *v1.ModuleReference `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"`
|
||||||
|
EmptySpec []byte `protobuf:"bytes,2,opt,name=empty_spec,json=emptySpec,proto3" json:"empty_spec,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PluginInventory_InventorySpec) Reset() {
|
||||||
|
*x = PluginInventory_InventorySpec{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[9]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PluginInventory_InventorySpec) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PluginInventory_InventorySpec) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PluginInventory_InventorySpec) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_wasi_v1_wasi_proto_msgTypes[9]
|
||||||
|
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 PluginInventory_InventorySpec.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PluginInventory_InventorySpec) Descriptor() ([]byte, []int) {
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescGZIP(), []int{3, 0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PluginInventory_InventorySpec) GetModuleRef() *v1.ModuleReference {
|
||||||
|
if x != nil {
|
||||||
|
return x.ModuleRef
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PluginInventory_InventorySpec) GetEmptySpec() []byte {
|
||||||
|
if x != nil {
|
||||||
|
return x.EmptySpec
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
var File_wasi_v1_wasi_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
|
var file_wasi_v1_wasi_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x12, 0x77, 0x61, 0x73, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61, 0x73, 0x69, 0x2e, 0x70,
|
||||||
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63,
|
||||||
|
0x2e, 0x76, 0x31, 0x1a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73,
|
||||||
|
0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x72, 0x65, 0x6d, 0x6f, 0x74,
|
||||||
|
0x65, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
|
||||||
|
0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x0b, 0x48, 0x65, 0x6c, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
|
0x73, 0x74, 0x12, 0x49, 0x0a, 0x10, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66,
|
||||||
|
0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62,
|
||||||
|
0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64,
|
||||||
|
0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x6d, 0x6f,
|
||||||
|
0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x79, 0x0a,
|
||||||
|
0x0b, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||||||
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||||
|
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
||||||
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
||||||
|
0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18,
|
||||||
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72,
|
||||||
|
0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x52, 0x08,
|
||||||
|
0x74, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x22, 0x7c, 0x0a, 0x0c, 0x48, 0x65, 0x6c, 0x70,
|
||||||
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
||||||
|
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
|
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36,
|
||||||
|
0x0a, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
||||||
|
0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
||||||
|
0x2e, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x08, 0x65, 0x78,
|
||||||
|
0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x75, 0x67, 0x69,
|
||||||
|
0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x70,
|
||||||
|
0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x75, 0x69, 0x6c,
|
||||||
|
0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e,
|
||||||
|
0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74,
|
||||||
|
0x6f, 0x72, 0x79, 0x53, 0x70, 0x65, 0x63, 0x52, 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x1a, 0x6d,
|
||||||
|
0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x70, 0x65, 0x63, 0x12,
|
||||||
|
0x3d, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63,
|
||||||
|
0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65,
|
||||||
|
0x6e, 0x63, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x12, 0x1d,
|
||||||
|
0x0a, 0x0a, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01,
|
||||||
|
0x28, 0x0c, 0x52, 0x09, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x53, 0x70, 0x65, 0x63, 0x22, 0x29, 0x0a,
|
||||||
|
0x11, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
|
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x9d, 0x02, 0x0a, 0x13, 0x50, 0x72, 0x6f,
|
||||||
|
0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
|
0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72,
|
||||||
|
0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x2b,
|
||||||
|
0x0a, 0x11, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
|
||||||
|
0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x69,
|
||||||
|
0x6e, 0x67, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x55, 0x0a, 0x0b, 0x65,
|
||||||
|
0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
|
||||||
|
0x32, 0x33, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
||||||
|
0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71,
|
||||||
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
|
||||||
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65,
|
||||||
|
0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||||
|
0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x1a, 0x3e, 0x0a, 0x10, 0x45, 0x6e, 0x76, 0x69,
|
||||||
|
0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 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, 0x22, 0x61, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x63,
|
||||||
|
0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
|
0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a,
|
||||||
|
0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
|
||||||
|
0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x03, 0x20,
|
||||||
|
0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x22, 0x2d, 0x0a, 0x11, 0x4c,
|
||||||
|
0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
|
0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x3e, 0x0a, 0x12, 0x4c, 0x6f,
|
||||||
|
0x6f, 0x6b, 0x75, 0x70, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
|
0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||||
|
0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20,
|
||||||
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xa6, 0x01, 0x0a, 0x13, 0x57,
|
||||||
|
0x61, 0x73, 0x69, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||||
|
0x63, 0x65, 0x12, 0x4e, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12,
|
||||||
|
0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
|
||||||
|
0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
|
0x1a, 0x20, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
||||||
|
0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
|
0x73, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x48, 0x65, 0x6c, 0x70, 0x12, 0x1a, 0x2e, 0x62, 0x75, 0x69,
|
||||||
|
0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x6c, 0x70, 0x52,
|
||||||
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e,
|
||||||
|
0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x6c, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
|
0x6e, 0x73, 0x65, 0x32, 0xc1, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72,
|
||||||
|
0x48, 0x6f, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x0c, 0x50,
|
||||||
|
0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x22, 0x2e, 0x62, 0x75,
|
||||||
|
0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63,
|
||||||
|
0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||||
|
0x23, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e,
|
||||||
|
0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||||
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x50, 0x61,
|
||||||
|
0x74, 0x68, 0x12, 0x20, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
||||||
|
0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71,
|
||||||
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70,
|
||||||
|
0x63, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x50, 0x61, 0x74, 0x68, 0x52,
|
||||||
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xaa, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e,
|
||||||
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x72, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x57,
|
||||||
|
0x61, 0x73, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x02, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6f,
|
||||||
|
0x64, 0x65, 0x2e, 0x69, 0x63, 0x62, 0x34, 0x64, 0x63, 0x30, 0x2e, 0x64, 0x65, 0x2f, 0x62, 0x75,
|
||||||
|
0x69, 0x6c, 0x64, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
|
||||||
|
0x65, 0x64, 0x2f, 0x77, 0x61, 0x73, 0x69, 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_wasi_v1_wasi_proto_rawDescOnce sync.Once
|
||||||
|
file_wasi_v1_wasi_proto_rawDescData = file_wasi_v1_wasi_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
|
func file_wasi_v1_wasi_proto_rawDescGZIP() []byte {
|
||||||
|
file_wasi_v1_wasi_proto_rawDescOnce.Do(func() {
|
||||||
|
file_wasi_v1_wasi_proto_rawDescData = protoimpl.X.CompressGZIP(file_wasi_v1_wasi_proto_rawDescData)
|
||||||
|
})
|
||||||
|
return file_wasi_v1_wasi_proto_rawDescData
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_wasi_v1_wasi_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||||
|
var file_wasi_v1_wasi_proto_goTypes = []interface{}{
|
||||||
|
(*HelpRequest)(nil), // 0: buildr.rpc.v1.HelpRequest
|
||||||
|
(*TaskExample)(nil), // 1: buildr.rpc.v1.TaskExample
|
||||||
|
(*HelpResponse)(nil), // 2: buildr.rpc.v1.HelpResponse
|
||||||
|
(*PluginInventory)(nil), // 3: buildr.rpc.v1.PluginInventory
|
||||||
|
(*StartTaskResponse)(nil), // 4: buildr.rpc.v1.StartTaskResponse
|
||||||
|
(*ProcessStartRequest)(nil), // 5: buildr.rpc.v1.ProcessStartRequest
|
||||||
|
(*ProcessStartResponse)(nil), // 6: buildr.rpc.v1.ProcessStartResponse
|
||||||
|
(*LookupPathRequest)(nil), // 7: buildr.rpc.v1.LookupPathRequest
|
||||||
|
(*LookupPathResponse)(nil), // 8: buildr.rpc.v1.LookupPathResponse
|
||||||
|
(*PluginInventory_InventorySpec)(nil), // 9: buildr.rpc.v1.PluginInventory.InventorySpec
|
||||||
|
nil, // 10: buildr.rpc.v1.ProcessStartRequest.EnvironmentEntry
|
||||||
|
(*v1.ModuleReference)(nil), // 11: buildr.rpc.v1.ModuleReference
|
||||||
|
(*v1.TaskSpec)(nil), // 12: buildr.rpc.v1.TaskSpec
|
||||||
|
(*v11.StartTaskRequest)(nil), // 13: buildr.rpc.v1.StartTaskRequest
|
||||||
|
}
|
||||||
|
var file_wasi_v1_wasi_proto_depIdxs = []int32{
|
||||||
|
11, // 0: buildr.rpc.v1.HelpRequest.module_reference:type_name -> buildr.rpc.v1.ModuleReference
|
||||||
|
12, // 1: buildr.rpc.v1.TaskExample.task_spec:type_name -> buildr.rpc.v1.TaskSpec
|
||||||
|
1, // 2: buildr.rpc.v1.HelpResponse.examples:type_name -> buildr.rpc.v1.TaskExample
|
||||||
|
9, // 3: buildr.rpc.v1.PluginInventory.specs:type_name -> buildr.rpc.v1.PluginInventory.InventorySpec
|
||||||
|
10, // 4: buildr.rpc.v1.ProcessStartRequest.environment:type_name -> buildr.rpc.v1.ProcessStartRequest.EnvironmentEntry
|
||||||
|
11, // 5: buildr.rpc.v1.PluginInventory.InventorySpec.module_ref:type_name -> buildr.rpc.v1.ModuleReference
|
||||||
|
13, // 6: buildr.rpc.v1.WasiExecutorService.StartTask:input_type -> buildr.rpc.v1.StartTaskRequest
|
||||||
|
0, // 7: buildr.rpc.v1.WasiExecutorService.Help:input_type -> buildr.rpc.v1.HelpRequest
|
||||||
|
5, // 8: buildr.rpc.v1.ExecutorHostService.ProcessStart:input_type -> buildr.rpc.v1.ProcessStartRequest
|
||||||
|
7, // 9: buildr.rpc.v1.ExecutorHostService.LookupPath:input_type -> buildr.rpc.v1.LookupPathRequest
|
||||||
|
4, // 10: buildr.rpc.v1.WasiExecutorService.StartTask:output_type -> buildr.rpc.v1.StartTaskResponse
|
||||||
|
2, // 11: buildr.rpc.v1.WasiExecutorService.Help:output_type -> buildr.rpc.v1.HelpResponse
|
||||||
|
6, // 12: buildr.rpc.v1.ExecutorHostService.ProcessStart:output_type -> buildr.rpc.v1.ProcessStartResponse
|
||||||
|
8, // 13: buildr.rpc.v1.ExecutorHostService.LookupPath:output_type -> buildr.rpc.v1.LookupPathResponse
|
||||||
|
10, // [10:14] is the sub-list for method output_type
|
||||||
|
6, // [6:10] is the sub-list for method input_type
|
||||||
|
6, // [6:6] is the sub-list for extension type_name
|
||||||
|
6, // [6:6] is the sub-list for extension extendee
|
||||||
|
0, // [0:6] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_wasi_v1_wasi_proto_init() }
|
||||||
|
func file_wasi_v1_wasi_proto_init() {
|
||||||
|
if File_wasi_v1_wasi_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*HelpRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*TaskExample); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*HelpResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PluginInventory); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*StartTaskResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ProcessStartRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ProcessStartResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*LookupPathRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*LookupPathResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_wasi_v1_wasi_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PluginInventory_InventorySpec); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
type x struct{}
|
||||||
|
out := protoimpl.TypeBuilder{
|
||||||
|
File: protoimpl.DescBuilder{
|
||||||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
|
RawDescriptor: file_wasi_v1_wasi_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 11,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 2,
|
||||||
|
},
|
||||||
|
GoTypes: file_wasi_v1_wasi_proto_goTypes,
|
||||||
|
DependencyIndexes: file_wasi_v1_wasi_proto_depIdxs,
|
||||||
|
MessageInfos: file_wasi_v1_wasi_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_wasi_v1_wasi_proto = out.File
|
||||||
|
file_wasi_v1_wasi_proto_rawDesc = nil
|
||||||
|
file_wasi_v1_wasi_proto_goTypes = nil
|
||||||
|
file_wasi_v1_wasi_proto_depIdxs = nil
|
||||||
|
}
|
File diff suppressed because it is too large
Load diff
1
go.mod
1
go.mod
|
@ -10,6 +10,7 @@ require (
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
connectrpc.com/connect v1.11.1 // indirect
|
||||||
github.com/golang/protobuf v1.5.3 // indirect
|
github.com/golang/protobuf v1.5.3 // indirect
|
||||||
golang.org/x/net v0.14.0 // indirect
|
golang.org/x/net v0.14.0 // indirect
|
||||||
golang.org/x/sys v0.11.0 // indirect
|
golang.org/x/sys v0.11.0 // indirect
|
||||||
|
|
2
go.sum
2
go.sum
|
@ -1,3 +1,5 @@
|
||||||
|
connectrpc.com/connect v1.11.1 h1:dqRwblixqkVh+OFBOOL1yIf1jS/yP0MSJLijRj29bFg=
|
||||||
|
connectrpc.com/connect v1.11.1/go.mod h1:3AGaO6RRGMx5IKFfqbe3hvK1NqLosFNP2BxDYTPmNPo=
|
||||||
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
||||||
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
|
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
|
||||||
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
|
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
|
||||||
|
|
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
||||||
|
|
||||||
package buildr.rpc.v1;
|
package buildr.rpc.v1;
|
||||||
|
|
||||||
import "rpc/v1/spec.proto";
|
import "common/v1/spec.proto";
|
||||||
|
|
||||||
message Buildr {
|
message Buildr {
|
||||||
message Repo {
|
message Repo {
|
||||||
|
@ -73,14 +73,6 @@ message Result {
|
||||||
string error = 2;
|
string error = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PluginInventory {
|
|
||||||
message InventorySpec {
|
|
||||||
ModuleReference module_ref = 1;
|
|
||||||
bytes empty_spec = 2;
|
|
||||||
}
|
|
||||||
repeated InventorySpec specs = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message ExecutionClientMessage {
|
message ExecutionClientMessage {
|
||||||
oneof meta {
|
oneof meta {
|
||||||
bytes message_id = 1;
|
bytes message_id = 1;
|
||||||
|
@ -112,3 +104,16 @@ message ExecutionServerMessage {
|
||||||
service ExecutorService {
|
service ExecutorService {
|
||||||
rpc ExecuteStream(stream ExecutionClientMessage) returns (stream ExecutionServerMessage);
|
rpc ExecuteStream(stream ExecutionClientMessage) returns (stream ExecutionServerMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message RegisterPluginModuleRequest {
|
||||||
|
ModuleReference module_ref = 1;
|
||||||
|
bytes plugin_payload = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RegisterPluginModuleResponse {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
service PluginManagerService {
|
||||||
|
rpc RegisterPluginModule(RegisterPluginModuleRequest) returns (RegisterPluginModuleResponse);
|
||||||
|
}
|
|
@ -1,44 +0,0 @@
|
||||||
syntax = "proto3";
|
|
||||||
|
|
||||||
package buildr.rpc.v1;
|
|
||||||
|
|
||||||
import "rpc/v1/spec.proto";
|
|
||||||
|
|
||||||
message ProcessStartRequest {
|
|
||||||
string command = 1;
|
|
||||||
repeated string args = 2;
|
|
||||||
string working_directory = 3;
|
|
||||||
map<string, string> environment = 4;
|
|
||||||
bytes stdin = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
message ProcessStartResponse {
|
|
||||||
int32 exit_code = 1;
|
|
||||||
string error = 2;
|
|
||||||
bytes stderr = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
message LookupPathRequest {
|
|
||||||
string command = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message LookupPathResponse {
|
|
||||||
string path = 1;
|
|
||||||
string error = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
message HelpRequest {
|
|
||||||
ModuleReference module_reference = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message TaskExample {
|
|
||||||
string name = 1;
|
|
||||||
string description = 2;
|
|
||||||
TaskSpec task_spec = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
message HelpResponse {
|
|
||||||
string name = 1;
|
|
||||||
string description = 2;
|
|
||||||
repeated TaskExample examples = 3;
|
|
||||||
}
|
|
67
wasi/v1/wasi.proto
Normal file
67
wasi/v1/wasi.proto
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package buildr.rpc.v1;
|
||||||
|
|
||||||
|
import "common/v1/spec.proto";
|
||||||
|
import "remote/v1/executor.proto";
|
||||||
|
|
||||||
|
message HelpRequest {
|
||||||
|
ModuleReference module_reference = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TaskExample {
|
||||||
|
string name = 1;
|
||||||
|
string description = 2;
|
||||||
|
TaskSpec task_spec = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HelpResponse {
|
||||||
|
string name = 1;
|
||||||
|
string description = 2;
|
||||||
|
repeated TaskExample examples = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PluginInventory {
|
||||||
|
message InventorySpec {
|
||||||
|
ModuleReference module_ref = 1;
|
||||||
|
bytes empty_spec = 2;
|
||||||
|
}
|
||||||
|
repeated InventorySpec specs = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message StartTaskResponse {
|
||||||
|
string error = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
service WasiExecutorService {
|
||||||
|
rpc StartTask(StartTaskRequest) returns (StartTaskResponse);
|
||||||
|
rpc Help(HelpRequest) returns (HelpResponse);
|
||||||
|
}
|
||||||
|
|
||||||
|
message ProcessStartRequest {
|
||||||
|
string command = 1;
|
||||||
|
repeated string args = 2;
|
||||||
|
string working_directory = 3;
|
||||||
|
map<string, string> environment = 4;
|
||||||
|
bytes stdin = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ProcessStartResponse {
|
||||||
|
int32 exit_code = 1;
|
||||||
|
string error = 2;
|
||||||
|
bytes stderr = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LookupPathRequest {
|
||||||
|
string command = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LookupPathResponse {
|
||||||
|
string path = 1;
|
||||||
|
string error = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
service ExecutorHostService {
|
||||||
|
rpc ProcessStart(ProcessStartRequest) returns (ProcessStartResponse);
|
||||||
|
rpc LookupPath(LookupPathRequest) returns (LookupPathResponse);
|
||||||
|
}
|
Loading…
Reference in a new issue