kuma

Форк
0
/
config.pb.go 
156 строк · 5.7 Кб
1
// Code generated by protoc-gen-go. DO NOT EDIT.
2
// versions:
3
// 	protoc-gen-go v1.28.1
4
// 	protoc        v3.20.0
5
// source: api/system/v1alpha1/config.proto
6

7
package v1alpha1
8

9
import (
10
	_ "github.com/kumahq/kuma/api/mesh"
11
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13
	reflect "reflect"
14
	sync "sync"
15
)
16

17
const (
18
	// Verify that this generated code is sufficiently up-to-date.
19
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
	// Verify that runtime/protoimpl is sufficiently up-to-date.
21
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
)
23

24
// Config is a entity that represents dynamic configuration that is stored in
25
// underlying storage. For now it's used only for internal mechanisms.
26
type Config struct {
27
	state         protoimpl.MessageState
28
	sizeCache     protoimpl.SizeCache
29
	unknownFields protoimpl.UnknownFields
30

31
	// configuration that is stored (ex. in JSON)
32
	Config string `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
33
}
34

35
func (x *Config) Reset() {
36
	*x = Config{}
37
	if protoimpl.UnsafeEnabled {
38
		mi := &file_api_system_v1alpha1_config_proto_msgTypes[0]
39
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40
		ms.StoreMessageInfo(mi)
41
	}
42
}
43

44
func (x *Config) String() string {
45
	return protoimpl.X.MessageStringOf(x)
46
}
47

48
func (*Config) ProtoMessage() {}
49

50
func (x *Config) ProtoReflect() protoreflect.Message {
51
	mi := &file_api_system_v1alpha1_config_proto_msgTypes[0]
52
	if protoimpl.UnsafeEnabled && x != nil {
53
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54
		if ms.LoadMessageInfo() == nil {
55
			ms.StoreMessageInfo(mi)
56
		}
57
		return ms
58
	}
59
	return mi.MessageOf(x)
60
}
61

62
// Deprecated: Use Config.ProtoReflect.Descriptor instead.
63
func (*Config) Descriptor() ([]byte, []int) {
64
	return file_api_system_v1alpha1_config_proto_rawDescGZIP(), []int{0}
65
}
66

67
func (x *Config) GetConfig() string {
68
	if x != nil {
69
		return x.Config
70
	}
71
	return ""
72
}
73

74
var File_api_system_v1alpha1_config_proto protoreflect.FileDescriptor
75

76
var file_api_system_v1alpha1_config_proto_rawDesc = []byte{
77
	0x0a, 0x20, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61,
78
	0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f,
79
	0x74, 0x6f, 0x12, 0x14, 0x6b, 0x75, 0x6d, 0x61, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e,
80
	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x16, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65,
81
	0x73, 0x68, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
82
	0x22, 0x6e, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f,
83
	0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66,
84
	0x69, 0x67, 0x3a, 0x4c, 0xaa, 0x8c, 0x89, 0xa6, 0x01, 0x10, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x66,
85
	0x69, 0x67, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0xaa, 0x8c, 0x89, 0xa6, 0x01, 0x08,
86
	0x12, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xaa, 0x8c, 0x89, 0xa6, 0x01, 0x08, 0x22, 0x06,
87
	0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0xaa, 0x8c, 0x89, 0xa6, 0x01, 0x02, 0x18, 0x01, 0xaa, 0x8c,
88
	0x89, 0xa6, 0x01, 0x02, 0x60, 0x01, 0xaa, 0x8c, 0x89, 0xa6, 0x01, 0x04, 0x52, 0x02, 0x10, 0x01,
89
	0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6b,
90
	0x75, 0x6d, 0x61, 0x68, 0x71, 0x2f, 0x6b, 0x75, 0x6d, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73,
91
	0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06,
92
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
93
}
94

95
var (
96
	file_api_system_v1alpha1_config_proto_rawDescOnce sync.Once
97
	file_api_system_v1alpha1_config_proto_rawDescData = file_api_system_v1alpha1_config_proto_rawDesc
98
)
99

100
func file_api_system_v1alpha1_config_proto_rawDescGZIP() []byte {
101
	file_api_system_v1alpha1_config_proto_rawDescOnce.Do(func() {
102
		file_api_system_v1alpha1_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_system_v1alpha1_config_proto_rawDescData)
103
	})
104
	return file_api_system_v1alpha1_config_proto_rawDescData
105
}
106

107
var file_api_system_v1alpha1_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
108
var file_api_system_v1alpha1_config_proto_goTypes = []interface{}{
109
	(*Config)(nil), // 0: kuma.system.v1alpha1.Config
110
}
111
var file_api_system_v1alpha1_config_proto_depIdxs = []int32{
112
	0, // [0:0] is the sub-list for method output_type
113
	0, // [0:0] is the sub-list for method input_type
114
	0, // [0:0] is the sub-list for extension type_name
115
	0, // [0:0] is the sub-list for extension extendee
116
	0, // [0:0] is the sub-list for field type_name
117
}
118

119
func init() { file_api_system_v1alpha1_config_proto_init() }
120
func file_api_system_v1alpha1_config_proto_init() {
121
	if File_api_system_v1alpha1_config_proto != nil {
122
		return
123
	}
124
	if !protoimpl.UnsafeEnabled {
125
		file_api_system_v1alpha1_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
126
			switch v := v.(*Config); i {
127
			case 0:
128
				return &v.state
129
			case 1:
130
				return &v.sizeCache
131
			case 2:
132
				return &v.unknownFields
133
			default:
134
				return nil
135
			}
136
		}
137
	}
138
	type x struct{}
139
	out := protoimpl.TypeBuilder{
140
		File: protoimpl.DescBuilder{
141
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
142
			RawDescriptor: file_api_system_v1alpha1_config_proto_rawDesc,
143
			NumEnums:      0,
144
			NumMessages:   1,
145
			NumExtensions: 0,
146
			NumServices:   0,
147
		},
148
		GoTypes:           file_api_system_v1alpha1_config_proto_goTypes,
149
		DependencyIndexes: file_api_system_v1alpha1_config_proto_depIdxs,
150
		MessageInfos:      file_api_system_v1alpha1_config_proto_msgTypes,
151
	}.Build()
152
	File_api_system_v1alpha1_config_proto = out.File
153
	file_api_system_v1alpha1_config_proto_rawDesc = nil
154
	file_api_system_v1alpha1_config_proto_goTypes = nil
155
	file_api_system_v1alpha1_config_proto_depIdxs = nil
156
}
157

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.