mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 13:46:51 +08:00
make api
This commit is contained in:
103
api/api.pb.go
103
api/api.pb.go
@@ -1,45 +1,86 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.21.0
|
||||||
|
// protoc v3.11.1
|
||||||
// source: api.proto
|
// source: api.proto
|
||||||
|
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
fmt "fmt"
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
||||||
math "math"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
const (
|
||||||
var _ = proto.Marshal
|
// Verify that this generated code is sufficiently up-to-date.
|
||||||
var _ = fmt.Errorf
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||||
var _ = math.Inf
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
|
)
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
// is compatible with the proto package it is being compiled against.
|
// of the legacy proto package is being used.
|
||||||
// A compilation error at this line likely means your copy of the
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
// proto package needs to be updated.
|
|
||||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
||||||
|
|
||||||
func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) }
|
var File_api_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var fileDescriptor_00212fb1f9d3bf1c = []byte{
|
var file_api_proto_rawDesc = []byte{
|
||||||
// 265 bytes of a gzipped FileDescriptorProto
|
0x0a, 0x09, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70, 0x69,
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0x3f, 0x4b, 0xf4, 0x40,
|
0x1a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x77, 0x61,
|
||||||
0x10, 0x87, 0xdf, 0x77, 0x85, 0x43, 0x57, 0x4f, 0x64, 0xc1, 0xc2, 0xab, 0x96, 0xab, 0x44, 0x2e,
|
0x67, 0x67, 0x65, 0x72, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e,
|
||||||
0xd9, 0xbb, 0xb3, 0x09, 0x11, 0x8b, 0x9c, 0x85, 0x5c, 0xa5, 0xb5, 0xdd, 0x64, 0x1d, 0x93, 0x3d,
|
0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x8b,
|
||||||
0xe3, 0xce, 0xb2, 0x99, 0xe0, 0x9f, 0x2f, 0x60, 0x61, 0xe7, 0x27, 0x16, 0x92, 0x43, 0x10, 0xed,
|
0x02, 0x92, 0x41, 0x87, 0x02, 0x12, 0x74, 0x0a, 0x0d, 0x4f, 0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65,
|
||||||
0x9e, 0x99, 0x79, 0x66, 0x18, 0x7e, 0x72, 0x0f, 0x82, 0x4b, 0x43, 0x24, 0x26, 0xb5, 0x03, 0xc1,
|
0x6c, 0x20, 0x43, 0x6f, 0x72, 0x65, 0x12, 0x19, 0x4f, 0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65, 0x6c,
|
||||||
0x4d, 0x66, 0x3d, 0xdb, 0xa4, 0x42, 0x9f, 0xb4, 0xcf, 0x50, 0x55, 0x18, 0x0d, 0x05, 0x76, 0xe4,
|
0x20, 0x43, 0x6f, 0x72, 0x65, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x41, 0x50,
|
||||||
0x5b, 0x03, 0xde, 0x13, 0x43, 0xcf, 0xc3, 0xca, 0xea, 0x43, 0x7c, 0x16, 0xef, 0x42, 0xb1, 0x1c,
|
0x49, 0x22, 0x3b, 0x0a, 0x15, 0x4f, 0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65, 0x6c, 0x20, 0x43, 0x6f,
|
||||||
0xdf, 0x78, 0x0c, 0xe0, 0xb1, 0xd1, 0x57, 0x14, 0x51, 0x9d, 0xfc, 0x28, 0x75, 0x88, 0xb4, 0x41,
|
0x72, 0x65, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x22, 0x68, 0x74, 0x74, 0x70,
|
||||||
0xcb, 0xba, 0xb8, 0x5d, 0x4f, 0x2f, 0xe4, 0xf1, 0x9f, 0x43, 0x35, 0xad, 0x99, 0x43, 0x9b, 0x1b,
|
0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f,
|
||||||
0x53, 0x39, 0xae, 0xbb, 0x32, 0xb5, 0xf4, 0x64, 0x68, 0x6b, 0x3a, 0x32, 0x96, 0x22, 0x2e, 0xf7,
|
0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65, 0x6c, 0x69, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x32, 0x0b,
|
||||||
0x17, 0xe9, 0x3c, 0x9d, 0x27, 0x25, 0x32, 0x2c, 0x26, 0x87, 0x0d, 0x59, 0x68, 0x6a, 0x6a, 0x39,
|
0x31, 0x2e, 0x30, 0x2e, 0x30, 0x2d, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x0e, 0x6c, 0x6f, 0x63,
|
||||||
0xcf, 0xb2, 0x2c, 0x3b, 0x13, 0xff, 0xc5, 0xf2, 0x08, 0x42, 0x68, 0x9c, 0xed, 0x9f, 0x34, 0x9b,
|
0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x3a, 0x38, 0x38, 0x38, 0x38, 0x2a, 0x02, 0x01, 0x02, 0x32,
|
||||||
0x96, 0x7c, 0xfe, 0xab, 0x73, 0xb7, 0x96, 0xd7, 0x72, 0xb4, 0x42, 0x88, 0x18, 0xd5, 0xe5, 0xae,
|
0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f,
|
||||||
0x50, 0xa7, 0x45, 0xc7, 0x35, 0x7a, 0xde, 0x4a, 0x9a, 0xe9, 0x11, 0xfd, 0x4c, 0x87, 0x88, 0x0f,
|
0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a,
|
||||||
0xee, 0x05, 0xef, 0x75, 0xf9, 0xaa, 0x07, 0x7b, 0x32, 0x86, 0x8e, 0x6b, 0x8a, 0xee, 0x6d, 0x10,
|
0x73, 0x6f, 0x6e, 0x5a, 0x49, 0x0a, 0x47, 0x0a, 0x06, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x12,
|
||||||
0x45, 0x79, 0x20, 0xe5, 0xf7, 0xa9, 0x7f, 0xe5, 0xa8, 0x0f, 0xe5, 0xfc, 0x2b, 0x00, 0x00, 0xff,
|
0x3d, 0x08, 0x02, 0x12, 0x28, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74,
|
||||||
0xff, 0x51, 0x1b, 0x37, 0x84, 0x54, 0x01, 0x00, 0x00,
|
0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2c, 0x20, 0x70, 0x72, 0x65, 0x66, 0x69,
|
||||||
|
0x78, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x1a, 0x0d, 0x61,
|
||||||
|
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x02, 0x62, 0x0c,
|
||||||
|
0x0a, 0x0a, 0x0a, 0x06, 0x42, 0x65, 0x61, 0x72, 0x65, 0x72, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72,
|
||||||
|
0x6f, 0x74, 0x6f, 0x33,
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_api_proto_goTypes = []interface{}{}
|
||||||
|
var file_api_proto_depIdxs = []int32{
|
||||||
|
0, // [0:0] is the sub-list for method output_type
|
||||||
|
0, // [0:0] is the sub-list for method input_type
|
||||||
|
0, // [0:0] is the sub-list for extension type_name
|
||||||
|
0, // [0:0] is the sub-list for extension extendee
|
||||||
|
0, // [0:0] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_api_proto_init() }
|
||||||
|
func file_api_proto_init() {
|
||||||
|
if File_api_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
type x struct{}
|
||||||
|
out := protoimpl.TypeBuilder{
|
||||||
|
File: protoimpl.DescBuilder{
|
||||||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
|
RawDescriptor: file_api_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 0,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 0,
|
||||||
|
},
|
||||||
|
GoTypes: file_api_proto_goTypes,
|
||||||
|
DependencyIndexes: file_api_proto_depIdxs,
|
||||||
|
}.Build()
|
||||||
|
File_api_proto = out.File
|
||||||
|
file_api_proto_rawDesc = nil
|
||||||
|
file_api_proto_goTypes = nil
|
||||||
|
file_api_proto_depIdxs = nil
|
||||||
}
|
}
|
||||||
|
@@ -30,6 +30,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/IsValidTokenResponse"
|
"$ref": "#/definitions/IsValidTokenResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -56,6 +62,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListNamespacesResponse"
|
"$ref": "#/definitions/ListNamespacesResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -92,6 +104,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/Namespace"
|
"$ref": "#/definitions/Namespace"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -118,6 +136,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/CronWorkflow"
|
"$ref": "#/definitions/CronWorkflow"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -150,6 +174,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/CronWorkflow"
|
"$ref": "#/definitions/CronWorkflow"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -178,6 +208,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/CronWorkflow"
|
"$ref": "#/definitions/CronWorkflow"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -216,6 +252,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListCronWorkflowsResponse"
|
"$ref": "#/definitions/ListCronWorkflowsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -260,6 +302,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"properties": {}
|
"properties": {}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -290,6 +338,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListCronWorkflowsResponse"
|
"$ref": "#/definitions/ListCronWorkflowsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -334,6 +388,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListSecretsResponse"
|
"$ref": "#/definitions/ListSecretsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -356,6 +416,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"properties": {}
|
"properties": {}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -388,6 +454,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/Secret"
|
"$ref": "#/definitions/Secret"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -416,6 +488,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/DeleteSecretResponse"
|
"$ref": "#/definitions/DeleteSecretResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -446,6 +524,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/SecretExistsResponse"
|
"$ref": "#/definitions/SecretExistsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -476,6 +560,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/AddSecretKeyValueResponse"
|
"$ref": "#/definitions/AddSecretKeyValueResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -512,6 +602,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/UpdateSecretKeyValueResponse"
|
"$ref": "#/definitions/UpdateSecretKeyValueResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -550,6 +646,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/DeleteSecretKeyResponse"
|
"$ref": "#/definitions/DeleteSecretKeyResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -586,6 +688,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListWorkflowExecutionsResponse"
|
"$ref": "#/definitions/ListWorkflowExecutionsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -627,7 +735,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"post": {
|
"post": {
|
||||||
"summary": "Creates a Workflow",
|
|
||||||
"operationId": "CreateWorkflowExecution",
|
"operationId": "CreateWorkflowExecution",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
@@ -635,6 +742,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowExecution"
|
"$ref": "#/definitions/WorkflowExecution"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -667,6 +780,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowExecution"
|
"$ref": "#/definitions/WorkflowExecution"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -688,7 +807,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"post": {
|
"post": {
|
||||||
"summary": "Clone a Workflow. This is the same as running it again.",
|
|
||||||
"operationId": "CloneWorkflowExecution",
|
"operationId": "CloneWorkflowExecution",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
@@ -696,6 +814,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowExecution"
|
"$ref": "#/definitions/WorkflowExecution"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -726,6 +850,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ArtifactResponse"
|
"$ref": "#/definitions/ArtifactResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -762,6 +892,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"properties": {}
|
"properties": {}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -800,6 +936,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListFilesResponse"
|
"$ref": "#/definitions/ListFilesResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -834,7 +976,22 @@
|
|||||||
"200": {
|
"200": {
|
||||||
"description": "A successful response.(streaming responses)",
|
"description": "A successful response.(streaming responses)",
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/x-stream-definitions/LogEntry"
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"result": {
|
||||||
|
"$ref": "#/definitions/LogEntry"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.StreamError"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title": "Stream result of LogEntry"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -878,6 +1035,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/GetWorkflowExecutionMetricsResponse"
|
"$ref": "#/definitions/GetWorkflowExecutionMetricsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -914,6 +1077,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowExecution"
|
"$ref": "#/definitions/WorkflowExecution"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -944,6 +1113,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"properties": {}
|
"properties": {}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -982,6 +1157,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"properties": {}
|
"properties": {}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1010,7 +1191,22 @@
|
|||||||
"200": {
|
"200": {
|
||||||
"description": "A successful response.(streaming responses)",
|
"description": "A successful response.(streaming responses)",
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/x-stream-definitions/WorkflowExecution"
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"result": {
|
||||||
|
"$ref": "#/definitions/WorkflowExecution"
|
||||||
|
},
|
||||||
|
"error": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.StreamError"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title": "Stream result of WorkflowExecution"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1042,6 +1238,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListWorkflowTemplatesResponse"
|
"$ref": "#/definitions/ListWorkflowTemplatesResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1078,6 +1280,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowTemplate"
|
"$ref": "#/definitions/WorkflowTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1110,6 +1318,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowTemplate"
|
"$ref": "#/definitions/WorkflowTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1147,6 +1361,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ArchiveWorkflowTemplateResponse"
|
"$ref": "#/definitions/ArchiveWorkflowTemplateResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1177,6 +1397,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowTemplate"
|
"$ref": "#/definitions/WorkflowTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1220,6 +1446,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowTemplate"
|
"$ref": "#/definitions/WorkflowTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1263,6 +1495,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListWorkflowTemplateVersionsResponse"
|
"$ref": "#/definitions/ListWorkflowTemplateVersionsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1293,6 +1531,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowTemplate"
|
"$ref": "#/definitions/WorkflowTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1330,6 +1574,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowTemplate"
|
"$ref": "#/definitions/WorkflowTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1368,6 +1618,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowTemplate"
|
"$ref": "#/definitions/WorkflowTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1413,6 +1669,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListWorkspaceTemplatesResponse"
|
"$ref": "#/definitions/ListWorkspaceTemplatesResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1442,7 +1704,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"post": {
|
"post": {
|
||||||
"summary": "Creates a WorkspaceTemplate",
|
|
||||||
"operationId": "CreateWorkspaceTemplate",
|
"operationId": "CreateWorkspaceTemplate",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
@@ -1450,6 +1711,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkspaceTemplate"
|
"$ref": "#/definitions/WorkspaceTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1475,7 +1742,6 @@
|
|||||||
},
|
},
|
||||||
"/apis/v1beta1/{namespace}/workspace_templates/{name}": {
|
"/apis/v1beta1/{namespace}/workspace_templates/{name}": {
|
||||||
"put": {
|
"put": {
|
||||||
"summary": "Updates a WorkspaceTemplate",
|
|
||||||
"operationId": "UpdateWorkspaceTemplate",
|
"operationId": "UpdateWorkspaceTemplate",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
@@ -1483,6 +1749,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkspaceTemplate"
|
"$ref": "#/definitions/WorkspaceTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1514,7 +1786,6 @@
|
|||||||
},
|
},
|
||||||
"/apis/v1beta1/{namespace}/workspace_templates/{uid}": {
|
"/apis/v1beta1/{namespace}/workspace_templates/{uid}": {
|
||||||
"get": {
|
"get": {
|
||||||
"summary": "Get a WorkspaceTemplate",
|
|
||||||
"operationId": "GetWorkspaceTemplate",
|
"operationId": "GetWorkspaceTemplate",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
@@ -1522,6 +1793,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkspaceTemplate"
|
"$ref": "#/definitions/WorkspaceTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1559,6 +1836,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/ListWorkspaceTemplateVersionsResponse"
|
"$ref": "#/definitions/ListWorkspaceTemplateVersionsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1582,7 +1865,6 @@
|
|||||||
},
|
},
|
||||||
"/apis/v1beta1/{namespace}/workspace_templates/{uid}/workflow_template": {
|
"/apis/v1beta1/{namespace}/workspace_templates/{uid}/workflow_template": {
|
||||||
"post": {
|
"post": {
|
||||||
"summary": "Get the generated WorkflowTemplate for a WorkspaceTemplate",
|
|
||||||
"operationId": "GenerateWorkspaceTemplateWorkflowTemplate",
|
"operationId": "GenerateWorkspaceTemplateWorkflowTemplate",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
@@ -1590,6 +1872,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/WorkflowTemplate"
|
"$ref": "#/definitions/WorkflowTemplate"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1628,6 +1916,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/Workspace"
|
"$ref": "#/definitions/Workspace"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1704,6 +1998,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/GetLabelsResponse"
|
"$ref": "#/definitions/GetLabelsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1738,6 +2038,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/GetLabelsResponse"
|
"$ref": "#/definitions/GetLabelsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1780,6 +2086,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/GetLabelsResponse"
|
"$ref": "#/definitions/GetLabelsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -1824,6 +2136,12 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/GetLabelsResponse"
|
"$ref": "#/definitions/GetLabelsResponse"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"description": "An unexpected error response",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/definitions/grpc.gateway.runtime.Error"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parameters": [
|
"parameters": [
|
||||||
@@ -2482,16 +2800,10 @@
|
|||||||
"startedAt": {
|
"startedAt": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"runningAt": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"pausingAt": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"pausedAt": {
|
"pausedAt": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"terminatingAt": {
|
"terminatedAt": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2539,6 +2851,27 @@
|
|||||||
},
|
},
|
||||||
"description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": <string>,\n \"lastName\": <string>\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
|
"description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": <string>,\n \"lastName\": <string>\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
|
||||||
},
|
},
|
||||||
|
"grpc.gateway.runtime.Error": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"error": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"code": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"details": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/definitions/google.protobuf.Any"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"grpc.gateway.runtime.StreamError": {
|
"grpc.gateway.runtime.StreamError": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -2565,32 +2898,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"x-stream-definitions": {
|
|
||||||
"LogEntry": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"result": {
|
|
||||||
"$ref": "#/definitions/LogEntry"
|
|
||||||
},
|
|
||||||
"error": {
|
|
||||||
"$ref": "#/definitions/grpc.gateway.runtime.StreamError"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"title": "Stream result of LogEntry"
|
|
||||||
},
|
|
||||||
"WorkflowExecution": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"result": {
|
|
||||||
"$ref": "#/definitions/WorkflowExecution"
|
|
||||||
},
|
|
||||||
"error": {
|
|
||||||
"$ref": "#/definitions/grpc.gateway.runtime.StreamError"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"title": "Stream result of WorkflowExecution"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"securityDefinitions": {
|
"securityDefinitions": {
|
||||||
"Bearer": {
|
"Bearer": {
|
||||||
"type": "apiKey",
|
"type": "apiKey",
|
||||||
|
488
api/auth.pb.go
488
api/auth.pb.go
@@ -1,255 +1,411 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.21.0
|
||||||
|
// protoc v3.11.1
|
||||||
// source: auth.proto
|
// source: auth.proto
|
||||||
|
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
fmt "fmt"
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
empty "github.com/golang/protobuf/ptypes/empty"
|
empty "github.com/golang/protobuf/ptypes/empty"
|
||||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
math "math"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
const (
|
||||||
var _ = proto.Marshal
|
// Verify that this generated code is sufficiently up-to-date.
|
||||||
var _ = fmt.Errorf
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||||
var _ = math.Inf
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
|
)
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
// is compatible with the proto package it is being compiled against.
|
// of the legacy proto package is being used.
|
||||||
// A compilation error at this line likely means your copy of the
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
// proto package needs to be updated.
|
|
||||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
||||||
|
|
||||||
type TokenWrapper struct {
|
type TokenWrapper struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *TokenWrapper) Reset() { *m = TokenWrapper{} }
|
func (x *TokenWrapper) Reset() {
|
||||||
func (m *TokenWrapper) String() string { return proto.CompactTextString(m) }
|
*x = TokenWrapper{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_auth_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *TokenWrapper) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*TokenWrapper) ProtoMessage() {}
|
func (*TokenWrapper) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *TokenWrapper) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_auth_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 TokenWrapper.ProtoReflect.Descriptor instead.
|
||||||
func (*TokenWrapper) Descriptor() ([]byte, []int) {
|
func (*TokenWrapper) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_8bbd6f3875b0e874, []int{0}
|
return file_auth_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *TokenWrapper) XXX_Unmarshal(b []byte) error {
|
func (x *TokenWrapper) GetToken() string {
|
||||||
return xxx_messageInfo_TokenWrapper.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Token
|
||||||
func (m *TokenWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_TokenWrapper.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *TokenWrapper) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_TokenWrapper.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *TokenWrapper) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_TokenWrapper.Size(m)
|
|
||||||
}
|
|
||||||
func (m *TokenWrapper) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_TokenWrapper.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_TokenWrapper proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *TokenWrapper) GetToken() string {
|
|
||||||
if m != nil {
|
|
||||||
return m.Token
|
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type IsValidTokenRequest struct {
|
type IsValidTokenRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Token *TokenWrapper `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
Token *TokenWrapper `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsValidTokenRequest) Reset() { *m = IsValidTokenRequest{} }
|
func (x *IsValidTokenRequest) Reset() {
|
||||||
func (m *IsValidTokenRequest) String() string { return proto.CompactTextString(m) }
|
*x = IsValidTokenRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_auth_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *IsValidTokenRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*IsValidTokenRequest) ProtoMessage() {}
|
func (*IsValidTokenRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *IsValidTokenRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_auth_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 IsValidTokenRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*IsValidTokenRequest) Descriptor() ([]byte, []int) {
|
func (*IsValidTokenRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_8bbd6f3875b0e874, []int{1}
|
return file_auth_proto_rawDescGZIP(), []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsValidTokenRequest) XXX_Unmarshal(b []byte) error {
|
func (x *IsValidTokenRequest) GetToken() *TokenWrapper {
|
||||||
return xxx_messageInfo_IsValidTokenRequest.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Token
|
||||||
func (m *IsValidTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_IsValidTokenRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *IsValidTokenRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_IsValidTokenRequest.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *IsValidTokenRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_IsValidTokenRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *IsValidTokenRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_IsValidTokenRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_IsValidTokenRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *IsValidTokenRequest) GetToken() *TokenWrapper {
|
|
||||||
if m != nil {
|
|
||||||
return m.Token
|
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type IsValidTokenResponse struct {
|
type IsValidTokenResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsValidTokenResponse) Reset() { *m = IsValidTokenResponse{} }
|
func (x *IsValidTokenResponse) Reset() {
|
||||||
func (m *IsValidTokenResponse) String() string { return proto.CompactTextString(m) }
|
*x = IsValidTokenResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_auth_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *IsValidTokenResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*IsValidTokenResponse) ProtoMessage() {}
|
func (*IsValidTokenResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *IsValidTokenResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_auth_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 IsValidTokenResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*IsValidTokenResponse) Descriptor() ([]byte, []int) {
|
func (*IsValidTokenResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_8bbd6f3875b0e874, []int{2}
|
return file_auth_proto_rawDescGZIP(), []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsValidTokenResponse) XXX_Unmarshal(b []byte) error {
|
func (x *IsValidTokenResponse) GetDomain() string {
|
||||||
return xxx_messageInfo_IsValidTokenResponse.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Domain
|
||||||
func (m *IsValidTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_IsValidTokenResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *IsValidTokenResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_IsValidTokenResponse.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *IsValidTokenResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_IsValidTokenResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *IsValidTokenResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_IsValidTokenResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_IsValidTokenResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *IsValidTokenResponse) GetDomain() string {
|
|
||||||
if m != nil {
|
|
||||||
return m.Domain
|
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type IsWorkspaceAuthenticatedRequest struct {
|
type IsWorkspaceAuthenticatedRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FQDN string `protobuf:"bytes,1,opt,name=FQDN,proto3" json:"FQDN,omitempty"`
|
FQDN string `protobuf:"bytes,1,opt,name=FQDN,proto3" json:"FQDN,omitempty"`
|
||||||
XOriginalMethod string `protobuf:"bytes,2,opt,name=XOriginalMethod,proto3" json:"XOriginalMethod,omitempty"`
|
XOriginalMethod string `protobuf:"bytes,2,opt,name=XOriginalMethod,proto3" json:"XOriginalMethod,omitempty"`
|
||||||
XOriginalAuthority string `protobuf:"bytes,3,opt,name=XOriginalAuthority,proto3" json:"XOriginalAuthority,omitempty"`
|
XOriginalAuthority string `protobuf:"bytes,3,opt,name=XOriginalAuthority,proto3" json:"XOriginalAuthority,omitempty"`
|
||||||
XOriginalUri string `protobuf:"bytes,4,opt,name=XOriginalUri,proto3" json:"XOriginalUri,omitempty"`
|
XOriginalUri string `protobuf:"bytes,4,opt,name=XOriginalUri,proto3" json:"XOriginalUri,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) Reset() { *m = IsWorkspaceAuthenticatedRequest{} }
|
func (x *IsWorkspaceAuthenticatedRequest) Reset() {
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) String() string { return proto.CompactTextString(m) }
|
*x = IsWorkspaceAuthenticatedRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_auth_proto_msgTypes[3]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *IsWorkspaceAuthenticatedRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*IsWorkspaceAuthenticatedRequest) ProtoMessage() {}
|
func (*IsWorkspaceAuthenticatedRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *IsWorkspaceAuthenticatedRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_auth_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 IsWorkspaceAuthenticatedRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*IsWorkspaceAuthenticatedRequest) Descriptor() ([]byte, []int) {
|
func (*IsWorkspaceAuthenticatedRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_8bbd6f3875b0e874, []int{3}
|
return file_auth_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) XXX_Unmarshal(b []byte) error {
|
func (x *IsWorkspaceAuthenticatedRequest) GetFQDN() string {
|
||||||
return xxx_messageInfo_IsWorkspaceAuthenticatedRequest.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.FQDN
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_IsWorkspaceAuthenticatedRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_IsWorkspaceAuthenticatedRequest.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_IsWorkspaceAuthenticatedRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_IsWorkspaceAuthenticatedRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_IsWorkspaceAuthenticatedRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) GetFQDN() string {
|
|
||||||
if m != nil {
|
|
||||||
return m.FQDN
|
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) GetXOriginalMethod() string {
|
func (x *IsWorkspaceAuthenticatedRequest) GetXOriginalMethod() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.XOriginalMethod
|
return x.XOriginalMethod
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) GetXOriginalAuthority() string {
|
func (x *IsWorkspaceAuthenticatedRequest) GetXOriginalAuthority() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.XOriginalAuthority
|
return x.XOriginalAuthority
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *IsWorkspaceAuthenticatedRequest) GetXOriginalUri() string {
|
func (x *IsWorkspaceAuthenticatedRequest) GetXOriginalUri() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.XOriginalUri
|
return x.XOriginalUri
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
var File_auth_proto protoreflect.FileDescriptor
|
||||||
proto.RegisterType((*TokenWrapper)(nil), "api.TokenWrapper")
|
|
||||||
proto.RegisterType((*IsValidTokenRequest)(nil), "api.IsValidTokenRequest")
|
var file_auth_proto_rawDesc = []byte{
|
||||||
proto.RegisterType((*IsValidTokenResponse)(nil), "api.IsValidTokenResponse")
|
0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61, 0x70,
|
||||||
proto.RegisterType((*IsWorkspaceAuthenticatedRequest)(nil), "api.IsWorkspaceAuthenticatedRequest")
|
0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
|
||||||
|
0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
||||||
|
0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
||||||
|
0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x24, 0x0a, 0x0c,
|
||||||
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05,
|
||||||
|
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b,
|
||||||
|
0x65, 0x6e, 0x22, 0x3e, 0x0a, 0x13, 0x49, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x6f, 0x6b,
|
||||||
|
0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x05, 0x74, 0x6f, 0x6b,
|
||||||
|
0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x54,
|
||||||
|
0x6f, 0x6b, 0x65, 0x6e, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x52, 0x05, 0x74, 0x6f, 0x6b,
|
||||||
|
0x65, 0x6e, 0x22, 0x2e, 0x0a, 0x14, 0x49, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x6f, 0x6b,
|
||||||
|
0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f,
|
||||||
|
0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61,
|
||||||
|
0x69, 0x6e, 0x22, 0xb3, 0x01, 0x0a, 0x1f, 0x49, 0x73, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
||||||
|
0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52,
|
||||||
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x18, 0x01,
|
||||||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, 0x44, 0x4e, 0x12, 0x28, 0x0a, 0x0f, 0x58, 0x4f,
|
||||||
|
0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20,
|
||||||
|
0x01, 0x28, 0x09, 0x52, 0x0f, 0x58, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x4d, 0x65,
|
||||||
|
0x74, 0x68, 0x6f, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x58, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61,
|
||||||
|
0x6c, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||||||
|
0x52, 0x12, 0x58, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x6f,
|
||||||
|
0x72, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x58, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61,
|
||||||
|
0x6c, 0x55, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x58, 0x4f, 0x72, 0x69,
|
||||||
|
0x67, 0x69, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x69, 0x32, 0x80, 0x02, 0x0a, 0x0b, 0x41, 0x75, 0x74,
|
||||||
|
0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x0c, 0x49, 0x73, 0x56, 0x61,
|
||||||
|
0x6c, 0x69, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49,
|
||||||
|
0x73, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
|
0x73, 0x74, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49, 0x73, 0x56, 0x61, 0x6c, 0x69, 0x64,
|
||||||
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82,
|
||||||
|
0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x18, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62,
|
||||||
|
0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x3a,
|
||||||
|
0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x18, 0x49, 0x73, 0x57, 0x6f, 0x72,
|
||||||
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61,
|
||||||
|
0x74, 0x65, 0x64, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x49, 0x73, 0x57, 0x6f, 0x72, 0x6b,
|
||||||
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74,
|
||||||
|
0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
||||||
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
|
||||||
|
0x79, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x42, 0x20, 0x0a, 0x04, 0x48, 0x45, 0x41,
|
||||||
|
0x44, 0x12, 0x18, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
|
||||||
|
0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||||
|
0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { proto.RegisterFile("auth.proto", fileDescriptor_8bbd6f3875b0e874) }
|
var (
|
||||||
|
file_auth_proto_rawDescOnce sync.Once
|
||||||
|
file_auth_proto_rawDescData = file_auth_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
var fileDescriptor_8bbd6f3875b0e874 = []byte{
|
func file_auth_proto_rawDescGZIP() []byte {
|
||||||
// 381 bytes of a gzipped FileDescriptorProto
|
file_auth_proto_rawDescOnce.Do(func() {
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xcd, 0x6e, 0x1a, 0x31,
|
file_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_auth_proto_rawDescData)
|
||||||
0x10, 0xd6, 0x02, 0x45, 0xea, 0x80, 0x54, 0xd5, 0x45, 0x68, 0xbb, 0xad, 0x54, 0x6a, 0x21, 0xc1,
|
})
|
||||||
0xc9, 0x2b, 0xe8, 0xad, 0x87, 0x4a, 0x54, 0x50, 0x95, 0x43, 0x1b, 0x85, 0xfc, 0x90, 0xab, 0x61,
|
return file_auth_proto_rawDescData
|
||||||
0x1d, 0xb0, 0x58, 0x6c, 0xc7, 0xf6, 0x22, 0x71, 0x8b, 0x78, 0x85, 0x3c, 0x4a, 0x1e, 0x25, 0xaf,
|
}
|
||||||
0x90, 0x07, 0x89, 0xd6, 0xbb, 0x20, 0x88, 0x20, 0xb7, 0x9d, 0xf9, 0xbe, 0x6f, 0x66, 0xf6, 0xf3,
|
|
||||||
0x07, 0x40, 0x13, 0x3b, 0x27, 0x4a, 0x4b, 0x2b, 0x51, 0x91, 0x2a, 0x1e, 0x7c, 0x9d, 0x49, 0x39,
|
var file_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||||
0x8b, 0x59, 0x48, 0x15, 0x0f, 0xa9, 0x10, 0xd2, 0x52, 0xcb, 0xa5, 0x30, 0x19, 0x25, 0xf8, 0x92,
|
var file_auth_proto_goTypes = []interface{}{
|
||||||
0xa3, 0xae, 0x9a, 0x24, 0xb7, 0x21, 0x5b, 0x2a, 0xbb, 0xce, 0x40, 0xdc, 0x84, 0xea, 0xa5, 0x5c,
|
(*TokenWrapper)(nil), // 0: api.TokenWrapper
|
||||||
0x30, 0x31, 0xd6, 0x54, 0x29, 0xa6, 0x51, 0x0d, 0xde, 0xd9, 0xb4, 0xf6, 0xbd, 0x86, 0xd7, 0x7e,
|
(*IsValidTokenRequest)(nil), // 1: api.IsValidTokenRequest
|
||||||
0x3f, 0xca, 0x0a, 0xfc, 0x0b, 0x3e, 0x0d, 0xcd, 0x35, 0x8d, 0x79, 0xe4, 0xc8, 0x23, 0x76, 0x97,
|
(*IsValidTokenResponse)(nil), // 2: api.IsValidTokenResponse
|
||||||
0x30, 0x63, 0x51, 0x6b, 0x9f, 0x5c, 0xe9, 0x7e, 0x24, 0x54, 0x71, 0xb2, 0x3f, 0x6e, 0xab, 0x27,
|
(*IsWorkspaceAuthenticatedRequest)(nil), // 3: api.IsWorkspaceAuthenticatedRequest
|
||||||
0x50, 0x3b, 0xd4, 0x1b, 0x25, 0x85, 0x61, 0xa8, 0x0e, 0xe5, 0x48, 0x2e, 0x29, 0x17, 0x7e, 0xc1,
|
(*empty.Empty)(nil), // 4: google.protobuf.Empty
|
||||||
0xad, 0xcb, 0x2b, 0xfc, 0xe8, 0xc1, 0xb7, 0xa1, 0x19, 0x4b, 0xbd, 0x30, 0x8a, 0x4e, 0x59, 0x2f,
|
}
|
||||||
0xb1, 0x73, 0x26, 0x2c, 0x9f, 0x52, 0xcb, 0xa2, 0xed, 0x72, 0x04, 0xa5, 0x3f, 0xe7, 0xfd, 0xff,
|
var file_auth_proto_depIdxs = []int32{
|
||||||
0xf9, 0xa1, 0xee, 0x1b, 0xb5, 0xe1, 0xc3, 0xcd, 0x99, 0xe6, 0x33, 0x2e, 0x68, 0xfc, 0x8f, 0xd9,
|
0, // 0: api.IsValidTokenRequest.token:type_name -> api.TokenWrapper
|
||||||
0xb9, 0x8c, 0xf2, 0xc1, 0xaf, 0xdb, 0x88, 0x00, 0xda, 0xb5, 0xd2, 0xf1, 0x52, 0x73, 0xbb, 0xf6,
|
1, // 1: api.AuthService.IsValidToken:input_type -> api.IsValidTokenRequest
|
||||||
0x8b, 0x8e, 0x7c, 0x04, 0x41, 0x18, 0xaa, 0xbb, 0xee, 0x95, 0xe6, 0x7e, 0xc9, 0x31, 0x0f, 0x7a,
|
3, // 2: api.AuthService.IsWorkspaceAuthenticated:input_type -> api.IsWorkspaceAuthenticatedRequest
|
||||||
0xdd, 0xfb, 0x02, 0x54, 0x52, 0xc5, 0x05, 0xd3, 0x2b, 0x3e, 0x65, 0x28, 0x86, 0xea, 0xfe, 0x5f,
|
2, // 3: api.AuthService.IsValidToken:output_type -> api.IsValidTokenResponse
|
||||||
0x23, 0xdf, 0xf9, 0x73, 0xc4, 0xc8, 0xe0, 0xf3, 0x11, 0x24, 0xb3, 0x08, 0xb7, 0x36, 0x4f, 0xcf,
|
4, // 4: api.AuthService.IsWorkspaceAuthenticated:output_type -> google.protobuf.Empty
|
||||||
0x0f, 0x85, 0xef, 0xd8, 0x4f, 0x5f, 0xd7, 0x84, 0xab, 0xce, 0x84, 0x59, 0xda, 0x09, 0xd3, 0x08,
|
3, // [3:5] is the sub-list for method output_type
|
||||||
0x84, 0xce, 0xdc, 0x9f, 0x99, 0xc7, 0x68, 0xe3, 0x81, 0x7f, 0xca, 0x33, 0xd4, 0xcc, 0x17, 0xbc,
|
1, // [1:3] is the sub-list for method input_type
|
||||||
0x69, 0x69, 0x50, 0x27, 0x59, 0x54, 0xc8, 0x36, 0x2a, 0x64, 0x90, 0x46, 0x05, 0xb7, 0xdd, 0x0d,
|
1, // [1:1] is the sub-list for extension type_name
|
||||||
0xf8, 0x77, 0x03, 0x4a, 0x7f, 0x07, 0xbd, 0x3e, 0x3a, 0x79, 0xcb, 0xa4, 0xec, 0x94, 0x3f, 0x5e,
|
1, // [1:1] is the sub-list for extension extendee
|
||||||
0x02, 0x00, 0x00, 0xff, 0xff, 0xa1, 0xec, 0x3b, 0x98, 0xa3, 0x02, 0x00, 0x00,
|
0, // [0:1] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_auth_proto_init() }
|
||||||
|
func file_auth_proto_init() {
|
||||||
|
if File_auth_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*TokenWrapper); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*IsValidTokenRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*IsValidTokenResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*IsWorkspaceAuthenticatedRequest); 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_auth_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 4,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 1,
|
||||||
|
},
|
||||||
|
GoTypes: file_auth_proto_goTypes,
|
||||||
|
DependencyIndexes: file_auth_proto_depIdxs,
|
||||||
|
MessageInfos: file_auth_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_auth_proto = out.File
|
||||||
|
file_auth_proto_rawDesc = nil
|
||||||
|
file_auth_proto_goTypes = nil
|
||||||
|
file_auth_proto_depIdxs = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
var _ context.Context
|
var _ context.Context
|
||||||
var _ grpc.ClientConn
|
var _ grpc.ClientConnInterface
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
// is compatible with the grpc package it is being compiled against.
|
// is compatible with the grpc package it is being compiled against.
|
||||||
const _ = grpc.SupportPackageIsVersion4
|
const _ = grpc.SupportPackageIsVersion6
|
||||||
|
|
||||||
// AuthServiceClient is the client API for AuthService service.
|
// AuthServiceClient is the client API for AuthService service.
|
||||||
//
|
//
|
||||||
@@ -260,10 +416,10 @@ type AuthServiceClient interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type authServiceClient struct {
|
type authServiceClient struct {
|
||||||
cc *grpc.ClientConn
|
cc grpc.ClientConnInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewAuthServiceClient(cc *grpc.ClientConn) AuthServiceClient {
|
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient {
|
||||||
return &authServiceClient{cc}
|
return &authServiceClient{cc}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -295,10 +451,10 @@ type AuthServiceServer interface {
|
|||||||
type UnimplementedAuthServiceServer struct {
|
type UnimplementedAuthServiceServer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*UnimplementedAuthServiceServer) IsValidToken(ctx context.Context, req *IsValidTokenRequest) (*IsValidTokenResponse, error) {
|
func (*UnimplementedAuthServiceServer) IsValidToken(context.Context, *IsValidTokenRequest) (*IsValidTokenResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method IsValidToken not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method IsValidToken not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedAuthServiceServer) IsWorkspaceAuthenticated(ctx context.Context, req *IsWorkspaceAuthenticatedRequest) (*empty.Empty, error) {
|
func (*UnimplementedAuthServiceServer) IsWorkspaceAuthenticated(context.Context, *IsWorkspaceAuthenticatedRequest) (*empty.Empty, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method IsWorkspaceAuthenticated not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method IsWorkspaceAuthenticated not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
308
api/common.pb.go
308
api/common.pb.go
@@ -1,26 +1,35 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.21.0
|
||||||
|
// protoc v3.11.1
|
||||||
// source: common.proto
|
// source: common.proto
|
||||||
|
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
fmt "fmt"
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
math "math"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
const (
|
||||||
var _ = proto.Marshal
|
// Verify that this generated code is sufficiently up-to-date.
|
||||||
var _ = fmt.Errorf
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||||
var _ = math.Inf
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
|
)
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
// is compatible with the proto package it is being compiled against.
|
// of the legacy proto package is being used.
|
||||||
// A compilation error at this line likely means your copy of the
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
// proto package needs to be updated.
|
|
||||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
||||||
|
|
||||||
type Parameter struct {
|
type Parameter struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
@@ -28,152 +37,241 @@ type Parameter struct {
|
|||||||
Hint string `protobuf:"bytes,5,opt,name=hint,proto3" json:"hint,omitempty"`
|
Hint string `protobuf:"bytes,5,opt,name=hint,proto3" json:"hint,omitempty"`
|
||||||
Required bool `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"`
|
Required bool `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"`
|
||||||
Options []*ParameterOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
|
Options []*ParameterOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Parameter) Reset() { *m = Parameter{} }
|
func (x *Parameter) Reset() {
|
||||||
func (m *Parameter) String() string { return proto.CompactTextString(m) }
|
*x = Parameter{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_common_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *Parameter) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*Parameter) ProtoMessage() {}
|
func (*Parameter) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *Parameter) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_common_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 Parameter.ProtoReflect.Descriptor instead.
|
||||||
func (*Parameter) Descriptor() ([]byte, []int) {
|
func (*Parameter) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_555bd8c177793206, []int{0}
|
return file_common_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Parameter) XXX_Unmarshal(b []byte) error {
|
func (x *Parameter) GetName() string {
|
||||||
return xxx_messageInfo_Parameter.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Name
|
||||||
func (m *Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_Parameter.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *Parameter) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_Parameter.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *Parameter) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_Parameter.Size(m)
|
|
||||||
}
|
|
||||||
func (m *Parameter) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_Parameter.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_Parameter proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *Parameter) GetName() string {
|
|
||||||
if m != nil {
|
|
||||||
return m.Name
|
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Parameter) GetValue() string {
|
func (x *Parameter) GetValue() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Value
|
return x.Value
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Parameter) GetType() string {
|
func (x *Parameter) GetType() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Type
|
return x.Type
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Parameter) GetDisplayName() string {
|
func (x *Parameter) GetDisplayName() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.DisplayName
|
return x.DisplayName
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Parameter) GetHint() string {
|
func (x *Parameter) GetHint() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Hint
|
return x.Hint
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Parameter) GetRequired() bool {
|
func (x *Parameter) GetRequired() bool {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Required
|
return x.Required
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Parameter) GetOptions() []*ParameterOption {
|
func (x *Parameter) GetOptions() []*ParameterOption {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Options
|
return x.Options
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type ParameterOption struct {
|
type ParameterOption struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ParameterOption) Reset() { *m = ParameterOption{} }
|
func (x *ParameterOption) Reset() {
|
||||||
func (m *ParameterOption) String() string { return proto.CompactTextString(m) }
|
*x = ParameterOption{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_common_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ParameterOption) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*ParameterOption) ProtoMessage() {}
|
func (*ParameterOption) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ParameterOption) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_common_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 ParameterOption.ProtoReflect.Descriptor instead.
|
||||||
func (*ParameterOption) Descriptor() ([]byte, []int) {
|
func (*ParameterOption) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_555bd8c177793206, []int{1}
|
return file_common_proto_rawDescGZIP(), []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ParameterOption) XXX_Unmarshal(b []byte) error {
|
func (x *ParameterOption) GetName() string {
|
||||||
return xxx_messageInfo_ParameterOption.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Name
|
||||||
func (m *ParameterOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_ParameterOption.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *ParameterOption) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_ParameterOption.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *ParameterOption) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_ParameterOption.Size(m)
|
|
||||||
}
|
|
||||||
func (m *ParameterOption) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_ParameterOption.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_ParameterOption proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *ParameterOption) GetName() string {
|
|
||||||
if m != nil {
|
|
||||||
return m.Name
|
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ParameterOption) GetValue() string {
|
func (x *ParameterOption) GetValue() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Value
|
return x.Value
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
var File_common_proto protoreflect.FileDescriptor
|
||||||
proto.RegisterType((*Parameter)(nil), "api.Parameter")
|
|
||||||
proto.RegisterType((*ParameterOption)(nil), "api.ParameterOption")
|
var file_common_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03,
|
||||||
|
0x61, 0x70, 0x69, 0x22, 0xcb, 0x01, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
|
||||||
|
0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
||||||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74,
|
||||||
|
0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
|
||||||
|
0x20, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04,
|
||||||
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
|
||||||
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
|
0x04, 0x68, 0x69, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
|
||||||
|
0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
|
||||||
|
0x64, 0x12, 0x2e, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03,
|
||||||
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
|
||||||
|
0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
|
0x73, 0x22, 0x3b, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x4f, 0x70,
|
||||||
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||||
|
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||||
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x62, 0x06,
|
||||||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) }
|
var (
|
||||||
|
file_common_proto_rawDescOnce sync.Once
|
||||||
|
file_common_proto_rawDescData = file_common_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
var fileDescriptor_555bd8c177793206 = []byte{
|
func file_common_proto_rawDescGZIP() []byte {
|
||||||
// 195 bytes of a gzipped FileDescriptorProto
|
file_common_proto_rawDescOnce.Do(func() {
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x50, 0x3b, 0x8a, 0xc3, 0x30,
|
file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
|
||||||
0x10, 0x45, 0xeb, 0xff, 0x78, 0x61, 0x41, 0xb8, 0x10, 0x5b, 0x09, 0x57, 0xae, 0x54, 0xec, 0x96,
|
})
|
||||||
0xb9, 0x43, 0x12, 0x7c, 0x03, 0x25, 0x16, 0x44, 0x60, 0x7d, 0x22, 0xcb, 0x01, 0x9f, 0x31, 0x97,
|
return file_common_proto_rawDescData
|
||||||
0x0a, 0x92, 0x89, 0x09, 0xa9, 0xd2, 0xbd, 0xef, 0x30, 0x33, 0xf0, 0x7d, 0x36, 0x4a, 0x19, 0xcd,
|
}
|
||||||
0xac, 0x33, 0xde, 0xe0, 0x84, 0x5b, 0xd9, 0xde, 0x11, 0x54, 0x47, 0xee, 0xb8, 0x12, 0x5e, 0x38,
|
|
||||||
0x8c, 0x21, 0xd5, 0x5c, 0x09, 0x82, 0x28, 0xea, 0xaa, 0x3e, 0x62, 0xdc, 0x40, 0x76, 0xe3, 0xe3,
|
var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||||
0x2c, 0xc8, 0x57, 0x14, 0x57, 0x12, 0x92, 0x7e, 0xb1, 0x82, 0x24, 0x6b, 0x32, 0x60, 0x4c, 0xa1,
|
var file_common_proto_goTypes = []interface{}{
|
||||||
0x1e, 0xe4, 0x64, 0x47, 0xbe, 0xec, 0xc3, 0x90, 0x34, 0x5a, 0xaf, 0x52, 0x68, 0x5d, 0xa4, 0xf6,
|
(*Parameter)(nil), // 0: api.Parameter
|
||||||
0x24, 0x5b, 0x5b, 0x01, 0xe3, 0x5f, 0x28, 0x9d, 0xb8, 0xce, 0xd2, 0x89, 0x81, 0xe4, 0x14, 0x75,
|
(*ParameterOption)(nil), // 1: api.ParameterOption
|
||||||
0x65, 0xbf, 0x71, 0xcc, 0xa0, 0x30, 0xd6, 0x4b, 0xa3, 0x27, 0x52, 0xd0, 0xa4, 0xab, 0xff, 0x1a,
|
}
|
||||||
0xc6, 0xad, 0x64, 0xdb, 0xc2, 0x87, 0x68, 0xf6, 0xcf, 0x50, 0xbb, 0x83, 0x9f, 0x37, 0xef, 0xf3,
|
var file_common_proto_depIdxs = []int32{
|
||||||
0x93, 0x4e, 0x79, 0x7c, 0xcb, 0xff, 0x23, 0x00, 0x00, 0xff, 0xff, 0xbf, 0xaf, 0xa4, 0xb9, 0x26,
|
1, // 0: api.Parameter.options:type_name -> api.ParameterOption
|
||||||
0x01, 0x00, 0x00,
|
1, // [1:1] is the sub-list for method output_type
|
||||||
|
1, // [1:1] is the sub-list for method input_type
|
||||||
|
1, // [1:1] is the sub-list for extension type_name
|
||||||
|
1, // [1:1] is the sub-list for extension extendee
|
||||||
|
0, // [0:1] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_common_proto_init() }
|
||||||
|
func file_common_proto_init() {
|
||||||
|
if File_common_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*Parameter); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ParameterOption); 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_common_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 2,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 0,
|
||||||
|
},
|
||||||
|
GoTypes: file_common_proto_goTypes,
|
||||||
|
DependencyIndexes: file_common_proto_depIdxs,
|
||||||
|
MessageInfos: file_common_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_common_proto = out.File
|
||||||
|
file_common_proto_rawDesc = nil
|
||||||
|
file_common_proto_goTypes = nil
|
||||||
|
file_common_proto_depIdxs = nil
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
818
api/label.pb.go
818
api/label.pb.go
File diff suppressed because it is too large
Load Diff
183
api/metric.pb.go
183
api/metric.pb.go
@@ -1,93 +1,164 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.21.0
|
||||||
|
// protoc v3.11.1
|
||||||
// source: metric.proto
|
// source: metric.proto
|
||||||
|
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
fmt "fmt"
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
math "math"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
const (
|
||||||
var _ = proto.Marshal
|
// Verify that this generated code is sufficiently up-to-date.
|
||||||
var _ = fmt.Errorf
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||||
var _ = math.Inf
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
|
)
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
// is compatible with the proto package it is being compiled against.
|
// of the legacy proto package is being used.
|
||||||
// A compilation error at this line likely means your copy of the
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
// proto package needs to be updated.
|
|
||||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
||||||
|
|
||||||
type Metric struct {
|
type Metric struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
|
Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
|
Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Metric) Reset() { *m = Metric{} }
|
func (x *Metric) Reset() {
|
||||||
func (m *Metric) String() string { return proto.CompactTextString(m) }
|
*x = Metric{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_metric_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *Metric) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*Metric) ProtoMessage() {}
|
func (*Metric) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *Metric) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_metric_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 Metric.ProtoReflect.Descriptor instead.
|
||||||
func (*Metric) Descriptor() ([]byte, []int) {
|
func (*Metric) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_da41641f55bff5df, []int{0}
|
return file_metric_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Metric) XXX_Unmarshal(b []byte) error {
|
func (x *Metric) GetName() string {
|
||||||
return xxx_messageInfo_Metric.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Name
|
||||||
func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_Metric.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *Metric) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_Metric.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *Metric) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_Metric.Size(m)
|
|
||||||
}
|
|
||||||
func (m *Metric) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_Metric.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_Metric proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *Metric) GetName() string {
|
|
||||||
if m != nil {
|
|
||||||
return m.Name
|
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Metric) GetValue() float64 {
|
func (x *Metric) GetValue() float64 {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Value
|
return x.Value
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Metric) GetFormat() string {
|
func (x *Metric) GetFormat() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Format
|
return x.Format
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
var File_metric_proto protoreflect.FileDescriptor
|
||||||
proto.RegisterType((*Metric)(nil), "api.Metric")
|
|
||||||
|
var file_metric_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03,
|
||||||
|
0x61, 0x70, 0x69, 0x22, 0x4a, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x12, 0x0a,
|
||||||
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||||
|
0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01,
|
||||||
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61,
|
||||||
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x62,
|
||||||
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { proto.RegisterFile("metric.proto", fileDescriptor_da41641f55bff5df) }
|
var (
|
||||||
|
file_metric_proto_rawDescOnce sync.Once
|
||||||
|
file_metric_proto_rawDescData = file_metric_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
var fileDescriptor_da41641f55bff5df = []byte{
|
func file_metric_proto_rawDescGZIP() []byte {
|
||||||
// 105 bytes of a gzipped FileDescriptorProto
|
file_metric_proto_rawDescOnce.Do(func() {
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xc9, 0x4d, 0x2d, 0x29,
|
file_metric_proto_rawDescData = protoimpl.X.CompressGZIP(file_metric_proto_rawDescData)
|
||||||
0xca, 0x4c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4e, 0x2c, 0xc8, 0x54, 0xf2, 0xe2,
|
})
|
||||||
0x62, 0xf3, 0x05, 0x0b, 0x0a, 0x09, 0x71, 0xb1, 0xe4, 0x25, 0xe6, 0xa6, 0x4a, 0x30, 0x2a, 0x30,
|
return file_metric_proto_rawDescData
|
||||||
0x6a, 0x70, 0x06, 0x81, 0xd9, 0x42, 0x22, 0x5c, 0xac, 0x65, 0x89, 0x39, 0xa5, 0xa9, 0x12, 0x4c,
|
}
|
||||||
0x0a, 0x8c, 0x1a, 0x8c, 0x41, 0x10, 0x8e, 0x90, 0x18, 0x17, 0x5b, 0x5a, 0x7e, 0x51, 0x6e, 0x62,
|
|
||||||
0x89, 0x04, 0x33, 0x58, 0x2d, 0x94, 0x97, 0xc4, 0x06, 0x36, 0xd7, 0x18, 0x10, 0x00, 0x00, 0xff,
|
var file_metric_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||||
0xff, 0x88, 0xf0, 0xba, 0x92, 0x67, 0x00, 0x00, 0x00,
|
var file_metric_proto_goTypes = []interface{}{
|
||||||
|
(*Metric)(nil), // 0: api.Metric
|
||||||
|
}
|
||||||
|
var file_metric_proto_depIdxs = []int32{
|
||||||
|
0, // [0:0] is the sub-list for method output_type
|
||||||
|
0, // [0:0] is the sub-list for method input_type
|
||||||
|
0, // [0:0] is the sub-list for extension type_name
|
||||||
|
0, // [0:0] is the sub-list for extension extendee
|
||||||
|
0, // [0:0] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_metric_proto_init() }
|
||||||
|
func file_metric_proto_init() {
|
||||||
|
if File_metric_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_metric_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*Metric); 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_metric_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 1,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 0,
|
||||||
|
},
|
||||||
|
GoTypes: file_metric_proto_goTypes,
|
||||||
|
DependencyIndexes: file_metric_proto_depIdxs,
|
||||||
|
MessageInfos: file_metric_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_metric_proto = out.File
|
||||||
|
file_metric_proto_rawDesc = nil
|
||||||
|
file_metric_proto_goTypes = nil
|
||||||
|
file_metric_proto_depIdxs = nil
|
||||||
}
|
}
|
||||||
|
@@ -1,276 +1,433 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.21.0
|
||||||
|
// protoc v3.11.1
|
||||||
// source: namespace.proto
|
// source: namespace.proto
|
||||||
|
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
fmt "fmt"
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
math "math"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
const (
|
||||||
var _ = proto.Marshal
|
// Verify that this generated code is sufficiently up-to-date.
|
||||||
var _ = fmt.Errorf
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||||
var _ = math.Inf
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
|
)
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
// is compatible with the proto package it is being compiled against.
|
// of the legacy proto package is being used.
|
||||||
// A compilation error at this line likely means your copy of the
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
// proto package needs to be updated.
|
|
||||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
||||||
|
|
||||||
type ListNamespacesRequest struct {
|
type ListNamespacesRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
|
PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
|
||||||
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
|
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
|
||||||
Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
|
Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesRequest) Reset() { *m = ListNamespacesRequest{} }
|
func (x *ListNamespacesRequest) Reset() {
|
||||||
func (m *ListNamespacesRequest) String() string { return proto.CompactTextString(m) }
|
*x = ListNamespacesRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_namespace_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ListNamespacesRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*ListNamespacesRequest) ProtoMessage() {}
|
func (*ListNamespacesRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_namespace_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 ListNamespacesRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ListNamespacesRequest) Descriptor() ([]byte, []int) {
|
func (*ListNamespacesRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_ecb1e126f615f5dd, []int{0}
|
return file_namespace_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesRequest) XXX_Unmarshal(b []byte) error {
|
func (x *ListNamespacesRequest) GetPageSize() int32 {
|
||||||
return xxx_messageInfo_ListNamespacesRequest.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.PageSize
|
||||||
func (m *ListNamespacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_ListNamespacesRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *ListNamespacesRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_ListNamespacesRequest.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *ListNamespacesRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_ListNamespacesRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *ListNamespacesRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_ListNamespacesRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_ListNamespacesRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *ListNamespacesRequest) GetPageSize() int32 {
|
|
||||||
if m != nil {
|
|
||||||
return m.PageSize
|
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesRequest) GetPage() int32 {
|
func (x *ListNamespacesRequest) GetPage() int32 {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Page
|
return x.Page
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesRequest) GetQuery() string {
|
func (x *ListNamespacesRequest) GetQuery() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Query
|
return x.Query
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListNamespacesResponse struct {
|
type ListNamespacesResponse struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||||||
Namespaces []*Namespace `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
|
Namespaces []*Namespace `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
|
||||||
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
|
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
|
||||||
Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"`
|
Pages int32 `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"`
|
||||||
TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
|
TotalCount int32 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesResponse) Reset() { *m = ListNamespacesResponse{} }
|
func (x *ListNamespacesResponse) Reset() {
|
||||||
func (m *ListNamespacesResponse) String() string { return proto.CompactTextString(m) }
|
*x = ListNamespacesResponse{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_namespace_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *ListNamespacesResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*ListNamespacesResponse) ProtoMessage() {}
|
func (*ListNamespacesResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_namespace_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 ListNamespacesResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ListNamespacesResponse) Descriptor() ([]byte, []int) {
|
func (*ListNamespacesResponse) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_ecb1e126f615f5dd, []int{1}
|
return file_namespace_proto_rawDescGZIP(), []int{1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesResponse) XXX_Unmarshal(b []byte) error {
|
func (x *ListNamespacesResponse) GetCount() int32 {
|
||||||
return xxx_messageInfo_ListNamespacesResponse.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Count
|
||||||
func (m *ListNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_ListNamespacesResponse.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *ListNamespacesResponse) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_ListNamespacesResponse.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *ListNamespacesResponse) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_ListNamespacesResponse.Size(m)
|
|
||||||
}
|
|
||||||
func (m *ListNamespacesResponse) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_ListNamespacesResponse.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_ListNamespacesResponse proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *ListNamespacesResponse) GetCount() int32 {
|
|
||||||
if m != nil {
|
|
||||||
return m.Count
|
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesResponse) GetNamespaces() []*Namespace {
|
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Namespaces
|
return x.Namespaces
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesResponse) GetPage() int32 {
|
func (x *ListNamespacesResponse) GetPage() int32 {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Page
|
return x.Page
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesResponse) GetPages() int32 {
|
func (x *ListNamespacesResponse) GetPages() int32 {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Pages
|
return x.Pages
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ListNamespacesResponse) GetTotalCount() int32 {
|
func (x *ListNamespacesResponse) GetTotalCount() int32 {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.TotalCount
|
return x.TotalCount
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateNamespaceRequest struct {
|
type CreateNamespaceRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *CreateNamespaceRequest) Reset() { *m = CreateNamespaceRequest{} }
|
func (x *CreateNamespaceRequest) Reset() {
|
||||||
func (m *CreateNamespaceRequest) String() string { return proto.CompactTextString(m) }
|
*x = CreateNamespaceRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_namespace_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateNamespaceRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*CreateNamespaceRequest) ProtoMessage() {}
|
func (*CreateNamespaceRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_namespace_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 CreateNamespaceRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) {
|
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_ecb1e126f615f5dd, []int{2}
|
return file_namespace_proto_rawDescGZIP(), []int{2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *CreateNamespaceRequest) XXX_Unmarshal(b []byte) error {
|
func (x *CreateNamespaceRequest) GetNamespace() *Namespace {
|
||||||
return xxx_messageInfo_CreateNamespaceRequest.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Namespace
|
||||||
func (m *CreateNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_CreateNamespaceRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *CreateNamespaceRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_CreateNamespaceRequest.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *CreateNamespaceRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_CreateNamespaceRequest.Size(m)
|
|
||||||
}
|
|
||||||
func (m *CreateNamespaceRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_CreateNamespaceRequest.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_CreateNamespaceRequest proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *CreateNamespaceRequest) GetNamespace() *Namespace {
|
|
||||||
if m != nil {
|
|
||||||
return m.Namespace
|
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type Namespace struct {
|
type Namespace struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Namespace) Reset() { *m = Namespace{} }
|
func (x *Namespace) Reset() {
|
||||||
func (m *Namespace) String() string { return proto.CompactTextString(m) }
|
*x = Namespace{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_namespace_proto_msgTypes[3]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *Namespace) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
func (*Namespace) ProtoMessage() {}
|
func (*Namespace) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *Namespace) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_namespace_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 Namespace.ProtoReflect.Descriptor instead.
|
||||||
func (*Namespace) Descriptor() ([]byte, []int) {
|
func (*Namespace) Descriptor() ([]byte, []int) {
|
||||||
return fileDescriptor_ecb1e126f615f5dd, []int{3}
|
return file_namespace_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Namespace) XXX_Unmarshal(b []byte) error {
|
func (x *Namespace) GetName() string {
|
||||||
return xxx_messageInfo_Namespace.Unmarshal(m, b)
|
if x != nil {
|
||||||
}
|
return x.Name
|
||||||
func (m *Namespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_Namespace.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *Namespace) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_Namespace.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *Namespace) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_Namespace.Size(m)
|
|
||||||
}
|
|
||||||
func (m *Namespace) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_Namespace.DiscardUnknown(m)
|
|
||||||
}
|
|
||||||
|
|
||||||
var xxx_messageInfo_Namespace proto.InternalMessageInfo
|
|
||||||
|
|
||||||
func (m *Namespace) GetName() string {
|
|
||||||
if m != nil {
|
|
||||||
return m.Name
|
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
var File_namespace_proto protoreflect.FileDescriptor
|
||||||
proto.RegisterType((*ListNamespacesRequest)(nil), "api.ListNamespacesRequest")
|
|
||||||
proto.RegisterType((*ListNamespacesResponse)(nil), "api.ListNamespacesResponse")
|
var file_namespace_proto_rawDesc = []byte{
|
||||||
proto.RegisterType((*CreateNamespaceRequest)(nil), "api.CreateNamespaceRequest")
|
0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||||
proto.RegisterType((*Namespace)(nil), "api.Namespace")
|
0x6f, 0x12, 0x03, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
|
||||||
|
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
|
||||||
|
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65,
|
||||||
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
|
||||||
|
0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||||
|
0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
|
||||||
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
|
||||||
|
0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75,
|
||||||
|
0x65, 0x72, 0x79, 0x22, 0xa8, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65,
|
||||||
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
|
||||||
|
0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63,
|
||||||
|
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
|
||||||
|
0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4e,
|
||||||
|
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
|
||||||
|
0x61, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||||||
|
0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65,
|
||||||
|
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e,
|
||||||
|
0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01,
|
||||||
|
0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x46,
|
||||||
|
0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63,
|
||||||
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65,
|
||||||
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x70,
|
||||||
|
0x69, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x6e, 0x61, 0x6d,
|
||||||
|
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x1f, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
|
||||||
|
0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
|
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xec, 0x01, 0x0a, 0x10, 0x4e, 0x61, 0x6d, 0x65,
|
||||||
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x0e,
|
||||||
|
0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x1a,
|
||||||
|
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
||||||
|
0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69,
|
||||||
|
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52,
|
||||||
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12,
|
||||||
|
0x18, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6e,
|
||||||
|
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x6b, 0x0a, 0x0f, 0x43, 0x72, 0x65,
|
||||||
|
0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x61,
|
||||||
|
0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
||||||
|
0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x61, 0x70, 0x69, 0x2e,
|
||||||
|
0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02,
|
||||||
|
0x25, 0x22, 0x18, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
|
||||||
|
0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x09, 0x6e, 0x61, 0x6d,
|
||||||
|
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { proto.RegisterFile("namespace.proto", fileDescriptor_ecb1e126f615f5dd) }
|
var (
|
||||||
|
file_namespace_proto_rawDescOnce sync.Once
|
||||||
|
file_namespace_proto_rawDescData = file_namespace_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
var fileDescriptor_ecb1e126f615f5dd = []byte{
|
func file_namespace_proto_rawDescGZIP() []byte {
|
||||||
// 341 bytes of a gzipped FileDescriptorProto
|
file_namespace_proto_rawDescOnce.Do(func() {
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0xcb, 0x4a, 0xc3, 0x40,
|
file_namespace_proto_rawDescData = protoimpl.X.CompressGZIP(file_namespace_proto_rawDescData)
|
||||||
0x14, 0x25, 0x4d, 0x2b, 0xe6, 0x0a, 0xad, 0x0c, 0x5a, 0x42, 0x14, 0x0d, 0x03, 0x42, 0x41, 0x49,
|
})
|
||||||
0x68, 0xdd, 0xb9, 0x2d, 0xb8, 0x12, 0x17, 0xe9, 0xda, 0xc5, 0xb4, 0x5c, 0xca, 0xd0, 0x9a, 0x99,
|
return file_namespace_proto_rawDescData
|
||||||
0x66, 0xa6, 0x05, 0x5d, 0xfa, 0x0b, 0xfe, 0x84, 0xff, 0xe3, 0x2f, 0xb8, 0xf4, 0x23, 0x24, 0x37,
|
}
|
||||||
0x75, 0xfa, 0x30, 0xae, 0x72, 0x9f, 0xe7, 0x9c, 0x7b, 0x26, 0xd0, 0xc9, 0xc5, 0x33, 0x1a, 0x2d,
|
|
||||||
0x26, 0x98, 0xe8, 0x42, 0x59, 0xc5, 0x7c, 0xa1, 0x65, 0x74, 0x3e, 0x55, 0x6a, 0x3a, 0xc7, 0x54,
|
var file_namespace_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||||
0x68, 0x99, 0x8a, 0x3c, 0x57, 0x56, 0x58, 0xa9, 0x72, 0x53, 0x8d, 0xf0, 0x27, 0x38, 0x7d, 0x90,
|
var file_namespace_proto_goTypes = []interface{}{
|
||||||
0xc6, 0x3e, 0xfe, 0x6e, 0x9a, 0x0c, 0x17, 0x4b, 0x34, 0x96, 0x45, 0x70, 0xa8, 0xc5, 0x14, 0x47,
|
(*ListNamespacesRequest)(nil), // 0: api.ListNamespacesRequest
|
||||||
0xf2, 0x15, 0x43, 0x2f, 0xf6, 0x7a, 0xad, 0xcc, 0xe5, 0x8c, 0x41, 0xb3, 0x8c, 0xc3, 0x06, 0xd5,
|
(*ListNamespacesResponse)(nil), // 1: api.ListNamespacesResponse
|
||||||
0x29, 0x66, 0x27, 0xd0, 0x5a, 0x2c, 0xb1, 0x78, 0x09, 0xfd, 0xd8, 0xeb, 0x05, 0x59, 0x95, 0xf0,
|
(*CreateNamespaceRequest)(nil), // 2: api.CreateNamespaceRequest
|
||||||
0x0f, 0x0f, 0xba, 0xfb, 0xf8, 0x46, 0xab, 0xdc, 0xd0, 0xc2, 0x44, 0x2d, 0x73, 0xbb, 0x46, 0xaf,
|
(*Namespace)(nil), // 3: api.Namespace
|
||||||
0x12, 0x96, 0x00, 0xb8, 0x2b, 0x4c, 0xd8, 0x88, 0xfd, 0xde, 0xd1, 0xa0, 0x9d, 0x08, 0x2d, 0x13,
|
}
|
||||||
0x07, 0x91, 0x6d, 0x4d, 0x38, 0x29, 0xfe, 0xae, 0x94, 0xf2, 0x6b, 0xc2, 0x66, 0x85, 0x4c, 0x09,
|
var file_namespace_proto_depIdxs = []int32{
|
||||||
0xbb, 0x00, 0xb0, 0xca, 0x8a, 0xf9, 0x90, 0x48, 0x5b, 0xd4, 0xda, 0xaa, 0xf0, 0x7b, 0xe8, 0x0e,
|
3, // 0: api.ListNamespacesResponse.namespaces:type_name -> api.Namespace
|
||||||
0x0b, 0x14, 0x16, 0x37, 0x44, 0x6b, 0x2b, 0x6e, 0x20, 0x70, 0x8c, 0xa4, 0xf6, 0xaf, 0xa4, 0xcd,
|
3, // 1: api.CreateNamespaceRequest.namespace:type_name -> api.Namespace
|
||||||
0x00, 0xbf, 0x84, 0xc0, 0xd5, 0x4b, 0x79, 0x65, 0x87, 0xb6, 0x82, 0x8c, 0xe2, 0xc1, 0xb7, 0x07,
|
0, // 2: api.NamespaceService.ListNamespaces:input_type -> api.ListNamespacesRequest
|
||||||
0xc7, 0x6e, 0x62, 0x84, 0xc5, 0x4a, 0x4e, 0x90, 0xcd, 0xa0, 0xbd, 0xeb, 0x13, 0x8b, 0x88, 0xa2,
|
2, // 3: api.NamespaceService.CreateNamespace:input_type -> api.CreateNamespaceRequest
|
||||||
0xf6, 0x71, 0xa2, 0xb3, 0xda, 0x5e, 0x65, 0x2c, 0x8f, 0xdf, 0x3e, 0xbf, 0xde, 0x1b, 0x11, 0x0b,
|
1, // 4: api.NamespaceService.ListNamespaces:output_type -> api.ListNamespacesResponse
|
||||||
0xcb, 0x27, 0x37, 0xe9, 0xaa, 0x3f, 0x46, 0x2b, 0xfa, 0xe9, 0x96, 0x69, 0x33, 0xe8, 0xec, 0x9d,
|
3, // 5: api.NamespaceService.CreateNamespace:output_type -> api.Namespace
|
||||||
0xca, 0x2a, 0xc4, 0x7a, 0x03, 0xa2, 0xbd, 0x6b, 0xf9, 0x35, 0x31, 0x5c, 0xf1, 0x7f, 0x19, 0xee,
|
4, // [4:6] is the sub-list for method output_type
|
||||||
0x36, 0x7e, 0x8c, 0x0f, 0xe8, 0x47, 0xbb, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0x92, 0x90, 0x1e,
|
2, // [2:4] is the sub-list for method input_type
|
||||||
0xf0, 0x9e, 0x02, 0x00, 0x00,
|
2, // [2:2] is the sub-list for extension type_name
|
||||||
|
2, // [2:2] is the sub-list for extension extendee
|
||||||
|
0, // [0:2] is the sub-list for field type_name
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_namespace_proto_init() }
|
||||||
|
func file_namespace_proto_init() {
|
||||||
|
if File_namespace_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_namespace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ListNamespacesRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_namespace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ListNamespacesResponse); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_namespace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*CreateNamespaceRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_namespace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*Namespace); 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_namespace_proto_rawDesc,
|
||||||
|
NumEnums: 0,
|
||||||
|
NumMessages: 4,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 1,
|
||||||
|
},
|
||||||
|
GoTypes: file_namespace_proto_goTypes,
|
||||||
|
DependencyIndexes: file_namespace_proto_depIdxs,
|
||||||
|
MessageInfos: file_namespace_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_namespace_proto = out.File
|
||||||
|
file_namespace_proto_rawDesc = nil
|
||||||
|
file_namespace_proto_goTypes = nil
|
||||||
|
file_namespace_proto_depIdxs = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
var _ context.Context
|
var _ context.Context
|
||||||
var _ grpc.ClientConn
|
var _ grpc.ClientConnInterface
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
// is compatible with the grpc package it is being compiled against.
|
// is compatible with the grpc package it is being compiled against.
|
||||||
const _ = grpc.SupportPackageIsVersion4
|
const _ = grpc.SupportPackageIsVersion6
|
||||||
|
|
||||||
// NamespaceServiceClient is the client API for NamespaceService service.
|
// NamespaceServiceClient is the client API for NamespaceService service.
|
||||||
//
|
//
|
||||||
@@ -281,10 +438,10 @@ type NamespaceServiceClient interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type namespaceServiceClient struct {
|
type namespaceServiceClient struct {
|
||||||
cc *grpc.ClientConn
|
cc grpc.ClientConnInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewNamespaceServiceClient(cc *grpc.ClientConn) NamespaceServiceClient {
|
func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient {
|
||||||
return &namespaceServiceClient{cc}
|
return &namespaceServiceClient{cc}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -316,10 +473,10 @@ type NamespaceServiceServer interface {
|
|||||||
type UnimplementedNamespaceServiceServer struct {
|
type UnimplementedNamespaceServiceServer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*UnimplementedNamespaceServiceServer) ListNamespaces(ctx context.Context, req *ListNamespacesRequest) (*ListNamespacesResponse, error) {
|
func (*UnimplementedNamespaceServiceServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method ListNamespaces not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method ListNamespaces not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedNamespaceServiceServer) CreateNamespace(ctx context.Context, req *CreateNamespaceRequest) (*Namespace, error) {
|
func (*UnimplementedNamespaceServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*Namespace, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CreateNamespace not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CreateNamespace not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1516
api/secret.pb.go
1516
api/secret.pb.go
File diff suppressed because it is too large
Load Diff
2424
api/workflow.pb.go
2424
api/workflow.pb.go
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,50 +1,37 @@
|
|||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.21.0
|
||||||
|
// protoc v3.11.1
|
||||||
// source: workspace.proto
|
// source: workspace.proto
|
||||||
|
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
fmt "fmt"
|
|
||||||
proto "github.com/golang/protobuf/proto"
|
proto "github.com/golang/protobuf/proto"
|
||||||
empty "github.com/golang/protobuf/ptypes/empty"
|
empty "github.com/golang/protobuf/ptypes/empty"
|
||||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
math "math"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
const (
|
||||||
var _ = proto.Marshal
|
// Verify that this generated code is sufficiently up-to-date.
|
||||||
var _ = fmt.Errorf
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||||
var _ = math.Inf
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
|
)
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
// is compatible with the proto package it is being compiled against.
|
// of the legacy proto package is being used.
|
||||||
// A compilation error at this line likely means your copy of the
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
// proto package needs to be updated.
|
|
||||||
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
||||||
|
|
||||||
type Workspace struct {
|
type Workspace struct {
|
||||||
<<<<<<< HEAD
|
|
||||||
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
|
|
||||||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
||||||
Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
||||||
CreatedAt string `protobuf:"bytes,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
|
||||||
Parameters []*Parameter `protobuf:"bytes,5,rep,name=parameters,proto3" json:"parameters,omitempty"`
|
|
||||||
WorkspaceTemplate *WorkspaceTemplate `protobuf:"bytes,6,opt,name=workspaceTemplate,proto3" json:"workspaceTemplate,omitempty"`
|
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *Workspace) Reset() { *m = Workspace{} }
|
|
||||||
func (m *Workspace) String() string { return proto.CompactTextString(m) }
|
|
||||||
func (*Workspace) ProtoMessage() {}
|
|
||||||
func (*Workspace) Descriptor() ([]byte, []int) {
|
|
||||||
return fileDescriptor_dac718ecaafc2333, []int{0}
|
|
||||||
=======
|
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
@@ -65,65 +52,69 @@ func (x *Workspace) Reset() {
|
|||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
>>>>>>> update workspace status
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Workspace) XXX_Unmarshal(b []byte) error {
|
func (x *Workspace) String() string {
|
||||||
return xxx_messageInfo_Workspace.Unmarshal(m, b)
|
return protoimpl.X.MessageStringOf(x)
|
||||||
}
|
|
||||||
func (m *Workspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_Workspace.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *Workspace) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_Workspace.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *Workspace) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_Workspace.Size(m)
|
|
||||||
}
|
|
||||||
func (m *Workspace) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_Workspace.DiscardUnknown(m)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var xxx_messageInfo_Workspace proto.InternalMessageInfo
|
func (*Workspace) ProtoMessage() {}
|
||||||
|
|
||||||
func (m *Workspace) GetUid() string {
|
func (x *Workspace) ProtoReflect() protoreflect.Message {
|
||||||
if m != nil {
|
mi := &file_workspace_proto_msgTypes[0]
|
||||||
return m.Uid
|
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 Workspace.ProtoReflect.Descriptor instead.
|
||||||
|
func (*Workspace) Descriptor() ([]byte, []int) {
|
||||||
|
return file_workspace_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *Workspace) GetUid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Uid
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Workspace) GetName() string {
|
func (x *Workspace) GetName() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Name
|
return x.Name
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Workspace) GetVersion() int64 {
|
func (x *Workspace) GetVersion() int64 {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Version
|
return x.Version
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Workspace) GetCreatedAt() string {
|
func (x *Workspace) GetCreatedAt() string {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.CreatedAt
|
return x.CreatedAt
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Workspace) GetParameters() []*Parameter {
|
func (x *Workspace) GetParameters() []*Parameter {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Parameters
|
return x.Parameters
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Workspace) GetWorkspaceTemplate() *WorkspaceTemplate {
|
func (x *Workspace) GetWorkspaceTemplate() *WorkspaceTemplate {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.WorkspaceTemplate
|
return x.WorkspaceTemplate
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@@ -142,10 +133,8 @@ type WorkspaceStatus struct {
|
|||||||
|
|
||||||
Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"`
|
Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"`
|
||||||
StartedAt string `protobuf:"bytes,2,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
|
StartedAt string `protobuf:"bytes,2,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
|
||||||
RunningAt string `protobuf:"bytes,3,opt,name=runningAt,proto3" json:"runningAt,omitempty"`
|
PausedAt string `protobuf:"bytes,3,opt,name=pausedAt,proto3" json:"pausedAt,omitempty"`
|
||||||
PausingAt string `protobuf:"bytes,4,opt,name=pausingAt,proto3" json:"pausingAt,omitempty"`
|
TerminatedAt string `protobuf:"bytes,4,opt,name=terminatedAt,proto3" json:"terminatedAt,omitempty"`
|
||||||
PausedAt string `protobuf:"bytes,5,opt,name=pausedAt,proto3" json:"pausedAt,omitempty"`
|
|
||||||
TerminatingAt string `protobuf:"bytes,6,opt,name=terminatingAt,proto3" json:"terminatingAt,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *WorkspaceStatus) Reset() {
|
func (x *WorkspaceStatus) Reset() {
|
||||||
@@ -194,20 +183,6 @@ func (x *WorkspaceStatus) GetStartedAt() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *WorkspaceStatus) GetRunningAt() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.RunningAt
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WorkspaceStatus) GetPausingAt() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.PausingAt
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *WorkspaceStatus) GetPausedAt() string {
|
func (x *WorkspaceStatus) GetPausedAt() string {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.PausedAt
|
return x.PausedAt
|
||||||
@@ -215,28 +190,14 @@ func (x *WorkspaceStatus) GetPausedAt() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *WorkspaceStatus) GetTerminatingAt() string {
|
func (x *WorkspaceStatus) GetTerminatedAt() string {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.TerminatingAt
|
return x.TerminatedAt
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateWorkspaceRequest struct {
|
type CreateWorkspaceRequest struct {
|
||||||
<<<<<<< HEAD
|
|
||||||
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
|
|
||||||
Workspace *Workspace `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"`
|
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
||||||
XXX_unrecognized []byte `json:"-"`
|
|
||||||
XXX_sizecache int32 `json:"-"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (m *CreateWorkspaceRequest) Reset() { *m = CreateWorkspaceRequest{} }
|
|
||||||
func (m *CreateWorkspaceRequest) String() string { return proto.CompactTextString(m) }
|
|
||||||
func (*CreateWorkspaceRequest) ProtoMessage() {}
|
|
||||||
func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int) {
|
|
||||||
return fileDescriptor_dac718ecaafc2333, []int{1}
|
|
||||||
=======
|
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
@@ -252,22 +213,11 @@ func (x *CreateWorkspaceRequest) Reset() {
|
|||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
>>>>>>> update workspace status
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *CreateWorkspaceRequest) XXX_Unmarshal(b []byte) error {
|
func (x *CreateWorkspaceRequest) String() string {
|
||||||
return xxx_messageInfo_CreateWorkspaceRequest.Unmarshal(m, b)
|
return protoimpl.X.MessageStringOf(x)
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
func (m *CreateWorkspaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
||||||
return xxx_messageInfo_CreateWorkspaceRequest.Marshal(b, m, deterministic)
|
|
||||||
}
|
|
||||||
func (m *CreateWorkspaceRequest) XXX_Merge(src proto.Message) {
|
|
||||||
xxx_messageInfo_CreateWorkspaceRequest.Merge(m, src)
|
|
||||||
}
|
|
||||||
func (m *CreateWorkspaceRequest) XXX_Size() int {
|
|
||||||
return xxx_messageInfo_CreateWorkspaceRequest.Size(m)
|
|
||||||
=======
|
|
||||||
|
|
||||||
func (*CreateWorkspaceRequest) ProtoMessage() {}
|
func (*CreateWorkspaceRequest) ProtoMessage() {}
|
||||||
|
|
||||||
@@ -286,60 +236,22 @@ func (x *CreateWorkspaceRequest) ProtoReflect() protoreflect.Message {
|
|||||||
// Deprecated: Use CreateWorkspaceRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use CreateWorkspaceRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int) {
|
func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_workspace_proto_rawDescGZIP(), []int{2}
|
return file_workspace_proto_rawDescGZIP(), []int{2}
|
||||||
>>>>>>> update workspace status
|
|
||||||
}
|
|
||||||
func (m *CreateWorkspaceRequest) XXX_DiscardUnknown() {
|
|
||||||
xxx_messageInfo_CreateWorkspaceRequest.DiscardUnknown(m)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var xxx_messageInfo_CreateWorkspaceRequest proto.InternalMessageInfo
|
func (x *CreateWorkspaceRequest) GetNamespace() string {
|
||||||
|
if x != nil {
|
||||||
func (m *CreateWorkspaceRequest) GetNamespace() string {
|
return x.Namespace
|
||||||
if m != nil {
|
|
||||||
return m.Namespace
|
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *CreateWorkspaceRequest) GetWorkspace() *Workspace {
|
func (x *CreateWorkspaceRequest) GetWorkspace() *Workspace {
|
||||||
if m != nil {
|
if x != nil {
|
||||||
return m.Workspace
|
return x.Workspace
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
func init() {
|
|
||||||
proto.RegisterType((*Workspace)(nil), "api.Workspace")
|
|
||||||
proto.RegisterType((*CreateWorkspaceRequest)(nil), "api.CreateWorkspaceRequest")
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { proto.RegisterFile("workspace.proto", fileDescriptor_dac718ecaafc2333) }
|
|
||||||
|
|
||||||
var fileDescriptor_dac718ecaafc2333 = []byte{
|
|
||||||
// 332 bytes of a gzipped FileDescriptorProto
|
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x51, 0xb1, 0x4e, 0xeb, 0x30,
|
|
||||||
0x14, 0x55, 0x9a, 0xbe, 0x3e, 0xe5, 0xf6, 0xe9, 0xb5, 0x78, 0xa8, 0xac, 0xd0, 0x21, 0x8a, 0x18,
|
|
||||||
0x32, 0xa0, 0x44, 0x2d, 0x03, 0x12, 0x1b, 0x82, 0x0f, 0x40, 0x01, 0xa9, 0x23, 0x72, 0xd3, 0xab,
|
|
||||||
0xca, 0xa2, 0x89, 0x8d, 0xed, 0xb6, 0x03, 0x62, 0x61, 0x65, 0xe4, 0xd3, 0xf8, 0x00, 0x16, 0x3e,
|
|
||||||
0x04, 0xc5, 0x6d, 0x1c, 0x54, 0xd8, 0x7c, 0xcf, 0x3d, 0xe7, 0xf8, 0x1c, 0x5d, 0x18, 0x6c, 0x85,
|
|
||||||
0x7a, 0xd0, 0x92, 0x15, 0x98, 0x4a, 0x25, 0x8c, 0x20, 0x3e, 0x93, 0x3c, 0x1c, 0x2f, 0x85, 0x58,
|
|
||||||
0xae, 0x30, 0x63, 0x92, 0x67, 0xac, 0xaa, 0x84, 0x61, 0x86, 0x8b, 0x4a, 0xef, 0x28, 0x21, 0x75,
|
|
||||||
0x9a, 0x7b, 0x83, 0xa5, 0x5c, 0x31, 0xb3, 0x17, 0x87, 0xff, 0x0a, 0x51, 0x96, 0xa2, 0xda, 0x4d,
|
|
||||||
0xf1, 0x87, 0x07, 0xc1, 0xac, 0xa1, 0x92, 0x21, 0xf8, 0x6b, 0xbe, 0xa0, 0x5e, 0xe4, 0x25, 0x41,
|
|
||||||
0x5e, 0x3f, 0x09, 0x81, 0x6e, 0xc5, 0x4a, 0xa4, 0x1d, 0x0b, 0xd9, 0x37, 0xa1, 0xf0, 0x77, 0x83,
|
|
||||||
0x4a, 0x73, 0x51, 0x51, 0x3f, 0xf2, 0x12, 0x3f, 0x6f, 0x46, 0x32, 0x86, 0xa0, 0x50, 0xc8, 0x0c,
|
|
||||||
0x2e, 0x2e, 0x0d, 0xed, 0x5a, 0x49, 0x0b, 0x90, 0x14, 0x40, 0x32, 0xc5, 0x4a, 0x34, 0xa8, 0x34,
|
|
||||||
0xfd, 0x13, 0xf9, 0x49, 0x7f, 0xfa, 0x3f, 0x65, 0x92, 0xa7, 0x37, 0x0d, 0x9c, 0x7f, 0x63, 0x90,
|
|
||||||
0x6b, 0x38, 0x72, 0x2d, 0xee, 0xf6, 0x25, 0x68, 0x2f, 0xf2, 0x92, 0xfe, 0x74, 0x64, 0x65, 0xb3,
|
|
||||||
0xc3, 0x6d, 0xfe, 0x53, 0x10, 0x2f, 0x60, 0x74, 0x65, 0x23, 0x38, 0x76, 0x8e, 0x8f, 0x6b, 0xd4,
|
|
||||||
0xa6, 0x4e, 0x5b, 0xf7, 0xb1, 0xd8, 0xbe, 0x73, 0x0b, 0x90, 0x53, 0x08, 0x9c, 0x99, 0xed, 0xd9,
|
|
||||||
0x84, 0x6d, 0x7d, 0x5a, 0xc2, 0xf4, 0xd5, 0x83, 0xa1, 0x5b, 0xdc, 0xa2, 0xda, 0xf0, 0x02, 0xc9,
|
|
||||||
0x16, 0x06, 0x07, 0x5f, 0x93, 0x63, 0x6b, 0xf1, 0x7b, 0xa0, 0xf0, 0xc0, 0x3f, 0x3e, 0x7f, 0x79,
|
|
||||||
0xff, 0x7c, 0xeb, 0x4c, 0xe2, 0x93, 0xfa, 0xc8, 0x3a, 0xdb, 0x4c, 0xe6, 0x68, 0xd8, 0x24, 0x7b,
|
|
||||||
0x72, 0x21, 0x9f, 0x33, 0x97, 0x40, 0x5f, 0xb4, 0x69, 0xe6, 0x3d, 0x7b, 0xdc, 0xb3, 0xaf, 0x00,
|
|
||||||
0x00, 0x00, 0xff, 0xff, 0xb6, 0x9e, 0x1f, 0xcf, 0x3a, 0x02, 0x00, 0x00,
|
|
||||||
=======
|
|
||||||
type UpdateWorkspaceStatusRequest struct {
|
type UpdateWorkspaceStatusRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -430,53 +342,49 @@ var file_workspace_proto_rawDesc = []byte{
|
|||||||
0x61, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x73,
|
0x61, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x73,
|
||||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70,
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70,
|
||||||
0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
|
0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
|
||||||
0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc3, 0x01, 0x0a, 0x0f, 0x57, 0x6f,
|
0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x0f, 0x57, 0x6f,
|
||||||
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a,
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a,
|
||||||
0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
|
0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
|
||||||
0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74,
|
0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41,
|
||||||
0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x18, 0x03,
|
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x41, 0x74, 0x18, 0x03, 0x20,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x12,
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x41, 0x74, 0x12, 0x22, 0x0a,
|
||||||
0x1c, 0x0a, 0x09, 0x70, 0x61, 0x75, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x18, 0x04, 0x20, 0x01,
|
0x0c, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x04, 0x20,
|
||||||
0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x75, 0x73, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x12, 0x1a, 0x0a,
|
0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||||
0x08, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x74, 0x22, 0x64, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
||||||
0x08, 0x70, 0x61, 0x75, 0x73, 0x65, 0x64, 0x41, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x65, 0x72,
|
0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e,
|
||||||
0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
||||||
0x52, 0x0d, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x74, 0x22,
|
0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x77, 0x6f, 0x72,
|
||||||
0x64, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61,
|
||||||
0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
|
0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x77, 0x6f,
|
||||||
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61,
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7c, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||||
0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73,
|
0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||||
0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x70, 0x69,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73,
|
||||||
0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x77, 0x6f, 0x72, 0x6b,
|
0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65,
|
||||||
0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x7c, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||||||
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
|
0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f,
|
||||||
0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70,
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
|
||||||
0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0xa3, 0x02, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
||||||
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
|
0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x0f, 0x43, 0x72,
|
||||||
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x6f, 0x72, 0x6b,
|
0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x2e,
|
||||||
0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,
|
0x61, 0x70, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
||||||
0x74, 0x75, 0x73, 0x32, 0xa3, 0x02, 0x0a, 0x10, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x61, 0x70, 0x69,
|
||||||
0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61,
|
0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93,
|
||||||
0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x61, 0x70,
|
0x02, 0x31, 0x22, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
|
||||||
0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f,
|
||||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x57,
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
||||||
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31,
|
0x61, 0x63, 0x65, 0x12, 0x95, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f,
|
||||||
0x22, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x2e,
|
||||||
|
0x61, 0x70, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
||||||
|
0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
|
0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
||||||
|
0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b,
|
||||||
|
0x1a, 0x31, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
|
||||||
0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b,
|
0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b,
|
||||||
0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x09, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x75, 0x69, 0x64, 0x7d, 0x2f, 0x73, 0x74, 0x61,
|
||||||
0x65, 0x12, 0x95, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b,
|
0x74, 0x75, 0x73, 0x3a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||||
0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x2e, 0x61, 0x70,
|
0x74, 0x6f, 0x33,
|
||||||
0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
||||||
0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
|
|
||||||
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
||||||
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x1a, 0x31,
|
|
||||||
0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e,
|
|
||||||
0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
||||||
0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x75, 0x69, 0x64, 0x7d, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
||||||
0x73, 0x3a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
||||||
0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -593,16 +501,15 @@ func file_workspace_proto_init() {
|
|||||||
file_workspace_proto_rawDesc = nil
|
file_workspace_proto_rawDesc = nil
|
||||||
file_workspace_proto_goTypes = nil
|
file_workspace_proto_goTypes = nil
|
||||||
file_workspace_proto_depIdxs = nil
|
file_workspace_proto_depIdxs = nil
|
||||||
>>>>>>> update workspace status
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
var _ context.Context
|
var _ context.Context
|
||||||
var _ grpc.ClientConn
|
var _ grpc.ClientConnInterface
|
||||||
|
|
||||||
// This is a compile-time assertion to ensure that this generated file
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
// is compatible with the grpc package it is being compiled against.
|
// is compatible with the grpc package it is being compiled against.
|
||||||
const _ = grpc.SupportPackageIsVersion4
|
const _ = grpc.SupportPackageIsVersion6
|
||||||
|
|
||||||
// WorkspaceServiceClient is the client API for WorkspaceService service.
|
// WorkspaceServiceClient is the client API for WorkspaceService service.
|
||||||
//
|
//
|
||||||
@@ -613,10 +520,10 @@ type WorkspaceServiceClient interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type workspaceServiceClient struct {
|
type workspaceServiceClient struct {
|
||||||
cc *grpc.ClientConn
|
cc grpc.ClientConnInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewWorkspaceServiceClient(cc *grpc.ClientConn) WorkspaceServiceClient {
|
func NewWorkspaceServiceClient(cc grpc.ClientConnInterface) WorkspaceServiceClient {
|
||||||
return &workspaceServiceClient{cc}
|
return &workspaceServiceClient{cc}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -648,7 +555,7 @@ type WorkspaceServiceServer interface {
|
|||||||
type UnimplementedWorkspaceServiceServer struct {
|
type UnimplementedWorkspaceServiceServer struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*UnimplementedWorkspaceServiceServer) CreateWorkspace(ctx context.Context, req *CreateWorkspaceRequest) (*Workspace, error) {
|
func (*UnimplementedWorkspaceServiceServer) CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*Workspace, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method CreateWorkspace not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method CreateWorkspace not implemented")
|
||||||
}
|
}
|
||||||
func (*UnimplementedWorkspaceServiceServer) UpdateWorkspaceStatus(context.Context, *UpdateWorkspaceStatusRequest) (*empty.Empty, error) {
|
func (*UnimplementedWorkspaceServiceServer) UpdateWorkspaceStatus(context.Context, *UpdateWorkspaceStatusRequest) (*empty.Empty, error) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user