From 480184b1238e8ee869c1d2527257ec9427169bed Mon Sep 17 00:00:00 2001 From: Barber Date: Tue, 18 Jul 2023 16:10:03 +0100 Subject: [PATCH] add more messages --- marketplace/config.pb.go | 442 +----------------------- marketplace/extensions.pb.go | 644 +++++++++++++---------------------- protobuf/config.proto | 28 -- protobuf/extensions.proto | 56 ++- 4 files changed, 278 insertions(+), 892 deletions(-) diff --git a/marketplace/config.pb.go b/marketplace/config.pb.go index 606141d..eacfabe 100644 --- a/marketplace/config.pb.go +++ b/marketplace/config.pb.go @@ -10,7 +10,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - sync "sync" ) const ( @@ -20,378 +19,22 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type Config struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ApplicationConfig *Config_ApplicationConfig `protobuf:"bytes,1,opt,name=applicationConfig,proto3" json:"applicationConfig,omitempty"` - NetworkConfig *Config_NetworkConfig `protobuf:"bytes,2,opt,name=networkConfig,proto3" json:"networkConfig,omitempty"` -} - -func (x *Config) Reset() { - *x = Config{} - if protoimpl.UnsafeEnabled { - mi := &file_config_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Config) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Config) ProtoMessage() {} - -func (x *Config) ProtoReflect() protoreflect.Message { - mi := &file_config_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 Config.ProtoReflect.Descriptor instead. -func (*Config) Descriptor() ([]byte, []int) { - return file_config_proto_rawDescGZIP(), []int{0} -} - -func (x *Config) GetApplicationConfig() *Config_ApplicationConfig { - if x != nil { - return x.ApplicationConfig - } - return nil -} - -func (x *Config) GetNetworkConfig() *Config_NetworkConfig { - if x != nil { - return x.NetworkConfig - } - return nil -} - -type Parameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Parameterlist map[string]*Parameters_Parameter `protobuf:"bytes,1,rep,name=parameterlist,proto3" json:"parameterlist,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *Parameters) Reset() { - *x = Parameters{} - if protoimpl.UnsafeEnabled { - mi := &file_config_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Parameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Parameters) ProtoMessage() {} - -func (x *Parameters) ProtoReflect() protoreflect.Message { - mi := &file_config_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 Parameters.ProtoReflect.Descriptor instead. -func (*Parameters) Descriptor() ([]byte, []int) { - return file_config_proto_rawDescGZIP(), []int{1} -} - -func (x *Parameters) GetParameterlist() map[string]*Parameters_Parameter { - if x != nil { - return x.Parameterlist - } - return nil -} - -type Config_ApplicationConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GithubToken string `protobuf:"bytes,1,opt,name=GithubToken,proto3" json:"GithubToken,omitempty"` - MarketplaceOwner string `protobuf:"bytes,2,opt,name=MarketplaceOwner,proto3" json:"MarketplaceOwner,omitempty"` - MarketplaceUser string `protobuf:"bytes,3,opt,name=MarketplaceUser,proto3" json:"MarketplaceUser,omitempty"` -} - -func (x *Config_ApplicationConfig) Reset() { - *x = Config_ApplicationConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_config_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Config_ApplicationConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Config_ApplicationConfig) ProtoMessage() {} - -func (x *Config_ApplicationConfig) ProtoReflect() protoreflect.Message { - mi := &file_config_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 Config_ApplicationConfig.ProtoReflect.Descriptor instead. -func (*Config_ApplicationConfig) Descriptor() ([]byte, []int) { - return file_config_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *Config_ApplicationConfig) GetGithubToken() string { - if x != nil { - return x.GithubToken - } - return "" -} - -func (x *Config_ApplicationConfig) GetMarketplaceOwner() string { - if x != nil { - return x.MarketplaceOwner - } - return "" -} - -func (x *Config_ApplicationConfig) GetMarketplaceUser() string { - if x != nil { - return x.MarketplaceUser - } - return "" -} - -type Config_NetworkConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Publicsubnets []string `protobuf:"bytes,1,rep,name=publicsubnets,proto3" json:"publicsubnets,omitempty"` - Privatesubnets []string `protobuf:"bytes,2,rep,name=privatesubnets,proto3" json:"privatesubnets,omitempty"` -} - -func (x *Config_NetworkConfig) Reset() { - *x = Config_NetworkConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_config_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Config_NetworkConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Config_NetworkConfig) ProtoMessage() {} - -func (x *Config_NetworkConfig) ProtoReflect() protoreflect.Message { - mi := &file_config_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 Config_NetworkConfig.ProtoReflect.Descriptor instead. -func (*Config_NetworkConfig) Descriptor() ([]byte, []int) { - return file_config_proto_rawDescGZIP(), []int{0, 1} -} - -func (x *Config_NetworkConfig) GetPublicsubnets() []string { - if x != nil { - return x.Publicsubnets - } - return nil -} - -func (x *Config_NetworkConfig) GetPrivatesubnets() []string { - if x != nil { - return x.Privatesubnets - } - return nil -} - -type Parameters_Parameter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - Tracked bool `protobuf:"varint,4,opt,name=tracked,proto3" json:"tracked,omitempty"` - Insync bool `protobuf:"varint,5,opt,name=insync,proto3" json:"insync,omitempty"` -} - -func (x *Parameters_Parameter) Reset() { - *x = Parameters_Parameter{} - if protoimpl.UnsafeEnabled { - mi := &file_config_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Parameters_Parameter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Parameters_Parameter) ProtoMessage() {} - -func (x *Parameters_Parameter) ProtoReflect() protoreflect.Message { - mi := &file_config_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Parameters_Parameter.ProtoReflect.Descriptor instead. -func (*Parameters_Parameter) Descriptor() ([]byte, []int) { - return file_config_proto_rawDescGZIP(), []int{1, 0} -} - -func (x *Parameters_Parameter) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -func (x *Parameters_Parameter) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *Parameters_Parameter) GetTracked() bool { - if x != nil { - return x.Tracked - } - return false -} - -func (x *Parameters_Parameter) GetInsync() bool { - if x != nil { - return x.Insync - } - return false -} - var File_config_proto protoreflect.FileDescriptor var file_config_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, - 0x02, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x11, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, - 0x11, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x0d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x0d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, - 0x8b, 0x01, 0x0a, 0x11, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x47, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x10, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x77, - 0x6e, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x5d, 0x0a, - 0x0d, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24, - 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x73, 0x75, 0x62, - 0x6e, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x73, - 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x22, 0x94, 0x02, 0x0a, - 0x0a, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x44, 0x0a, 0x0d, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x69, 0x73, - 0x74, 0x1a, 0x67, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 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, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, - 0x6b, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, - 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x73, 0x79, 0x6e, 0x63, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x69, 0x6e, 0x73, 0x79, 0x6e, 0x63, 0x1a, 0x57, 0x0a, 0x12, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x42, 0x1e, 0x5a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x1e, + 0x5a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var ( - file_config_proto_rawDescOnce sync.Once - file_config_proto_rawDescData = file_config_proto_rawDesc -) - -func file_config_proto_rawDescGZIP() []byte { - file_config_proto_rawDescOnce.Do(func() { - file_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_config_proto_rawDescData) - }) - return file_config_proto_rawDescData -} - -var file_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_config_proto_goTypes = []interface{}{ - (*Config)(nil), // 0: Config - (*Parameters)(nil), // 1: Parameters - (*Config_ApplicationConfig)(nil), // 2: Config.ApplicationConfig - (*Config_NetworkConfig)(nil), // 3: Config.NetworkConfig - (*Parameters_Parameter)(nil), // 4: Parameters.Parameter - nil, // 5: Parameters.ParameterlistEntry -} +var file_config_proto_goTypes = []interface{}{} var file_config_proto_depIdxs = []int32{ - 2, // 0: Config.applicationConfig:type_name -> Config.ApplicationConfig - 3, // 1: Config.networkConfig:type_name -> Config.NetworkConfig - 5, // 2: Parameters.parameterlist:type_name -> Parameters.ParameterlistEntry - 4, // 3: Parameters.ParameterlistEntry.value:type_name -> Parameters.Parameter - 4, // [4:4] is the sub-list for method output_type - 4, // [4:4] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name + 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_config_proto_init() } @@ -399,81 +42,18 @@ func file_config_proto_init() { if File_config_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Config); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Parameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Config_ApplicationConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Config_NetworkConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Parameters_Parameter); 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_config_proto_rawDesc, NumEnums: 0, - NumMessages: 6, + NumMessages: 0, NumExtensions: 0, NumServices: 0, }, GoTypes: file_config_proto_goTypes, DependencyIndexes: file_config_proto_depIdxs, - MessageInfos: file_config_proto_msgTypes, }.Build() File_config_proto = out.File file_config_proto_rawDesc = nil diff --git a/marketplace/extensions.pb.go b/marketplace/extensions.pb.go index bf7d6ce..7d0f9fc 100644 --- a/marketplace/extensions.pb.go +++ b/marketplace/extensions.pb.go @@ -29,6 +29,8 @@ type UnityWebsocketMessage struct { // *UnityWebsocketMessage_Install // *UnityWebsocketMessage_Simplemessage // *UnityWebsocketMessage_Connectionsetup + // *UnityWebsocketMessage_Config + // *UnityWebsocketMessage_Parameters Content isUnityWebsocketMessage_Content `protobuf_oneof:"content"` } @@ -92,6 +94,20 @@ func (x *UnityWebsocketMessage) GetConnectionsetup() *ConnectionSetup { return nil } +func (x *UnityWebsocketMessage) GetConfig() *Config { + if x, ok := x.GetContent().(*UnityWebsocketMessage_Config); ok { + return x.Config + } + return nil +} + +func (x *UnityWebsocketMessage) GetParameters() *Parameters { + if x, ok := x.GetContent().(*UnityWebsocketMessage_Parameters); ok { + return x.Parameters + } + return nil +} + type isUnityWebsocketMessage_Content interface { isUnityWebsocketMessage_Content() } @@ -108,12 +124,24 @@ type UnityWebsocketMessage_Connectionsetup struct { Connectionsetup *ConnectionSetup `protobuf:"bytes,3,opt,name=connectionsetup,proto3,oneof"` } +type UnityWebsocketMessage_Config struct { + Config *Config `protobuf:"bytes,4,opt,name=config,proto3,oneof"` +} + +type UnityWebsocketMessage_Parameters struct { + Parameters *Parameters `protobuf:"bytes,5,opt,name=parameters,proto3,oneof"` +} + func (*UnityWebsocketMessage_Install) isUnityWebsocketMessage_Content() {} func (*UnityWebsocketMessage_Simplemessage) isUnityWebsocketMessage_Content() {} func (*UnityWebsocketMessage_Connectionsetup) isUnityWebsocketMessage_Content() {} +func (*UnityWebsocketMessage_Config) isUnityWebsocketMessage_Content() {} + +func (*UnityWebsocketMessage_Parameters) isUnityWebsocketMessage_Content() {} + type ConnectionSetup struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -279,21 +307,17 @@ func (x *SimpleMessage) GetPayload() string { return "" } -type ActionMeta struct { +type Config struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - MetadataVersion string `protobuf:"bytes,1,opt,name=metadataVersion,proto3" json:"metadataVersion,omitempty"` - Exectarget string `protobuf:"bytes,2,opt,name=exectarget,proto3" json:"exectarget,omitempty"` - DeploymentName string `protobuf:"bytes,3,opt,name=deploymentName,proto3" json:"deploymentName,omitempty"` - Services []*ActionMeta_Services `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"` - Extensions *ActionMeta_Extensions `protobuf:"bytes,5,opt,name=extensions,proto3" json:"extensions,omitempty"` - DeploymentType string `protobuf:"bytes,6,opt,name=deploymentType,proto3" json:"deploymentType,omitempty"` + ApplicationConfig *Config_ApplicationConfig `protobuf:"bytes,1,opt,name=applicationConfig,proto3" json:"applicationConfig,omitempty"` + NetworkConfig *Config_NetworkConfig `protobuf:"bytes,2,opt,name=networkConfig,proto3" json:"networkConfig,omitempty"` } -func (x *ActionMeta) Reset() { - *x = ActionMeta{} +func (x *Config) Reset() { + *x = Config{} if protoimpl.UnsafeEnabled { mi := &file_extensions_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -301,13 +325,13 @@ func (x *ActionMeta) Reset() { } } -func (x *ActionMeta) String() string { +func (x *Config) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ActionMeta) ProtoMessage() {} +func (*Config) ProtoMessage() {} -func (x *ActionMeta) ProtoReflect() protoreflect.Message { +func (x *Config) ProtoReflect() protoreflect.Message { mi := &file_extensions_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -319,65 +343,35 @@ func (x *ActionMeta) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ActionMeta.ProtoReflect.Descriptor instead. -func (*ActionMeta) Descriptor() ([]byte, []int) { +// Deprecated: Use Config.ProtoReflect.Descriptor instead. +func (*Config) Descriptor() ([]byte, []int) { return file_extensions_proto_rawDescGZIP(), []int{4} } -func (x *ActionMeta) GetMetadataVersion() string { - if x != nil { - return x.MetadataVersion - } - return "" -} - -func (x *ActionMeta) GetExectarget() string { - if x != nil { - return x.Exectarget - } - return "" -} - -func (x *ActionMeta) GetDeploymentName() string { - if x != nil { - return x.DeploymentName - } - return "" -} - -func (x *ActionMeta) GetServices() []*ActionMeta_Services { +func (x *Config) GetApplicationConfig() *Config_ApplicationConfig { if x != nil { - return x.Services + return x.ApplicationConfig } return nil } -func (x *ActionMeta) GetExtensions() *ActionMeta_Extensions { +func (x *Config) GetNetworkConfig() *Config_NetworkConfig { if x != nil { - return x.Extensions + return x.NetworkConfig } return nil } -func (x *ActionMeta) GetDeploymentType() string { - if x != nil { - return x.DeploymentType - } - return "" -} - -type Install_Applications struct { +type Parameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Variables map[string]string `protobuf:"bytes,3,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Parameterlist map[string]*Parameters_Parameter `protobuf:"bytes,1,rep,name=parameterlist,proto3" json:"parameterlist,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *Install_Applications) Reset() { - *x = Install_Applications{} +func (x *Parameters) Reset() { + *x = Parameters{} if protoimpl.UnsafeEnabled { mi := &file_extensions_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -385,13 +379,13 @@ func (x *Install_Applications) Reset() { } } -func (x *Install_Applications) String() string { +func (x *Parameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Install_Applications) ProtoMessage() {} +func (*Parameters) ProtoMessage() {} -func (x *Install_Applications) ProtoReflect() protoreflect.Message { +func (x *Parameters) ProtoReflect() protoreflect.Message { mi := &file_extensions_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -403,60 +397,45 @@ func (x *Install_Applications) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Install_Applications.ProtoReflect.Descriptor instead. -func (*Install_Applications) Descriptor() ([]byte, []int) { - return file_extensions_proto_rawDescGZIP(), []int{2, 0} +// Deprecated: Use Parameters.ProtoReflect.Descriptor instead. +func (*Parameters) Descriptor() ([]byte, []int) { + return file_extensions_proto_rawDescGZIP(), []int{5} } -func (x *Install_Applications) GetName() string { +func (x *Parameters) GetParameterlist() map[string]*Parameters_Parameter { if x != nil { - return x.Name - } - return "" -} - -func (x *Install_Applications) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *Install_Applications) GetVariables() map[string]string { - if x != nil { - return x.Variables + return x.Parameterlist } return nil } -type ActionMeta_Services struct { +type Install_Applications struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - Branch string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Variables map[string]string `protobuf:"bytes,3,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *ActionMeta_Services) Reset() { - *x = ActionMeta_Services{} +func (x *Install_Applications) Reset() { + *x = Install_Applications{} if protoimpl.UnsafeEnabled { - mi := &file_extensions_proto_msgTypes[7] + mi := &file_extensions_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ActionMeta_Services) String() string { +func (x *Install_Applications) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ActionMeta_Services) ProtoMessage() {} +func (*Install_Applications) ProtoMessage() {} -func (x *ActionMeta_Services) ProtoReflect() protoreflect.Message { - mi := &file_extensions_proto_msgTypes[7] +func (x *Install_Applications) ProtoReflect() protoreflect.Message { + mi := &file_extensions_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -467,50 +446,44 @@ func (x *ActionMeta_Services) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ActionMeta_Services.ProtoReflect.Descriptor instead. -func (*ActionMeta_Services) Descriptor() ([]byte, []int) { - return file_extensions_proto_rawDescGZIP(), []int{4, 0} +// Deprecated: Use Install_Applications.ProtoReflect.Descriptor instead. +func (*Install_Applications) Descriptor() ([]byte, []int) { + return file_extensions_proto_rawDescGZIP(), []int{2, 0} } -func (x *ActionMeta_Services) GetName() string { +func (x *Install_Applications) GetName() string { if x != nil { return x.Name } return "" } -func (x *ActionMeta_Services) GetSource() string { - if x != nil { - return x.Source - } - return "" -} - -func (x *ActionMeta_Services) GetVersion() string { +func (x *Install_Applications) GetVersion() string { if x != nil { return x.Version } return "" } -func (x *ActionMeta_Services) GetBranch() string { +func (x *Install_Applications) GetVariables() map[string]string { if x != nil { - return x.Branch + return x.Variables } - return "" + return nil } -type ActionMeta_Extensions struct { +type Config_ApplicationConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Eks *ActionMeta_Extensions_Eks `protobuf:"bytes,1,opt,name=eks,proto3" json:"eks,omitempty"` - Apis *ActionMeta_Extensions_Apigateway `protobuf:"bytes,2,opt,name=apis,proto3" json:"apis,omitempty"` + GithubToken string `protobuf:"bytes,1,opt,name=GithubToken,proto3" json:"GithubToken,omitempty"` + MarketplaceOwner string `protobuf:"bytes,2,opt,name=MarketplaceOwner,proto3" json:"MarketplaceOwner,omitempty"` + MarketplaceUser string `protobuf:"bytes,3,opt,name=MarketplaceUser,proto3" json:"MarketplaceUser,omitempty"` } -func (x *ActionMeta_Extensions) Reset() { - *x = ActionMeta_Extensions{} +func (x *Config_ApplicationConfig) Reset() { + *x = Config_ApplicationConfig{} if protoimpl.UnsafeEnabled { mi := &file_extensions_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -518,13 +491,13 @@ func (x *ActionMeta_Extensions) Reset() { } } -func (x *ActionMeta_Extensions) String() string { +func (x *Config_ApplicationConfig) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ActionMeta_Extensions) ProtoMessage() {} +func (*Config_ApplicationConfig) ProtoMessage() {} -func (x *ActionMeta_Extensions) ProtoReflect() protoreflect.Message { +func (x *Config_ApplicationConfig) ProtoReflect() protoreflect.Message { mi := &file_extensions_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -536,97 +509,58 @@ func (x *ActionMeta_Extensions) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ActionMeta_Extensions.ProtoReflect.Descriptor instead. -func (*ActionMeta_Extensions) Descriptor() ([]byte, []int) { - return file_extensions_proto_rawDescGZIP(), []int{4, 1} +// Deprecated: Use Config_ApplicationConfig.ProtoReflect.Descriptor instead. +func (*Config_ApplicationConfig) Descriptor() ([]byte, []int) { + return file_extensions_proto_rawDescGZIP(), []int{4, 0} } -func (x *ActionMeta_Extensions) GetEks() *ActionMeta_Extensions_Eks { +func (x *Config_ApplicationConfig) GetGithubToken() string { if x != nil { - return x.Eks + return x.GithubToken } - return nil + return "" } -func (x *ActionMeta_Extensions) GetApis() *ActionMeta_Extensions_Apigateway { +func (x *Config_ApplicationConfig) GetMarketplaceOwner() string { if x != nil { - return x.Apis + return x.MarketplaceOwner } - return nil -} - -type ActionMeta_Extensions_Apis struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *ActionMeta_Extensions_Apis) Reset() { - *x = ActionMeta_Extensions_Apis{} - if protoimpl.UnsafeEnabled { - mi := &file_extensions_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActionMeta_Extensions_Apis) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionMeta_Extensions_Apis) ProtoMessage() {} - -func (x *ActionMeta_Extensions_Apis) ProtoReflect() protoreflect.Message { - mi := &file_extensions_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ActionMeta_Extensions_Apis.ProtoReflect.Descriptor instead. -func (*ActionMeta_Extensions_Apis) Descriptor() ([]byte, []int) { - return file_extensions_proto_rawDescGZIP(), []int{4, 1, 0} + return "" } -func (x *ActionMeta_Extensions_Apis) GetName() string { +func (x *Config_ApplicationConfig) GetMarketplaceUser() string { if x != nil { - return x.Name + return x.MarketplaceUser } return "" } -type ActionMeta_Extensions_Apigateway struct { +type Config_NetworkConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Apis []*ActionMeta_Extensions_Apis `protobuf:"bytes,1,rep,name=apis,proto3" json:"apis,omitempty"` + Publicsubnets []string `protobuf:"bytes,1,rep,name=publicsubnets,proto3" json:"publicsubnets,omitempty"` + Privatesubnets []string `protobuf:"bytes,2,rep,name=privatesubnets,proto3" json:"privatesubnets,omitempty"` } -func (x *ActionMeta_Extensions_Apigateway) Reset() { - *x = ActionMeta_Extensions_Apigateway{} +func (x *Config_NetworkConfig) Reset() { + *x = Config_NetworkConfig{} if protoimpl.UnsafeEnabled { - mi := &file_extensions_proto_msgTypes[10] + mi := &file_extensions_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ActionMeta_Extensions_Apigateway) String() string { +func (x *Config_NetworkConfig) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ActionMeta_Extensions_Apigateway) ProtoMessage() {} +func (*Config_NetworkConfig) ProtoMessage() {} -func (x *ActionMeta_Extensions_Apigateway) ProtoReflect() protoreflect.Message { - mi := &file_extensions_proto_msgTypes[10] +func (x *Config_NetworkConfig) ProtoReflect() protoreflect.Message { + mi := &file_extensions_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -637,109 +571,53 @@ func (x *ActionMeta_Extensions_Apigateway) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ActionMeta_Extensions_Apigateway.ProtoReflect.Descriptor instead. -func (*ActionMeta_Extensions_Apigateway) Descriptor() ([]byte, []int) { - return file_extensions_proto_rawDescGZIP(), []int{4, 1, 1} +// Deprecated: Use Config_NetworkConfig.ProtoReflect.Descriptor instead. +func (*Config_NetworkConfig) Descriptor() ([]byte, []int) { + return file_extensions_proto_rawDescGZIP(), []int{4, 1} } -func (x *ActionMeta_Extensions_Apigateway) GetApis() []*ActionMeta_Extensions_Apis { +func (x *Config_NetworkConfig) GetPublicsubnets() []string { if x != nil { - return x.Apis + return x.Publicsubnets } return nil } -type ActionMeta_Extensions_Nodegroups struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Instancetype string `protobuf:"bytes,2,opt,name=instancetype,proto3" json:"instancetype,omitempty"` - Nodecount string `protobuf:"bytes,3,opt,name=nodecount,proto3" json:"nodecount,omitempty"` -} - -func (x *ActionMeta_Extensions_Nodegroups) Reset() { - *x = ActionMeta_Extensions_Nodegroups{} - if protoimpl.UnsafeEnabled { - mi := &file_extensions_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ActionMeta_Extensions_Nodegroups) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ActionMeta_Extensions_Nodegroups) ProtoMessage() {} - -func (x *ActionMeta_Extensions_Nodegroups) ProtoReflect() protoreflect.Message { - mi := &file_extensions_proto_msgTypes[11] - 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 ActionMeta_Extensions_Nodegroups.ProtoReflect.Descriptor instead. -func (*ActionMeta_Extensions_Nodegroups) Descriptor() ([]byte, []int) { - return file_extensions_proto_rawDescGZIP(), []int{4, 1, 2} -} - -func (x *ActionMeta_Extensions_Nodegroups) GetName() string { +func (x *Config_NetworkConfig) GetPrivatesubnets() []string { if x != nil { - return x.Name + return x.Privatesubnets } - return "" -} - -func (x *ActionMeta_Extensions_Nodegroups) GetInstancetype() string { - if x != nil { - return x.Instancetype - } - return "" -} - -func (x *ActionMeta_Extensions_Nodegroups) GetNodecount() string { - if x != nil { - return x.Nodecount - } - return "" + return nil } -type ActionMeta_Extensions_Eks struct { +type Parameters_Parameter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Clustername string `protobuf:"bytes,1,opt,name=clustername,proto3" json:"clustername,omitempty"` - Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - Projectname string `protobuf:"bytes,3,opt,name=projectname,proto3" json:"projectname,omitempty"` - Nodegroups []*ActionMeta_Extensions_Nodegroups `protobuf:"bytes,4,rep,name=nodegroups,proto3" json:"nodegroups,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"` + Tracked bool `protobuf:"varint,4,opt,name=tracked,proto3" json:"tracked,omitempty"` + Insync bool `protobuf:"varint,5,opt,name=insync,proto3" json:"insync,omitempty"` } -func (x *ActionMeta_Extensions_Eks) Reset() { - *x = ActionMeta_Extensions_Eks{} +func (x *Parameters_Parameter) Reset() { + *x = Parameters_Parameter{} if protoimpl.UnsafeEnabled { - mi := &file_extensions_proto_msgTypes[12] + mi := &file_extensions_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ActionMeta_Extensions_Eks) String() string { +func (x *Parameters_Parameter) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ActionMeta_Extensions_Eks) ProtoMessage() {} +func (*Parameters_Parameter) ProtoMessage() {} -func (x *ActionMeta_Extensions_Eks) ProtoReflect() protoreflect.Message { - mi := &file_extensions_proto_msgTypes[12] +func (x *Parameters_Parameter) ProtoReflect() protoreflect.Message { + mi := &file_extensions_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -750,44 +628,44 @@ func (x *ActionMeta_Extensions_Eks) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ActionMeta_Extensions_Eks.ProtoReflect.Descriptor instead. -func (*ActionMeta_Extensions_Eks) Descriptor() ([]byte, []int) { - return file_extensions_proto_rawDescGZIP(), []int{4, 1, 3} +// Deprecated: Use Parameters_Parameter.ProtoReflect.Descriptor instead. +func (*Parameters_Parameter) Descriptor() ([]byte, []int) { + return file_extensions_proto_rawDescGZIP(), []int{5, 0} } -func (x *ActionMeta_Extensions_Eks) GetClustername() string { +func (x *Parameters_Parameter) GetValue() string { if x != nil { - return x.Clustername + return x.Value } return "" } -func (x *ActionMeta_Extensions_Eks) GetOwner() string { +func (x *Parameters_Parameter) GetType() string { if x != nil { - return x.Owner + return x.Type } return "" } -func (x *ActionMeta_Extensions_Eks) GetProjectname() string { +func (x *Parameters_Parameter) GetTracked() bool { if x != nil { - return x.Projectname + return x.Tracked } - return "" + return false } -func (x *ActionMeta_Extensions_Eks) GetNodegroups() []*ActionMeta_Extensions_Nodegroups { +func (x *Parameters_Parameter) GetInsync() bool { if x != nil { - return x.Nodegroups + return x.Insync } - return nil + return false } var File_extensions_proto protoreflect.FileDescriptor var file_extensions_proto_rawDesc = []byte{ 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0xbe, 0x01, 0x0a, 0x15, 0x55, 0x6e, 0x69, 0x74, 0x79, 0x57, 0x65, 0x62, 0x73, + 0x74, 0x6f, 0x22, 0x90, 0x02, 0x0a, 0x15, 0x55, 0x6e, 0x69, 0x74, 0x79, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, @@ -798,91 +676,84 @@ var file_extensions_proto_rawDesc = []byte{ 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x65, 0x74, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x65, 0x74, 0x75, 0x70, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x22, 0x3d, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, - 0x49, 0x44, 0x22, 0xad, 0x02, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x39, - 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x2e, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x44, 0x65, 0x70, - 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, - 0x65, 0x1a, 0xbe, 0x01, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x42, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x2e, 0x41, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x47, 0x0a, 0x0d, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xd2, 0x06, 0x0a, 0x0a, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, - 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, - 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x08, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x36, - 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x2e, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, - 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, - 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x68, - 0x0a, 0x08, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x1a, 0xd5, 0x03, 0x0a, 0x0a, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6b, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, - 0x61, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x6b, 0x73, - 0x52, 0x03, 0x65, 0x6b, 0x73, 0x12, 0x35, 0x0a, 0x04, 0x61, 0x70, 0x69, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, - 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x67, - 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x52, 0x04, 0x61, 0x70, 0x69, 0x73, 0x1a, 0x1a, 0x0a, 0x04, - 0x41, 0x70, 0x69, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x3d, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x67, - 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x2f, 0x0a, 0x04, 0x61, 0x70, 0x69, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, - 0x61, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x41, 0x70, 0x69, - 0x73, 0x52, 0x04, 0x61, 0x70, 0x69, 0x73, 0x1a, 0x62, 0x0a, 0x0a, 0x4e, 0x6f, 0x64, 0x65, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xa2, 0x01, 0x0a, 0x03, - 0x45, 0x6b, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, - 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x2e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x52, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x42, 0x1e, 0x5a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x6f, 0x6e, 0x73, 0x65, 0x74, 0x75, 0x70, 0x12, 0x21, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2d, 0x0a, 0x0a, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0b, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0a, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x3d, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, + 0x65, 0x72, 0x49, 0x44, 0x22, 0xad, 0x02, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x12, 0x39, 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x44, + 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x1a, 0xbe, 0x01, 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x2e, + 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x61, 0x72, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x76, 0x61, 0x72, + 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x3c, 0x0a, 0x0e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x47, 0x0a, 0x0d, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xfb, 0x02, + 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x11, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x3b, 0x0a, 0x0d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x0d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x8b, + 0x01, 0x0a, 0x11, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x47, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x10, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x5d, 0x0a, 0x0d, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24, 0x0a, + 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x73, 0x75, 0x62, 0x6e, + 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x73, 0x75, + 0x62, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x22, 0x94, 0x02, 0x0a, 0x0a, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x44, 0x0a, 0x0d, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x69, 0x73, 0x74, + 0x1a, 0x67, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 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, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, + 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x65, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x73, 0x79, 0x6e, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x69, 0x6e, 0x73, 0x79, 0x6e, 0x63, 0x1a, 0x57, 0x0a, 0x12, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x1e, 0x5a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -897,34 +768,33 @@ func file_extensions_proto_rawDescGZIP() []byte { return file_extensions_proto_rawDescData } -var file_extensions_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_extensions_proto_msgTypes = make([]protoimpl.MessageInfo, 12) var file_extensions_proto_goTypes = []interface{}{ - (*UnityWebsocketMessage)(nil), // 0: UnityWebsocketMessage - (*ConnectionSetup)(nil), // 1: ConnectionSetup - (*Install)(nil), // 2: Install - (*SimpleMessage)(nil), // 3: SimpleMessage - (*ActionMeta)(nil), // 4: ActionMeta - (*Install_Applications)(nil), // 5: Install.Applications - nil, // 6: Install.Applications.VariablesEntry - (*ActionMeta_Services)(nil), // 7: ActionMeta.Services - (*ActionMeta_Extensions)(nil), // 8: ActionMeta.Extensions - (*ActionMeta_Extensions_Apis)(nil), // 9: ActionMeta.Extensions.Apis - (*ActionMeta_Extensions_Apigateway)(nil), // 10: ActionMeta.Extensions.Apigateway - (*ActionMeta_Extensions_Nodegroups)(nil), // 11: ActionMeta.Extensions.Nodegroups - (*ActionMeta_Extensions_Eks)(nil), // 12: ActionMeta.Extensions.Eks + (*UnityWebsocketMessage)(nil), // 0: UnityWebsocketMessage + (*ConnectionSetup)(nil), // 1: ConnectionSetup + (*Install)(nil), // 2: Install + (*SimpleMessage)(nil), // 3: SimpleMessage + (*Config)(nil), // 4: Config + (*Parameters)(nil), // 5: Parameters + (*Install_Applications)(nil), // 6: Install.Applications + nil, // 7: Install.Applications.VariablesEntry + (*Config_ApplicationConfig)(nil), // 8: Config.ApplicationConfig + (*Config_NetworkConfig)(nil), // 9: Config.NetworkConfig + (*Parameters_Parameter)(nil), // 10: Parameters.Parameter + nil, // 11: Parameters.ParameterlistEntry } var file_extensions_proto_depIdxs = []int32{ 2, // 0: UnityWebsocketMessage.install:type_name -> Install 3, // 1: UnityWebsocketMessage.simplemessage:type_name -> SimpleMessage 1, // 2: UnityWebsocketMessage.connectionsetup:type_name -> ConnectionSetup - 5, // 3: Install.applications:type_name -> Install.Applications - 7, // 4: ActionMeta.services:type_name -> ActionMeta.Services - 8, // 5: ActionMeta.extensions:type_name -> ActionMeta.Extensions - 6, // 6: Install.Applications.variables:type_name -> Install.Applications.VariablesEntry - 12, // 7: ActionMeta.Extensions.eks:type_name -> ActionMeta.Extensions.Eks - 10, // 8: ActionMeta.Extensions.apis:type_name -> ActionMeta.Extensions.Apigateway - 9, // 9: ActionMeta.Extensions.Apigateway.apis:type_name -> ActionMeta.Extensions.Apis - 11, // 10: ActionMeta.Extensions.Eks.nodegroups:type_name -> ActionMeta.Extensions.Nodegroups + 4, // 3: UnityWebsocketMessage.config:type_name -> Config + 5, // 4: UnityWebsocketMessage.parameters:type_name -> Parameters + 6, // 5: Install.applications:type_name -> Install.Applications + 8, // 6: Config.applicationConfig:type_name -> Config.ApplicationConfig + 9, // 7: Config.networkConfig:type_name -> Config.NetworkConfig + 11, // 8: Parameters.parameterlist:type_name -> Parameters.ParameterlistEntry + 7, // 9: Install.Applications.variables:type_name -> Install.Applications.VariablesEntry + 10, // 10: Parameters.ParameterlistEntry.value:type_name -> Parameters.Parameter 11, // [11:11] is the sub-list for method output_type 11, // [11:11] is the sub-list for method input_type 11, // [11:11] is the sub-list for extension type_name @@ -987,7 +857,7 @@ func file_extensions_proto_init() { } } file_extensions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionMeta); i { + switch v := v.(*Config); i { case 0: return &v.state case 1: @@ -999,7 +869,7 @@ func file_extensions_proto_init() { } } file_extensions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Install_Applications); i { + switch v := v.(*Parameters); i { case 0: return &v.state case 1: @@ -1010,8 +880,8 @@ func file_extensions_proto_init() { return nil } } - file_extensions_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionMeta_Services); i { + file_extensions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Install_Applications); i { case 0: return &v.state case 1: @@ -1023,7 +893,7 @@ func file_extensions_proto_init() { } } file_extensions_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionMeta_Extensions); i { + switch v := v.(*Config_ApplicationConfig); i { case 0: return &v.state case 1: @@ -1035,7 +905,7 @@ func file_extensions_proto_init() { } } file_extensions_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionMeta_Extensions_Apis); i { + switch v := v.(*Config_NetworkConfig); i { case 0: return &v.state case 1: @@ -1047,31 +917,7 @@ func file_extensions_proto_init() { } } file_extensions_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionMeta_Extensions_Apigateway); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_extensions_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionMeta_Extensions_Nodegroups); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_extensions_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionMeta_Extensions_Eks); i { + switch v := v.(*Parameters_Parameter); i { case 0: return &v.state case 1: @@ -1087,6 +933,8 @@ func file_extensions_proto_init() { (*UnityWebsocketMessage_Install)(nil), (*UnityWebsocketMessage_Simplemessage)(nil), (*UnityWebsocketMessage_Connectionsetup)(nil), + (*UnityWebsocketMessage_Config)(nil), + (*UnityWebsocketMessage_Parameters)(nil), } type x struct{} out := protoimpl.TypeBuilder{ @@ -1094,7 +942,7 @@ func file_extensions_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_extensions_proto_rawDesc, NumEnums: 0, - NumMessages: 13, + NumMessages: 12, NumExtensions: 0, NumServices: 0, }, diff --git a/protobuf/config.proto b/protobuf/config.proto index 9e1b131..173e62c 100644 --- a/protobuf/config.proto +++ b/protobuf/config.proto @@ -1,31 +1,3 @@ syntax = "proto3"; option go_package = "backend/internal/marketplace"; -message Config { - - message ApplicationConfig { - string GithubToken = 1; - string MarketplaceOwner = 2; - string MarketplaceUser = 3; - } - - message NetworkConfig { - repeated string publicsubnets = 1; - repeated string privatesubnets = 2; - } - - ApplicationConfig applicationConfig = 1; - NetworkConfig networkConfig = 2; - -} - -message Parameters { - - message Parameter { - string value = 2; - string type = 3; - bool tracked = 4; - bool insync = 5; - } - map parameterlist = 1; -} \ No newline at end of file diff --git a/protobuf/extensions.proto b/protobuf/extensions.proto index 5c14758..bea6143 100644 --- a/protobuf/extensions.proto +++ b/protobuf/extensions.proto @@ -6,6 +6,8 @@ message UnityWebsocketMessage { Install install = 1; SimpleMessage simplemessage = 2; ConnectionSetup connectionsetup = 3; + Config config = 4; + Parameters parameters = 5; } } @@ -33,47 +35,31 @@ message SimpleMessage { } +message Config { -message ActionMeta { - - message Services { - string name = 1; - string source = 2; - string version = 3; - string branch = 4; + message ApplicationConfig { + string GithubToken = 1; + string MarketplaceOwner = 2; + string MarketplaceUser = 3; } - message Extensions { - - message Apis { - string name = 1; - } + message NetworkConfig { + repeated string publicsubnets = 1; + repeated string privatesubnets = 2; + } - message Apigateway { - repeated Apis apis = 1; - } + ApplicationConfig applicationConfig = 1; + NetworkConfig networkConfig = 2; - message Nodegroups { - string name = 1; - string instancetype = 2; - string nodecount = 3; - } +} - message Eks { - string clustername = 1; - string owner = 2; - string projectname = 3; - repeated Nodegroups nodegroups = 4; - } +message Parameters { - Eks eks = 1; - Apigateway apis = 2; + message Parameter { + string value = 2; + string type = 3; + bool tracked = 4; + bool insync = 5; } - - string metadataVersion = 1; - string exectarget = 2; - string deploymentName = 3; - repeated Services services = 4; - Extensions extensions = 5; - string deploymentType = 6; + map parameterlist = 1; } \ No newline at end of file