github.com/google/cloudprober@v0.11.3/rds/kubernetes/proto/config.pb.go (about) 1 // Configuration proto for Kubernetes provider. 2 // 3 // Example provider config: 4 // { 5 // pods {} 6 // } 7 // 8 // In probe config: 9 // probe { 10 // targets{ 11 // rds_targets { 12 // resource_path: "k8s://pods" 13 // filter { 14 // key: "namespace" 15 // value: "default" 16 // } 17 // filter { 18 // key: "name" 19 // value: "cloudprober.*" 20 // } 21 // } 22 // } 23 // } 24 25 // Code generated by protoc-gen-go. DO NOT EDIT. 26 // versions: 27 // protoc-gen-go v1.26.0 28 // protoc v3.17.3 29 // source: github.com/google/cloudprober/rds/kubernetes/proto/config.proto 30 31 package proto 32 33 import ( 34 proto "github.com/google/cloudprober/common/tlsconfig/proto" 35 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 36 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 37 reflect "reflect" 38 sync "sync" 39 ) 40 41 const ( 42 // Verify that this generated code is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 44 // Verify that runtime/protoimpl is sufficiently up-to-date. 45 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 46 ) 47 48 type Pods struct { 49 state protoimpl.MessageState 50 sizeCache protoimpl.SizeCache 51 unknownFields protoimpl.UnknownFields 52 } 53 54 func (x *Pods) Reset() { 55 *x = Pods{} 56 if protoimpl.UnsafeEnabled { 57 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[0] 58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 59 ms.StoreMessageInfo(mi) 60 } 61 } 62 63 func (x *Pods) String() string { 64 return protoimpl.X.MessageStringOf(x) 65 } 66 67 func (*Pods) ProtoMessage() {} 68 69 func (x *Pods) ProtoReflect() protoreflect.Message { 70 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[0] 71 if protoimpl.UnsafeEnabled && x != nil { 72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 73 if ms.LoadMessageInfo() == nil { 74 ms.StoreMessageInfo(mi) 75 } 76 return ms 77 } 78 return mi.MessageOf(x) 79 } 80 81 // Deprecated: Use Pods.ProtoReflect.Descriptor instead. 82 func (*Pods) Descriptor() ([]byte, []int) { 83 return file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescGZIP(), []int{0} 84 } 85 86 type Endpoints struct { 87 state protoimpl.MessageState 88 sizeCache protoimpl.SizeCache 89 unknownFields protoimpl.UnknownFields 90 } 91 92 func (x *Endpoints) Reset() { 93 *x = Endpoints{} 94 if protoimpl.UnsafeEnabled { 95 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[1] 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 ms.StoreMessageInfo(mi) 98 } 99 } 100 101 func (x *Endpoints) String() string { 102 return protoimpl.X.MessageStringOf(x) 103 } 104 105 func (*Endpoints) ProtoMessage() {} 106 107 func (x *Endpoints) ProtoReflect() protoreflect.Message { 108 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[1] 109 if protoimpl.UnsafeEnabled && x != nil { 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 if ms.LoadMessageInfo() == nil { 112 ms.StoreMessageInfo(mi) 113 } 114 return ms 115 } 116 return mi.MessageOf(x) 117 } 118 119 // Deprecated: Use Endpoints.ProtoReflect.Descriptor instead. 120 func (*Endpoints) Descriptor() ([]byte, []int) { 121 return file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescGZIP(), []int{1} 122 } 123 124 type Services struct { 125 state protoimpl.MessageState 126 sizeCache protoimpl.SizeCache 127 unknownFields protoimpl.UnknownFields 128 } 129 130 func (x *Services) Reset() { 131 *x = Services{} 132 if protoimpl.UnsafeEnabled { 133 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[2] 134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 135 ms.StoreMessageInfo(mi) 136 } 137 } 138 139 func (x *Services) String() string { 140 return protoimpl.X.MessageStringOf(x) 141 } 142 143 func (*Services) ProtoMessage() {} 144 145 func (x *Services) ProtoReflect() protoreflect.Message { 146 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[2] 147 if protoimpl.UnsafeEnabled && x != nil { 148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 149 if ms.LoadMessageInfo() == nil { 150 ms.StoreMessageInfo(mi) 151 } 152 return ms 153 } 154 return mi.MessageOf(x) 155 } 156 157 // Deprecated: Use Services.ProtoReflect.Descriptor instead. 158 func (*Services) Descriptor() ([]byte, []int) { 159 return file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescGZIP(), []int{2} 160 } 161 162 type Ingresses struct { 163 state protoimpl.MessageState 164 sizeCache protoimpl.SizeCache 165 unknownFields protoimpl.UnknownFields 166 } 167 168 func (x *Ingresses) Reset() { 169 *x = Ingresses{} 170 if protoimpl.UnsafeEnabled { 171 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[3] 172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 173 ms.StoreMessageInfo(mi) 174 } 175 } 176 177 func (x *Ingresses) String() string { 178 return protoimpl.X.MessageStringOf(x) 179 } 180 181 func (*Ingresses) ProtoMessage() {} 182 183 func (x *Ingresses) ProtoReflect() protoreflect.Message { 184 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[3] 185 if protoimpl.UnsafeEnabled && x != nil { 186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 187 if ms.LoadMessageInfo() == nil { 188 ms.StoreMessageInfo(mi) 189 } 190 return ms 191 } 192 return mi.MessageOf(x) 193 } 194 195 // Deprecated: Use Ingresses.ProtoReflect.Descriptor instead. 196 func (*Ingresses) Descriptor() ([]byte, []int) { 197 return file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescGZIP(), []int{3} 198 } 199 200 // Kubernetes provider config. 201 type ProviderConfig struct { 202 state protoimpl.MessageState 203 sizeCache protoimpl.SizeCache 204 unknownFields protoimpl.UnknownFields 205 206 // Namespace to list resources for. If not specified, we default to all 207 // namespaces. 208 Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` 209 // Pods discovery options. This field should be declared for the pods 210 // discovery to be enabled. 211 Pods *Pods `protobuf:"bytes,2,opt,name=pods" json:"pods,omitempty"` 212 // Endpoints discovery options. This field should be declared for the 213 // endpoints discovery to be enabled. 214 Endpoints *Endpoints `protobuf:"bytes,3,opt,name=endpoints" json:"endpoints,omitempty"` 215 // Services discovery options. This field should be declared for the 216 // services discovery to be enabled. 217 Services *Services `protobuf:"bytes,4,opt,name=services" json:"services,omitempty"` 218 // Ingresses discovery options. This field should be declared for the 219 // ingresses discovery to be enabled. 220 // Note: Ingress support is experimental and may change in future. 221 Ingresses *Ingresses `protobuf:"bytes,5,opt,name=ingresses" json:"ingresses,omitempty"` 222 // Kubernetes API server address. If not specified, we assume in-cluster mode 223 // and get it from the local environment variables. 224 ApiServerAddress *string `protobuf:"bytes,91,opt,name=api_server_address,json=apiServerAddress" json:"api_server_address,omitempty"` 225 // TLS config to authenticate communication with the API server. 226 TlsConfig *proto.TLSConfig `protobuf:"bytes,93,opt,name=tls_config,json=tlsConfig" json:"tls_config,omitempty"` 227 // How often resources should be evaluated/expanded. 228 ReEvalSec *int32 `protobuf:"varint,99,opt,name=re_eval_sec,json=reEvalSec,def=60" json:"re_eval_sec,omitempty"` // default 1 min 229 } 230 231 // Default values for ProviderConfig fields. 232 const ( 233 Default_ProviderConfig_ReEvalSec = int32(60) 234 ) 235 236 func (x *ProviderConfig) Reset() { 237 *x = ProviderConfig{} 238 if protoimpl.UnsafeEnabled { 239 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[4] 240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 241 ms.StoreMessageInfo(mi) 242 } 243 } 244 245 func (x *ProviderConfig) String() string { 246 return protoimpl.X.MessageStringOf(x) 247 } 248 249 func (*ProviderConfig) ProtoMessage() {} 250 251 func (x *ProviderConfig) ProtoReflect() protoreflect.Message { 252 mi := &file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[4] 253 if protoimpl.UnsafeEnabled && x != nil { 254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 255 if ms.LoadMessageInfo() == nil { 256 ms.StoreMessageInfo(mi) 257 } 258 return ms 259 } 260 return mi.MessageOf(x) 261 } 262 263 // Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead. 264 func (*ProviderConfig) Descriptor() ([]byte, []int) { 265 return file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescGZIP(), []int{4} 266 } 267 268 func (x *ProviderConfig) GetNamespace() string { 269 if x != nil && x.Namespace != nil { 270 return *x.Namespace 271 } 272 return "" 273 } 274 275 func (x *ProviderConfig) GetPods() *Pods { 276 if x != nil { 277 return x.Pods 278 } 279 return nil 280 } 281 282 func (x *ProviderConfig) GetEndpoints() *Endpoints { 283 if x != nil { 284 return x.Endpoints 285 } 286 return nil 287 } 288 289 func (x *ProviderConfig) GetServices() *Services { 290 if x != nil { 291 return x.Services 292 } 293 return nil 294 } 295 296 func (x *ProviderConfig) GetIngresses() *Ingresses { 297 if x != nil { 298 return x.Ingresses 299 } 300 return nil 301 } 302 303 func (x *ProviderConfig) GetApiServerAddress() string { 304 if x != nil && x.ApiServerAddress != nil { 305 return *x.ApiServerAddress 306 } 307 return "" 308 } 309 310 func (x *ProviderConfig) GetTlsConfig() *proto.TLSConfig { 311 if x != nil { 312 return x.TlsConfig 313 } 314 return nil 315 } 316 317 func (x *ProviderConfig) GetReEvalSec() int32 { 318 if x != nil && x.ReEvalSec != nil { 319 return *x.ReEvalSec 320 } 321 return Default_ProviderConfig_ReEvalSec 322 } 323 324 var File_github_com_google_cloudprober_rds_kubernetes_proto_config_proto protoreflect.FileDescriptor 325 326 var file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDesc = []byte{ 327 0x0a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 328 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 329 0x72, 0x64, 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x70, 330 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 331 0x6f, 0x12, 0x1a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 332 0x64, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x1a, 0x41, 0x67, 333 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 334 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 335 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x6c, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x72, 336 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 337 0x22, 0x06, 0x0a, 0x04, 0x50, 0x6f, 0x64, 0x73, 0x22, 0x0b, 0x0a, 0x09, 0x45, 0x6e, 0x64, 0x70, 338 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x0a, 0x0a, 0x08, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 339 0x73, 0x22, 0x0b, 0x0a, 0x09, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0xc3, 340 0x03, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 341 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 342 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 343 0x34, 0x0a, 0x04, 0x70, 0x6f, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 344 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 345 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x50, 0x6f, 0x64, 0x73, 0x52, 346 0x04, 0x70, 0x6f, 0x64, 0x73, 0x12, 0x43, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 347 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 348 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 349 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 350 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x73, 0x65, 351 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 352 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x6b, 353 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 354 0x65, 0x73, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x09, 355 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 356 0x25, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 357 0x73, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2e, 0x49, 0x6e, 0x67, 358 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x09, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x65, 359 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x70, 0x69, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 360 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x5b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 361 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 362 0x3f, 0x0a, 0x0a, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x5d, 0x20, 363 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 364 0x72, 0x2e, 0x74, 0x6c, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x4c, 0x53, 0x43, 365 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x74, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 366 0x12, 0x22, 0x0a, 0x0b, 0x72, 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 367 0x63, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x02, 0x36, 0x30, 0x52, 0x09, 0x72, 0x65, 0x45, 0x76, 0x61, 368 0x6c, 0x53, 0x65, 0x63, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 369 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 370 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x72, 0x64, 0x73, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 371 0x65, 0x74, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 372 } 373 374 var ( 375 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescOnce sync.Once 376 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescData = file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDesc 377 ) 378 379 func file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescGZIP() []byte { 380 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescOnce.Do(func() { 381 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescData) 382 }) 383 return file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDescData 384 } 385 386 var file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 387 var file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_goTypes = []interface{}{ 388 (*Pods)(nil), // 0: cloudprober.rds.kubernetes.Pods 389 (*Endpoints)(nil), // 1: cloudprober.rds.kubernetes.Endpoints 390 (*Services)(nil), // 2: cloudprober.rds.kubernetes.Services 391 (*Ingresses)(nil), // 3: cloudprober.rds.kubernetes.Ingresses 392 (*ProviderConfig)(nil), // 4: cloudprober.rds.kubernetes.ProviderConfig 393 (*proto.TLSConfig)(nil), // 5: cloudprober.tlsconfig.TLSConfig 394 } 395 var file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_depIdxs = []int32{ 396 0, // 0: cloudprober.rds.kubernetes.ProviderConfig.pods:type_name -> cloudprober.rds.kubernetes.Pods 397 1, // 1: cloudprober.rds.kubernetes.ProviderConfig.endpoints:type_name -> cloudprober.rds.kubernetes.Endpoints 398 2, // 2: cloudprober.rds.kubernetes.ProviderConfig.services:type_name -> cloudprober.rds.kubernetes.Services 399 3, // 3: cloudprober.rds.kubernetes.ProviderConfig.ingresses:type_name -> cloudprober.rds.kubernetes.Ingresses 400 5, // 4: cloudprober.rds.kubernetes.ProviderConfig.tls_config:type_name -> cloudprober.tlsconfig.TLSConfig 401 5, // [5:5] is the sub-list for method output_type 402 5, // [5:5] is the sub-list for method input_type 403 5, // [5:5] is the sub-list for extension type_name 404 5, // [5:5] is the sub-list for extension extendee 405 0, // [0:5] is the sub-list for field type_name 406 } 407 408 func init() { file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_init() } 409 func file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_init() { 410 if File_github_com_google_cloudprober_rds_kubernetes_proto_config_proto != nil { 411 return 412 } 413 if !protoimpl.UnsafeEnabled { 414 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 415 switch v := v.(*Pods); i { 416 case 0: 417 return &v.state 418 case 1: 419 return &v.sizeCache 420 case 2: 421 return &v.unknownFields 422 default: 423 return nil 424 } 425 } 426 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 427 switch v := v.(*Endpoints); i { 428 case 0: 429 return &v.state 430 case 1: 431 return &v.sizeCache 432 case 2: 433 return &v.unknownFields 434 default: 435 return nil 436 } 437 } 438 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 439 switch v := v.(*Services); i { 440 case 0: 441 return &v.state 442 case 1: 443 return &v.sizeCache 444 case 2: 445 return &v.unknownFields 446 default: 447 return nil 448 } 449 } 450 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 451 switch v := v.(*Ingresses); i { 452 case 0: 453 return &v.state 454 case 1: 455 return &v.sizeCache 456 case 2: 457 return &v.unknownFields 458 default: 459 return nil 460 } 461 } 462 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 463 switch v := v.(*ProviderConfig); i { 464 case 0: 465 return &v.state 466 case 1: 467 return &v.sizeCache 468 case 2: 469 return &v.unknownFields 470 default: 471 return nil 472 } 473 } 474 } 475 type x struct{} 476 out := protoimpl.TypeBuilder{ 477 File: protoimpl.DescBuilder{ 478 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 479 RawDescriptor: file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDesc, 480 NumEnums: 0, 481 NumMessages: 5, 482 NumExtensions: 0, 483 NumServices: 0, 484 }, 485 GoTypes: file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_goTypes, 486 DependencyIndexes: file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_depIdxs, 487 MessageInfos: file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_msgTypes, 488 }.Build() 489 File_github_com_google_cloudprober_rds_kubernetes_proto_config_proto = out.File 490 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_rawDesc = nil 491 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_goTypes = nil 492 file_github_com_google_cloudprober_rds_kubernetes_proto_config_proto_depIdxs = nil 493 }