diff --git a/changelog/v1.17.0-beta18/gatewayparameters.yaml b/changelog/v1.17.0-beta18/gatewayparameters.yaml new file mode 100644 index 00000000000..c20316a3609 --- /dev/null +++ b/changelog/v1.17.0-beta18/gatewayparameters.yaml @@ -0,0 +1,7 @@ +changelog: + - type: NEW_FEATURE + issueLink: https://github.com/solo-io/solo-projects/issues/5909 + resolvesIssue: false + description: >- + Add new GatewayParameters CRD to allow configuration of dynamically provisioned proxies + in Gloo Gateway. diff --git a/generate.go b/generate.go index 62e4c5579ed..9141dc69670 100644 --- a/generate.go +++ b/generate.go @@ -11,10 +11,18 @@ import ( //go:generate go run generate.go func main() { - log.Printf("starting generate") + log.Printf("starting generate for gloo") + // Explicitly specify the directories to be built (i.e. do not build gateway2 since + // it causes compilation errors in solo-kit, and also because gateway2 protos are not + // needed for gloo edge classic). See `projects/gateway2/api/README.md` for more info. protoImports := sk_anyvendor.CreateDefaultMatchOptions( - []string{"projects/**/*.proto", sk_anyvendor.SoloKitMatchPattern}, + []string{ + "projects/gloo/**/*.proto", + "projects/gateway/**/*.proto", + "projects/ingress/**/*.proto", + sk_anyvendor.SoloKitMatchPattern, + }, ) protoImports.External["github.com/solo-io/solo-apis"] = []string{ "api/rate-limiter/**/*.proto", // Import rate limit API @@ -72,5 +80,5 @@ func main() { if err := cmd.Generate(generateOptions); err != nil { log.Fatalf("generate failed!: %v", err) } - log.Printf("finished generating code") + log.Printf("finished generating code for gloo") } diff --git a/go.mod b/go.mod index 3aa7642e054..ca32c8e2edf 100644 --- a/go.mod +++ b/go.mod @@ -170,6 +170,9 @@ require ( github.com/go-stack/stack v1.8.0 // indirect github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect github.com/go-test/deep v1.0.7 // indirect + github.com/gobuffalo/envy v1.8.1 // indirect + github.com/gobuffalo/packd v1.0.1 // indirect + github.com/gobuffalo/packr v1.30.1 // indirect github.com/gobwas/glob v0.2.3 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/snappy v0.0.4 // indirect @@ -202,12 +205,15 @@ require ( github.com/hashicorp/vault/sdk v0.6.0 // indirect github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect github.com/huandu/xstrings v1.4.0 // indirect + github.com/iancoleman/orderedmap v0.0.0-20190318233801-ac98e3ecb4b0 // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/imroc/req v0.3.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/invopop/jsonschema v0.7.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.3.0 // indirect github.com/jmoiron/sqlx v1.3.5 // indirect + github.com/joho/godotenv v1.3.0 // indirect github.com/jonboulle/clockwork v0.2.2 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect @@ -268,6 +274,7 @@ require ( github.com/shopspring/decimal v1.3.1 // indirect github.com/sirupsen/logrus v1.9.3 // indirect github.com/solo-io/anyvendor v0.0.4 // indirect + github.com/solo-io/cue v0.4.7 // indirect github.com/spf13/cast v1.5.0 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/stretchr/testify v1.8.4 // indirect diff --git a/go.sum b/go.sum index 40b2c6a3d9f..142f2bfadde 100644 --- a/go.sum +++ b/go.sum @@ -909,6 +909,7 @@ github.com/corbym/gocrest v1.0.3/go.mod h1:maVFL5lbdS2PgfOQgGRWDYTeunSWQeiEgoNdT github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-oidc v2.2.1+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= @@ -918,6 +919,7 @@ github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7 github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= @@ -1174,12 +1176,19 @@ github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4 github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.7 h1:/VSMRlnY/JSyqxQUzQLKVMAskpY/NZKFA5j2P+0pP2M= github.com/go-test/deep v1.0.7/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8= +github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/envy v1.8.1 h1:RUr68liRvs0TS1D5qdW3mQv2SjAsu1QWMCx1tG4kDjs= +github.com/gobuffalo/envy v1.8.1/go.mod h1:FurDp9+EDPE4aIUS3ZLyD+7/9fpx7YRt/ukY6jIHf0w= github.com/gobuffalo/flect v0.2.4/go.mod h1:1ZyCLIbg0YD7sDkzvFdPoOydPtD8y9JQnrOROolUcM8= +github.com/gobuffalo/logger v1.0.0/go.mod h1:2zbswyIUa45I+c+FLXuWl9zSWEiVuthsk8ze5s8JvPs= github.com/gobuffalo/logger v1.0.6 h1:nnZNpxYo0zx+Aj9RfMPBm+x9zAU2OayFh/xrAWi34HU= github.com/gobuffalo/logger v1.0.6/go.mod h1:J31TBEHR1QLV2683OXTAItYIg8pv2JMHnF/quuAbMjs= +github.com/gobuffalo/packd v0.3.0/go.mod h1:zC7QkmNkYVGKPw4tHpBQ+ml7W/3tIebgeo1b36chA3Q= github.com/gobuffalo/packd v1.0.1 h1:U2wXfRr4E9DH8IdsDLlRFwTZTK7hLfq9qT/QHXGVe/0= github.com/gobuffalo/packd v1.0.1/go.mod h1:PP2POP3p3RXGz7Jh6eYEf93S7vA2za6xM7QT85L4+VY= github.com/gobuffalo/packr v1.30.1 h1:hu1fuVR3fXEZR7rXNW3h8rqSML8EVAf6KNm0NKO/wKg= +github.com/gobuffalo/packr v1.30.1/go.mod h1:ljMyFO2EcrnzsHsN99cvbq055Y9OhRrIaviy289eRuk= +github.com/gobuffalo/packr/v2 v2.5.1/go.mod h1:8f9c96ITobJlPzI44jj+4tHnEKNt0xXWSVlXRN9X1Iw= github.com/gobuffalo/packr/v2 v2.8.3 h1:xE1yzvnO56cUC0sTpKR3DIbxZgB54AftTFMhB2XEWlY= github.com/gobuffalo/packr/v2 v2.8.3/go.mod h1:0SahksCVcx4IMnigTjiFuyldmTrdTctXsOdiU5KwbKc= github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= @@ -1203,6 +1212,8 @@ github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGw github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -1328,6 +1339,7 @@ github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3 github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -1478,6 +1490,8 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/iancoleman/orderedmap v0.0.0-20190318233801-ac98e3ecb4b0 h1:i462o439ZjprVSFSZLZxcsoAe592sZB1rci2Z8j4wdk= +github.com/iancoleman/orderedmap v0.0.0-20190318233801-ac98e3ecb4b0/go.mod h1:N0Wam8K1arqPXNWjMo21EXnBPOPp36vB07FNRdD2geA= github.com/iancoleman/strcase v0.1.3 h1:dJBk1m2/qjL1twPLf68JND55vvivMupZ4wIzE8CTdBw= github.com/iancoleman/strcase v0.1.3/go.mod h1:SK73tn/9oHe+/Y0h39VT4UCxmurVJkR5NA7kMEAOgSE= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= @@ -1495,6 +1509,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/tdigest v0.0.0-20180711151920-a7d76c6f093a/go.mod h1:9GkyshztGufsdPQWjH+ifgnIr3xNUL5syI70g2dzU1o= +github.com/invopop/jsonschema v0.7.0 h1:2vgQcBz1n256N+FpX3Jq7Y17AjYt46Ig3zIWyy770So= +github.com/invopop/jsonschema v0.7.0/go.mod h1:O9uiLokuu0+MGFlyiaqtWxwqJm41/+8Nj0lD7A36YH0= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs= @@ -1512,6 +1528,8 @@ github.com/jmespath/go-jmespath v0.3.0 h1:OS12ieG61fsCg5+qLJ+SsW9NicxNkg3b25OyT2 github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= github.com/jmoiron/sqlx v1.3.5 h1:vFFPA71p1o5gAeqtEAwLU4dnX2napprKtHr7PYIcN3g= github.com/jmoiron/sqlx v1.3.5/go.mod h1:nRVWtLre0KfCLJvgxzCsLVMogSvQ1zNJtpYr2Ccp0mQ= +github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= +github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jonboulle/clockwork v0.2.2 h1:UOGuzwb1PwsrDAObMuhUnj0p5ULPj8V/xJ7Kx9qUBdQ= github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= @@ -1539,6 +1557,7 @@ github.com/k0kubun/pp v2.3.0+incompatible h1:EKhKbi34VQDWJtq+zpsKSEhkHHs9w2P8Izb github.com/k0kubun/pp v2.3.0+incompatible/go.mod h1:GWse8YhT0p8pT4ir3ZgBbfZild3tgzSScAn6HmfYukg= github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 h1:iQTw/8FWTuc7uiaSepXwyf3o52HaUYcV+Tu66S3F5GA= github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod h1:1NbS8ALrpOvjt0rHPNLyCIeMtbizbir8U//inJ+zuB8= +github.com/karrick/godirwalk v1.10.12/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/karrick/godirwalk v1.16.1 h1:DynhcF+bztK8gooS0+NDJFrdNZjJ3gzVzC545UNA9iw= github.com/karrick/godirwalk v1.16.1/go.mod h1:j4mkqPuvaLI8mp1DroR3P6ad7cyYd4c1qeJ3RV7ULlk= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= @@ -1557,6 +1576,7 @@ github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47e github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= @@ -1768,6 +1788,7 @@ github.com/palantir/go-githubapp v0.5.0/go.mod h1:/Xm5h66uEBX24An2Ln8H6Rk44z8uwk github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= @@ -1864,6 +1885,8 @@ github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3c github.com/prometheus/statsd_exporter v0.21.0 h1:hA05Q5RFeIjgwKIYEdFd59xu5Wwaznf33yKI+pyX6T8= github.com/prometheus/statsd_exporter v0.21.0/go.mod h1:rbT83sZq2V+p73lHhPZfMc3MLCHmSHelCh9hSGYNLTQ= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/protocolbuffers/txtpbfmt v0.0.0-20201118171849-f6a6b3f636fc h1:gSVONBi2HWMFXCa9jFdYvYk7IwW/mTLxWOF7rXS4LO0= +github.com/protocolbuffers/txtpbfmt v0.0.0-20201118171849-f6a6b3f636fc/go.mod h1:KbKfKPy2I6ecOIGA9apfheFv14+P3RSmmQvshofQyMY= github.com/pseudomuto/protoc-gen-doc v1.0.0 h1:g4ld0LeJ2OO2FXhm1o7Arrv+W75sdEClxuvVUSN2RAE= github.com/pseudomuto/protoc-gen-doc v1.0.0/go.mod h1:fwtQAY9erXp3mC92O8OTECnDlJT2r0Ff4KSEKbGEmy0= github.com/pseudomuto/protokit v0.2.0 h1:hlnBDcy3YEDXH7kc9gV+NLaN0cDzhDvD1s7Y6FZ8RpM= @@ -1881,7 +1904,9 @@ github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qq github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.3.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= @@ -1899,6 +1924,7 @@ github.com/rs/zerolog v1.18.0/go.mod h1:9nvC1axdVrAHcu/s9taAVfBuIdTZLVQmKQyvrUjF github.com/rubenv/sql-migrate v1.5.2 h1:bMDqOnrJVV/6JQgQ/MxOpU+AdO8uzYYA/TxFUBzFtS0= github.com/rubenv/sql-migrate v1.5.2/go.mod h1:H38GW8Vqf8F0Su5XignRyaRcbXbJunSWxs+kmzlg0Is= github.com/russellhaering/goxmldsig v0.0.0-20180430223755-7acd5e4a6ef7/go.mod h1:Oz4y6ImuOQZxynhbSXk7btjEfNBtGlj2dcaOvXl2FSM= +github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -1971,6 +1997,7 @@ github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkU github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= +github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= @@ -1983,6 +2010,7 @@ github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0 github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/spf13/viper v1.8.1 h1:Kq1fyeebqsBfbjZj4EL7gj2IO0mMaiyjYUWcUsl2O44= @@ -2000,6 +2028,7 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.3.1-0.20190311161405-34c6fa2dc709/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= @@ -2022,6 +2051,7 @@ github.com/tsenart/go-tsz v0.0.0-20180814232043-cdeb9e1e981e/go.mod h1:SWZznP1z5 github.com/tsenart/vegeta/v12 v12.8.4/go.mod h1:ZiJtwLn/9M4fTPdMY7bdbIeyNeFVE8/AHbWFqCsUuho= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= +github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= github.com/vektah/gqlparser v1.1.2/go.mod h1:1ycwN7Ij5njmMkPPAOaRFY4rET2Enx7IkVv3vaXspKw= github.com/xanzy/ssh-agent v0.2.0/go.mod h1:0NyE30eGUDliuLEHJgYte/zncp2zdTStcOnWhgSqHD8= @@ -2140,6 +2170,7 @@ goji.io v2.0.0+incompatible/go.mod h1:sbqFwrtqZACxLBTQcdgVjFh54yGVCvwq8+w49MVMMI goji.io v2.0.2+incompatible/go.mod h1:sbqFwrtqZACxLBTQcdgVjFh54yGVCvwq8+w49MVMMIk= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190123085648-057139ce5d2b/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -2148,6 +2179,7 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190617133340-57b3e21c3d56/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190907121410-71b5226ff739/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -2396,6 +2428,7 @@ golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2404,6 +2437,7 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190515120540-06a5c4944438/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2576,6 +2610,7 @@ golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190828213141-aed303cbaa74/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= diff --git a/install/helm/gloo/crds/gateway.gloo.solo.io_crds.yaml b/install/helm/gloo/crds/gateway.gloo.solo.io_crds.yaml new file mode 100644 index 00000000000..ae75805e362 --- /dev/null +++ b/install/helm/gloo/crds/gateway.gloo.solo.io_crds.yaml @@ -0,0 +1,612 @@ +# Code generated by skv2. DO NOT EDIT. + +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + crd.solo.io/specHash: b770956ad3c60ed2 + labels: + app: gloo-gateway + app.kubernetes.io/name: gloo-gateway + name: gatewayparameters.gateway.gloo.solo.io +spec: + group: gateway.gloo.solo.io + names: + kind: GatewayParameters + listKind: GatewayParametersList + plural: gatewayparameters + shortNames: + - gwp + singular: gatewayparameters + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + properties: + spec: + oneOf: + - not: + anyOf: + - properties: + kube: + oneOf: + - not: + anyOf: + - required: + - deployment + - required: + - deployment + required: + - kube + - properties: + kube: + oneOf: + - not: + anyOf: + - required: + - deployment + - required: + - deployment + required: + - kube + properties: + kube: + properties: + autoscaling: + properties: + horizontalPodAutoscaler: + properties: + maxReplicas: + maximum: 4294967295 + minimum: 0 + nullable: true + type: integer + minReplicas: + maximum: 4294967295 + minimum: 0 + nullable: true + type: integer + targetCpuUtilizationPercentage: + maximum: 4294967295 + minimum: 0 + nullable: true + type: integer + targetMemoryUtilizationPercentage: + maximum: 4294967295 + minimum: 0 + nullable: true + type: integer + type: object + type: object + deployment: + properties: + replicas: + maximum: 4294967295 + minimum: 0 + nullable: true + type: integer + type: object + envoyContainer: + properties: + bootstrap: + properties: + componentLogLevels: + additionalProperties: + type: string + type: object + logLevel: + type: string + type: object + image: + properties: + digest: + type: string + pullPolicy: + enum: + - Unspecified + - IfNotPresent + - Always + - Never + type: string + registry: + type: string + repository: + type: string + tag: + type: string + type: object + resources: + properties: + limits: + additionalProperties: + type: string + type: object + requests: + additionalProperties: + type: string + type: object + type: object + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + type: object + podTemplate: + properties: + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + type: object + weight: + format: int32 + type: integer + type: object + type: array + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + type: object + type: array + type: object + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + namespaces: + items: + type: string + type: array + topologyKey: + type: string + type: object + weight: + format: int32 + type: integer + type: object + type: array + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + namespaces: + items: + type: string + type: array + topologyKey: + type: string + type: object + type: array + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + namespaces: + items: + type: string + type: array + topologyKey: + type: string + type: object + weight: + format: int32 + type: integer + type: object + type: array + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + namespaces: + items: + type: string + type: array + topologyKey: + type: string + type: object + type: array + type: object + type: object + extraAnnotations: + additionalProperties: + type: string + type: object + extraLabels: + additionalProperties: + type: string + type: object + imagePullSecrets: + items: + properties: + name: + type: string + type: object + type: array + nodeSelector: + additionalProperties: + type: string + type: object + securityContext: + properties: + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + sysctls: + items: + properties: + name: + type: string + value: + type: string + type: object + type: array + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + type: object + service: + properties: + clusterIP: + type: string + extraAnnotations: + additionalProperties: + type: string + type: object + extraLabels: + additionalProperties: + type: string + type: object + type: + enum: + - ClusterIP + - LoadBalancer + type: string + type: object + type: object + type: object + status: + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/install/helm/gloo/templates/44-rbac.yaml b/install/helm/gloo/templates/44-rbac.yaml index a5b23b11d6e..f463e75fe05 100644 --- a/install/helm/gloo/templates/44-rbac.yaml +++ b/install/helm/gloo/templates/44-rbac.yaml @@ -66,6 +66,11 @@ metadata: {{- include "gloo-gateway.gateway.constLabels" . | nindent 4 }} {{- include "gloo-gateway.controlPlane.labels" . | nindent 4 }} rules: +- apiGroups: + - "gateway.gloo.solo.io" + resources: + - gatewayparameters + verbs: ["get", "list", "watch"] - apiGroups: - "" resources: diff --git a/projects/gateway2/api/README.md b/projects/gateway2/api/README.md new file mode 100644 index 00000000000..ae5d8398e0f --- /dev/null +++ b/projects/gateway2/api/README.md @@ -0,0 +1,19 @@ +## APIs for Gloo Gateway - Kubernetes Gateway API Integration + +This directory contains protobuf files used by the Gloo Gateway integration with the Kubernetes Gateway API. + +### Codegen +The protos in this directory are compiled by the k8s gateway integration codegen in [generate.go](/projects/gateway2/generate.go) which can be invoked via `make install-go-tools generated-code -B`. + +The output of codegen includes: +- Go types generated in [projects/gateway2/pkg/api/](/projects/gateway2/pkg/api/) which can be used in Go code +- CRDs generated in [install/helm/gloo/crds](/install/helm/gloo/crds) + +### Adding a new CRD + +Note that the codegen for k8s gateway integration uses the skv2 library instead of solo-kit (which Gloo Edge classic uses), and thus there are some differences in how CRDs are defined. The k8s gateway integration only runs on Kubernetes and follows the convention of having a `spec` and `status` defined for each CRD. + +To add a new CRD: +1. Create its .proto definition in this directory +2. Add the `model.Resource` to the codegen command in [generate.go](/projects/gateway2/generate.go). Include a kind, spec type name, status type name, and (optionally) short names for the CRD. +3. Run codegen as described [above](#codegen) diff --git a/projects/gateway2/api/external/kubernetes/README.md b/projects/gateway2/api/external/kubernetes/README.md new file mode 100644 index 00000000000..51e3f6f90ca --- /dev/null +++ b/projects/gateway2/api/external/kubernetes/README.md @@ -0,0 +1,42 @@ +## Kubernetes Protos in Gloo Gateway + +Some of our Gloo Gateway protos depend on messages from the Kubernetes Core and Apimachinery APIs. This is because our user-facing APIs (e.g GatewayParameters) allow users to configure some parts of Kubernetes resources (e.g. pod/container security context, affinity, tolerations) directly. + +Instead of mirroring/redefining these messages in our own protos, we import copies of the protos from the Kubernetes repo(s). Note, the files in those repos are named `generated.proto` since the protos were generated from Go structs. + +### Usage + +#### Go +The protos in this directory are compiled by the k8s gateway integration codegen in [generate.go](/projects/gateway2/generate.go), which produces Go types under [projects/gateway2/pkg/api/external/kubernetes/](/projects/gateway2/pkg/api/external/kubernetes/) which can be used in Go code. + +#### Protobuf +To use these proto messages in other protos, add the appropriate import to your proto definition, e.g. +``` +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/api/core/v1/generated.proto"; +``` +and reference the messages with their package name, e.g. `k8s.io.api.core.v1.` + +### Updating the protos + +Generally we should try to keep the protos in sync with the `k8s.io/api` version we depend on in `go.mod`. Near the top of each `generated.proto` is a comment like this which shows the source of the file, where `` should correspond to the `k8s.io/api` version we are using. +``` +// This is a copy of https://github.com/kubernetes/api/blob//core/v1/generated.proto +// with the imports and go_package changed to gloo paths. +// Ideally we should update this proto every time we upgrade our k8s.io/api dependency. +``` + +Whenever we upgrade our `k8s.io/api` version (to let's say, ``) in gloo, we should: +1. Update each `generated.proto` in this directory with the `` copy of the file, copied from the Kubernetes api or apimachinery repo. +2. Update the comment `This is a copy of...` in each file to have the new source file path. +3. Re-run codegen via `make install-go-tools generated-code -B` + +### Adding new protos + +If new Kubernetes protos need to be added: + +1. Find the source file (usually look for `generated.proto` in https://github.com/kubernetes/api or https://github.com/kubernetes/apimachinery), on the branch/tag corresponding to the `k8s.io/api` version we are using. +2. Copy it here, keeping similar directory structure (e.g. if copying a file from `https://github.com/kubernetes/api/blob//batch/v1/generated.proto`, it should be copied to directory `projects/gateway2/api/external/kubernetes/api/batch/v1/generated.proto` in gloo) +3. Add a comment near the top of the file, similar to the one shown above in [Updating the protos](#updating-the-protos), which indicates the source of the copied file. +4. Change the import paths to use gloo repo paths (note, if the file is importing other dependencies that we don't have in this repo yet, those proto files need to be copied over as well). +5. Update the `go_package` to have the appropriate gloo path, e.g. `option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/api/core/v1";` +6. Re-run codegen via `make install-go-tools generated-code -B` diff --git a/projects/gateway2/api/external/kubernetes/api/core/v1/generated.proto b/projects/gateway2/api/external/kubernetes/api/core/v1/generated.proto new file mode 100644 index 00000000000..99ab8ecf26b --- /dev/null +++ b/projects/gateway2/api/external/kubernetes/api/core/v1/generated.proto @@ -0,0 +1,6191 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + + +// This is a copy of https://github.com/kubernetes/api/blob/v0.28.3/core/v1/generated.proto +// with the imports and go_package changed to gloo paths. +// Ideally we should update this proto every time we upgrade our k8s.io/api dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = "proto2"; + +package k8s.io.api.core.v1; + +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/api/resource/generated.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/generated.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/util/intstr/generated.proto"; + +// Package-wide variables from generator "generated". +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/api/core/v1"; + +// Represents a Persistent Disk resource in AWS. +// +// An AWS EBS disk must exist before mounting to a container. The disk +// must also be in the same AWS zone as the kubelet. An AWS EBS disk +// can only be mounted as read/write once. AWS EBS volumes support +// ownership management and SELinux relabeling. +message AWSElasticBlockStoreVolumeSource { + // volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + optional string volumeID = 1; + + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + optional string fsType = 2; + + // partition is the partition in the volume that you want to mount. + // If omitted, the default is to mount by volume name. + // Examples: For volume /dev/sda1, you specify the partition as "1". + // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + // +optional + optional int32 partition = 3; + + // readOnly value true will force the readOnly setting in VolumeMounts. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + // +optional + optional bool readOnly = 4; +} + +// Affinity is a group of affinity scheduling rules. +message Affinity { + // Describes node affinity scheduling rules for the pod. + // +optional + optional NodeAffinity nodeAffinity = 1; + + // Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). + // +optional + optional PodAffinity podAffinity = 2; + + // Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). + // +optional + optional PodAntiAffinity podAntiAffinity = 3; +} + +// AttachedVolume describes a volume attached to a node +message AttachedVolume { + // Name of the attached volume + optional string name = 1; + + // DevicePath represents the device path where the volume should be available + optional string devicePath = 2; +} + +// AvoidPods describes pods that should avoid this node. This is the value for a +// Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and +// will eventually become a field of NodeStatus. +message AvoidPods { + // Bounded-sized list of signatures of pods that should avoid this node, sorted + // in timestamp order from oldest to newest. Size of the slice is unspecified. + // +optional + repeated PreferAvoidPodsEntry preferAvoidPods = 1; +} + +// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +message AzureDiskVolumeSource { + // diskName is the Name of the data disk in the blob storage + optional string diskName = 1; + + // diskURI is the URI of data disk in the blob storage + optional string diskURI = 2; + + // cachingMode is the Host Caching mode: None, Read Only, Read Write. + // +optional + optional string cachingMode = 3; + + // fsType is Filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional + optional string fsType = 4; + + // readOnly Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 5; + + // kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared + optional string kind = 6; +} + +// AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +message AzureFilePersistentVolumeSource { + // secretName is the name of secret that contains Azure Storage Account Name and Key + optional string secretName = 1; + + // shareName is the azure Share Name + optional string shareName = 2; + + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 3; + + // secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key + // default is the same as the Pod + // +optional + optional string secretNamespace = 4; +} + +// AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +message AzureFileVolumeSource { + // secretName is the name of secret that contains Azure Storage Account Name and Key + optional string secretName = 1; + + // shareName is the azure share Name + optional string shareName = 2; + + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 3; +} + +// Binding ties one object to another; for example, a pod is bound to a node by a scheduler. +// Deprecated in 1.7, please use the bindings subresource of pods instead. +message Binding { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // The target object that you want to bind to the standard object. + optional ObjectReference target = 2; +} + +// Represents storage that is managed by an external CSI volume driver (Beta feature) +message CSIPersistentVolumeSource { + // driver is the name of the driver to use for this volume. + // Required. + optional string driver = 1; + + // volumeHandle is the unique volume name returned by the CSI volume + // plugin’s CreateVolume to refer to the volume on all subsequent calls. + // Required. + optional string volumeHandle = 2; + + // readOnly value to pass to ControllerPublishVolumeRequest. + // Defaults to false (read/write). + // +optional + optional bool readOnly = 3; + + // fsType to mount. Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". + // +optional + optional string fsType = 4; + + // volumeAttributes of the volume to publish. + // +optional + map volumeAttributes = 5; + + // controllerPublishSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // ControllerPublishVolume and ControllerUnpublishVolume calls. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +optional + optional SecretReference controllerPublishSecretRef = 6; + + // nodeStageSecretRef is a reference to the secret object containing sensitive + // information to pass to the CSI driver to complete the CSI NodeStageVolume + // and NodeStageVolume and NodeUnstageVolume calls. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +optional + optional SecretReference nodeStageSecretRef = 7; + + // nodePublishSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // NodePublishVolume and NodeUnpublishVolume calls. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +optional + optional SecretReference nodePublishSecretRef = 8; + + // controllerExpandSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // ControllerExpandVolume call. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +optional + optional SecretReference controllerExpandSecretRef = 9; + + // nodeExpandSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // NodeExpandVolume call. + // This is a beta field which is enabled default by CSINodeExpandSecret feature gate. + // This field is optional, may be omitted if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +featureGate=CSINodeExpandSecret + // +optional + optional SecretReference nodeExpandSecretRef = 10; +} + +// Represents a source location of a volume to mount, managed by an external CSI driver +message CSIVolumeSource { + // driver is the name of the CSI driver that handles this volume. + // Consult with your admin for the correct name as registered in the cluster. + optional string driver = 1; + + // readOnly specifies a read-only configuration for the volume. + // Defaults to false (read/write). + // +optional + optional bool readOnly = 2; + + // fsType to mount. Ex. "ext4", "xfs", "ntfs". + // If not provided, the empty value is passed to the associated CSI driver + // which will determine the default filesystem to apply. + // +optional + optional string fsType = 3; + + // volumeAttributes stores driver-specific properties that are passed to the CSI + // driver. Consult your driver's documentation for supported values. + // +optional + map volumeAttributes = 4; + + // nodePublishSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // NodePublishVolume and NodeUnpublishVolume calls. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secret references are passed. + // +optional + optional LocalObjectReference nodePublishSecretRef = 5; +} + +// Adds and removes POSIX capabilities from running containers. +message Capabilities { + // Added capabilities + // +optional + repeated string add = 1; + + // Removed capabilities + // +optional + repeated string drop = 2; +} + +// Represents a Ceph Filesystem mount that lasts the lifetime of a pod +// Cephfs volumes do not support ownership management or SELinux relabeling. +message CephFSPersistentVolumeSource { + // monitors is Required: Monitors is a collection of Ceph monitors + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + repeated string monitors = 1; + + // path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / + // +optional + optional string path = 2; + + // user is Optional: User is the rados user name, default is admin + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + optional string user = 3; + + // secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + optional string secretFile = 4; + + // secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + optional SecretReference secretRef = 5; + + // readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + optional bool readOnly = 6; +} + +// Represents a Ceph Filesystem mount that lasts the lifetime of a pod +// Cephfs volumes do not support ownership management or SELinux relabeling. +message CephFSVolumeSource { + // monitors is Required: Monitors is a collection of Ceph monitors + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + repeated string monitors = 1; + + // path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / + // +optional + optional string path = 2; + + // user is optional: User is the rados user name, default is admin + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + optional string user = 3; + + // secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + optional string secretFile = 4; + + // secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + optional LocalObjectReference secretRef = 5; + + // readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + optional bool readOnly = 6; +} + +// Represents a cinder volume resource in Openstack. +// A Cinder volume must exist before mounting to a container. +// The volume must also be in the same region as the kubelet. +// Cinder volumes support ownership management and SELinux relabeling. +message CinderPersistentVolumeSource { + // volumeID used to identify the volume in cinder. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + optional string volumeID = 1; + + // fsType Filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + optional string fsType = 2; + + // readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + optional bool readOnly = 3; + + // secretRef is Optional: points to a secret object containing parameters used to connect + // to OpenStack. + // +optional + optional SecretReference secretRef = 4; +} + +// Represents a cinder volume resource in Openstack. +// A Cinder volume must exist before mounting to a container. +// The volume must also be in the same region as the kubelet. +// Cinder volumes support ownership management and SELinux relabeling. +message CinderVolumeSource { + // volumeID used to identify the volume in cinder. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + optional string volumeID = 1; + + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + optional string fsType = 2; + + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + optional bool readOnly = 3; + + // secretRef is optional: points to a secret object containing parameters used to connect + // to OpenStack. + // +optional + optional LocalObjectReference secretRef = 4; +} + +// ClaimSource describes a reference to a ResourceClaim. +// +// Exactly one of these fields should be set. Consumers of this type must +// treat an empty object as if it has an unknown value. +message ClaimSource { + // ResourceClaimName is the name of a ResourceClaim object in the same + // namespace as this pod. + optional string resourceClaimName = 1; + + // ResourceClaimTemplateName is the name of a ResourceClaimTemplate + // object in the same namespace as this pod. + // + // The template will be used to create a new ResourceClaim, which will + // be bound to this pod. When this pod is deleted, the ResourceClaim + // will also be deleted. The pod name and resource name, along with a + // generated component, will be used to form a unique name for the + // ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. + // + // This field is immutable and no changes will be made to the + // corresponding ResourceClaim by the control plane after creating the + // ResourceClaim. + optional string resourceClaimTemplateName = 2; +} + +// ClientIPConfig represents the configurations of Client IP based session affinity. +message ClientIPConfig { + // timeoutSeconds specifies the seconds of ClientIP type session sticky time. + // The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". + // Default value is 10800(for 3 hours). + // +optional + optional int32 timeoutSeconds = 1; +} + +// Information about the condition of a component. +message ComponentCondition { + // Type of condition for a component. + // Valid value: "Healthy" + optional string type = 1; + + // Status of the condition for a component. + // Valid values for "Healthy": "True", "False", or "Unknown". + optional string status = 2; + + // Message about the condition for a component. + // For example, information about a health check. + // +optional + optional string message = 3; + + // Condition error code for a component. + // For example, a health check error code. + // +optional + optional string error = 4; +} + +// ComponentStatus (and ComponentStatusList) holds the cluster validation info. +// Deprecated: This API is deprecated in v1.19+ +message ComponentStatus { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // List of component conditions observed + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + repeated ComponentCondition conditions = 2; +} + +// Status of all the conditions for the component as a list of ComponentStatus objects. +// Deprecated: This API is deprecated in v1.19+ +message ComponentStatusList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of ComponentStatus objects. + repeated ComponentStatus items = 2; +} + +// ConfigMap holds configuration data for pods to consume. +message ConfigMap { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Immutable, if set to true, ensures that data stored in the ConfigMap cannot + // be updated (only object metadata can be modified). + // If not set to true, the field can be modified at any time. + // Defaulted to nil. + // +optional + optional bool immutable = 4; + + // Data contains the configuration data. + // Each key must consist of alphanumeric characters, '-', '_' or '.'. + // Values with non-UTF-8 byte sequences must use the BinaryData field. + // The keys stored in Data must not overlap with the keys in + // the BinaryData field, this is enforced during validation process. + // +optional + map data = 2; + + // BinaryData contains the binary data. + // Each key must consist of alphanumeric characters, '-', '_' or '.'. + // BinaryData can contain byte sequences that are not in the UTF-8 range. + // The keys stored in BinaryData must not overlap with the ones in + // the Data field, this is enforced during validation process. + // Using this field will require 1.10+ apiserver and + // kubelet. + // +optional + map binaryData = 3; +} + +// ConfigMapEnvSource selects a ConfigMap to populate the environment +// variables with. +// +// The contents of the target ConfigMap's Data field will represent the +// key-value pairs as environment variables. +message ConfigMapEnvSource { + // The ConfigMap to select from. + optional LocalObjectReference localObjectReference = 1; + + // Specify whether the ConfigMap must be defined + // +optional + optional bool optional = 2; +} + +// Selects a key from a ConfigMap. +// +structType=atomic +message ConfigMapKeySelector { + // The ConfigMap to select from. + optional LocalObjectReference localObjectReference = 1; + + // The key to select. + optional string key = 2; + + // Specify whether the ConfigMap or its key must be defined + // +optional + optional bool optional = 3; +} + +// ConfigMapList is a resource containing a list of ConfigMap objects. +message ConfigMapList { + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // Items is the list of ConfigMaps. + repeated ConfigMap items = 2; +} + +// ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. +// This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration +message ConfigMapNodeConfigSource { + // Namespace is the metadata.namespace of the referenced ConfigMap. + // This field is required in all cases. + optional string namespace = 1; + + // Name is the metadata.name of the referenced ConfigMap. + // This field is required in all cases. + optional string name = 2; + + // UID is the metadata.UID of the referenced ConfigMap. + // This field is forbidden in Node.Spec, and required in Node.Status. + // +optional + optional string uid = 3; + + // ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. + // This field is forbidden in Node.Spec, and required in Node.Status. + // +optional + optional string resourceVersion = 4; + + // KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure + // This field is required in all cases. + optional string kubeletConfigKey = 5; +} + +// Adapts a ConfigMap into a projected volume. +// +// The contents of the target ConfigMap's Data field will be presented in a +// projected volume as files using the keys in the Data field as the file names, +// unless the items element is populated with specific mappings of keys to paths. +// Note that this is identical to a configmap volume source without the default +// mode. +message ConfigMapProjection { + optional LocalObjectReference localObjectReference = 1; + + // items if unspecified, each key-value pair in the Data field of the referenced + // ConfigMap will be projected into the volume as a file whose name is the + // key and content is the value. If specified, the listed keys will be + // projected into the specified paths, and unlisted keys will not be + // present. If a key is specified which is not present in the ConfigMap, + // the volume setup will error unless it is marked optional. Paths must be + // relative and may not contain the '..' path or start with '..'. + // +optional + repeated KeyToPath items = 2; + + // optional specify whether the ConfigMap or its keys must be defined + // +optional + optional bool optional = 4; +} + +// Adapts a ConfigMap into a volume. +// +// The contents of the target ConfigMap's Data field will be presented in a +// volume as files using the keys in the Data field as the file names, unless +// the items element is populated with specific mappings of keys to paths. +// ConfigMap volumes support ownership management and SELinux relabeling. +message ConfigMapVolumeSource { + optional LocalObjectReference localObjectReference = 1; + + // items if unspecified, each key-value pair in the Data field of the referenced + // ConfigMap will be projected into the volume as a file whose name is the + // key and content is the value. If specified, the listed keys will be + // projected into the specified paths, and unlisted keys will not be + // present. If a key is specified which is not present in the ConfigMap, + // the volume setup will error unless it is marked optional. Paths must be + // relative and may not contain the '..' path or start with '..'. + // +optional + repeated KeyToPath items = 2; + + // defaultMode is optional: mode bits used to set permissions on created files by default. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // Defaults to 0644. + // Directories within the path are not affected by this setting. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + optional int32 defaultMode = 3; + + // optional specify whether the ConfigMap or its keys must be defined + // +optional + optional bool optional = 4; +} + +// A single application container that you want to run within a pod. +message Container { + // Name of the container specified as a DNS_LABEL. + // Each container in a pod must have a unique name (DNS_LABEL). + // Cannot be updated. + optional string name = 1; + + // Container image name. + // More info: https://kubernetes.io/docs/concepts/containers/images + // This field is optional to allow higher level config management to default or override + // container images in workload controllers like Deployments and StatefulSets. + // +optional + optional string image = 2; + + // Entrypoint array. Not executed within a shell. + // The container image's ENTRYPOINT is used if this is not provided. + // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + // of whether the variable exists or not. Cannot be updated. + // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // +optional + repeated string command = 3; + + // Arguments to the entrypoint. + // The container image's CMD is used if this is not provided. + // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + // of whether the variable exists or not. Cannot be updated. + // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // +optional + repeated string args = 4; + + // Container's working directory. + // If not specified, the container runtime's default will be used, which + // might be configured in the container image. + // Cannot be updated. + // +optional + optional string workingDir = 5; + + // List of ports to expose from the container. Not specifying a port here + // DOES NOT prevent that port from being exposed. Any port which is + // listening on the default "0.0.0.0" address inside a container will be + // accessible from the network. + // Modifying this array with strategic merge patch may corrupt the data. + // For more information See https://github.com/kubernetes/kubernetes/issues/108255. + // Cannot be updated. + // +optional + // +patchMergeKey=containerPort + // +patchStrategy=merge + // +listType=map + // +listMapKey=containerPort + // +listMapKey=protocol + repeated ContainerPort ports = 6; + + // List of sources to populate environment variables in the container. + // The keys defined within a source must be a C_IDENTIFIER. All invalid keys + // will be reported as an event when the container is starting. When a key exists in multiple + // sources, the value associated with the last source will take precedence. + // Values defined by an Env with a duplicate key will take precedence. + // Cannot be updated. + // +optional + repeated EnvFromSource envFrom = 19; + + // List of environment variables to set in the container. + // Cannot be updated. + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + repeated EnvVar env = 7; + + // Compute Resources required by this container. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // +optional + optional ResourceRequirements resources = 8; + + // Resources resize policy for the container. + // +featureGate=InPlacePodVerticalScaling + // +optional + // +listType=atomic + repeated ContainerResizePolicy resizePolicy = 23; + + // RestartPolicy defines the restart behavior of individual containers in a pod. + // This field may only be set for init containers, and the only allowed value is "Always". + // For non-init containers or when this field is not specified, + // the restart behavior is defined by the Pod's restart policy and the container type. + // Setting the RestartPolicy as "Always" for the init container will have the following effect: + // this init container will be continually restarted on + // exit until all regular containers have terminated. Once all regular + // containers have completed, all init containers with restartPolicy "Always" + // will be shut down. This lifecycle differs from normal init containers and + // is often referred to as a "sidecar" container. Although this init + // container still starts in the init container sequence, it does not wait + // for the container to complete before proceeding to the next init + // container. Instead, the next init container starts immediately after this + // init container is started, or after any startupProbe has successfully + // completed. + // +featureGate=SidecarContainers + // +optional + optional string restartPolicy = 24; + + // Pod volumes to mount into the container's filesystem. + // Cannot be updated. + // +optional + // +patchMergeKey=mountPath + // +patchStrategy=merge + repeated VolumeMount volumeMounts = 9; + + // volumeDevices is the list of block devices to be used by the container. + // +patchMergeKey=devicePath + // +patchStrategy=merge + // +optional + repeated VolumeDevice volumeDevices = 21; + + // Periodic probe of container liveness. + // Container will be restarted if the probe fails. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + optional Probe livenessProbe = 10; + + // Periodic probe of container service readiness. + // Container will be removed from service endpoints if the probe fails. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + optional Probe readinessProbe = 11; + + // StartupProbe indicates that the Pod has successfully initialized. + // If specified, no other probes are executed until this completes successfully. + // If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + // This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + // when it might take a long time to load data or warm a cache, than during steady-state operation. + // This cannot be updated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + optional Probe startupProbe = 22; + + // Actions that the management system should take in response to container lifecycle events. + // Cannot be updated. + // +optional + optional Lifecycle lifecycle = 12; + + // Optional: Path at which the file to which the container's termination message + // will be written is mounted into the container's filesystem. + // Message written is intended to be brief final status, such as an assertion failure message. + // Will be truncated by the node if greater than 4096 bytes. The total message length across + // all containers will be limited to 12kb. + // Defaults to /dev/termination-log. + // Cannot be updated. + // +optional + optional string terminationMessagePath = 13; + + // Indicate how the termination message should be populated. File will use the contents of + // terminationMessagePath to populate the container status message on both success and failure. + // FallbackToLogsOnError will use the last chunk of container log output if the termination + // message file is empty and the container exited with an error. + // The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + // Defaults to File. + // Cannot be updated. + // +optional + optional string terminationMessagePolicy = 20; + + // Image pull policy. + // One of Always, Never, IfNotPresent. + // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + // +optional + optional string imagePullPolicy = 14; + + // SecurityContext defines the security options the container should be run with. + // If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + // More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ + // +optional + optional SecurityContext securityContext = 15; + + // Whether this container should allocate a buffer for stdin in the container runtime. If this + // is not set, reads from stdin in the container will always result in EOF. + // Default is false. + // +optional + optional bool stdin = 16; + + // Whether the container runtime should close the stdin channel after it has been opened by + // a single attach. When stdin is true the stdin stream will remain open across multiple attach + // sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + // first client attaches to stdin, and then remains open and accepts data until the client disconnects, + // at which time stdin is closed and remains closed until the container is restarted. If this + // flag is false, a container processes that reads from stdin will never receive an EOF. + // Default is false + // +optional + optional bool stdinOnce = 17; + + // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + // Default is false. + // +optional + optional bool tty = 18; +} + +// Describe a container image +message ContainerImage { + // Names by which this image is known. + // e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"] + // +optional + repeated string names = 1; + + // The size of the image in bytes. + // +optional + optional int64 sizeBytes = 2; +} + +// ContainerPort represents a network port in a single container. +message ContainerPort { + // If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + // named port in a pod must have a unique name. Name for the port that can be + // referred to by services. + // +optional + optional string name = 1; + + // Number of port to expose on the host. + // If specified, this must be a valid port number, 0 < x < 65536. + // If HostNetwork is specified, this must match ContainerPort. + // Most containers do not need this. + // +optional + optional int32 hostPort = 2; + + // Number of port to expose on the pod's IP address. + // This must be a valid port number, 0 < x < 65536. + optional int32 containerPort = 3; + + // Protocol for port. Must be UDP, TCP, or SCTP. + // Defaults to "TCP". + // +optional + // +default="TCP" + optional string protocol = 4; + + // What host IP to bind the external port to. + // +optional + optional string hostIP = 5; +} + +// ContainerResizePolicy represents resource resize policy for the container. +message ContainerResizePolicy { + // Name of the resource to which this resource resize policy applies. + // Supported values: cpu, memory. + optional string resourceName = 1; + + // Restart policy to apply when specified resource is resized. + // If not specified, it defaults to NotRequired. + optional string restartPolicy = 2; +} + +// ContainerState holds a possible state of container. +// Only one of its members may be specified. +// If none of them is specified, the default one is ContainerStateWaiting. +message ContainerState { + // Details about a waiting container + // +optional + optional ContainerStateWaiting waiting = 1; + + // Details about a running container + // +optional + optional ContainerStateRunning running = 2; + + // Details about a terminated container + // +optional + optional ContainerStateTerminated terminated = 3; +} + +// ContainerStateRunning is a running state of a container. +message ContainerStateRunning { + // Time at which the container was last (re-)started + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startedAt = 1; +} + +// ContainerStateTerminated is a terminated state of a container. +message ContainerStateTerminated { + // Exit status from the last termination of the container + optional int32 exitCode = 1; + + // Signal from the last termination of the container + // +optional + optional int32 signal = 2; + + // (brief) reason from the last termination of the container + // +optional + optional string reason = 3; + + // Message regarding the last termination of the container + // +optional + optional string message = 4; + + // Time at which previous execution of the container started + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startedAt = 5; + + // Time at which the container last terminated + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time finishedAt = 6; + + // Container's ID in the format '://' + // +optional + optional string containerID = 7; +} + +// ContainerStateWaiting is a waiting state of a container. +message ContainerStateWaiting { + // (brief) reason the container is not yet running. + // +optional + optional string reason = 1; + + // Message regarding why the container is not yet running. + // +optional + optional string message = 2; +} + +// ContainerStatus contains details for the current status of this container. +message ContainerStatus { + // Name is a DNS_LABEL representing the unique name of the container. + // Each container in a pod must have a unique name across all container types. + // Cannot be updated. + optional string name = 1; + + // State holds details about the container's current condition. + // +optional + optional ContainerState state = 2; + + // LastTerminationState holds the last termination state of the container to + // help debug container crashes and restarts. This field is not + // populated if the container is still running and RestartCount is 0. + // +optional + optional ContainerState lastState = 3; + + // Ready specifies whether the container is currently passing its readiness check. + // The value will change as readiness probes keep executing. If no readiness + // probes are specified, this field defaults to true once the container is + // fully started (see Started field). + // + // The value is typically used to determine whether a container is ready to + // accept traffic. + optional bool ready = 4; + + // RestartCount holds the number of times the container has been restarted. + // Kubelet makes an effort to always increment the value, but there + // are cases when the state may be lost due to node restarts and then the value + // may be reset to 0. The value is never negative. + optional int32 restartCount = 5; + + // Image is the name of container image that the container is running. + // The container image may not match the image used in the PodSpec, + // as it may have been resolved by the runtime. + // More info: https://kubernetes.io/docs/concepts/containers/images. + optional string image = 6; + + // ImageID is the image ID of the container's image. The image ID may not + // match the image ID of the image used in the PodSpec, as it may have been + // resolved by the runtime. + optional string imageID = 7; + + // ContainerID is the ID of the container in the format '://'. + // Where type is a container runtime identifier, returned from Version call of CRI API + // (for example "containerd"). + // +optional + optional string containerID = 8; + + // Started indicates whether the container has finished its postStart lifecycle hook + // and passed its startup probe. + // Initialized as false, becomes true after startupProbe is considered + // successful. Resets to false when the container is restarted, or if kubelet + // loses state temporarily. In both cases, startup probes will run again. + // Is always true when no startupProbe is defined and container is running and + // has passed the postStart lifecycle hook. The null value must be treated the + // same as false. + // +optional + optional bool started = 9; + + // AllocatedResources represents the compute resources allocated for this container by the + // node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission + // and after successfully admitting desired pod resize. + // +featureGate=InPlacePodVerticalScaling + // +optional + map allocatedResources = 10; + + // Resources represents the compute resource requests and limits that have been successfully + // enacted on the running container after it has been started or has been successfully resized. + // +featureGate=InPlacePodVerticalScaling + // +optional + optional ResourceRequirements resources = 11; +} + +// DaemonEndpoint contains information about a single Daemon endpoint. +message DaemonEndpoint { + // Port number of the given endpoint. + optional int32 Port = 1; +} + +// Represents downward API info for projecting into a projected volume. +// Note that this is identical to a downwardAPI volume source without the default +// mode. +message DownwardAPIProjection { + // Items is a list of DownwardAPIVolume file + // +optional + repeated DownwardAPIVolumeFile items = 1; +} + +// DownwardAPIVolumeFile represents information to create the file containing the pod field +message DownwardAPIVolumeFile { + // Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' + optional string path = 1; + + // Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + // +optional + optional ObjectFieldSelector fieldRef = 2; + + // Selects a resource of the container: only resources limits and requests + // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + // +optional + optional ResourceFieldSelector resourceFieldRef = 3; + + // Optional: mode bits used to set permissions on this file, must be an octal value + // between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // If not specified, the volume defaultMode will be used. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + optional int32 mode = 4; +} + +// DownwardAPIVolumeSource represents a volume containing downward API info. +// Downward API volumes support ownership management and SELinux relabeling. +message DownwardAPIVolumeSource { + // Items is a list of downward API volume file + // +optional + repeated DownwardAPIVolumeFile items = 1; + + // Optional: mode bits to use on created files by default. Must be a + // Optional: mode bits used to set permissions on created files by default. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // Defaults to 0644. + // Directories within the path are not affected by this setting. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + optional int32 defaultMode = 2; +} + +// Represents an empty directory for a pod. +// Empty directory volumes support ownership management and SELinux relabeling. +message EmptyDirVolumeSource { + // medium represents what type of storage medium should back this directory. + // The default is "" which means to use the node's default medium. + // Must be an empty string (default) or Memory. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + // +optional + optional string medium = 1; + + // sizeLimit is the total amount of local storage required for this EmptyDir volume. + // The size limit is also applicable for memory medium. + // The maximum usage on memory medium EmptyDir would be the minimum value between + // the SizeLimit specified here and the sum of memory limits of all containers in a pod. + // The default is nil which means that the limit is undefined. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + // +optional + optional k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2; +} + +// EndpointAddress is a tuple that describes single IP address. +// +structType=atomic +message EndpointAddress { + // The IP of this endpoint. + // May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), + // or link-local multicast (224.0.0.0/24 or ff02::/16). + optional string ip = 1; + + // The Hostname of this endpoint + // +optional + optional string hostname = 3; + + // Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. + // +optional + optional string nodeName = 4; + + // Reference to object providing the endpoint. + // +optional + optional ObjectReference targetRef = 2; +} + +// EndpointPort is a tuple that describes a single port. +// +structType=atomic +message EndpointPort { + // The name of this port. This must match the 'name' field in the + // corresponding ServicePort. + // Must be a DNS_LABEL. + // Optional only if one port is defined. + // +optional + optional string name = 1; + + // The port number of the endpoint. + optional int32 port = 2; + + // The IP protocol for this port. + // Must be UDP, TCP, or SCTP. + // Default is TCP. + // +optional + optional string protocol = 3; + + // The application protocol for this port. + // This is used as a hint for implementations to offer richer behavior for protocols that they understand. + // This field follows standard Kubernetes label syntax. + // Valid values are either: + // + // * Un-prefixed protocol names - reserved for IANA standard service names (as per + // RFC-6335 and https://www.iana.org/assignments/service-names). + // + // * Kubernetes-defined prefixed names: + // * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 + // * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 + // * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 + // + // * Other protocols should use implementation-defined prefixed names such as + // mycompany.com/my-custom-protocol. + // +optional + optional string appProtocol = 4; +} + +// EndpointSubset is a group of addresses with a common set of ports. The +// expanded set of endpoints is the Cartesian product of Addresses x Ports. +// For example, given: +// +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// } +// +// The resulting set of endpoints can be viewed as: +// +// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], +// b: [ 10.10.1.1:309, 10.10.2.2:309 ] +message EndpointSubset { + // IP addresses which offer the related ports that are marked as ready. These endpoints + // should be considered safe for load balancers and clients to utilize. + // +optional + repeated EndpointAddress addresses = 1; + + // IP addresses which offer the related ports but are not currently marked as ready + // because they have not yet finished starting, have recently failed a readiness check, + // or have recently failed a liveness check. + // +optional + repeated EndpointAddress notReadyAddresses = 2; + + // Port numbers available on the related IP addresses. + // +optional + repeated EndpointPort ports = 3; +} + +// Endpoints is a collection of endpoints that implement the actual service. Example: +// +// Name: "mysvc", +// Subsets: [ +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// }, +// { +// Addresses: [{"ip": "10.10.3.3"}], +// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] +// }, +// ] +message Endpoints { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // The set of all endpoints is the union of all subsets. Addresses are placed into + // subsets according to the IPs they share. A single address with multiple ports, + // some of which are ready and some of which are not (because they come from + // different containers) will result in the address being displayed in different + // subsets for the different ports. No address will appear in both Addresses and + // NotReadyAddresses in the same subset. + // Sets of addresses and ports that comprise a service. + // +optional + repeated EndpointSubset subsets = 2; +} + +// EndpointsList is a list of endpoints. +message EndpointsList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of endpoints. + repeated Endpoints items = 2; +} + +// EnvFromSource represents the source of a set of ConfigMaps +message EnvFromSource { + // An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + // +optional + optional string prefix = 1; + + // The ConfigMap to select from + // +optional + optional ConfigMapEnvSource configMapRef = 2; + + // The Secret to select from + // +optional + optional SecretEnvSource secretRef = 3; +} + +// EnvVar represents an environment variable present in a Container. +message EnvVar { + // Name of the environment variable. Must be a C_IDENTIFIER. + optional string name = 1; + + // Variable references $(VAR_NAME) are expanded + // using the previously defined environment variables in the container and + // any service environment variables. If a variable cannot be resolved, + // the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + // "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + // Escaped references will never be expanded, regardless of whether the variable + // exists or not. + // Defaults to "". + // +optional + optional string value = 2; + + // Source for the environment variable's value. Cannot be used if value is not empty. + // +optional + optional EnvVarSource valueFrom = 3; +} + +// EnvVarSource represents a source for the value of an EnvVar. +message EnvVarSource { + // Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + // spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + // +optional + optional ObjectFieldSelector fieldRef = 1; + + // Selects a resource of the container: only resources limits and requests + // (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + // +optional + optional ResourceFieldSelector resourceFieldRef = 2; + + // Selects a key of a ConfigMap. + // +optional + optional ConfigMapKeySelector configMapKeyRef = 3; + + // Selects a key of a secret in the pod's namespace + // +optional + optional SecretKeySelector secretKeyRef = 4; +} + +// An EphemeralContainer is a temporary container that you may add to an existing Pod for +// user-initiated activities such as debugging. Ephemeral containers have no resource or +// scheduling guarantees, and they will not be restarted when they exit or when a Pod is +// removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the +// Pod to exceed its resource allocation. +// +// To add an ephemeral container, use the ephemeralcontainers subresource of an existing +// Pod. Ephemeral containers may not be removed or restarted. +message EphemeralContainer { + // Ephemeral containers have all of the fields of Container, plus additional fields + // specific to ephemeral containers. Fields in common with Container are in the + // following inlined struct so than an EphemeralContainer may easily be converted + // to a Container. + optional EphemeralContainerCommon ephemeralContainerCommon = 1; + + // If set, the name of the container from PodSpec that this ephemeral container targets. + // The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. + // If not set then the ephemeral container uses the namespaces configured in the Pod spec. + // + // The container runtime must implement support for this feature. If the runtime does not + // support namespace targeting then the result of setting this field is undefined. + // +optional + optional string targetContainerName = 2; +} + +// EphemeralContainerCommon is a copy of all fields in Container to be inlined in +// EphemeralContainer. This separate type allows easy conversion from EphemeralContainer +// to Container and allows separate documentation for the fields of EphemeralContainer. +// When a new field is added to Container it must be added here as well. +message EphemeralContainerCommon { + // Name of the ephemeral container specified as a DNS_LABEL. + // This name must be unique among all containers, init containers and ephemeral containers. + optional string name = 1; + + // Container image name. + // More info: https://kubernetes.io/docs/concepts/containers/images + optional string image = 2; + + // Entrypoint array. Not executed within a shell. + // The image's ENTRYPOINT is used if this is not provided. + // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + // of whether the variable exists or not. Cannot be updated. + // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // +optional + repeated string command = 3; + + // Arguments to the entrypoint. + // The image's CMD is used if this is not provided. + // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + // of whether the variable exists or not. Cannot be updated. + // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // +optional + repeated string args = 4; + + // Container's working directory. + // If not specified, the container runtime's default will be used, which + // might be configured in the container image. + // Cannot be updated. + // +optional + optional string workingDir = 5; + + // Ports are not allowed for ephemeral containers. + // +optional + // +patchMergeKey=containerPort + // +patchStrategy=merge + // +listType=map + // +listMapKey=containerPort + // +listMapKey=protocol + repeated ContainerPort ports = 6; + + // List of sources to populate environment variables in the container. + // The keys defined within a source must be a C_IDENTIFIER. All invalid keys + // will be reported as an event when the container is starting. When a key exists in multiple + // sources, the value associated with the last source will take precedence. + // Values defined by an Env with a duplicate key will take precedence. + // Cannot be updated. + // +optional + repeated EnvFromSource envFrom = 19; + + // List of environment variables to set in the container. + // Cannot be updated. + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + repeated EnvVar env = 7; + + // Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources + // already allocated to the pod. + // +optional + optional ResourceRequirements resources = 8; + + // Resources resize policy for the container. + // +featureGate=InPlacePodVerticalScaling + // +optional + // +listType=atomic + repeated ContainerResizePolicy resizePolicy = 23; + + // Restart policy for the container to manage the restart behavior of each + // container within a pod. + // This may only be set for init containers. You cannot set this field on + // ephemeral containers. + // +featureGate=SidecarContainers + // +optional + optional string restartPolicy = 24; + + // Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. + // Cannot be updated. + // +optional + // +patchMergeKey=mountPath + // +patchStrategy=merge + repeated VolumeMount volumeMounts = 9; + + // volumeDevices is the list of block devices to be used by the container. + // +patchMergeKey=devicePath + // +patchStrategy=merge + // +optional + repeated VolumeDevice volumeDevices = 21; + + // Probes are not allowed for ephemeral containers. + // +optional + optional Probe livenessProbe = 10; + + // Probes are not allowed for ephemeral containers. + // +optional + optional Probe readinessProbe = 11; + + // Probes are not allowed for ephemeral containers. + // +optional + optional Probe startupProbe = 22; + + // Lifecycle is not allowed for ephemeral containers. + // +optional + optional Lifecycle lifecycle = 12; + + // Optional: Path at which the file to which the container's termination message + // will be written is mounted into the container's filesystem. + // Message written is intended to be brief final status, such as an assertion failure message. + // Will be truncated by the node if greater than 4096 bytes. The total message length across + // all containers will be limited to 12kb. + // Defaults to /dev/termination-log. + // Cannot be updated. + // +optional + optional string terminationMessagePath = 13; + + // Indicate how the termination message should be populated. File will use the contents of + // terminationMessagePath to populate the container status message on both success and failure. + // FallbackToLogsOnError will use the last chunk of container log output if the termination + // message file is empty and the container exited with an error. + // The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + // Defaults to File. + // Cannot be updated. + // +optional + optional string terminationMessagePolicy = 20; + + // Image pull policy. + // One of Always, Never, IfNotPresent. + // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + // +optional + optional string imagePullPolicy = 14; + + // Optional: SecurityContext defines the security options the ephemeral container should be run with. + // If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + // +optional + optional SecurityContext securityContext = 15; + + // Whether this container should allocate a buffer for stdin in the container runtime. If this + // is not set, reads from stdin in the container will always result in EOF. + // Default is false. + // +optional + optional bool stdin = 16; + + // Whether the container runtime should close the stdin channel after it has been opened by + // a single attach. When stdin is true the stdin stream will remain open across multiple attach + // sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + // first client attaches to stdin, and then remains open and accepts data until the client disconnects, + // at which time stdin is closed and remains closed until the container is restarted. If this + // flag is false, a container processes that reads from stdin will never receive an EOF. + // Default is false + // +optional + optional bool stdinOnce = 17; + + // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + // Default is false. + // +optional + optional bool tty = 18; +} + +// Represents an ephemeral volume that is handled by a normal storage driver. +message EphemeralVolumeSource { + // Will be used to create a stand-alone PVC to provision the volume. + // The pod in which this EphemeralVolumeSource is embedded will be the + // owner of the PVC, i.e. the PVC will be deleted together with the + // pod. The name of the PVC will be `-` where + // `` is the name from the `PodSpec.Volumes` array + // entry. Pod validation will reject the pod if the concatenated name + // is not valid for a PVC (for example, too long). + // + // An existing PVC with that name that is not owned by the pod + // will *not* be used for the pod to avoid using an unrelated + // volume by mistake. Starting the pod is then blocked until + // the unrelated PVC is removed. If such a pre-created PVC is + // meant to be used by the pod, the PVC has to updated with an + // owner reference to the pod once the pod exists. Normally + // this should not be necessary, but it may be useful when + // manually reconstructing a broken cluster. + // + // This field is read-only and no changes will be made by Kubernetes + // to the PVC after it has been created. + // + // Required, must not be nil. + optional PersistentVolumeClaimTemplate volumeClaimTemplate = 1; +} + +// Event is a report of an event somewhere in the cluster. Events +// have a limited retention time and triggers and messages may evolve +// with time. Event consumers should not rely on the timing of an event +// with a given Reason reflecting a consistent underlying trigger, or the +// continued existence of events with that Reason. Events should be +// treated as informative, best-effort, supplemental data. +message Event { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // The object that this event is about. + optional ObjectReference involvedObject = 2; + + // This should be a short, machine understandable string that gives the reason + // for the transition into the object's current status. + // TODO: provide exact specification for format. + // +optional + optional string reason = 3; + + // A human-readable description of the status of this operation. + // TODO: decide on maximum length. + // +optional + optional string message = 4; + + // The component reporting this event. Should be a short machine understandable string. + // +optional + optional EventSource source = 5; + + // The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time firstTimestamp = 6; + + // The time at which the most recent occurrence of this event was recorded. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTimestamp = 7; + + // The number of times this event has occurred. + // +optional + optional int32 count = 8; + + // Type of this event (Normal, Warning), new types could be added in the future + // +optional + optional string type = 9; + + // Time when this Event was first observed. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10; + + // Data about the Event series this event represents or nil if it's a singleton Event. + // +optional + optional EventSeries series = 11; + + // What action was taken/failed regarding to the Regarding object. + // +optional + optional string action = 12; + + // Optional secondary object for more complex actions. + // +optional + optional ObjectReference related = 13; + + // Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. + // +optional + optional string reportingComponent = 14; + + // ID of the controller instance, e.g. `kubelet-xyzf`. + // +optional + optional string reportingInstance = 15; +} + +// EventList is a list of events. +message EventList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of events + repeated Event items = 2; +} + +// EventSeries contain information on series of events, i.e. thing that was/is happening +// continuously for some time. +message EventSeries { + // Number of occurrences in this series up to the last heartbeat time + optional int32 count = 1; + + // Time of the last occurrence observed + optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime lastObservedTime = 2; +} + +// EventSource contains information for an event. +message EventSource { + // Component from which the event is generated. + // +optional + optional string component = 1; + + // Node name on which the event is generated. + // +optional + optional string host = 2; +} + +// ExecAction describes a "run in container" action. +message ExecAction { + // Command is the command line to execute inside the container, the working directory for the + // command is root ('/') in the container's filesystem. The command is simply exec'd, it is + // not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + // a shell, you need to explicitly call out to that shell. + // Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + // +optional + repeated string command = 1; +} + +// Represents a Fibre Channel volume. +// Fibre Channel volumes can only be mounted as read/write once. +// Fibre Channel volumes support ownership management and SELinux relabeling. +message FCVolumeSource { + // targetWWNs is Optional: FC target worldwide names (WWNs) + // +optional + repeated string targetWWNs = 1; + + // lun is Optional: FC target lun number + // +optional + optional int32 lun = 2; + + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + optional string fsType = 3; + + // readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 4; + + // wwids Optional: FC volume world wide identifiers (wwids) + // Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. + // +optional + repeated string wwids = 5; +} + +// FlexPersistentVolumeSource represents a generic persistent volume resource that is +// provisioned/attached using an exec based plugin. +message FlexPersistentVolumeSource { + // driver is the name of the driver to use for this volume. + optional string driver = 1; + + // fsType is the Filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + // +optional + optional string fsType = 2; + + // secretRef is Optional: SecretRef is reference to the secret object containing + // sensitive information to pass to the plugin scripts. This may be + // empty if no secret object is specified. If the secret object + // contains more than one secret, all secrets are passed to the plugin + // scripts. + // +optional + optional SecretReference secretRef = 3; + + // readOnly is Optional: defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 4; + + // options is Optional: this field holds extra command options if any. + // +optional + map options = 5; +} + +// FlexVolume represents a generic volume resource that is +// provisioned/attached using an exec based plugin. +message FlexVolumeSource { + // driver is the name of the driver to use for this volume. + optional string driver = 1; + + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + // +optional + optional string fsType = 2; + + // secretRef is Optional: secretRef is reference to the secret object containing + // sensitive information to pass to the plugin scripts. This may be + // empty if no secret object is specified. If the secret object + // contains more than one secret, all secrets are passed to the plugin + // scripts. + // +optional + optional LocalObjectReference secretRef = 3; + + // readOnly is Optional: defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 4; + + // options is Optional: this field holds extra command options if any. + // +optional + map options = 5; +} + +// Represents a Flocker volume mounted by the Flocker agent. +// One and only one of datasetName and datasetUUID should be set. +// Flocker volumes do not support ownership management or SELinux relabeling. +message FlockerVolumeSource { + // datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + // should be considered as deprecated + // +optional + optional string datasetName = 1; + + // datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset + // +optional + optional string datasetUUID = 2; +} + +// Represents a Persistent Disk resource in Google Compute Engine. +// +// A GCE PD must exist before mounting to a container. The disk must +// also be in the same GCE project and zone as the kubelet. A GCE PD +// can only be mounted as read/write once or read-only many times. GCE +// PDs support ownership management and SELinux relabeling. +message GCEPersistentDiskVolumeSource { + // pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + optional string pdName = 1; + + // fsType is filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + optional string fsType = 2; + + // partition is the partition in the volume that you want to mount. + // If omitted, the default is to mount by volume name. + // Examples: For volume /dev/sda1, you specify the partition as "1". + // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // +optional + optional int32 partition = 3; + + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // +optional + optional bool readOnly = 4; +} + +message GRPCAction { + // Port number of the gRPC service. Number must be in the range 1 to 65535. + optional int32 port = 1; + + // Service is the name of the service to place in the gRPC HealthCheckRequest + // (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + // + // If this is not specified, the default behavior is defined by gRPC. + // +optional + // +default="" + optional string service = 2; +} + +// Represents a volume that is populated with the contents of a git repository. +// Git repo volumes do not support ownership management. +// Git repo volumes support SELinux relabeling. +// +// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an +// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir +// into the Pod's container. +message GitRepoVolumeSource { + // repository is the URL + optional string repository = 1; + + // revision is the commit hash for the specified revision. + // +optional + optional string revision = 2; + + // directory is the target directory name. + // Must not contain or start with '..'. If '.' is supplied, the volume directory will be the + // git repository. Otherwise, if specified, the volume will contain the git repository in + // the subdirectory with the given name. + // +optional + optional string directory = 3; +} + +// Represents a Glusterfs mount that lasts the lifetime of a pod. +// Glusterfs volumes do not support ownership management or SELinux relabeling. +message GlusterfsPersistentVolumeSource { + // endpoints is the endpoint name that details Glusterfs topology. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + optional string endpoints = 1; + + // path is the Glusterfs volume path. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + optional string path = 2; + + // readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + // Defaults to false. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + // +optional + optional bool readOnly = 3; + + // endpointsNamespace is the namespace that contains Glusterfs endpoint. + // If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + // +optional + optional string endpointsNamespace = 4; +} + +// Represents a Glusterfs mount that lasts the lifetime of a pod. +// Glusterfs volumes do not support ownership management or SELinux relabeling. +message GlusterfsVolumeSource { + // endpoints is the endpoint name that details Glusterfs topology. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + optional string endpoints = 1; + + // path is the Glusterfs volume path. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + optional string path = 2; + + // readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + // Defaults to false. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + // +optional + optional bool readOnly = 3; +} + +// HTTPGetAction describes an action based on HTTP Get requests. +message HTTPGetAction { + // Path to access on the HTTP server. + // +optional + optional string path = 1; + + // Name or number of the port to access on the container. + // Number must be in the range 1 to 65535. + // Name must be an IANA_SVC_NAME. + optional k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2; + + // Host name to connect to, defaults to the pod IP. You probably want to set + // "Host" in httpHeaders instead. + // +optional + optional string host = 3; + + // Scheme to use for connecting to the host. + // Defaults to HTTP. + // +optional + optional string scheme = 4; + + // Custom headers to set in the request. HTTP allows repeated headers. + // +optional + repeated HTTPHeader httpHeaders = 5; +} + +// HTTPHeader describes a custom header to be used in HTTP probes +message HTTPHeader { + // The header field name. + // This will be canonicalized upon output, so case-variant names will be understood as the same header. + optional string name = 1; + + // The header field value + optional string value = 2; +} + +// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the +// pod's hosts file. +message HostAlias { + // IP address of the host file entry. + optional string ip = 1; + + // Hostnames for the above IP address. + repeated string hostnames = 2; +} + +// HostIP represents a single IP address allocated to the host. +message HostIP { + // IP is the IP address assigned to the host + optional string ip = 1; +} + +// Represents a host path mapped into a pod. +// Host path volumes do not support ownership management or SELinux relabeling. +message HostPathVolumeSource { + // path of the directory on the host. + // If the path is a symlink, it will follow the link to the real path. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + optional string path = 1; + + // type for HostPath Volume + // Defaults to "" + // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + // +optional + optional string type = 2; +} + +// ISCSIPersistentVolumeSource represents an ISCSI disk. +// ISCSI volumes can only be mounted as read/write once. +// ISCSI volumes support ownership management and SELinux relabeling. +message ISCSIPersistentVolumeSource { + // targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + // is other than default (typically TCP ports 860 and 3260). + optional string targetPortal = 1; + + // iqn is Target iSCSI Qualified Name. + optional string iqn = 2; + + // lun is iSCSI Target Lun number. + optional int32 lun = 3; + + // iscsiInterface is the interface Name that uses an iSCSI transport. + // Defaults to 'default' (tcp). + // +optional + optional string iscsiInterface = 4; + + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + optional string fsType = 5; + + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // +optional + optional bool readOnly = 6; + + // portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port + // is other than default (typically TCP ports 860 and 3260). + // +optional + repeated string portals = 7; + + // chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication + // +optional + optional bool chapAuthDiscovery = 8; + + // chapAuthSession defines whether support iSCSI Session CHAP authentication + // +optional + optional bool chapAuthSession = 11; + + // secretRef is the CHAP Secret for iSCSI target and initiator authentication + // +optional + optional SecretReference secretRef = 10; + + // initiatorName is the custom iSCSI Initiator Name. + // If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + // : will be created for the connection. + // +optional + optional string initiatorName = 12; +} + +// Represents an ISCSI disk. +// ISCSI volumes can only be mounted as read/write once. +// ISCSI volumes support ownership management and SELinux relabeling. +message ISCSIVolumeSource { + // targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + // is other than default (typically TCP ports 860 and 3260). + optional string targetPortal = 1; + + // iqn is the target iSCSI Qualified Name. + optional string iqn = 2; + + // lun represents iSCSI Target Lun number. + optional int32 lun = 3; + + // iscsiInterface is the interface Name that uses an iSCSI transport. + // Defaults to 'default' (tcp). + // +optional + optional string iscsiInterface = 4; + + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + optional string fsType = 5; + + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // +optional + optional bool readOnly = 6; + + // portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port + // is other than default (typically TCP ports 860 and 3260). + // +optional + repeated string portals = 7; + + // chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication + // +optional + optional bool chapAuthDiscovery = 8; + + // chapAuthSession defines whether support iSCSI Session CHAP authentication + // +optional + optional bool chapAuthSession = 11; + + // secretRef is the CHAP Secret for iSCSI target and initiator authentication + // +optional + optional LocalObjectReference secretRef = 10; + + // initiatorName is the custom iSCSI Initiator Name. + // If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + // : will be created for the connection. + // +optional + optional string initiatorName = 12; +} + +// Maps a string key to a path within a volume. +message KeyToPath { + // key is the key to project. + optional string key = 1; + + // path is the relative path of the file to map the key to. + // May not be an absolute path. + // May not contain the path element '..'. + // May not start with the string '..'. + optional string path = 2; + + // mode is Optional: mode bits used to set permissions on this file. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // If not specified, the volume defaultMode will be used. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + optional int32 mode = 3; +} + +// Lifecycle describes actions that the management system should take in response to container lifecycle +// events. For the PostStart and PreStop lifecycle handlers, management of the container blocks +// until the action is complete, unless the container process fails, in which case the handler is aborted. +message Lifecycle { + // PostStart is called immediately after a container is created. If the handler fails, + // the container is terminated and restarted according to its restart policy. + // Other management of the container blocks until the hook completes. + // More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks + // +optional + optional LifecycleHandler postStart = 1; + + // PreStop is called immediately before a container is terminated due to an + // API request or management event such as liveness/startup probe failure, + // preemption, resource contention, etc. The handler is not called if the + // container crashes or exits. The Pod's termination grace period countdown begins before the + // PreStop hook is executed. Regardless of the outcome of the handler, the + // container will eventually terminate within the Pod's termination grace + // period (unless delayed by finalizers). Other management of the container blocks until the hook completes + // or until the termination grace period is reached. + // More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks + // +optional + optional LifecycleHandler preStop = 2; +} + +// LifecycleHandler defines a specific action that should be taken in a lifecycle +// hook. One and only one of the fields, except TCPSocket must be specified. +message LifecycleHandler { + // Exec specifies the action to take. + // +optional + optional ExecAction exec = 1; + + // HTTPGet specifies the http request to perform. + // +optional + optional HTTPGetAction httpGet = 2; + + // Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + // for the backward compatibility. There are no validation of this field and + // lifecycle hooks will fail in runtime when tcp handler is specified. + // +optional + optional TCPSocketAction tcpSocket = 3; +} + +// LimitRange sets resource usage limits for each kind of resource in a Namespace. +message LimitRange { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Spec defines the limits enforced. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional LimitRangeSpec spec = 2; +} + +// LimitRangeItem defines a min/max usage limit for any resource that matches on kind. +message LimitRangeItem { + // Type of resource that this limit applies to. + optional string type = 1; + + // Max usage constraints on this kind by resource name. + // +optional + map max = 2; + + // Min usage constraints on this kind by resource name. + // +optional + map min = 3; + + // Default resource requirement limit value by resource name if resource limit is omitted. + // +optional + map default = 4; + + // DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. + // +optional + map defaultRequest = 5; + + // MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. + // +optional + map maxLimitRequestRatio = 6; +} + +// LimitRangeList is a list of LimitRange items. +message LimitRangeList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // Items is a list of LimitRange objects. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + repeated LimitRange items = 2; +} + +// LimitRangeSpec defines a min/max usage limit for resources that match on kind. +message LimitRangeSpec { + // Limits is the list of LimitRangeItem objects that are enforced. + repeated LimitRangeItem limits = 1; +} + +// List holds a list of objects, which may not be known by the server. +message List { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of objects + repeated k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; +} + +// LoadBalancerIngress represents the status of a load-balancer ingress point: +// traffic intended for the service should be sent to an ingress point. +message LoadBalancerIngress { + // IP is set for load-balancer ingress points that are IP based + // (typically GCE or OpenStack load-balancers) + // +optional + optional string ip = 1; + + // Hostname is set for load-balancer ingress points that are DNS based + // (typically AWS load-balancers) + // +optional + optional string hostname = 2; + + // Ports is a list of records of service ports + // If used, every port defined in the service should have an entry in it + // +listType=atomic + // +optional + repeated PortStatus ports = 4; +} + +// LoadBalancerStatus represents the status of a load-balancer. +message LoadBalancerStatus { + // Ingress is a list containing ingress points for the load-balancer. + // Traffic intended for the service should be sent to these ingress points. + // +optional + repeated LoadBalancerIngress ingress = 1; +} + +// LocalObjectReference contains enough information to let you locate the +// referenced object inside the same namespace. +// +structType=atomic +message LocalObjectReference { + // Name of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + // TODO: Add other useful fields. apiVersion, kind, uid? + // +optional + optional string name = 1; +} + +// Local represents directly-attached storage with node affinity (Beta feature) +message LocalVolumeSource { + // path of the full path to the volume on the node. + // It can be either a directory or block device (disk, partition, ...). + optional string path = 1; + + // fsType is the filesystem type to mount. + // It applies only when the Path is a block device. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified. + // +optional + optional string fsType = 2; +} + +// Represents an NFS mount that lasts the lifetime of a pod. +// NFS volumes do not support ownership management or SELinux relabeling. +message NFSVolumeSource { + // server is the hostname or IP address of the NFS server. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + optional string server = 1; + + // path that is exported by the NFS server. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + optional string path = 2; + + // readOnly here will force the NFS export to be mounted with read-only permissions. + // Defaults to false. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + // +optional + optional bool readOnly = 3; +} + +// Namespace provides a scope for Names. +// Use of multiple namespaces is optional. +message Namespace { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Spec defines the behavior of the Namespace. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional NamespaceSpec spec = 2; + + // Status describes the current status of a Namespace. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional NamespaceStatus status = 3; +} + +// NamespaceCondition contains details about state of namespace. +message NamespaceCondition { + // Type of namespace controller condition. + optional string type = 1; + + // Status of the condition, one of True, False, Unknown. + optional string status = 2; + + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; + + // +optional + optional string reason = 5; + + // +optional + optional string message = 6; +} + +// NamespaceList is a list of Namespaces. +message NamespaceList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // Items is the list of Namespace objects in the list. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + repeated Namespace items = 2; +} + +// NamespaceSpec describes the attributes on a Namespace. +message NamespaceSpec { + // Finalizers is an opaque list of values that must be empty to permanently remove object from storage. + // More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ + // +optional + repeated string finalizers = 1; +} + +// NamespaceStatus is information about the current status of a Namespace. +message NamespaceStatus { + // Phase is the current lifecycle phase of the namespace. + // More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ + // +optional + optional string phase = 1; + + // Represents the latest available observations of a namespace's current state. + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + repeated NamespaceCondition conditions = 2; +} + +// Node is a worker node in Kubernetes. +// Each node will have a unique identifier in the cache (i.e. in etcd). +message Node { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Spec defines the behavior of a node. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional NodeSpec spec = 2; + + // Most recently observed status of the node. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional NodeStatus status = 3; +} + +// NodeAddress contains information for the node's address. +message NodeAddress { + // Node address type, one of Hostname, ExternalIP or InternalIP. + optional string type = 1; + + // The node address. + optional string address = 2; +} + +// Node affinity is a group of node affinity scheduling rules. +message NodeAffinity { + // If the affinity requirements specified by this field are not met at + // scheduling time, the pod will not be scheduled onto the node. + // If the affinity requirements specified by this field cease to be met + // at some point during pod execution (e.g. due to an update), the system + // may or may not try to eventually evict the pod from its node. + // +optional + optional NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1; + + // The scheduler will prefer to schedule pods to nodes that satisfy + // the affinity expressions specified by this field, but it may choose + // a node that violates one or more of the expressions. The node that is + // most preferred is the one with the greatest sum of weights, i.e. + // for each node that meets all of the scheduling requirements (resource + // request, requiredDuringScheduling affinity expressions, etc.), + // compute a sum by iterating through the elements of this field and adding + // "weight" to the sum if the node matches the corresponding matchExpressions; the + // node(s) with the highest sum are the most preferred. + // +optional + repeated PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2; +} + +// NodeCondition contains condition information for a node. +message NodeCondition { + // Type of node condition. + optional string type = 1; + + // Status of the condition, one of True, False, Unknown. + optional string status = 2; + + // Last time we got an update on a given condition. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastHeartbeatTime = 3; + + // Last time the condition transit from one status to another. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; + + // (brief) reason for the condition's last transition. + // +optional + optional string reason = 5; + + // Human readable message indicating details about last transition. + // +optional + optional string message = 6; +} + +// NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. +// This API is deprecated since 1.22 +message NodeConfigSource { + // ConfigMap is a reference to a Node's ConfigMap + optional ConfigMapNodeConfigSource configMap = 2; +} + +// NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. +message NodeConfigStatus { + // Assigned reports the checkpointed config the node will try to use. + // When Node.Spec.ConfigSource is updated, the node checkpoints the associated + // config payload to local disk, along with a record indicating intended + // config. The node refers to this record to choose its config checkpoint, and + // reports this record in Assigned. Assigned only updates in the status after + // the record has been checkpointed to disk. When the Kubelet is restarted, + // it tries to make the Assigned config the Active config by loading and + // validating the checkpointed payload identified by Assigned. + // +optional + optional NodeConfigSource assigned = 1; + + // Active reports the checkpointed config the node is actively using. + // Active will represent either the current version of the Assigned config, + // or the current LastKnownGood config, depending on whether attempting to use the + // Assigned config results in an error. + // +optional + optional NodeConfigSource active = 2; + + // LastKnownGood reports the checkpointed config the node will fall back to + // when it encounters an error attempting to use the Assigned config. + // The Assigned config becomes the LastKnownGood config when the node determines + // that the Assigned config is stable and correct. + // This is currently implemented as a 10-minute soak period starting when the local + // record of Assigned config is updated. If the Assigned config is Active at the end + // of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is + // reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, + // because the local default config is always assumed good. + // You should not make assumptions about the node's method of determining config stability + // and correctness, as this may change or become configurable in the future. + // +optional + optional NodeConfigSource lastKnownGood = 3; + + // Error describes any problems reconciling the Spec.ConfigSource to the Active config. + // Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned + // record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting + // to load or validate the Assigned config, etc. + // Errors may occur at different points while syncing config. Earlier errors (e.g. download or + // checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across + // Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in + // a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error + // by fixing the config assigned in Spec.ConfigSource. + // You can find additional information for debugging by searching the error message in the Kubelet log. + // Error is a human-readable description of the error state; machines can check whether or not Error + // is empty, but should not rely on the stability of the Error text across Kubelet versions. + // +optional + optional string error = 4; +} + +// NodeDaemonEndpoints lists ports opened by daemons running on the Node. +message NodeDaemonEndpoints { + // Endpoint on which Kubelet is listening. + // +optional + optional DaemonEndpoint kubeletEndpoint = 1; +} + +// NodeList is the whole list of all Nodes which have been registered with master. +message NodeList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of nodes + repeated Node items = 2; +} + +// NodeProxyOptions is the query options to a Node's proxy call. +message NodeProxyOptions { + // Path is the URL path to use for the current proxy request to node. + // +optional + optional string path = 1; +} + +// NodeResources is an object for conveying resource information about a node. +// see https://kubernetes.io/docs/concepts/architecture/nodes/#capacity for more details. +message NodeResources { + // Capacity represents the available resources of a node + map capacity = 1; +} + +// A node selector represents the union of the results of one or more label queries +// over a set of nodes; that is, it represents the OR of the selectors represented +// by the node selector terms. +// +structType=atomic +message NodeSelector { + // Required. A list of node selector terms. The terms are ORed. + repeated NodeSelectorTerm nodeSelectorTerms = 1; +} + +// A node selector requirement is a selector that contains values, a key, and an operator +// that relates the key and values. +message NodeSelectorRequirement { + // The label key that the selector applies to. + optional string key = 1; + + // Represents a key's relationship to a set of values. + // Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + optional string operator = 2; + + // An array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. If the operator is Gt or Lt, the values + // array must have a single element, which will be interpreted as an integer. + // This array is replaced during a strategic merge patch. + // +optional + repeated string values = 3; +} + +// A null or empty node selector term matches no objects. The requirements of +// them are ANDed. +// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. +// +structType=atomic +message NodeSelectorTerm { + // A list of node selector requirements by node's labels. + // +optional + repeated NodeSelectorRequirement matchExpressions = 1; + + // A list of node selector requirements by node's fields. + // +optional + repeated NodeSelectorRequirement matchFields = 2; +} + +// NodeSpec describes the attributes that a node is created with. +message NodeSpec { + // PodCIDR represents the pod IP range assigned to the node. + // +optional + optional string podCIDR = 1; + + // podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this + // field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for + // each of IPv4 and IPv6. + // +optional + // +patchStrategy=merge + repeated string podCIDRs = 7; + + // ID of the node assigned by the cloud provider in the format: :// + // +optional + optional string providerID = 3; + + // Unschedulable controls node schedulability of new pods. By default, node is schedulable. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration + // +optional + optional bool unschedulable = 4; + + // If specified, the node's taints. + // +optional + repeated Taint taints = 5; + + // Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. + // +optional + optional NodeConfigSource configSource = 6; + + // Deprecated. Not all kubelets will set this field. Remove field after 1.13. + // see: https://issues.k8s.io/61966 + // +optional + optional string externalID = 2; +} + +// NodeStatus is information about the current status of a node. +message NodeStatus { + // Capacity represents the total resources of a node. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity + // +optional + map capacity = 1; + + // Allocatable represents the resources of a node that are available for scheduling. + // Defaults to Capacity. + // +optional + map allocatable = 2; + + // NodePhase is the recently observed lifecycle phase of the node. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#phase + // The field is never populated, and now is deprecated. + // +optional + optional string phase = 3; + + // Conditions is an array of current observed node conditions. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#condition + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + repeated NodeCondition conditions = 4; + + // List of addresses reachable to the node. + // Queried from cloud provider, if available. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses + // Note: This field is declared as mergeable, but the merge key is not sufficiently + // unique, which can cause data corruption when it is merged. Callers should instead + // use a full-replacement patch. See https://pr.k8s.io/79391 for an example. + // Consumers should assume that addresses can change during the + // lifetime of a Node. However, there are some exceptions where this may not + // be possible, such as Pods that inherit a Node's address in its own status or + // consumers of the downward API (status.hostIP). + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + repeated NodeAddress addresses = 5; + + // Endpoints of daemons running on the Node. + // +optional + optional NodeDaemonEndpoints daemonEndpoints = 6; + + // Set of ids/uuids to uniquely identify the node. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#info + // +optional + optional NodeSystemInfo nodeInfo = 7; + + // List of container images on this node + // +optional + repeated ContainerImage images = 8; + + // List of attachable volumes in use (mounted) by the node. + // +optional + repeated string volumesInUse = 9; + + // List of volumes that are attached to the node. + // +optional + repeated AttachedVolume volumesAttached = 10; + + // Status of the config assigned to the node via the dynamic Kubelet config feature. + // +optional + optional NodeConfigStatus config = 11; +} + +// NodeSystemInfo is a set of ids/uuids to uniquely identify the node. +message NodeSystemInfo { + // MachineID reported by the node. For unique machine identification + // in the cluster this field is preferred. Learn more from man(5) + // machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html + optional string machineID = 1; + + // SystemUUID reported by the node. For unique machine identification + // MachineID is preferred. This field is specific to Red Hat hosts + // https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid + optional string systemUUID = 2; + + // Boot ID reported by the node. + optional string bootID = 3; + + // Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). + optional string kernelVersion = 4; + + // OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). + optional string osImage = 5; + + // ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2). + optional string containerRuntimeVersion = 6; + + // Kubelet Version reported by the node. + optional string kubeletVersion = 7; + + // KubeProxy Version reported by the node. + optional string kubeProxyVersion = 8; + + // The Operating System reported by the node + optional string operatingSystem = 9; + + // The Architecture reported by the node + optional string architecture = 10; +} + +// ObjectFieldSelector selects an APIVersioned field of an object. +// +structType=atomic +message ObjectFieldSelector { + // Version of the schema the FieldPath is written in terms of, defaults to "v1". + // +optional + optional string apiVersion = 1; + + // Path of the field to select in the specified API version. + optional string fieldPath = 2; +} + +// ObjectReference contains enough information to let you inspect or modify the referred object. +// --- +// New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. +// 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. +// 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular +// restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". +// Those cannot be well described when embedded. +// 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. +// 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity +// during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple +// and the version of the actual struct is irrelevant. +// 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type +// will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. +// +// Instead of using this type, create a locally provided and used type that is well-focused on your reference. +// For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +structType=atomic +message ObjectReference { + // Kind of the referent. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional string kind = 1; + + // Namespace of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + // +optional + optional string namespace = 2; + + // Name of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + // +optional + optional string name = 3; + + // UID of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + // +optional + optional string uid = 4; + + // API version of the referent. + // +optional + optional string apiVersion = 5; + + // Specific resourceVersion to which this reference is made, if any. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + // +optional + optional string resourceVersion = 6; + + // If referring to a piece of an object instead of an entire object, this string + // should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + // For example, if the object reference is to a container within a pod, this would take on a value like: + // "spec.containers{name}" (where "name" refers to the name of the container that triggered + // the event) or if no container name is specified "spec.containers[2]" (container with + // index 2 in this pod). This syntax is chosen only to have some well-defined way of + // referencing a part of an object. + // TODO: this design is not final and this field is subject to change in the future. + // +optional + optional string fieldPath = 7; +} + +// PersistentVolume (PV) is a storage resource provisioned by an administrator. +// It is analogous to a node. +// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes +message PersistentVolume { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // spec defines a specification of a persistent volume owned by the cluster. + // Provisioned by an administrator. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes + // +optional + optional PersistentVolumeSpec spec = 2; + + // status represents the current information/status for the persistent volume. + // Populated by the system. + // Read-only. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes + // +optional + optional PersistentVolumeStatus status = 3; +} + +// PersistentVolumeClaim is a user's request for and claim to a persistent volume +message PersistentVolumeClaim { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // spec defines the desired characteristics of a volume requested by a pod author. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + // +optional + optional PersistentVolumeClaimSpec spec = 2; + + // status represents the current information/status of a persistent volume claim. + // Read-only. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + // +optional + optional PersistentVolumeClaimStatus status = 3; +} + +// PersistentVolumeClaimCondition contains details about state of pvc +message PersistentVolumeClaimCondition { + optional string type = 1; + + optional string status = 2; + + // lastProbeTime is the time we probed the condition. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; + + // lastTransitionTime is the time the condition transitioned from one status to another. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; + + // reason is a unique, this should be a short, machine understandable string that gives the reason + // for condition's last transition. If it reports "ResizeStarted" that means the underlying + // persistent volume is being resized. + // +optional + optional string reason = 5; + + // message is the human-readable message indicating details about last transition. + // +optional + optional string message = 6; +} + +// PersistentVolumeClaimList is a list of PersistentVolumeClaim items. +message PersistentVolumeClaimList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // items is a list of persistent volume claims. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + repeated PersistentVolumeClaim items = 2; +} + +// PersistentVolumeClaimSpec describes the common attributes of storage devices +// and allows a Source for provider-specific attributes +message PersistentVolumeClaimSpec { + // accessModes contains the desired access modes the volume should have. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + // +optional + repeated string accessModes = 1; + + // selector is a label query over volumes to consider for binding. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4; + + // resources represents the minimum resources the volume should have. + // If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + // that are lower than previous value but must still be higher than capacity recorded in the + // status field of the claim. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + // +optional + optional ResourceRequirements resources = 2; + + // volumeName is the binding reference to the PersistentVolume backing this claim. + // +optional + optional string volumeName = 3; + + // storageClassName is the name of the StorageClass required by the claim. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + // +optional + optional string storageClassName = 5; + + // volumeMode defines what type of volume is required by the claim. + // Value of Filesystem is implied when not included in claim spec. + // +optional + optional string volumeMode = 6; + + // dataSource field can be used to specify either: + // * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + // * An existing PVC (PersistentVolumeClaim) + // If the provisioner or an external controller can support the specified data source, + // it will create a new volume based on the contents of the specified data source. + // When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + // and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + // If the namespace is specified, then dataSourceRef will not be copied to dataSource. + // +optional + optional TypedLocalObjectReference dataSource = 7; + + // dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + // volume is desired. This may be any object from a non-empty API group (non + // core object) or a PersistentVolumeClaim object. + // When this field is specified, volume binding will only succeed if the type of + // the specified object matches some installed volume populator or dynamic + // provisioner. + // This field will replace the functionality of the dataSource field and as such + // if both fields are non-empty, they must have the same value. For backwards + // compatibility, when namespace isn't specified in dataSourceRef, + // both fields (dataSource and dataSourceRef) will be set to the same + // value automatically if one of them is empty and the other is non-empty. + // When namespace is specified in dataSourceRef, + // dataSource isn't set to the same value and must be empty. + // There are three important differences between dataSource and dataSourceRef: + // * While dataSource only allows two specific types of objects, dataSourceRef + // allows any non-core object, as well as PersistentVolumeClaim objects. + // * While dataSource ignores disallowed values (dropping them), dataSourceRef + // preserves all values, and generates an error if a disallowed value is + // specified. + // * While dataSource only allows local objects, dataSourceRef allows objects + // in any namespaces. + // (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + // (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + // +optional + optional TypedObjectReference dataSourceRef = 8; +} + +// PersistentVolumeClaimStatus is the current status of a persistent volume claim. +message PersistentVolumeClaimStatus { + // phase represents the current phase of PersistentVolumeClaim. + // +optional + optional string phase = 1; + + // accessModes contains the actual access modes the volume backing the PVC has. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + // +optional + repeated string accessModes = 2; + + // capacity represents the actual resources of the underlying volume. + // +optional + map capacity = 3; + + // conditions is the current Condition of persistent volume claim. If underlying persistent volume is being + // resized then the Condition will be set to 'ResizeStarted'. + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + repeated PersistentVolumeClaimCondition conditions = 4; + + // allocatedResources tracks the resources allocated to a PVC including its capacity. + // Key names follow standard Kubernetes label syntax. Valid values are either: + // * Un-prefixed keys: + // - storage - the capacity of the volume. + // * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" + // Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered + // reserved and hence may not be used. + // + // Capacity reported here may be larger than the actual capacity when a volume expansion operation + // is requested. + // For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. + // If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. + // If a volume expansion capacity request is lowered, allocatedResources is only + // lowered if there are no expansion operations in progress and if the actual volume capacity + // is equal or lower than the requested capacity. + // + // A controller that receives PVC update with previously unknown resourceName + // should ignore the update for the purpose it was designed. For example - a controller that + // only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid + // resources associated with PVC. + // + // This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. + // +featureGate=RecoverVolumeExpansionFailure + // +optional + map allocatedResources = 5; + + // allocatedResourceStatuses stores status of resource being resized for the given PVC. + // Key names follow standard Kubernetes label syntax. Valid values are either: + // * Un-prefixed keys: + // - storage - the capacity of the volume. + // * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" + // Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered + // reserved and hence may not be used. + // + // ClaimResourceStatus can be in any of following states: + // - ControllerResizeInProgress: + // State set when resize controller starts resizing the volume in control-plane. + // - ControllerResizeFailed: + // State set when resize has failed in resize controller with a terminal error. + // - NodeResizePending: + // State set when resize controller has finished resizing the volume but further resizing of + // volume is needed on the node. + // - NodeResizeInProgress: + // State set when kubelet starts resizing the volume. + // - NodeResizeFailed: + // State set when resizing has failed in kubelet with a terminal error. Transient errors don't set + // NodeResizeFailed. + // For example: if expanding a PVC for more capacity - this field can be one of the following states: + // - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" + // - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" + // - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" + // - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" + // - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" + // When this field is not set, it means that no resize operation is in progress for the given PVC. + // + // A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus + // should ignore the update for the purpose it was designed. For example - a controller that + // only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid + // resources associated with PVC. + // + // This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. + // +featureGate=RecoverVolumeExpansionFailure + // +mapType=granular + // +optional + map allocatedResourceStatuses = 7; +} + +// PersistentVolumeClaimTemplate is used to produce +// PersistentVolumeClaim objects as part of an EphemeralVolumeSource. +message PersistentVolumeClaimTemplate { + // May contain labels and annotations that will be copied into the PVC + // when creating it. No other fields are allowed and will be rejected during + // validation. + // + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // The specification for the PersistentVolumeClaim. The entire content is + // copied unchanged into the PVC that gets created from this + // template. The same fields as in a PersistentVolumeClaim + // are also valid here. + optional PersistentVolumeClaimSpec spec = 2; +} + +// PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. +// This volume finds the bound PV and mounts that volume for the pod. A +// PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another +// type of volume that is owned by someone else (the system). +message PersistentVolumeClaimVolumeSource { + // claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + optional string claimName = 1; + + // readOnly Will force the ReadOnly setting in VolumeMounts. + // Default false. + // +optional + optional bool readOnly = 2; +} + +// PersistentVolumeList is a list of PersistentVolume items. +message PersistentVolumeList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // items is a list of persistent volumes. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes + repeated PersistentVolume items = 2; +} + +// PersistentVolumeSource is similar to VolumeSource but meant for the +// administrator who creates PVs. Exactly one of its members must be set. +message PersistentVolumeSource { + // gcePersistentDisk represents a GCE Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. Provisioned by an admin. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // +optional + optional GCEPersistentDiskVolumeSource gcePersistentDisk = 1; + + // awsElasticBlockStore represents an AWS Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + // +optional + optional AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2; + + // hostPath represents a directory on the host. + // Provisioned by a developer or tester. + // This is useful for single-node development and testing only! + // On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + // +optional + optional HostPathVolumeSource hostPath = 3; + + // glusterfs represents a Glusterfs volume that is attached to a host and + // exposed to the pod. Provisioned by an admin. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md + // +optional + optional GlusterfsPersistentVolumeSource glusterfs = 4; + + // nfs represents an NFS mount on the host. Provisioned by an admin. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + // +optional + optional NFSVolumeSource nfs = 5; + + // rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + // More info: https://examples.k8s.io/volumes/rbd/README.md + // +optional + optional RBDPersistentVolumeSource rbd = 6; + + // iscsi represents an ISCSI Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. Provisioned by an admin. + // +optional + optional ISCSIPersistentVolumeSource iscsi = 7; + + // cinder represents a cinder volume attached and mounted on kubelets host machine. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + optional CinderPersistentVolumeSource cinder = 8; + + // cephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional + optional CephFSPersistentVolumeSource cephfs = 9; + + // fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional + optional FCVolumeSource fc = 10; + + // flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running + // +optional + optional FlockerVolumeSource flocker = 11; + + // flexVolume represents a generic volume resource that is + // provisioned/attached using an exec based plugin. + // +optional + optional FlexPersistentVolumeSource flexVolume = 12; + + // azureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional + optional AzureFilePersistentVolumeSource azureFile = 13; + + // vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional + optional VsphereVirtualDiskVolumeSource vsphereVolume = 14; + + // quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional + optional QuobyteVolumeSource quobyte = 15; + + // azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional + optional AzureDiskVolumeSource azureDisk = 16; + + // photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine + optional PhotonPersistentDiskVolumeSource photonPersistentDisk = 17; + + // portworxVolume represents a portworx volume attached and mounted on kubelets host machine + // +optional + optional PortworxVolumeSource portworxVolume = 18; + + // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + // +optional + optional ScaleIOPersistentVolumeSource scaleIO = 19; + + // local represents directly-attached storage with node affinity + // +optional + optional LocalVolumeSource local = 20; + + // storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod + // More info: https://examples.k8s.io/volumes/storageos/README.md + // +optional + optional StorageOSPersistentVolumeSource storageos = 21; + + // csi represents storage that is handled by an external CSI driver (Beta feature). + // +optional + optional CSIPersistentVolumeSource csi = 22; +} + +// PersistentVolumeSpec is the specification of a persistent volume. +message PersistentVolumeSpec { + // capacity is the description of the persistent volume's resources and capacity. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity + // +optional + map capacity = 1; + + // persistentVolumeSource is the actual volume backing the persistent volume. + optional PersistentVolumeSource persistentVolumeSource = 2; + + // accessModes contains all ways the volume can be mounted. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes + // +optional + repeated string accessModes = 3; + + // claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. + // Expected to be non-nil when bound. + // claim.VolumeName is the authoritative bind between PV and PVC. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding + // +optional + // +structType=granular + optional ObjectReference claimRef = 4; + + // persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. + // Valid options are Retain (default for manually created PersistentVolumes), Delete (default + // for dynamically provisioned PersistentVolumes), and Recycle (deprecated). + // Recycle must be supported by the volume plugin underlying this PersistentVolume. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming + // +optional + optional string persistentVolumeReclaimPolicy = 5; + + // storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value + // means that this volume does not belong to any StorageClass. + // +optional + optional string storageClassName = 6; + + // mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will + // simply fail if one is invalid. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options + // +optional + repeated string mountOptions = 7; + + // volumeMode defines if a volume is intended to be used with a formatted filesystem + // or to remain in raw block state. Value of Filesystem is implied when not included in spec. + // +optional + optional string volumeMode = 8; + + // nodeAffinity defines constraints that limit what nodes this volume can be accessed from. + // This field influences the scheduling of pods that use this volume. + // +optional + optional VolumeNodeAffinity nodeAffinity = 9; +} + +// PersistentVolumeStatus is the current status of a persistent volume. +message PersistentVolumeStatus { + // phase indicates if a volume is available, bound to a claim, or released by a claim. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase + // +optional + optional string phase = 1; + + // message is a human-readable message indicating details about why the volume is in this state. + // +optional + optional string message = 2; + + // reason is a brief CamelCase string that describes any failure and is meant + // for machine parsing and tidy display in the CLI. + // +optional + optional string reason = 3; + + // lastPhaseTransitionTime is the time the phase transitioned from one to another + // and automatically resets to current time everytime a volume phase transitions. + // This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature. + // +featureGate=PersistentVolumeLastPhaseTransitionTime + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastPhaseTransitionTime = 4; +} + +// Represents a Photon Controller persistent disk resource. +message PhotonPersistentDiskVolumeSource { + // pdID is the ID that identifies Photon Controller persistent disk + optional string pdID = 1; + + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + optional string fsType = 2; +} + +// Pod is a collection of containers that can run on a host. This resource is created +// by clients and scheduled onto hosts. +message Pod { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Specification of the desired behavior of the pod. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional PodSpec spec = 2; + + // Most recently observed status of the pod. + // This data may not be up to date. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional PodStatus status = 3; +} + +// Pod affinity is a group of inter pod affinity scheduling rules. +message PodAffinity { + // If the affinity requirements specified by this field are not met at + // scheduling time, the pod will not be scheduled onto the node. + // If the affinity requirements specified by this field cease to be met + // at some point during pod execution (e.g. due to a pod label update), the + // system may or may not try to eventually evict the pod from its node. + // When there are multiple elements, the lists of nodes corresponding to each + // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional + repeated PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1; + + // The scheduler will prefer to schedule pods to nodes that satisfy + // the affinity expressions specified by this field, but it may choose + // a node that violates one or more of the expressions. The node that is + // most preferred is the one with the greatest sum of weights, i.e. + // for each node that meets all of the scheduling requirements (resource + // request, requiredDuringScheduling affinity expressions, etc.), + // compute a sum by iterating through the elements of this field and adding + // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + // node(s) with the highest sum are the most preferred. + // +optional + repeated WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2; +} + +// Defines a set of pods (namely those matching the labelSelector +// relative to the given namespace(s)) that this pod should be +// co-located (affinity) or not co-located (anti-affinity) with, +// where co-located is defined as running on a node whose value of +// the label with key matches that of any node on which +// a pod of the set of pods is running +message PodAffinityTerm { + // A label query over a set of resources, in this case pods. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 1; + + // namespaces specifies a static list of namespace names that the term applies to. + // The term is applied to the union of the namespaces listed in this field + // and the ones selected by namespaceSelector. + // null or empty namespaces list and null namespaceSelector means "this pod's namespace". + // +optional + repeated string namespaces = 2; + + // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + // the labelSelector in the specified namespaces, where co-located is defined as running on a node + // whose value of the label with key topologyKey matches that of any node on which any of the + // selected pods is running. + // Empty topologyKey is not allowed. + optional string topologyKey = 3; + + // A label query over the set of namespaces that the term applies to. + // The term is applied to the union of the namespaces selected by this field + // and the ones listed in the namespaces field. + // null selector and null or empty namespaces list means "this pod's namespace". + // An empty selector ({}) matches all namespaces. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 4; +} + +// Pod anti affinity is a group of inter pod anti affinity scheduling rules. +message PodAntiAffinity { + // If the anti-affinity requirements specified by this field are not met at + // scheduling time, the pod will not be scheduled onto the node. + // If the anti-affinity requirements specified by this field cease to be met + // at some point during pod execution (e.g. due to a pod label update), the + // system may or may not try to eventually evict the pod from its node. + // When there are multiple elements, the lists of nodes corresponding to each + // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional + repeated PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1; + + // The scheduler will prefer to schedule pods to nodes that satisfy + // the anti-affinity expressions specified by this field, but it may choose + // a node that violates one or more of the expressions. The node that is + // most preferred is the one with the greatest sum of weights, i.e. + // for each node that meets all of the scheduling requirements (resource + // request, requiredDuringScheduling anti-affinity expressions, etc.), + // compute a sum by iterating through the elements of this field and adding + // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + // node(s) with the highest sum are the most preferred. + // +optional + repeated WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2; +} + +// PodAttachOptions is the query options to a Pod's remote attach call. +// --- +// TODO: merge w/ PodExecOptions below for stdin, stdout, etc +// and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY +message PodAttachOptions { + // Stdin if true, redirects the standard input stream of the pod for this call. + // Defaults to false. + // +optional + optional bool stdin = 1; + + // Stdout if true indicates that stdout is to be redirected for the attach call. + // Defaults to true. + // +optional + optional bool stdout = 2; + + // Stderr if true indicates that stderr is to be redirected for the attach call. + // Defaults to true. + // +optional + optional bool stderr = 3; + + // TTY if true indicates that a tty will be allocated for the attach call. + // This is passed through the container runtime so the tty + // is allocated on the worker node by the container runtime. + // Defaults to false. + // +optional + optional bool tty = 4; + + // The container in which to execute the command. + // Defaults to only container if there is only one container in the pod. + // +optional + optional string container = 5; +} + +// PodCondition contains details for the current condition of this pod. +message PodCondition { + // Type is the type of the condition. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + optional string type = 1; + + // Status is the status of the condition. + // Can be True, False, Unknown. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + optional string status = 2; + + // Last time we probed the condition. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; + + // Last time the condition transitioned from one status to another. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; + + // Unique, one-word, CamelCase reason for the condition's last transition. + // +optional + optional string reason = 5; + + // Human-readable message indicating details about last transition. + // +optional + optional string message = 6; +} + +// PodDNSConfig defines the DNS parameters of a pod in addition to +// those generated from DNSPolicy. +message PodDNSConfig { + // A list of DNS name server IP addresses. + // This will be appended to the base nameservers generated from DNSPolicy. + // Duplicated nameservers will be removed. + // +optional + repeated string nameservers = 1; + + // A list of DNS search domains for host-name lookup. + // This will be appended to the base search paths generated from DNSPolicy. + // Duplicated search paths will be removed. + // +optional + repeated string searches = 2; + + // A list of DNS resolver options. + // This will be merged with the base options generated from DNSPolicy. + // Duplicated entries will be removed. Resolution options given in Options + // will override those that appear in the base DNSPolicy. + // +optional + repeated PodDNSConfigOption options = 3; +} + +// PodDNSConfigOption defines DNS resolver options of a pod. +message PodDNSConfigOption { + // Required. + optional string name = 1; + + // +optional + optional string value = 2; +} + +// PodExecOptions is the query options to a Pod's remote exec call. +// --- +// TODO: This is largely identical to PodAttachOptions above, make sure they stay in sync and see about merging +// and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY +message PodExecOptions { + // Redirect the standard input stream of the pod for this call. + // Defaults to false. + // +optional + optional bool stdin = 1; + + // Redirect the standard output stream of the pod for this call. + // +optional + optional bool stdout = 2; + + // Redirect the standard error stream of the pod for this call. + // +optional + optional bool stderr = 3; + + // TTY if true indicates that a tty will be allocated for the exec call. + // Defaults to false. + // +optional + optional bool tty = 4; + + // Container in which to execute the command. + // Defaults to only container if there is only one container in the pod. + // +optional + optional string container = 5; + + // Command is the remote command to execute. argv array. Not executed within a shell. + repeated string command = 6; +} + +// PodIP represents a single IP address allocated to the pod. +message PodIP { + // IP is the IP address assigned to the pod + optional string ip = 1; +} + +// PodList is a list of Pods. +message PodList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of pods. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md + repeated Pod items = 2; +} + +// PodLogOptions is the query options for a Pod's logs REST call. +message PodLogOptions { + // The container for which to stream logs. Defaults to only container if there is one container in the pod. + // +optional + optional string container = 1; + + // Follow the log stream of the pod. Defaults to false. + // +optional + optional bool follow = 2; + + // Return previous terminated container logs. Defaults to false. + // +optional + optional bool previous = 3; + + // A relative time in seconds before the current time from which to show logs. If this value + // precedes the time a pod was started, only logs since the pod start will be returned. + // If this value is in the future, no logs will be returned. + // Only one of sinceSeconds or sinceTime may be specified. + // +optional + optional int64 sinceSeconds = 4; + + // An RFC3339 timestamp from which to show logs. If this value + // precedes the time a pod was started, only logs since the pod start will be returned. + // If this value is in the future, no logs will be returned. + // Only one of sinceSeconds or sinceTime may be specified. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 5; + + // If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line + // of log output. Defaults to false. + // +optional + optional bool timestamps = 6; + + // If set, the number of lines from the end of the logs to show. If not specified, + // logs are shown from the creation of the container or sinceSeconds or sinceTime + // +optional + optional int64 tailLines = 7; + + // If set, the number of bytes to read from the server before terminating the + // log output. This may not display a complete final line of logging, and may return + // slightly more or slightly less than the specified limit. + // +optional + optional int64 limitBytes = 8; + + // insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the + // serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver + // and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real + // kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the + // connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept + // the actual log data coming from the real kubelet). + // +optional + optional bool insecureSkipTLSVerifyBackend = 9; +} + +// PodOS defines the OS parameters of a pod. +message PodOS { + // Name is the name of the operating system. The currently supported values are linux and windows. + // Additional value may be defined in future and can be one of: + // https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration + // Clients should expect to handle additional values and treat unrecognized values in this field as os: null + optional string name = 1; +} + +// PodPortForwardOptions is the query options to a Pod's port forward call +// when using WebSockets. +// The `port` query parameter must specify the port or +// ports (comma separated) to forward over. +// Port forwarding over SPDY does not use these options. It requires the port +// to be passed in the `port` header as part of request. +message PodPortForwardOptions { + // List of ports to forward + // Required when using WebSockets + // +optional + repeated int32 ports = 1; +} + +// PodProxyOptions is the query options to a Pod's proxy call. +message PodProxyOptions { + // Path is the URL path to use for the current proxy request to pod. + // +optional + optional string path = 1; +} + +// PodReadinessGate contains the reference to a pod condition +message PodReadinessGate { + // ConditionType refers to a condition in the pod's condition list with matching type. + optional string conditionType = 1; +} + +// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. +// It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. +// Containers that need access to the ResourceClaim reference it with this name. +message PodResourceClaim { + // Name uniquely identifies this resource claim inside the pod. + // This must be a DNS_LABEL. + optional string name = 1; + + // Source describes where to find the ResourceClaim. + optional ClaimSource source = 2; +} + +// PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim +// which references a ResourceClaimTemplate. It stores the generated name for +// the corresponding ResourceClaim. +message PodResourceClaimStatus { + // Name uniquely identifies this resource claim inside the pod. + // This must match the name of an entry in pod.spec.resourceClaims, + // which implies that the string must be a DNS_LABEL. + optional string name = 1; + + // ResourceClaimName is the name of the ResourceClaim that was + // generated for the Pod in the namespace of the Pod. It this is + // unset, then generating a ResourceClaim was not necessary. The + // pod.spec.resourceClaims entry can be ignored in this case. + // + // +optional + optional string resourceClaimName = 2; +} + +// PodSchedulingGate is associated to a Pod to guard its scheduling. +message PodSchedulingGate { + // Name of the scheduling gate. + // Each scheduling gate must have a unique name field. + optional string name = 1; +} + +// PodSecurityContext holds pod-level security attributes and common container settings. +// Some fields are also present in container.securityContext. Field values of +// container.securityContext take precedence over field values of PodSecurityContext. +message PodSecurityContext { + // The SELinux context to be applied to all containers. + // If unspecified, the container runtime will allocate a random SELinux context for each + // container. May also be set in SecurityContext. If set in + // both SecurityContext and PodSecurityContext, the value specified in SecurityContext + // takes precedence for that container. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional SELinuxOptions seLinuxOptions = 1; + + // The Windows specific settings applied to all containers. + // If unspecified, the options within a container's SecurityContext will be used. + // If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is linux. + // +optional + optional WindowsSecurityContextOptions windowsOptions = 8; + + // The UID to run the entrypoint of the container process. + // Defaults to user specified in image metadata if unspecified. + // May also be set in SecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence + // for that container. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional int64 runAsUser = 2; + + // The GID to run the entrypoint of the container process. + // Uses runtime default if unset. + // May also be set in SecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence + // for that container. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional int64 runAsGroup = 6; + + // Indicates that the container must run as a non-root user. + // If true, the Kubelet will validate the image at runtime to ensure that it + // does not run as UID 0 (root) and fail to start the container if it does. + // If unset or false, no such validation will be performed. + // May also be set in SecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional + optional bool runAsNonRoot = 3; + + // A list of groups applied to the first process run in each container, in addition + // to the container's primary GID, the fsGroup (if specified), and group memberships + // defined in the container image for the uid of the container process. If unspecified, + // no additional groups are added to any container. Note that group memberships + // defined in the container image for the uid of the container process are still effective, + // even if they are not included in this list. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + repeated int64 supplementalGroups = 4; + + // A special supplemental group that applies to all containers in a pod. + // Some volume types allow the Kubelet to change the ownership of that volume + // to be owned by the pod: + // + // 1. The owning GID will be the FSGroup + // 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + // 3. The permission bits are OR'd with rw-rw---- + // + // If unset, the Kubelet will not modify the ownership and permissions of any volume. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional int64 fsGroup = 5; + + // Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + // sysctls (by the container runtime) might fail to launch. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + repeated Sysctl sysctls = 7; + + // fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + // before being exposed inside Pod. This field will only apply to + // volume types which support fsGroup based ownership(and permissions). + // It will have no effect on ephemeral volume types such as: secret, configmaps + // and emptydir. + // Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional string fsGroupChangePolicy = 9; + + // The seccomp options to use by the containers in this pod. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional SeccompProfile seccompProfile = 10; +} + +// Describes the class of pods that should avoid this node. +// Exactly one field should be set. +message PodSignature { + // Reference to controller whose pods should avoid this node. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference podController = 1; +} + +// PodSpec is a description of a pod. +message PodSpec { + // List of volumes that can be mounted by containers belonging to the pod. + // More info: https://kubernetes.io/docs/concepts/storage/volumes + // +optional + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + repeated Volume volumes = 1; + + // List of initialization containers belonging to the pod. + // Init containers are executed in order prior to containers being started. If any + // init container fails, the pod is considered to have failed and is handled according + // to its restartPolicy. The name for an init container or normal container must be + // unique among all containers. + // Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. + // The resourceRequirements of an init container are taken into account during scheduling + // by finding the highest request/limit for each resource type, and then using the max of + // of that value or the sum of the normal containers. Limits are applied to init containers + // in a similar fashion. + // Init containers cannot currently be added or removed. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ + // +patchMergeKey=name + // +patchStrategy=merge + repeated Container initContainers = 20; + + // List of containers belonging to the pod. + // Containers cannot currently be added or removed. + // There must be at least one container in a Pod. + // Cannot be updated. + // +patchMergeKey=name + // +patchStrategy=merge + repeated Container containers = 2; + + // List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing + // pod to perform user-initiated actions such as debugging. This list cannot be specified when + // creating a pod, and it cannot be modified by updating the pod spec. In order to add an + // ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + repeated EphemeralContainer ephemeralContainers = 34; + + // Restart policy for all containers within the pod. + // One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. + // Default to Always. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy + // +optional + optional string restartPolicy = 3; + + // Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. + // Value must be non-negative integer. The value zero indicates stop immediately via + // the kill signal (no opportunity to shut down). + // If this value is nil, the default grace period will be used instead. + // The grace period is the duration in seconds after the processes running in the pod are sent + // a termination signal and the time when the processes are forcibly halted with a kill signal. + // Set this value longer than the expected cleanup time for your process. + // Defaults to 30 seconds. + // +optional + optional int64 terminationGracePeriodSeconds = 4; + + // Optional duration in seconds the pod may be active on the node relative to + // StartTime before the system will actively try to mark it failed and kill associated containers. + // Value must be a positive integer. + // +optional + optional int64 activeDeadlineSeconds = 5; + + // Set DNS policy for the pod. + // Defaults to "ClusterFirst". + // Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. + // DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. + // To have DNS options set along with hostNetwork, you have to specify DNS policy + // explicitly to 'ClusterFirstWithHostNet'. + // +optional + optional string dnsPolicy = 6; + + // NodeSelector is a selector which must be true for the pod to fit on a node. + // Selector which must match a node's labels for the pod to be scheduled on that node. + // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ + // +optional + // +mapType=atomic + map nodeSelector = 7; + + // ServiceAccountName is the name of the ServiceAccount to use to run this pod. + // More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + // +optional + optional string serviceAccountName = 8; + + // DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. + // Deprecated: Use serviceAccountName instead. + // +k8s:conversion-gen=false + // +optional + optional string serviceAccount = 9; + + // AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. + // +optional + optional bool automountServiceAccountToken = 21; + + // NodeName is a request to schedule this pod onto a specific node. If it is non-empty, + // the scheduler simply schedules this pod onto that node, assuming that it fits resource + // requirements. + // +optional + optional string nodeName = 10; + + // Host networking requested for this pod. Use the host's network namespace. + // If this option is set, the ports that will be used must be specified. + // Default to false. + // +k8s:conversion-gen=false + // +optional + optional bool hostNetwork = 11; + + // Use the host's pid namespace. + // Optional: Default to false. + // +k8s:conversion-gen=false + // +optional + optional bool hostPID = 12; + + // Use the host's ipc namespace. + // Optional: Default to false. + // +k8s:conversion-gen=false + // +optional + optional bool hostIPC = 13; + + // Share a single process namespace between all of the containers in a pod. + // When this is set containers will be able to view and signal processes from other containers + // in the same pod, and the first process in each container will not be assigned PID 1. + // HostPID and ShareProcessNamespace cannot both be set. + // Optional: Default to false. + // +k8s:conversion-gen=false + // +optional + optional bool shareProcessNamespace = 27; + + // SecurityContext holds pod-level security attributes and common container settings. + // Optional: Defaults to empty. See type description for default values of each field. + // +optional + optional PodSecurityContext securityContext = 14; + + // ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. + // If specified, these secrets will be passed to individual puller implementations for them to use. + // More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + repeated LocalObjectReference imagePullSecrets = 15; + + // Specifies the hostname of the Pod + // If not specified, the pod's hostname will be set to a system-defined value. + // +optional + optional string hostname = 16; + + // If specified, the fully qualified Pod hostname will be "...svc.". + // If not specified, the pod will not have a domainname at all. + // +optional + optional string subdomain = 17; + + // If specified, the pod's scheduling constraints + // +optional + optional Affinity affinity = 18; + + // If specified, the pod will be dispatched by specified scheduler. + // If not specified, the pod will be dispatched by default scheduler. + // +optional + optional string schedulerName = 19; + + // If specified, the pod's tolerations. + // +optional + repeated Toleration tolerations = 22; + + // HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts + // file if specified. This is only valid for non-hostNetwork pods. + // +optional + // +patchMergeKey=ip + // +patchStrategy=merge + repeated HostAlias hostAliases = 23; + + // If specified, indicates the pod's priority. "system-node-critical" and + // "system-cluster-critical" are two special keywords which indicate the + // highest priorities with the former being the highest priority. Any other + // name must be defined by creating a PriorityClass object with that name. + // If not specified, the pod priority will be default or zero if there is no + // default. + // +optional + optional string priorityClassName = 24; + + // The priority value. Various system components use this field to find the + // priority of the pod. When Priority Admission Controller is enabled, it + // prevents users from setting this field. The admission controller populates + // this field from PriorityClassName. + // The higher the value, the higher the priority. + // +optional + optional int32 priority = 25; + + // Specifies the DNS parameters of a pod. + // Parameters specified here will be merged to the generated DNS + // configuration based on DNSPolicy. + // +optional + optional PodDNSConfig dnsConfig = 26; + + // If specified, all readiness gates will be evaluated for pod readiness. + // A pod is ready when all its containers are ready AND + // all conditions specified in the readiness gates have status equal to "True" + // More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates + // +optional + repeated PodReadinessGate readinessGates = 28; + + // RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used + // to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. + // If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an + // empty definition that uses the default runtime handler. + // More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class + // +optional + optional string runtimeClassName = 29; + + // EnableServiceLinks indicates whether information about services should be injected into pod's + // environment variables, matching the syntax of Docker links. + // Optional: Defaults to true. + // +optional + optional bool enableServiceLinks = 30; + + // PreemptionPolicy is the Policy for preempting pods with lower priority. + // One of Never, PreemptLowerPriority. + // Defaults to PreemptLowerPriority if unset. + // +optional + optional string preemptionPolicy = 31; + + // Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. + // This field will be autopopulated at admission time by the RuntimeClass admission controller. If + // the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. + // The RuntimeClass admission controller will reject Pod create requests which have the overhead already + // set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value + // defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. + // More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md + // +optional + map overhead = 32; + + // TopologySpreadConstraints describes how a group of pods ought to spread across topology + // domains. Scheduler will schedule pods in a way which abides by the constraints. + // All topologySpreadConstraints are ANDed. + // +optional + // +patchMergeKey=topologyKey + // +patchStrategy=merge + // +listType=map + // +listMapKey=topologyKey + // +listMapKey=whenUnsatisfiable + repeated TopologySpreadConstraint topologySpreadConstraints = 33; + + // If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). + // In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). + // In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. + // If a pod does not have FQDN, this has no effect. + // Default to false. + // +optional + optional bool setHostnameAsFQDN = 35; + + // Specifies the OS of the containers in the pod. + // Some pod and container fields are restricted if this is set. + // + // If the OS field is set to linux, the following fields must be unset: + // -securityContext.windowsOptions + // + // If the OS field is set to windows, following fields must be unset: + // - spec.hostPID + // - spec.hostIPC + // - spec.hostUsers + // - spec.securityContext.seLinuxOptions + // - spec.securityContext.seccompProfile + // - spec.securityContext.fsGroup + // - spec.securityContext.fsGroupChangePolicy + // - spec.securityContext.sysctls + // - spec.shareProcessNamespace + // - spec.securityContext.runAsUser + // - spec.securityContext.runAsGroup + // - spec.securityContext.supplementalGroups + // - spec.containers[*].securityContext.seLinuxOptions + // - spec.containers[*].securityContext.seccompProfile + // - spec.containers[*].securityContext.capabilities + // - spec.containers[*].securityContext.readOnlyRootFilesystem + // - spec.containers[*].securityContext.privileged + // - spec.containers[*].securityContext.allowPrivilegeEscalation + // - spec.containers[*].securityContext.procMount + // - spec.containers[*].securityContext.runAsUser + // - spec.containers[*].securityContext.runAsGroup + // +optional + optional PodOS os = 36; + + // Use the host's user namespace. + // Optional: Default to true. + // If set to true or not present, the pod will be run in the host user namespace, useful + // for when the pod needs a feature only available to the host user namespace, such as + // loading a kernel module with CAP_SYS_MODULE. + // When set to false, a new userns is created for the pod. Setting false is useful for + // mitigating container breakout vulnerabilities even allowing users to run their + // containers as root without actually having root privileges on the host. + // This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature. + // +k8s:conversion-gen=false + // +optional + optional bool hostUsers = 37; + + // SchedulingGates is an opaque list of values that if specified will block scheduling the pod. + // If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the + // scheduler will not attempt to schedule the pod. + // + // SchedulingGates can only be set at pod creation time, and be removed only afterwards. + // + // This is a beta feature enabled by the PodSchedulingReadiness feature gate. + // + // +patchMergeKey=name + // +patchStrategy=merge + // +listType=map + // +listMapKey=name + // +featureGate=PodSchedulingReadiness + // +optional + repeated PodSchedulingGate schedulingGates = 38; + + // ResourceClaims defines which ResourceClaims must be allocated + // and reserved before the Pod is allowed to start. The resources + // will be made available to those containers which consume them + // by name. + // + // This is an alpha field and requires enabling the + // DynamicResourceAllocation feature gate. + // + // This field is immutable. + // + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + // +featureGate=DynamicResourceAllocation + // +optional + repeated PodResourceClaim resourceClaims = 39; +} + +// PodStatus represents information about the status of a pod. Status may trail the actual +// state of a system, especially if the node that hosts the pod cannot contact the control +// plane. +message PodStatus { + // The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. + // The conditions array, the reason and message fields, and the individual container status + // arrays contain more detail about the pod's status. + // There are five possible phase values: + // + // Pending: The pod has been accepted by the Kubernetes system, but one or more of the + // container images has not been created. This includes time before being scheduled as + // well as time spent downloading images over the network, which could take a while. + // Running: The pod has been bound to a node, and all of the containers have been created. + // At least one container is still running, or is in the process of starting or restarting. + // Succeeded: All containers in the pod have terminated in success, and will not be restarted. + // Failed: All containers in the pod have terminated, and at least one container has + // terminated in failure. The container either exited with non-zero status or was terminated + // by the system. + // Unknown: For some reason the state of the pod could not be obtained, typically due to an + // error in communicating with the host of the pod. + // + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase + // +optional + optional string phase = 1; + + // Current service state of pod. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + repeated PodCondition conditions = 2; + + // A human readable message indicating details about why the pod is in this condition. + // +optional + optional string message = 3; + + // A brief CamelCase message indicating details about why the pod is in this state. + // e.g. 'Evicted' + // +optional + optional string reason = 4; + + // nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be + // scheduled right away as preemption victims receive their graceful termination periods. + // This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide + // to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to + // give the resources on this node to a higher priority pod that is created after preemption. + // As a result, this field may be different than PodSpec.nodeName when the pod is + // scheduled. + // +optional + optional string nominatedNodeName = 11; + + // hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. + // A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will + // not be updated even if there is a node is assigned to pod + // +optional + optional string hostIP = 5; + + // hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must + // match the hostIP field. This list is empty if the pod has not started yet. + // A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will + // not be updated even if there is a node is assigned to this pod. + // +optional + // +patchStrategy=merge + // +patchMergeKey=ip + // +listType=atomic + repeated HostIP hostIPs = 16; + + // podIP address allocated to the pod. Routable at least within the cluster. + // Empty if not yet allocated. + // +optional + optional string podIP = 6; + + // podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must + // match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list + // is empty if no IPs have been allocated yet. + // +optional + // +patchStrategy=merge + // +patchMergeKey=ip + repeated PodIP podIPs = 12; + + // RFC 3339 date and time at which the object was acknowledged by the Kubelet. + // This is before the Kubelet pulled the container image(s) for the pod. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 7; + + // The list has one entry per init container in the manifest. The most recent successful + // init container will have ready = true, the most recently started container will have + // startTime set. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status + repeated ContainerStatus initContainerStatuses = 10; + + // The list has one entry per container in the manifest. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status + // +optional + repeated ContainerStatus containerStatuses = 8; + + // The Quality of Service (QOS) classification assigned to the pod based on resource requirements + // See PodQOSClass type for available QOS classes + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes + // +optional + optional string qosClass = 9; + + // Status for any ephemeral containers that have run in this pod. + // +optional + repeated ContainerStatus ephemeralContainerStatuses = 13; + + // Status of resources resize desired for pod's containers. + // It is empty if no resources resize is pending. + // Any changes to container resources will automatically set this to "Proposed" + // +featureGate=InPlacePodVerticalScaling + // +optional + optional string resize = 14; + + // Status of resource claims. + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + // +featureGate=DynamicResourceAllocation + // +optional + repeated PodResourceClaimStatus resourceClaimStatuses = 15; +} + +// PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded +message PodStatusResult { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Most recently observed status of the pod. + // This data may not be up to date. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional PodStatus status = 2; +} + +// PodTemplate describes a template for creating copies of a predefined pod. +message PodTemplate { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Template defines the pods that will be created from this pod template. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional PodTemplateSpec template = 2; +} + +// PodTemplateList is a list of PodTemplates. +message PodTemplateList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of pod templates + repeated PodTemplate items = 2; +} + +// PodTemplateSpec describes the data a pod should have when created from a template +message PodTemplateSpec { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Specification of the desired behavior of the pod. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional PodSpec spec = 2; +} + +message PortStatus { + // Port is the port number of the service port of which status is recorded here + optional int32 port = 1; + + // Protocol is the protocol of the service port of which status is recorded here + // The supported values are: "TCP", "UDP", "SCTP" + optional string protocol = 2; + + // Error is to record the problem with the service port + // The format of the error shall comply with the following rules: + // - built-in error values shall be specified in this file and those shall use + // CamelCase names + // - cloud provider specific error values must have names that comply with the + // format foo.example.com/CamelCase. + // --- + // The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + // +optional + // +kubebuilder:validation:Required + // +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$` + // +kubebuilder:validation:MaxLength=316 + optional string error = 3; +} + +// PortworxVolumeSource represents a Portworx volume resource. +message PortworxVolumeSource { + // volumeID uniquely identifies a Portworx volume + optional string volumeID = 1; + + // fSType represents the filesystem type to mount + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. + optional string fsType = 2; + + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 3; +} + +// Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. +// +k8s:openapi-gen=false +message Preconditions { + // Specifies the target UID. + // +optional + optional string uid = 1; +} + +// Describes a class of pods that should avoid this node. +message PreferAvoidPodsEntry { + // The class of pods. + optional PodSignature podSignature = 1; + + // Time at which this entry was added to the list. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2; + + // (brief) reason why this entry was added to the list. + // +optional + optional string reason = 3; + + // Human readable message indicating why this entry was added to the list. + // +optional + optional string message = 4; +} + +// An empty preferred scheduling term matches all objects with implicit weight 0 +// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). +message PreferredSchedulingTerm { + // Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. + optional int32 weight = 1; + + // A node selector term, associated with the corresponding weight. + optional NodeSelectorTerm preference = 2; +} + +// Probe describes a health check to be performed against a container to determine whether it is +// alive or ready to receive traffic. +message Probe { + // The action taken to determine the health of a container + optional ProbeHandler handler = 1; + + // Number of seconds after the container has started before liveness probes are initiated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + optional int32 initialDelaySeconds = 2; + + // Number of seconds after which the probe times out. + // Defaults to 1 second. Minimum value is 1. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + optional int32 timeoutSeconds = 3; + + // How often (in seconds) to perform the probe. + // Default to 10 seconds. Minimum value is 1. + // +optional + optional int32 periodSeconds = 4; + + // Minimum consecutive successes for the probe to be considered successful after having failed. + // Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + // +optional + optional int32 successThreshold = 5; + + // Minimum consecutive failures for the probe to be considered failed after having succeeded. + // Defaults to 3. Minimum value is 1. + // +optional + optional int32 failureThreshold = 6; + + // Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + // The grace period is the duration in seconds after the processes running in the pod are sent + // a termination signal and the time when the processes are forcibly halted with a kill signal. + // Set this value longer than the expected cleanup time for your process. + // If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + // value overrides the value provided by the pod spec. + // Value must be non-negative integer. The value zero indicates stop immediately via + // the kill signal (no opportunity to shut down). + // This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + // Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. + // +optional + optional int64 terminationGracePeriodSeconds = 7; +} + +// ProbeHandler defines a specific action that should be taken in a probe. +// One and only one of the fields must be specified. +message ProbeHandler { + // Exec specifies the action to take. + // +optional + optional ExecAction exec = 1; + + // HTTPGet specifies the http request to perform. + // +optional + optional HTTPGetAction httpGet = 2; + + // TCPSocket specifies an action involving a TCP port. + // +optional + optional TCPSocketAction tcpSocket = 3; + + // GRPC specifies an action involving a GRPC port. + // +optional + optional GRPCAction grpc = 4; +} + +// Represents a projected volume source +message ProjectedVolumeSource { + // sources is the list of volume projections + // +optional + repeated VolumeProjection sources = 1; + + // defaultMode are the mode bits used to set permissions on created files by default. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // Directories within the path are not affected by this setting. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + optional int32 defaultMode = 2; +} + +// Represents a Quobyte mount that lasts the lifetime of a pod. +// Quobyte volumes do not support ownership management or SELinux relabeling. +message QuobyteVolumeSource { + // registry represents a single or multiple Quobyte Registry services + // specified as a string as host:port pair (multiple entries are separated with commas) + // which acts as the central registry for volumes + optional string registry = 1; + + // volume is a string that references an already created Quobyte volume by name. + optional string volume = 2; + + // readOnly here will force the Quobyte volume to be mounted with read-only permissions. + // Defaults to false. + // +optional + optional bool readOnly = 3; + + // user to map volume access to + // Defaults to serivceaccount user + // +optional + optional string user = 4; + + // group to map volume access to + // Default is no group + // +optional + optional string group = 5; + + // tenant owning the given Quobyte volume in the Backend + // Used with dynamically provisioned Quobyte volumes, value is set by the plugin + // +optional + optional string tenant = 6; +} + +// Represents a Rados Block Device mount that lasts the lifetime of a pod. +// RBD volumes support ownership management and SELinux relabeling. +message RBDPersistentVolumeSource { + // monitors is a collection of Ceph monitors. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + repeated string monitors = 1; + + // image is the rados image name. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + optional string image = 2; + + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + optional string fsType = 3; + + // pool is the rados pool name. + // Default is rbd. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional string pool = 4; + + // user is the rados user name. + // Default is admin. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional string user = 5; + + // keyring is the path to key ring for RBDUser. + // Default is /etc/ceph/keyring. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional string keyring = 6; + + // secretRef is name of the authentication secret for RBDUser. If provided + // overrides keyring. + // Default is nil. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional SecretReference secretRef = 7; + + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional bool readOnly = 8; +} + +// Represents a Rados Block Device mount that lasts the lifetime of a pod. +// RBD volumes support ownership management and SELinux relabeling. +message RBDVolumeSource { + // monitors is a collection of Ceph monitors. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + repeated string monitors = 1; + + // image is the rados image name. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + optional string image = 2; + + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + optional string fsType = 3; + + // pool is the rados pool name. + // Default is rbd. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional string pool = 4; + + // user is the rados user name. + // Default is admin. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional string user = 5; + + // keyring is the path to key ring for RBDUser. + // Default is /etc/ceph/keyring. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional string keyring = 6; + + // secretRef is name of the authentication secret for RBDUser. If provided + // overrides keyring. + // Default is nil. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional LocalObjectReference secretRef = 7; + + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + optional bool readOnly = 8; +} + +// RangeAllocation is not a public type. +message RangeAllocation { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Range is string that identifies the range represented by 'data'. + optional string range = 2; + + // Data is a bit array containing all allocated addresses in the previous segment. + optional bytes data = 3; +} + +// ReplicationController represents the configuration of a replication controller. +message ReplicationController { + // If the Labels of a ReplicationController are empty, they are defaulted to + // be the same as the Pod(s) that the replication controller manages. + // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Spec defines the specification of the desired behavior of the replication controller. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional ReplicationControllerSpec spec = 2; + + // Status is the most recently observed status of the replication controller. + // This data may be out of date by some window of time. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional ReplicationControllerStatus status = 3; +} + +// ReplicationControllerCondition describes the state of a replication controller at a certain point. +message ReplicationControllerCondition { + // Type of replication controller condition. + optional string type = 1; + + // Status of the condition, one of True, False, Unknown. + optional string status = 2; + + // The last time the condition transitioned from one status to another. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 3; + + // The reason for the condition's last transition. + // +optional + optional string reason = 4; + + // A human readable message indicating details about the transition. + // +optional + optional string message = 5; +} + +// ReplicationControllerList is a collection of replication controllers. +message ReplicationControllerList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of replication controllers. + // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller + repeated ReplicationController items = 2; +} + +// ReplicationControllerSpec is the specification of a replication controller. +message ReplicationControllerSpec { + // Replicas is the number of desired replicas. + // This is a pointer to distinguish between explicit zero and unspecified. + // Defaults to 1. + // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller + // +optional + optional int32 replicas = 1; + + // Minimum number of seconds for which a newly created pod should be ready + // without any of its container crashing, for it to be considered available. + // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional + optional int32 minReadySeconds = 4; + + // Selector is a label query over pods that should match the Replicas count. + // If Selector is empty, it is defaulted to the labels present on the Pod template. + // Label keys and values that must match in order to be controlled by this replication + // controller, if empty defaulted to labels on Pod template. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + // +optional + // +mapType=atomic + map selector = 2; + + // Template is the object that describes the pod that will be created if + // insufficient replicas are detected. This takes precedence over a TemplateRef. + // The only allowed template.spec.restartPolicy value is "Always". + // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template + // +optional + optional PodTemplateSpec template = 3; +} + +// ReplicationControllerStatus represents the current status of a replication +// controller. +message ReplicationControllerStatus { + // Replicas is the most recently observed number of replicas. + // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller + optional int32 replicas = 1; + + // The number of pods that have labels matching the labels of the pod template of the replication controller. + // +optional + optional int32 fullyLabeledReplicas = 2; + + // The number of ready replicas for this replication controller. + // +optional + optional int32 readyReplicas = 4; + + // The number of available replicas (ready for at least minReadySeconds) for this replication controller. + // +optional + optional int32 availableReplicas = 5; + + // ObservedGeneration reflects the generation of the most recently observed replication controller. + // +optional + optional int64 observedGeneration = 3; + + // Represents the latest available observations of a replication controller's current state. + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + repeated ReplicationControllerCondition conditions = 6; +} + +// ResourceClaim references one entry in PodSpec.ResourceClaims. +message ResourceClaim { + // Name must match the name of one entry in pod.spec.resourceClaims of + // the Pod where this field is used. It makes that resource available + // inside a container. + optional string name = 1; +} + +// ResourceFieldSelector represents container resources (cpu, memory) and their output format +// +structType=atomic +message ResourceFieldSelector { + // Container name: required for volumes, optional for env vars + // +optional + optional string containerName = 1; + + // Required: resource to select + optional string resource = 2; + + // Specifies the output format of the exposed resources, defaults to "1" + // +optional + optional k8s.io.apimachinery.pkg.api.resource.Quantity divisor = 3; +} + +// ResourceQuota sets aggregate quota restrictions enforced per namespace +message ResourceQuota { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Spec defines the desired quota. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional ResourceQuotaSpec spec = 2; + + // Status defines the actual enforced quota and its current usage. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional ResourceQuotaStatus status = 3; +} + +// ResourceQuotaList is a list of ResourceQuota items. +message ResourceQuotaList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // Items is a list of ResourceQuota objects. + // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + repeated ResourceQuota items = 2; +} + +// ResourceQuotaSpec defines the desired hard limits to enforce for Quota. +message ResourceQuotaSpec { + // hard is the set of desired hard limits for each named resource. + // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + // +optional + map hard = 1; + + // A collection of filters that must match each object tracked by a quota. + // If not specified, the quota matches all objects. + // +optional + repeated string scopes = 2; + + // scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota + // but expressed using ScopeSelectorOperator in combination with possible values. + // For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. + // +optional + optional ScopeSelector scopeSelector = 3; +} + +// ResourceQuotaStatus defines the enforced hard limits and observed use. +message ResourceQuotaStatus { + // Hard is the set of enforced hard limits for each named resource. + // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + // +optional + map hard = 1; + + // Used is the current observed total usage of the resource in the namespace. + // +optional + map used = 2; +} + +// ResourceRequirements describes the compute resource requirements. +message ResourceRequirements { + // Limits describes the maximum amount of compute resources allowed. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // +optional + map limits = 1; + + // Requests describes the minimum amount of compute resources required. + // If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + // otherwise to an implementation-defined value. Requests cannot exceed Limits. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // +optional + map requests = 2; + + // Claims lists the names of resources, defined in spec.resourceClaims, + // that are used by this container. + // + // This is an alpha field and requires enabling the + // DynamicResourceAllocation feature gate. + // + // This field is immutable. It can only be set for containers. + // + // +listType=map + // +listMapKey=name + // +featureGate=DynamicResourceAllocation + // +optional + repeated ResourceClaim claims = 3; +} + +// SELinuxOptions are the labels to be applied to the container +message SELinuxOptions { + // User is a SELinux user label that applies to the container. + // +optional + optional string user = 1; + + // Role is a SELinux role label that applies to the container. + // +optional + optional string role = 2; + + // Type is a SELinux type label that applies to the container. + // +optional + optional string type = 3; + + // Level is SELinux level label that applies to the container. + // +optional + optional string level = 4; +} + +// ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume +message ScaleIOPersistentVolumeSource { + // gateway is the host address of the ScaleIO API Gateway. + optional string gateway = 1; + + // system is the name of the storage system as configured in ScaleIO. + optional string system = 2; + + // secretRef references to the secret for ScaleIO user and other + // sensitive information. If this is not provided, Login operation will fail. + optional SecretReference secretRef = 3; + + // sslEnabled is the flag to enable/disable SSL communication with Gateway, default false + // +optional + optional bool sslEnabled = 4; + + // protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. + // +optional + optional string protectionDomain = 5; + + // storagePool is the ScaleIO Storage Pool associated with the protection domain. + // +optional + optional string storagePool = 6; + + // storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + // Default is ThinProvisioned. + // +optional + optional string storageMode = 7; + + // volumeName is the name of a volume already created in the ScaleIO system + // that is associated with this volume source. + optional string volumeName = 8; + + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". + // Default is "xfs" + // +optional + optional string fsType = 9; + + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 10; +} + +// ScaleIOVolumeSource represents a persistent ScaleIO volume +message ScaleIOVolumeSource { + // gateway is the host address of the ScaleIO API Gateway. + optional string gateway = 1; + + // system is the name of the storage system as configured in ScaleIO. + optional string system = 2; + + // secretRef references to the secret for ScaleIO user and other + // sensitive information. If this is not provided, Login operation will fail. + optional LocalObjectReference secretRef = 3; + + // sslEnabled Flag enable/disable SSL communication with Gateway, default false + // +optional + optional bool sslEnabled = 4; + + // protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. + // +optional + optional string protectionDomain = 5; + + // storagePool is the ScaleIO Storage Pool associated with the protection domain. + // +optional + optional string storagePool = 6; + + // storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + // Default is ThinProvisioned. + // +optional + optional string storageMode = 7; + + // volumeName is the name of a volume already created in the ScaleIO system + // that is associated with this volume source. + optional string volumeName = 8; + + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". + // Default is "xfs". + // +optional + optional string fsType = 9; + + // readOnly Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 10; +} + +// A scope selector represents the AND of the selectors represented +// by the scoped-resource selector requirements. +// +structType=atomic +message ScopeSelector { + // A list of scope selector requirements by scope of the resources. + // +optional + repeated ScopedResourceSelectorRequirement matchExpressions = 1; +} + +// A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator +// that relates the scope name and values. +message ScopedResourceSelectorRequirement { + // The name of the scope that the selector applies to. + optional string scopeName = 1; + + // Represents a scope's relationship to a set of values. + // Valid operators are In, NotIn, Exists, DoesNotExist. + optional string operator = 2; + + // An array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. + // This array is replaced during a strategic merge patch. + // +optional + repeated string values = 3; +} + +// SeccompProfile defines a pod/container's seccomp profile settings. +// Only one profile source may be set. +// +union +message SeccompProfile { + // type indicates which kind of seccomp profile will be applied. + // Valid options are: + // + // Localhost - a profile defined in a file on the node should be used. + // RuntimeDefault - the container runtime default profile should be used. + // Unconfined - no profile should be applied. + // +unionDiscriminator + optional string type = 1; + + // localhostProfile indicates a profile defined in a file on the node should be used. + // The profile must be preconfigured on the node to work. + // Must be a descending path, relative to the kubelet's configured seccomp profile location. + // Must be set if type is "Localhost". Must NOT be set for any other type. + // +optional + optional string localhostProfile = 2; +} + +// Secret holds secret data of a certain type. The total bytes of the values in +// the Data field must be less than MaxSecretSize bytes. +message Secret { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Immutable, if set to true, ensures that data stored in the Secret cannot + // be updated (only object metadata can be modified). + // If not set to true, the field can be modified at any time. + // Defaulted to nil. + // +optional + optional bool immutable = 5; + + // Data contains the secret data. Each key must consist of alphanumeric + // characters, '-', '_' or '.'. The serialized form of the secret data is a + // base64 encoded string, representing the arbitrary (possibly non-string) + // data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 + // +optional + map data = 2; + + // stringData allows specifying non-binary secret data in string form. + // It is provided as a write-only input field for convenience. + // All keys and values are merged into the data field on write, overwriting any existing values. + // The stringData field is never output when reading from the API. + // +k8s:conversion-gen=false + // +optional + map stringData = 4; + + // Used to facilitate programmatic handling of secret data. + // More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types + // +optional + optional string type = 3; +} + +// SecretEnvSource selects a Secret to populate the environment +// variables with. +// +// The contents of the target Secret's Data field will represent the +// key-value pairs as environment variables. +message SecretEnvSource { + // The Secret to select from. + optional LocalObjectReference localObjectReference = 1; + + // Specify whether the Secret must be defined + // +optional + optional bool optional = 2; +} + +// SecretKeySelector selects a key of a Secret. +// +structType=atomic +message SecretKeySelector { + // The name of the secret in the pod's namespace to select from. + optional LocalObjectReference localObjectReference = 1; + + // The key of the secret to select from. Must be a valid secret key. + optional string key = 2; + + // Specify whether the Secret or its key must be defined + // +optional + optional bool optional = 3; +} + +// SecretList is a list of Secret. +message SecretList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // Items is a list of secret objects. + // More info: https://kubernetes.io/docs/concepts/configuration/secret + repeated Secret items = 2; +} + +// Adapts a secret into a projected volume. +// +// The contents of the target Secret's Data field will be presented in a +// projected volume as files using the keys in the Data field as the file names. +// Note that this is identical to a secret volume source without the default +// mode. +message SecretProjection { + optional LocalObjectReference localObjectReference = 1; + + // items if unspecified, each key-value pair in the Data field of the referenced + // Secret will be projected into the volume as a file whose name is the + // key and content is the value. If specified, the listed keys will be + // projected into the specified paths, and unlisted keys will not be + // present. If a key is specified which is not present in the Secret, + // the volume setup will error unless it is marked optional. Paths must be + // relative and may not contain the '..' path or start with '..'. + // +optional + repeated KeyToPath items = 2; + + // optional field specify whether the Secret or its key must be defined + // +optional + optional bool optional = 4; +} + +// SecretReference represents a Secret Reference. It has enough information to retrieve secret +// in any namespace +// +structType=atomic +message SecretReference { + // name is unique within a namespace to reference a secret resource. + // +optional + optional string name = 1; + + // namespace defines the space within which the secret name must be unique. + // +optional + optional string namespace = 2; +} + +// Adapts a Secret into a volume. +// +// The contents of the target Secret's Data field will be presented in a volume +// as files using the keys in the Data field as the file names. +// Secret volumes support ownership management and SELinux relabeling. +message SecretVolumeSource { + // secretName is the name of the secret in the pod's namespace to use. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + // +optional + optional string secretName = 1; + + // items If unspecified, each key-value pair in the Data field of the referenced + // Secret will be projected into the volume as a file whose name is the + // key and content is the value. If specified, the listed keys will be + // projected into the specified paths, and unlisted keys will not be + // present. If a key is specified which is not present in the Secret, + // the volume setup will error unless it is marked optional. Paths must be + // relative and may not contain the '..' path or start with '..'. + // +optional + repeated KeyToPath items = 2; + + // defaultMode is Optional: mode bits used to set permissions on created files by default. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values + // for mode bits. Defaults to 0644. + // Directories within the path are not affected by this setting. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + optional int32 defaultMode = 3; + + // optional field specify whether the Secret or its keys must be defined + // +optional + optional bool optional = 4; +} + +// SecurityContext holds security configuration that will be applied to a container. +// Some fields are present in both SecurityContext and PodSecurityContext. When both +// are set, the values in SecurityContext take precedence. +message SecurityContext { + // The capabilities to add/drop when running containers. + // Defaults to the default set of capabilities granted by the container runtime. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional Capabilities capabilities = 1; + + // Run container in privileged mode. + // Processes in privileged containers are essentially equivalent to root on the host. + // Defaults to false. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional bool privileged = 2; + + // The SELinux context to be applied to the container. + // If unspecified, the container runtime will allocate a random SELinux context for each + // container. May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional SELinuxOptions seLinuxOptions = 3; + + // The Windows specific settings applied to all containers. + // If unspecified, the options from the PodSecurityContext will be used. + // If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is linux. + // +optional + optional WindowsSecurityContextOptions windowsOptions = 10; + + // The UID to run the entrypoint of the container process. + // Defaults to user specified in image metadata if unspecified. + // May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional int64 runAsUser = 4; + + // The GID to run the entrypoint of the container process. + // Uses runtime default if unset. + // May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional int64 runAsGroup = 8; + + // Indicates that the container must run as a non-root user. + // If true, the Kubelet will validate the image at runtime to ensure that it + // does not run as UID 0 (root) and fail to start the container if it does. + // If unset or false, no such validation will be performed. + // May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional + optional bool runAsNonRoot = 5; + + // Whether this container has a read-only root filesystem. + // Default is false. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional bool readOnlyRootFilesystem = 6; + + // AllowPrivilegeEscalation controls whether a process can gain more + // privileges than its parent process. This bool directly controls if + // the no_new_privs flag will be set on the container process. + // AllowPrivilegeEscalation is true always when the container is: + // 1) run as Privileged + // 2) has CAP_SYS_ADMIN + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional bool allowPrivilegeEscalation = 7; + + // procMount denotes the type of proc mount to use for the containers. + // The default is DefaultProcMount which uses the container runtime defaults for + // readonly paths and masked paths. + // This requires the ProcMountType feature flag to be enabled. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional string procMount = 9; + + // The seccomp options to use by this container. If seccomp options are + // provided at both the pod & container level, the container options + // override the pod options. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + optional SeccompProfile seccompProfile = 11; +} + +// SerializedReference is a reference to serialized object. +message SerializedReference { + // The reference to an object in the system. + // +optional + optional ObjectReference reference = 1; +} + +// Service is a named abstraction of software service (for example, mysql) consisting of local port +// (for example 3306) that the proxy listens on, and the selector that determines which pods +// will answer requests sent through the proxy. +message Service { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Spec defines the behavior of a service. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional ServiceSpec spec = 2; + + // Most recently observed status of the service. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional ServiceStatus status = 3; +} + +// ServiceAccount binds together: +// * a name, understood by users, and perhaps by peripheral systems, for an identity +// * a principal that can be authenticated and authorized +// * a set of secrets +message ServiceAccount { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. + // Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". + // This field should not be used to find auto-generated service account token secrets for use outside of pods. + // Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. + // More info: https://kubernetes.io/docs/concepts/configuration/secret + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + repeated ObjectReference secrets = 2; + + // ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images + // in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets + // can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. + // More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod + // +optional + repeated LocalObjectReference imagePullSecrets = 3; + + // AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. + // Can be overridden at the pod level. + // +optional + optional bool automountServiceAccountToken = 4; +} + +// ServiceAccountList is a list of ServiceAccount objects +message ServiceAccountList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of ServiceAccounts. + // More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + repeated ServiceAccount items = 2; +} + +// ServiceAccountTokenProjection represents a projected service account token +// volume. This projection can be used to insert a service account token into +// the pods runtime filesystem for use against APIs (Kubernetes API Server or +// otherwise). +message ServiceAccountTokenProjection { + // audience is the intended audience of the token. A recipient of a token + // must identify itself with an identifier specified in the audience of the + // token, and otherwise should reject the token. The audience defaults to the + // identifier of the apiserver. + // +optional + optional string audience = 1; + + // expirationSeconds is the requested duration of validity of the service + // account token. As the token approaches expiration, the kubelet volume + // plugin will proactively rotate the service account token. The kubelet will + // start trying to rotate the token if the token is older than 80 percent of + // its time to live or if the token is older than 24 hours.Defaults to 1 hour + // and must be at least 10 minutes. + // +optional + optional int64 expirationSeconds = 2; + + // path is the path relative to the mount point of the file to project the + // token into. + optional string path = 3; +} + +// ServiceList holds a list of services. +message ServiceList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // List of services + repeated Service items = 2; +} + +// ServicePort contains information on service's port. +message ServicePort { + // The name of this port within the service. This must be a DNS_LABEL. + // All ports within a ServiceSpec must have unique names. When considering + // the endpoints for a Service, this must match the 'name' field in the + // EndpointPort. + // Optional if only one ServicePort is defined on this service. + // +optional + optional string name = 1; + + // The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". + // Default is TCP. + // +default="TCP" + // +optional + optional string protocol = 2; + + // The application protocol for this port. + // This is used as a hint for implementations to offer richer behavior for protocols that they understand. + // This field follows standard Kubernetes label syntax. + // Valid values are either: + // + // * Un-prefixed protocol names - reserved for IANA standard service names (as per + // RFC-6335 and https://www.iana.org/assignments/service-names). + // + // * Kubernetes-defined prefixed names: + // * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 + // * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 + // * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 + // + // * Other protocols should use implementation-defined prefixed names such as + // mycompany.com/my-custom-protocol. + // +optional + optional string appProtocol = 6; + + // The port that will be exposed by this service. + optional int32 port = 3; + + // Number or name of the port to access on the pods targeted by the service. + // Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + // If this is a string, it will be looked up as a named port in the + // target Pod's container ports. If this is not specified, the value + // of the 'port' field is used (an identity map). + // This field is ignored for services with clusterIP=None, and should be + // omitted or set equal to the 'port' field. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service + // +optional + optional k8s.io.apimachinery.pkg.util.intstr.IntOrString targetPort = 4; + + // The port on each node on which this service is exposed when type is + // NodePort or LoadBalancer. Usually assigned by the system. If a value is + // specified, in-range, and not in use it will be used, otherwise the + // operation will fail. If not specified, a port will be allocated if this + // Service requires one. If this field is specified when creating a + // Service which does not need it, creation will fail. This field will be + // wiped when updating a Service to no longer need it (e.g. changing type + // from NodePort to ClusterIP). + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport + // +optional + optional int32 nodePort = 5; +} + +// ServiceProxyOptions is the query options to a Service's proxy call. +message ServiceProxyOptions { + // Path is the part of URLs that include service endpoints, suffixes, + // and parameters to use for the current proxy request to service. + // For example, the whole request URL is + // http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. + // Path is _search?q=user:kimchy. + // +optional + optional string path = 1; +} + +// ServiceSpec describes the attributes that a user creates on a service. +message ServiceSpec { + // The list of ports that are exposed by this service. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + // +patchMergeKey=port + // +patchStrategy=merge + // +listType=map + // +listMapKey=port + // +listMapKey=protocol + repeated ServicePort ports = 1; + + // Route service traffic to pods with label keys and values matching this + // selector. If empty or not present, the service is assumed to have an + // external process managing its endpoints, which Kubernetes will not + // modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. + // Ignored if type is ExternalName. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/ + // +optional + // +mapType=atomic + map selector = 2; + + // clusterIP is the IP address of the service and is usually assigned + // randomly. If an address is specified manually, is in-range (as per + // system configuration), and is not in use, it will be allocated to the + // service; otherwise creation of the service will fail. This field may not + // be changed through updates unless the type field is also being changed + // to ExternalName (which requires this field to be blank) or the type + // field is being changed from ExternalName (in which case this field may + // optionally be specified, as describe above). Valid values are "None", + // empty string (""), or a valid IP address. Setting this to "None" makes a + // "headless service" (no virtual IP), which is useful when direct endpoint + // connections are preferred and proxying is not required. Only applies to + // types ClusterIP, NodePort, and LoadBalancer. If this field is specified + // when creating a Service of type ExternalName, creation will fail. This + // field will be wiped when updating a Service to type ExternalName. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + // +optional + optional string clusterIP = 3; + + // ClusterIPs is a list of IP addresses assigned to this service, and are + // usually assigned randomly. If an address is specified manually, is + // in-range (as per system configuration), and is not in use, it will be + // allocated to the service; otherwise creation of the service will fail. + // This field may not be changed through updates unless the type field is + // also being changed to ExternalName (which requires this field to be + // empty) or the type field is being changed from ExternalName (in which + // case this field may optionally be specified, as describe above). Valid + // values are "None", empty string (""), or a valid IP address. Setting + // this to "None" makes a "headless service" (no virtual IP), which is + // useful when direct endpoint connections are preferred and proxying is + // not required. Only applies to types ClusterIP, NodePort, and + // LoadBalancer. If this field is specified when creating a Service of type + // ExternalName, creation will fail. This field will be wiped when updating + // a Service to type ExternalName. If this field is not specified, it will + // be initialized from the clusterIP field. If this field is specified, + // clients must ensure that clusterIPs[0] and clusterIP have the same + // value. + // + // This field may hold a maximum of two entries (dual-stack IPs, in either order). + // These IPs must correspond to the values of the ipFamilies field. Both + // clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + // +listType=atomic + // +optional + repeated string clusterIPs = 18; + + // type determines how the Service is exposed. Defaults to ClusterIP. Valid + // options are ExternalName, ClusterIP, NodePort, and LoadBalancer. + // "ClusterIP" allocates a cluster-internal IP address for load-balancing + // to endpoints. Endpoints are determined by the selector or if that is not + // specified, by manual construction of an Endpoints object or + // EndpointSlice objects. If clusterIP is "None", no virtual IP is + // allocated and the endpoints are published as a set of endpoints rather + // than a virtual IP. + // "NodePort" builds on ClusterIP and allocates a port on every node which + // routes to the same endpoints as the clusterIP. + // "LoadBalancer" builds on NodePort and creates an external load-balancer + // (if supported in the current cloud) which routes to the same endpoints + // as the clusterIP. + // "ExternalName" aliases this service to the specified externalName. + // Several other fields do not apply to ExternalName services. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types + // +optional + optional string type = 4; + + // externalIPs is a list of IP addresses for which nodes in the cluster + // will also accept traffic for this service. These IPs are not managed by + // Kubernetes. The user is responsible for ensuring that traffic arrives + // at a node with this IP. A common example is external load-balancers + // that are not part of the Kubernetes system. + // +optional + repeated string externalIPs = 5; + + // Supports "ClientIP" and "None". Used to maintain session affinity. + // Enable client IP based session affinity. + // Must be ClientIP or None. + // Defaults to None. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + // +optional + optional string sessionAffinity = 7; + + // Only applies to Service Type: LoadBalancer. + // This feature depends on whether the underlying cloud-provider supports specifying + // the loadBalancerIP when a load balancer is created. + // This field will be ignored if the cloud-provider does not support the feature. + // Deprecated: This field was under-specified and its meaning varies across implementations. + // Using it is non-portable and it may not support dual-stack. + // Users are encouraged to use implementation-specific annotations when available. + // +optional + optional string loadBalancerIP = 8; + + // If specified and supported by the platform, this will restrict traffic through the cloud-provider + // load-balancer will be restricted to the specified client IPs. This field will be ignored if the + // cloud-provider does not support the feature." + // More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/ + // +optional + repeated string loadBalancerSourceRanges = 9; + + // externalName is the external reference that discovery mechanisms will + // return as an alias for this service (e.g. a DNS CNAME record). No + // proxying will be involved. Must be a lowercase RFC-1123 hostname + // (https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName". + // +optional + optional string externalName = 10; + + // externalTrafficPolicy describes how nodes distribute service traffic they + // receive on one of the Service's "externally-facing" addresses (NodePorts, + // ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure + // the service in a way that assumes that external load balancers will take care + // of balancing the service traffic between nodes, and so each node will deliver + // traffic only to the node-local endpoints of the service, without masquerading + // the client source IP. (Traffic mistakenly sent to a node with no endpoints will + // be dropped.) The default value, "Cluster", uses the standard behavior of + // routing to all endpoints evenly (possibly modified by topology and other + // features). Note that traffic sent to an External IP or LoadBalancer IP from + // within the cluster will always get "Cluster" semantics, but clients sending to + // a NodePort from within the cluster may need to take traffic policy into account + // when picking a node. + // +optional + optional string externalTrafficPolicy = 11; + + // healthCheckNodePort specifies the healthcheck nodePort for the service. + // This only applies when type is set to LoadBalancer and + // externalTrafficPolicy is set to Local. If a value is specified, is + // in-range, and is not in use, it will be used. If not specified, a value + // will be automatically allocated. External systems (e.g. load-balancers) + // can use this port to determine if a given node holds endpoints for this + // service or not. If this field is specified when creating a Service + // which does not need it, creation will fail. This field will be wiped + // when updating a Service to no longer need it (e.g. changing type). + // This field cannot be updated once set. + // +optional + optional int32 healthCheckNodePort = 12; + + // publishNotReadyAddresses indicates that any agent which deals with endpoints for this + // Service should disregard any indications of ready/not-ready. + // The primary use case for setting this field is for a StatefulSet's Headless Service to + // propagate SRV DNS records for its Pods for the purpose of peer discovery. + // The Kubernetes controllers that generate Endpoints and EndpointSlice resources for + // Services interpret this to mean that all endpoints are considered "ready" even if the + // Pods themselves are not. Agents which consume only Kubernetes generated endpoints + // through the Endpoints or EndpointSlice resources can safely assume this behavior. + // +optional + optional bool publishNotReadyAddresses = 13; + + // sessionAffinityConfig contains the configurations of session affinity. + // +optional + optional SessionAffinityConfig sessionAffinityConfig = 14; + + // IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this + // service. This field is usually assigned automatically based on cluster + // configuration and the ipFamilyPolicy field. If this field is specified + // manually, the requested family is available in the cluster, + // and ipFamilyPolicy allows it, it will be used; otherwise creation of + // the service will fail. This field is conditionally mutable: it allows + // for adding or removing a secondary IP family, but it does not allow + // changing the primary IP family of the Service. Valid values are "IPv4" + // and "IPv6". This field only applies to Services of types ClusterIP, + // NodePort, and LoadBalancer, and does apply to "headless" services. + // This field will be wiped when updating a Service to type ExternalName. + // + // This field may hold a maximum of two entries (dual-stack families, in + // either order). These families must correspond to the values of the + // clusterIPs field, if specified. Both clusterIPs and ipFamilies are + // governed by the ipFamilyPolicy field. + // +listType=atomic + // +optional + repeated string ipFamilies = 19; + + // IPFamilyPolicy represents the dual-stack-ness requested or required by + // this Service. If there is no value provided, then this field will be set + // to SingleStack. Services can be "SingleStack" (a single IP family), + // "PreferDualStack" (two IP families on dual-stack configured clusters or + // a single IP family on single-stack clusters), or "RequireDualStack" + // (two IP families on dual-stack configured clusters, otherwise fail). The + // ipFamilies and clusterIPs fields depend on the value of this field. This + // field will be wiped when updating a service to type ExternalName. + // +optional + optional string ipFamilyPolicy = 17; + + // allocateLoadBalancerNodePorts defines if NodePorts will be automatically + // allocated for services with type LoadBalancer. Default is "true". It + // may be set to "false" if the cluster load-balancer does not rely on + // NodePorts. If the caller requests specific NodePorts (by specifying a + // value), those requests will be respected, regardless of this field. + // This field may only be set for services with type LoadBalancer and will + // be cleared if the type is changed to any other type. + // +optional + optional bool allocateLoadBalancerNodePorts = 20; + + // loadBalancerClass is the class of the load balancer implementation this Service belongs to. + // If specified, the value of this field must be a label-style identifier, with an optional prefix, + // e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users. + // This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load + // balancer implementation is used, today this is typically done through the cloud provider integration, + // but should apply for any default implementation. If set, it is assumed that a load balancer + // implementation is watching for Services with a matching class. Any default load balancer + // implementation (e.g. cloud providers) should ignore Services that set this field. + // This field can only be set when creating or updating a Service to type 'LoadBalancer'. + // Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type. + // +optional + optional string loadBalancerClass = 21; + + // InternalTrafficPolicy describes how nodes distribute service traffic they + // receive on the ClusterIP. If set to "Local", the proxy will assume that pods + // only want to talk to endpoints of the service on the same node as the pod, + // dropping the traffic if there are no local endpoints. The default value, + // "Cluster", uses the standard behavior of routing to all endpoints evenly + // (possibly modified by topology and other features). + // +optional + optional string internalTrafficPolicy = 22; +} + +// ServiceStatus represents the current status of a service. +message ServiceStatus { + // LoadBalancer contains the current status of the load-balancer, + // if one is present. + // +optional + optional LoadBalancerStatus loadBalancer = 1; + + // Current service state + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + repeated k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 2; +} + +// SessionAffinityConfig represents the configurations of session affinity. +message SessionAffinityConfig { + // clientIP contains the configurations of Client IP based session affinity. + // +optional + optional ClientIPConfig clientIP = 1; +} + +// Represents a StorageOS persistent volume resource. +message StorageOSPersistentVolumeSource { + // volumeName is the human-readable name of the StorageOS volume. Volume + // names are only unique within a namespace. + optional string volumeName = 1; + + // volumeNamespace specifies the scope of the volume within StorageOS. If no + // namespace is specified then the Pod's namespace will be used. This allows the + // Kubernetes name scoping to be mirrored within StorageOS for tighter integration. + // Set VolumeName to any name to override the default behaviour. + // Set to "default" if you are not using namespaces within StorageOS. + // Namespaces that do not pre-exist within StorageOS will be created. + // +optional + optional string volumeNamespace = 2; + + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional + optional string fsType = 3; + + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 4; + + // secretRef specifies the secret to use for obtaining the StorageOS API + // credentials. If not specified, default values will be attempted. + // +optional + optional ObjectReference secretRef = 5; +} + +// Represents a StorageOS persistent volume resource. +message StorageOSVolumeSource { + // volumeName is the human-readable name of the StorageOS volume. Volume + // names are only unique within a namespace. + optional string volumeName = 1; + + // volumeNamespace specifies the scope of the volume within StorageOS. If no + // namespace is specified then the Pod's namespace will be used. This allows the + // Kubernetes name scoping to be mirrored within StorageOS for tighter integration. + // Set VolumeName to any name to override the default behaviour. + // Set to "default" if you are not using namespaces within StorageOS. + // Namespaces that do not pre-exist within StorageOS will be created. + // +optional + optional string volumeNamespace = 2; + + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional + optional string fsType = 3; + + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + optional bool readOnly = 4; + + // secretRef specifies the secret to use for obtaining the StorageOS API + // credentials. If not specified, default values will be attempted. + // +optional + optional LocalObjectReference secretRef = 5; +} + +// Sysctl defines a kernel parameter to be set +message Sysctl { + // Name of a property to set + optional string name = 1; + + // Value of a property to set + optional string value = 2; +} + +// TCPSocketAction describes an action based on opening a socket +message TCPSocketAction { + // Number or name of the port to access on the container. + // Number must be in the range 1 to 65535. + // Name must be an IANA_SVC_NAME. + optional k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1; + + // Optional: Host name to connect to, defaults to the pod IP. + // +optional + optional string host = 2; +} + +// The node this Taint is attached to has the "effect" on +// any pod that does not tolerate the Taint. +message Taint { + // Required. The taint key to be applied to a node. + optional string key = 1; + + // The taint value corresponding to the taint key. + // +optional + optional string value = 2; + + // Required. The effect of the taint on pods + // that do not tolerate the taint. + // Valid effects are NoSchedule, PreferNoSchedule and NoExecute. + optional string effect = 3; + + // TimeAdded represents the time at which the taint was added. + // It is only written for NoExecute taints. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.Time timeAdded = 4; +} + +// The pod this Toleration is attached to tolerates any taint that matches +// the triple using the matching operator . +message Toleration { + // Key is the taint key that the toleration applies to. Empty means match all taint keys. + // If the key is empty, operator must be Exists; this combination means to match all values and all keys. + // +optional + optional string key = 1; + + // Operator represents a key's relationship to the value. + // Valid operators are Exists and Equal. Defaults to Equal. + // Exists is equivalent to wildcard for value, so that a pod can + // tolerate all taints of a particular category. + // +optional + optional string operator = 2; + + // Value is the taint value the toleration matches to. + // If the operator is Exists, the value should be empty, otherwise just a regular string. + // +optional + optional string value = 3; + + // Effect indicates the taint effect to match. Empty means match all taint effects. + // When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + // +optional + optional string effect = 4; + + // TolerationSeconds represents the period of time the toleration (which must be + // of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + // it is not set, which means tolerate the taint forever (do not evict). Zero and + // negative values will be treated as 0 (evict immediately) by the system. + // +optional + optional int64 tolerationSeconds = 5; +} + +// A topology selector requirement is a selector that matches given label. +// This is an alpha feature and may change in the future. +message TopologySelectorLabelRequirement { + // The label key that the selector applies to. + optional string key = 1; + + // An array of string values. One value must match the label to be selected. + // Each entry in Values is ORed. + repeated string values = 2; +} + +// A topology selector term represents the result of label queries. +// A null or empty topology selector term matches no objects. +// The requirements of them are ANDed. +// It provides a subset of functionality as NodeSelectorTerm. +// This is an alpha feature and may change in the future. +// +structType=atomic +message TopologySelectorTerm { + // A list of topology selector requirements by labels. + // +optional + repeated TopologySelectorLabelRequirement matchLabelExpressions = 1; +} + +// TopologySpreadConstraint specifies how to spread matching pods among the given topology. +message TopologySpreadConstraint { + // MaxSkew describes the degree to which pods may be unevenly distributed. + // When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference + // between the number of matching pods in the target topology and the global minimum. + // The global minimum is the minimum number of matching pods in an eligible domain + // or zero if the number of eligible domains is less than MinDomains. + // For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + // labelSelector spread as 2/2/1: + // In this case, the global minimum is 1. + // +-------+-------+-------+ + // | zone1 | zone2 | zone3 | + // +-------+-------+-------+ + // | P P | P P | P | + // +-------+-------+-------+ + // - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; + // scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) + // violate MaxSkew(1). + // - if MaxSkew is 2, incoming pod can be scheduled onto any zone. + // When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence + // to topologies that satisfy it. + // It's a required field. Default value is 1 and 0 is not allowed. + optional int32 maxSkew = 1; + + // TopologyKey is the key of node labels. Nodes that have a label with this key + // and identical values are considered to be in the same topology. + // We consider each as a "bucket", and try to put balanced number + // of pods into each bucket. + // We define a domain as a particular instance of a topology. + // Also, we define an eligible domain as a domain whose nodes meet the requirements of + // nodeAffinityPolicy and nodeTaintsPolicy. + // e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. + // And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. + // It's a required field. + optional string topologyKey = 2; + + // WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + // the spread constraint. + // - DoNotSchedule (default) tells the scheduler not to schedule it. + // - ScheduleAnyway tells the scheduler to schedule the pod in any location, + // but giving higher precedence to topologies that would help reduce the + // skew. + // A constraint is considered "Unsatisfiable" for an incoming pod + // if and only if every possible node assignment for that pod would violate + // "MaxSkew" on some topology. + // For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + // labelSelector spread as 3/1/1: + // +-------+-------+-------+ + // | zone1 | zone2 | zone3 | + // +-------+-------+-------+ + // | P P P | P | P | + // +-------+-------+-------+ + // If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled + // to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies + // MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler + // won't make it *more* imbalanced. + // It's a required field. + optional string whenUnsatisfiable = 3; + + // LabelSelector is used to find matching pods. + // Pods that match this label selector are counted to determine the number of pods + // in their corresponding topology domain. + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 4; + + // MinDomains indicates a minimum number of eligible domains. + // When the number of eligible domains with matching topology keys is less than minDomains, + // Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. + // And when the number of eligible domains with matching topology keys equals or greater than minDomains, + // this value has no effect on scheduling. + // As a result, when the number of eligible domains is less than minDomains, + // scheduler won't schedule more than maxSkew Pods to those domains. + // If value is nil, the constraint behaves as if MinDomains is equal to 1. + // Valid values are integers greater than 0. + // When value is not nil, WhenUnsatisfiable must be DoNotSchedule. + // + // For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same + // labelSelector spread as 2/2/2: + // +-------+-------+-------+ + // | zone1 | zone2 | zone3 | + // +-------+-------+-------+ + // | P P | P P | P P | + // +-------+-------+-------+ + // The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. + // In this situation, new pod with the same labelSelector cannot be scheduled, + // because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, + // it will violate MaxSkew. + // + // This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). + // +optional + optional int32 minDomains = 5; + + // NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + // when calculating pod topology spread skew. Options are: + // - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. + // - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. + // + // If this value is nil, the behavior is equivalent to the Honor policy. + // This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + // +optional + optional string nodeAffinityPolicy = 6; + + // NodeTaintsPolicy indicates how we will treat node taints when calculating + // pod topology spread skew. Options are: + // - Honor: nodes without taints, along with tainted nodes for which the incoming pod + // has a toleration, are included. + // - Ignore: node taints are ignored. All nodes are included. + // + // If this value is nil, the behavior is equivalent to the Ignore policy. + // This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + // +optional + optional string nodeTaintsPolicy = 7; + + // MatchLabelKeys is a set of pod label keys to select the pods over which + // spreading will be calculated. The keys are used to lookup values from the + // incoming pod labels, those key-value labels are ANDed with labelSelector + // to select the group of existing pods over which spreading will be calculated + // for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + // MatchLabelKeys cannot be set when LabelSelector isn't set. + // Keys that don't exist in the incoming pod labels will + // be ignored. A null or empty list means only match against labelSelector. + // + // This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). + // +listType=atomic + // +optional + repeated string matchLabelKeys = 8; +} + +// TypedLocalObjectReference contains enough information to let you locate the +// typed referenced object inside the same namespace. +// +structType=atomic +message TypedLocalObjectReference { + // APIGroup is the group for the resource being referenced. + // If APIGroup is not specified, the specified Kind must be in the core API group. + // For any other third-party types, APIGroup is required. + // +optional + optional string apiGroup = 1; + + // Kind is the type of resource being referenced + optional string kind = 2; + + // Name is the name of resource being referenced + optional string name = 3; +} + +message TypedObjectReference { + // APIGroup is the group for the resource being referenced. + // If APIGroup is not specified, the specified Kind must be in the core API group. + // For any other third-party types, APIGroup is required. + // +optional + optional string apiGroup = 1; + + // Kind is the type of resource being referenced + optional string kind = 2; + + // Name is the name of resource being referenced + optional string name = 3; + + // Namespace is the namespace of resource being referenced + // Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + // (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + // +featureGate=CrossNamespaceVolumeDataSource + // +optional + optional string namespace = 4; +} + +// Volume represents a named volume in a pod that may be accessed by any container in the pod. +message Volume { + // name of the volume. + // Must be a DNS_LABEL and unique within the pod. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + optional string name = 1; + + // volumeSource represents the location and type of the mounted volume. + // If not specified, the Volume is implied to be an EmptyDir. + // This implied behavior is deprecated and will be removed in a future version. + optional VolumeSource volumeSource = 2; +} + +// volumeDevice describes a mapping of a raw block device within a container. +message VolumeDevice { + // name must match the name of a persistentVolumeClaim in the pod + optional string name = 1; + + // devicePath is the path inside of the container that the device will be mapped to. + optional string devicePath = 2; +} + +// VolumeMount describes a mounting of a Volume within a container. +message VolumeMount { + // This must match the Name of a Volume. + optional string name = 1; + + // Mounted read-only if true, read-write otherwise (false or unspecified). + // Defaults to false. + // +optional + optional bool readOnly = 2; + + // Path within the container at which the volume should be mounted. Must + // not contain ':'. + optional string mountPath = 3; + + // Path within the volume from which the container's volume should be mounted. + // Defaults to "" (volume's root). + // +optional + optional string subPath = 4; + + // mountPropagation determines how mounts are propagated from the host + // to container and the other way around. + // When not set, MountPropagationNone is used. + // This field is beta in 1.10. + // +optional + optional string mountPropagation = 5; + + // Expanded path within the volume from which the container's volume should be mounted. + // Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + // Defaults to "" (volume's root). + // SubPathExpr and SubPath are mutually exclusive. + // +optional + optional string subPathExpr = 6; +} + +// VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. +message VolumeNodeAffinity { + // required specifies hard node constraints that must be met. + optional NodeSelector required = 1; +} + +// Projection that may be projected along with other supported volume types +message VolumeProjection { + // secret information about the secret data to project + // +optional + optional SecretProjection secret = 1; + + // downwardAPI information about the downwardAPI data to project + // +optional + optional DownwardAPIProjection downwardAPI = 2; + + // configMap information about the configMap data to project + // +optional + optional ConfigMapProjection configMap = 3; + + // serviceAccountToken is information about the serviceAccountToken data to project + // +optional + optional ServiceAccountTokenProjection serviceAccountToken = 4; +} + +// Represents the source of a volume to mount. +// Only one of its members may be specified. +message VolumeSource { + // hostPath represents a pre-existing file or directory on the host + // machine that is directly exposed to the container. This is generally + // used for system agents or other privileged things that are allowed + // to see the host machine. Most containers will NOT need this. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + // --- + // TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not + // mount host directories as read/write. + // +optional + optional HostPathVolumeSource hostPath = 1; + + // emptyDir represents a temporary directory that shares a pod's lifetime. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + // +optional + optional EmptyDirVolumeSource emptyDir = 2; + + // gcePersistentDisk represents a GCE Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // +optional + optional GCEPersistentDiskVolumeSource gcePersistentDisk = 3; + + // awsElasticBlockStore represents an AWS Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + // +optional + optional AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4; + + // gitRepo represents a git repository at a particular revision. + // DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an + // EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir + // into the Pod's container. + // +optional + optional GitRepoVolumeSource gitRepo = 5; + + // secret represents a secret that should populate this volume. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + // +optional + optional SecretVolumeSource secret = 6; + + // nfs represents an NFS mount on the host that shares a pod's lifetime + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + // +optional + optional NFSVolumeSource nfs = 7; + + // iscsi represents an ISCSI Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. + // More info: https://examples.k8s.io/volumes/iscsi/README.md + // +optional + optional ISCSIVolumeSource iscsi = 8; + + // glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md + // +optional + optional GlusterfsVolumeSource glusterfs = 9; + + // persistentVolumeClaimVolumeSource represents a reference to a + // PersistentVolumeClaim in the same namespace. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + // +optional + optional PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10; + + // rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + // More info: https://examples.k8s.io/volumes/rbd/README.md + // +optional + optional RBDVolumeSource rbd = 11; + + // flexVolume represents a generic volume resource that is + // provisioned/attached using an exec based plugin. + // +optional + optional FlexVolumeSource flexVolume = 12; + + // cinder represents a cinder volume attached and mounted on kubelets host machine. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + optional CinderVolumeSource cinder = 13; + + // cephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional + optional CephFSVolumeSource cephfs = 14; + + // flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running + // +optional + optional FlockerVolumeSource flocker = 15; + + // downwardAPI represents downward API about the pod that should populate this volume + // +optional + optional DownwardAPIVolumeSource downwardAPI = 16; + + // fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional + optional FCVolumeSource fc = 17; + + // azureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional + optional AzureFileVolumeSource azureFile = 18; + + // configMap represents a configMap that should populate this volume + // +optional + optional ConfigMapVolumeSource configMap = 19; + + // vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional + optional VsphereVirtualDiskVolumeSource vsphereVolume = 20; + + // quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional + optional QuobyteVolumeSource quobyte = 21; + + // azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional + optional AzureDiskVolumeSource azureDisk = 22; + + // photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine + optional PhotonPersistentDiskVolumeSource photonPersistentDisk = 23; + + // projected items for all in one resources secrets, configmaps, and downward API + optional ProjectedVolumeSource projected = 26; + + // portworxVolume represents a portworx volume attached and mounted on kubelets host machine + // +optional + optional PortworxVolumeSource portworxVolume = 24; + + // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + // +optional + optional ScaleIOVolumeSource scaleIO = 25; + + // storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + // +optional + optional StorageOSVolumeSource storageos = 27; + + // csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). + // +optional + optional CSIVolumeSource csi = 28; + + // ephemeral represents a volume that is handled by a cluster storage driver. + // The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + // and deleted when the pod is removed. + // + // Use this if: + // a) the volume is only needed while the pod runs, + // b) features of normal volumes like restoring from snapshot or capacity + // tracking are needed, + // c) the storage driver is specified through a storage class, and + // d) the storage driver supports dynamic volume provisioning through + // a PersistentVolumeClaim (see EphemeralVolumeSource for more + // information on the connection between this volume type + // and PersistentVolumeClaim). + // + // Use PersistentVolumeClaim or one of the vendor-specific + // APIs for volumes that persist for longer than the lifecycle + // of an individual pod. + // + // Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + // be used that way - see the documentation of the driver for + // more information. + // + // A pod can use both types of ephemeral volumes and + // persistent volumes at the same time. + // + // +optional + optional EphemeralVolumeSource ephemeral = 29; +} + +// Represents a vSphere volume resource. +message VsphereVirtualDiskVolumeSource { + // volumePath is the path that identifies vSphere volume vmdk + optional string volumePath = 1; + + // fsType is filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional + optional string fsType = 2; + + // storagePolicyName is the storage Policy Based Management (SPBM) profile name. + // +optional + optional string storagePolicyName = 3; + + // storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. + // +optional + optional string storagePolicyID = 4; +} + +// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) +message WeightedPodAffinityTerm { + // weight associated with matching the corresponding podAffinityTerm, + // in the range 1-100. + optional int32 weight = 1; + + // Required. A pod affinity term, associated with the corresponding weight. + optional PodAffinityTerm podAffinityTerm = 2; +} + +// WindowsSecurityContextOptions contain Windows-specific options and credentials. +message WindowsSecurityContextOptions { + // GMSACredentialSpecName is the name of the GMSA credential spec to use. + // +optional + optional string gmsaCredentialSpecName = 1; + + // GMSACredentialSpec is where the GMSA admission webhook + // (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + // GMSA credential spec named by the GMSACredentialSpecName field. + // +optional + optional string gmsaCredentialSpec = 2; + + // The UserName in Windows to run the entrypoint of the container process. + // Defaults to the user specified in image metadata if unspecified. + // May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional + optional string runAsUserName = 3; + + // HostProcess determines if a container should be run as a 'Host Process' container. + // All of a Pod's containers must have the same effective HostProcess value + // (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + // In addition, if HostProcess is true then HostNetwork must also be set to true. + // +optional + optional bool hostProcess = 4; +} diff --git a/projects/gateway2/api/external/kubernetes/apimachinery/pkg/api/resource/generated.proto b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/api/resource/generated.proto new file mode 100644 index 00000000000..94c6491dfdf --- /dev/null +++ b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/api/resource/generated.proto @@ -0,0 +1,113 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/api/resource/generated.proto +// with the go_package changed to a gloo path. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = "proto2"; + +package k8s.io.apimachinery.pkg.api.resource; + +// Package-wide variables from generator "generated". +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/api/resource"; + +// Quantity is a fixed-point representation of a number. +// It provides convenient marshaling/unmarshaling in JSON and YAML, +// in addition to String() and AsInt64() accessors. +// +// The serialization format is: +// +// ``` +// ::= +// +// (Note that may be empty, from the "" case in .) +// +// ::= 0 | 1 | ... | 9 +// ::= | +// ::= | . | . | . +// ::= "+" | "-" +// ::= | +// ::= | | +// ::= Ki | Mi | Gi | Ti | Pi | Ei +// +// (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) +// +// ::= m | "" | k | M | G | T | P | E +// +// (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) +// +// ::= "e" | "E" +// ``` +// +// No matter which of the three exponent forms is used, no quantity may represent +// a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal +// places. Numbers larger or more precise will be capped or rounded up. +// (E.g.: 0.1m will rounded up to 1m.) +// This may be extended in the future if we require larger or smaller quantities. +// +// When a Quantity is parsed from a string, it will remember the type of suffix +// it had, and will use the same type again when it is serialized. +// +// Before serializing, Quantity will be put in "canonical form". +// This means that Exponent/suffix will be adjusted up or down (with a +// corresponding increase or decrease in Mantissa) such that: +// +// - No precision is lost +// - No fractional digits will be emitted +// - The exponent (or suffix) is as large as possible. +// +// The sign will be omitted unless the number is negative. +// +// Examples: +// +// - 1.5 will be serialized as "1500m" +// - 1.5Gi will be serialized as "1536Mi" +// +// Note that the quantity will NEVER be internally represented by a +// floating point number. That is the whole point of this exercise. +// +// Non-canonical values will still parse as long as they are well formed, +// but will be re-emitted in their canonical form. (So always use canonical +// form, or don't diff.) +// +// This format is intended to make it difficult to use these numbers without +// writing some sort of special handling code in the hopes that that will +// cause implementors to also use a fixed point implementation. +// +// +protobuf=true +// +protobuf.embed=string +// +protobuf.options.marshal=false +// +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:deepcopy-gen=true +// +k8s:openapi-gen=true +message Quantity { + optional string string = 1; +} + +// QuantityValue makes it possible to use a Quantity as value for a command +// line parameter. +// +// +protobuf=true +// +protobuf.embed=string +// +protobuf.options.marshal=false +// +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:deepcopy-gen=true +message QuantityValue { + optional string string = 1; +} diff --git a/projects/gateway2/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.proto b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.proto new file mode 100644 index 00000000000..8356e89718e --- /dev/null +++ b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.proto @@ -0,0 +1,1194 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/apis/meta/v1/generated.proto +// with the imports and go_package changed to gloo paths. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = "proto2"; + +package k8s.io.apimachinery.pkg.apis.meta.v1; + +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/generated.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.proto"; + +// Package-wide variables from generator "generated". +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/apis/meta/v1"; + +// APIGroup contains the name, the supported versions, and the preferred version +// of a group. +message APIGroup { + // name is the name of the group. + optional string name = 1; + + // versions are the versions supported in this group. + repeated GroupVersionForDiscovery versions = 2; + + // preferredVersion is the version preferred by the API server, which + // probably is the storage version. + // +optional + optional GroupVersionForDiscovery preferredVersion = 3; + + // a map of client CIDR to server address that is serving this group. + // This is to help clients reach servers in the most network-efficient way possible. + // Clients can use the appropriate server address as per the CIDR that they match. + // In case of multiple matches, clients should use the longest matching CIDR. + // The server returns only those CIDRs that it thinks that the client can match. + // For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. + // Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + // +optional + repeated ServerAddressByClientCIDR serverAddressByClientCIDRs = 4; +} + +// APIGroupList is a list of APIGroup, to allow clients to discover the API at +// /apis. +message APIGroupList { + // groups is a list of APIGroup. + repeated APIGroup groups = 1; +} + +// APIResource specifies the name of a resource and whether it is namespaced. +message APIResource { + // name is the plural name of the resource. + optional string name = 1; + + // singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. + // The singularName is more correct for reporting status on a single item and both singular and plural are allowed + // from the kubectl CLI interface. + optional string singularName = 6; + + // namespaced indicates if a resource is namespaced or not. + optional bool namespaced = 2; + + // group is the preferred group of the resource. Empty implies the group of the containing resource list. + // For subresources, this may have a different value, for example: Scale". + optional string group = 8; + + // version is the preferred version of the resource. Empty implies the version of the containing resource list + // For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)". + optional string version = 9; + + // kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') + optional string kind = 3; + + // verbs is a list of supported kube verbs (this includes get, list, watch, create, + // update, patch, delete, deletecollection, and proxy) + optional Verbs verbs = 4; + + // shortNames is a list of suggested short names of the resource. + repeated string shortNames = 5; + + // categories is a list of the grouped resources this resource belongs to (e.g. 'all') + repeated string categories = 7; + + // The hash value of the storage version, the version this resource is + // converted to when written to the data store. Value must be treated + // as opaque by clients. Only equality comparison on the value is valid. + // This is an alpha feature and may change or be removed in the future. + // The field is populated by the apiserver only if the + // StorageVersionHash feature gate is enabled. + // This field will remain optional even if it graduates. + // +optional + optional string storageVersionHash = 10; +} + +// APIResourceList is a list of APIResource, it is used to expose the name of the +// resources supported in a specific group and version, and if the resource +// is namespaced. +message APIResourceList { + // groupVersion is the group and version this APIResourceList is for. + optional string groupVersion = 1; + + // resources contains the name of the resources and if they are namespaced. + repeated APIResource resources = 2; +} + +// APIVersions lists the versions that are available, to allow clients to +// discover the API at /api, which is the root path of the legacy v1 API. +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +message APIVersions { + // versions are the api versions that are available. + repeated string versions = 1; + + // a map of client CIDR to server address that is serving this group. + // This is to help clients reach servers in the most network-efficient way possible. + // Clients can use the appropriate server address as per the CIDR that they match. + // In case of multiple matches, clients should use the longest matching CIDR. + // The server returns only those CIDRs that it thinks that the client can match. + // For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. + // Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + repeated ServerAddressByClientCIDR serverAddressByClientCIDRs = 2; +} + +// ApplyOptions may be provided when applying an API object. +// FieldManager is required for apply requests. +// ApplyOptions is equivalent to PatchOptions. It is provided as a convenience with documentation +// that speaks specifically to how the options fields relate to apply. +message ApplyOptions { + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + repeated string dryRun = 1; + + // Force is going to "force" Apply requests. It means user will + // re-acquire conflicting fields owned by other people. + optional bool force = 2; + + // fieldManager is a name associated with the actor or entity + // that is making these changes. The value must be less than or + // 128 characters long, and only contain printable characters, + // as defined by https://golang.org/pkg/unicode/#IsPrint. This + // field is required. + optional string fieldManager = 3; +} + +// Condition contains details for one aspect of the current state of this API Resource. +// --- +// This struct is intended for direct use as an array at the field path .status.conditions. For example, +// +// type FooStatus struct{ +// // Represents the observations of a foo's current state. +// // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" +// // +patchMergeKey=type +// // +patchStrategy=merge +// // +listType=map +// // +listMapKey=type +// Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` +// +// // other fields +// } +message Condition { + // type of condition in CamelCase or in foo.example.com/CamelCase. + // --- + // Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + // useful (see .node.status.conditions), the ability to deconflict is important. + // The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$` + // +kubebuilder:validation:MaxLength=316 + optional string type = 1; + + // status of the condition, one of True, False, Unknown. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:Enum=True;False;Unknown + optional string status = 2; + + // observedGeneration represents the .metadata.generation that the condition was set based upon. + // For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + // with respect to the current state of the instance. + // +optional + // +kubebuilder:validation:Minimum=0 + optional int64 observedGeneration = 3; + + // lastTransitionTime is the last time the condition transitioned from one status to another. + // This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:Type=string + // +kubebuilder:validation:Format=date-time + optional Time lastTransitionTime = 4; + + // reason contains a programmatic identifier indicating the reason for the condition's last transition. + // Producers of specific condition types may define expected values and meanings for this field, + // and whether the values are considered a guaranteed API. + // The value should be a CamelCase string. + // This field may not be empty. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:MaxLength=1024 + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$` + optional string reason = 5; + + // message is a human readable message indicating details about the transition. + // This may be an empty string. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:MaxLength=32768 + optional string message = 6; +} + +// CreateOptions may be provided when creating an API object. +message CreateOptions { + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + repeated string dryRun = 1; + + // fieldManager is a name associated with the actor or entity + // that is making these changes. The value must be less than or + // 128 characters long, and only contain printable characters, + // as defined by https://golang.org/pkg/unicode/#IsPrint. + // +optional + optional string fieldManager = 3; + + // fieldValidation instructs the server on how to handle + // objects in the request (POST/PUT/PATCH) containing unknown + // or duplicate fields. Valid values are: + // - Ignore: This will ignore any unknown fields that are silently + // dropped from the object, and will ignore all but the last duplicate + // field that the decoder encounters. This is the default behavior + // prior to v1.23. + // - Warn: This will send a warning via the standard warning response + // header for each unknown field that is dropped from the object, and + // for each duplicate field that is encountered. The request will + // still succeed if there are no other errors, and will only persist + // the last of any duplicate fields. This is the default in v1.23+ + // - Strict: This will fail the request with a BadRequest error if + // any unknown fields would be dropped from the object, or if any + // duplicate fields are present. The error returned from the server + // will contain all unknown and duplicate fields encountered. + // +optional + optional string fieldValidation = 4; +} + +// DeleteOptions may be provided when deleting an API object. +message DeleteOptions { + // The duration in seconds before the object should be deleted. Value must be non-negative integer. + // The value zero indicates delete immediately. If this value is nil, the default grace period for the + // specified type will be used. + // Defaults to a per object value if not specified. zero means delete immediately. + // +optional + optional int64 gracePeriodSeconds = 1; + + // Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be + // returned. + // +k8s:conversion-gen=false + // +optional + optional Preconditions preconditions = 2; + + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. + // Should the dependent objects be orphaned. If true/false, the "orphan" + // finalizer will be added to/removed from the object's finalizers list. + // Either this field or PropagationPolicy may be set, but not both. + // +optional + optional bool orphanDependents = 3; + + // Whether and how garbage collection will be performed. + // Either this field or OrphanDependents may be set, but not both. + // The default policy is decided by the existing finalizer set in the + // metadata.finalizers and the resource-specific default policy. + // Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - + // allow the garbage collector to delete the dependents in the background; + // 'Foreground' - a cascading policy that deletes all dependents in the + // foreground. + // +optional + optional string propagationPolicy = 4; + + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + repeated string dryRun = 5; +} + +// Duration is a wrapper around time.Duration which supports correct +// marshaling to YAML and JSON. In particular, it marshals into strings, which +// can be used as map keys in json. +message Duration { + optional int64 duration = 1; +} + +// FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. +// +// Each key is either a '.' representing the field itself, and will always map to an empty set, +// or a string representing a sub-field or item. The string will follow one of these four formats: +// 'f:', where is the name of a field in a struct, or key in a map +// 'v:', where is the exact json formatted value of a list item +// 'i:', where is position of a item in a list +// 'k:', where is a map of a list item's key fields to their unique values +// If a key maps to an empty Fields value, the field that key represents is part of the set. +// +// The exact format is defined in sigs.k8s.io/structured-merge-diff +// +protobuf.options.(gogoproto.goproto_stringer)=false +message FieldsV1 { + // Raw is the underlying serialization of this object. + optional bytes Raw = 1; +} + +// GetOptions is the standard query options to the standard REST get call. +message GetOptions { + // resourceVersion sets a constraint on what resource versions a request may be served from. + // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for + // details. + // + // Defaults to unset + // +optional + optional string resourceVersion = 1; +} + +// GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying +// concepts during lookup stages without having partially valid types +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +message GroupKind { + optional string group = 1; + + optional string kind = 2; +} + +// GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying +// concepts during lookup stages without having partially valid types +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +message GroupResource { + optional string group = 1; + + optional string resource = 2; +} + +// GroupVersion contains the "group" and the "version", which uniquely identifies the API. +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +message GroupVersion { + optional string group = 1; + + optional string version = 2; +} + +// GroupVersion contains the "group/version" and "version" string of a version. +// It is made a struct to keep extensibility. +message GroupVersionForDiscovery { + // groupVersion specifies the API group and version in the form "group/version" + optional string groupVersion = 1; + + // version specifies the version in the form of "version". This is to save + // the clients the trouble of splitting the GroupVersion. + optional string version = 2; +} + +// GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion +// to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +message GroupVersionKind { + optional string group = 1; + + optional string version = 2; + + optional string kind = 3; +} + +// GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion +// to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +message GroupVersionResource { + optional string group = 1; + + optional string version = 2; + + optional string resource = 3; +} + +// A label selector is a label query over a set of resources. The result of matchLabels and +// matchExpressions are ANDed. An empty label selector matches all objects. A null +// label selector matches no objects. +// +structType=atomic +message LabelSelector { + // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + // map is equivalent to an element of matchExpressions, whose key field is "key", the + // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional + map matchLabels = 1; + + // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional + repeated LabelSelectorRequirement matchExpressions = 2; +} + +// A label selector requirement is a selector that contains values, a key, and an operator that +// relates the key and values. +message LabelSelectorRequirement { + // key is the label key that the selector applies to. + optional string key = 1; + + // operator represents a key's relationship to a set of values. + // Valid operators are In, NotIn, Exists and DoesNotExist. + optional string operator = 2; + + // values is an array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. This array is replaced during a strategic + // merge patch. + // +optional + repeated string values = 3; +} + +// List holds a list of objects, which may not be known by the server. +message List { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional ListMeta metadata = 1; + + // List of objects + repeated k8s.io.apimachinery.pkg.runtime.RawExtension items = 2; +} + +// ListMeta describes metadata that synthetic resources must have, including lists and +// various status objects. A resource may have only one of {ObjectMeta, ListMeta}. +message ListMeta { + // Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. + // +optional + optional string selfLink = 1; + + // String that identifies the server's internal version of this object that + // can be used by clients to determine when objects have changed. + // Value must be treated as opaque by clients and passed unmodified back to the server. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + // +optional + optional string resourceVersion = 2; + + // continue may be set if the user set a limit on the number of items returned, and indicates that + // the server has more data available. The value is opaque and may be used to issue another request + // to the endpoint that served this list to retrieve the next set of available objects. Continuing a + // consistent list may not be possible if the server configuration has changed or more than a few + // minutes have passed. The resourceVersion field returned when using this continue value will be + // identical to the value in the first response, unless you have received this token from an error + // message. + optional string continue = 3; + + // remainingItemCount is the number of subsequent items in the list which are not included in this + // list response. If the list request contained label or field selectors, then the number of + // remaining items is unknown and the field will be left unset and omitted during serialization. + // If the list is complete (either because it is not chunking or because this is the last chunk), + // then there are no more remaining items and this field will be left unset and omitted during + // serialization. + // Servers older than v1.15 do not set this field. + // The intended use of the remainingItemCount is *estimating* the size of a collection. Clients + // should not rely on the remainingItemCount to be set or to be exact. + // +optional + optional int64 remainingItemCount = 4; +} + +// ListOptions is the query options to a standard REST list call. +message ListOptions { + // A selector to restrict the list of returned objects by their labels. + // Defaults to everything. + // +optional + optional string labelSelector = 1; + + // A selector to restrict the list of returned objects by their fields. + // Defaults to everything. + // +optional + optional string fieldSelector = 2; + + // Watch for changes to the described resources and return them as a stream of + // add, update, and remove notifications. Specify resourceVersion. + // +optional + optional bool watch = 3; + + // allowWatchBookmarks requests watch events with type "BOOKMARK". + // Servers that do not implement bookmarks may ignore this flag and + // bookmarks are sent at the server's discretion. Clients should not + // assume bookmarks are returned at any specific interval, nor may they + // assume the server will send any BOOKMARK event during a session. + // If this is not a watch, this field is ignored. + // +optional + optional bool allowWatchBookmarks = 9; + + // resourceVersion sets a constraint on what resource versions a request may be served from. + // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for + // details. + // + // Defaults to unset + // +optional + optional string resourceVersion = 4; + + // resourceVersionMatch determines how resourceVersion is applied to list calls. + // It is highly recommended that resourceVersionMatch be set for list calls where + // resourceVersion is set + // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for + // details. + // + // Defaults to unset + // +optional + optional string resourceVersionMatch = 10; + + // Timeout for the list/watch call. + // This limits the duration of the call, regardless of any activity or inactivity. + // +optional + optional int64 timeoutSeconds = 5; + + // limit is a maximum number of responses to return for a list call. If more items exist, the + // server will set the `continue` field on the list metadata to a value that can be used with the + // same initial query to retrieve the next set of results. Setting a limit may return fewer than + // the requested amount of items (up to zero items) in the event all requested objects are + // filtered out and clients should only use the presence of the continue field to determine whether + // more results are available. Servers may choose not to support the limit argument and will return + // all of the available results. If limit is specified and the continue field is empty, clients may + // assume that no more results are available. This field is not supported if watch is true. + // + // The server guarantees that the objects returned when using continue will be identical to issuing + // a single list call without a limit - that is, no objects created, modified, or deleted after the + // first request is issued will be included in any subsequent continued requests. This is sometimes + // referred to as a consistent snapshot, and ensures that a client that is using limit to receive + // smaller chunks of a very large result can ensure they see all possible objects. If objects are + // updated during a chunked list the version of the object that was present at the time the first list + // result was calculated is returned. + optional int64 limit = 7; + + // The continue option should be set when retrieving more results from the server. Since this value is + // server defined, clients may only use the continue value from a previous query result with identical + // query parameters (except for the value of continue) and the server may reject a continue value it + // does not recognize. If the specified continue value is no longer valid whether due to expiration + // (generally five to fifteen minutes) or a configuration change on the server, the server will + // respond with a 410 ResourceExpired error together with a continue token. If the client needs a + // consistent list, it must restart their list without the continue field. Otherwise, the client may + // send another list request with the token received with the 410 error, the server will respond with + // a list starting from the next key, but from the latest snapshot, which is inconsistent from the + // previous list results - objects that are created, modified, or deleted after the first list request + // will be included in the response, as long as their keys are after the "next key". + // + // This field is not supported when watch is true. Clients may start a watch from the last + // resourceVersion value returned by the server and not miss any modifications. + optional string continue = 8; + + // `sendInitialEvents=true` may be set together with `watch=true`. + // In that case, the watch stream will begin with synthetic events to + // produce the current state of objects in the collection. Once all such + // events have been sent, a synthetic "Bookmark" event will be sent. + // The bookmark will report the ResourceVersion (RV) corresponding to the + // set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. + // Afterwards, the watch stream will proceed as usual, sending watch events + // corresponding to changes (subsequent to the RV) to objects watched. + // + // When `sendInitialEvents` option is set, we require `resourceVersionMatch` + // option to also be set. The semantic of the watch request is as following: + // - `resourceVersionMatch` = NotOlderThan + // is interpreted as "data at least as new as the provided `resourceVersion`" + // and the bookmark event is send when the state is synced + // to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + // If `resourceVersion` is unset, this is interpreted as "consistent read" and the + // bookmark event is send when the state is synced at least to the moment + // when request started being processed. + // - `resourceVersionMatch` set to any other value or unset + // Invalid error is returned. + // + // Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward + // compatibility reasons) and to false otherwise. + // +optional + optional bool sendInitialEvents = 11; +} + +// ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource +// that the fieldset applies to. +message ManagedFieldsEntry { + // Manager is an identifier of the workflow managing these fields. + optional string manager = 1; + + // Operation is the type of operation which lead to this ManagedFieldsEntry being created. + // The only valid values for this field are 'Apply' and 'Update'. + optional string operation = 2; + + // APIVersion defines the version of this resource that this field set + // applies to. The format is "group/version" just like the top-level + // APIVersion field. It is necessary to track the version of a field + // set because it cannot be automatically converted. + optional string apiVersion = 3; + + // Time is the timestamp of when the ManagedFields entry was added. The + // timestamp will also be updated if a field is added, the manager + // changes any of the owned fields value or removes a field. The + // timestamp does not update when a field is removed from the entry + // because another manager took it over. + // +optional + optional Time time = 4; + + // FieldsType is the discriminator for the different fields format and version. + // There is currently only one possible value: "FieldsV1" + optional string fieldsType = 6; + + // FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. + // +optional + optional FieldsV1 fieldsV1 = 7; + + // Subresource is the name of the subresource used to update that object, or + // empty string if the object was updated through the main resource. The + // value of this field is used to distinguish between managers, even if they + // share the same name. For example, a status update will be distinct from a + // regular update using the same manager name. + // Note that the APIVersion field is not related to the Subresource field and + // it always corresponds to the version of the main resource. + optional string subresource = 8; +} + +// MicroTime is version of Time with microsecond level precision. +// +// +protobuf.options.marshal=false +// +protobuf.as=Timestamp +// +protobuf.options.(gogoproto.goproto_stringer)=false +message MicroTime { + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + optional int64 seconds = 1; + + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. This field may be limited in precision depending on context. + optional int32 nanos = 2; +} + +// ObjectMeta is metadata that all persisted resources must have, which includes all objects +// users must create. +message ObjectMeta { + // Name must be unique within a namespace. Is required when creating resources, although + // some resources may allow a client to request the generation of an appropriate name + // automatically. Name is primarily intended for creation idempotence and configuration + // definition. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names + // +optional + optional string name = 1; + + // GenerateName is an optional prefix, used by the server, to generate a unique + // name ONLY IF the Name field has not been provided. + // If this field is used, the name returned to the client will be different + // than the name passed. This value will also be combined with a unique suffix. + // The provided value has the same validation rules as the Name field, + // and may be truncated by the length of the suffix required to make the value + // unique on the server. + // + // If this field is specified and the generated name exists, the server will return a 409. + // + // Applied only if Name is not specified. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency + // +optional + optional string generateName = 2; + + // Namespace defines the space within which each name must be unique. An empty namespace is + // equivalent to the "default" namespace, but "default" is the canonical representation. + // Not all objects are required to be scoped to a namespace - the value of this field for + // those objects will be empty. + // + // Must be a DNS_LABEL. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces + // +optional + optional string namespace = 3; + + // Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. + // +optional + optional string selfLink = 4; + + // UID is the unique in time and space value for this object. It is typically generated by + // the server on successful creation of a resource and is not allowed to change on PUT + // operations. + // + // Populated by the system. + // Read-only. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids + // +optional + optional string uid = 5; + + // An opaque value that represents the internal version of this object that can + // be used by clients to determine when objects have changed. May be used for optimistic + // concurrency, change detection, and the watch operation on a resource or set of resources. + // Clients must treat these values as opaque and passed unmodified back to the server. + // They may only be valid for a particular resource or set of resources. + // + // Populated by the system. + // Read-only. + // Value must be treated as opaque by clients and . + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + // +optional + optional string resourceVersion = 6; + + // A sequence number representing a specific generation of the desired state. + // Populated by the system. Read-only. + // +optional + optional int64 generation = 7; + + // CreationTimestamp is a timestamp representing the server time when this object was + // created. It is not guaranteed to be set in happens-before order across separate operations. + // Clients may not set this value. It is represented in RFC3339 form and is in UTC. + // + // Populated by the system. + // Read-only. + // Null for lists. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional Time creationTimestamp = 8; + + // DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This + // field is set by the server when a graceful deletion is requested by the user, and is not + // directly settable by a client. The resource is expected to be deleted (no longer visible + // from resource lists, and not reachable by name) after the time in this field, once the + // finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + // Once the deletionTimestamp is set, this value may not be unset or be set further into the + // future, although it may be shortened or the resource may be deleted prior to this time. + // For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + // by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + // the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + // remove the pod from the API. In the presence of network partitions, this object may still + // exist after this timestamp, until an administrator or automated process can determine the + // resource is fully terminated. + // If not set, graceful deletion of the object has not been requested. + // + // Populated by the system when a graceful deletion is requested. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional Time deletionTimestamp = 9; + + // Number of seconds allowed for this object to gracefully terminate before + // it will be removed from the system. Only set when deletionTimestamp is also set. + // May only be shortened. + // Read-only. + // +optional + optional int64 deletionGracePeriodSeconds = 10; + + // Map of string keys and values that can be used to organize and categorize + // (scope and select) objects. May match selectors of replication controllers + // and services. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels + // +optional + map labels = 11; + + // Annotations is an unstructured key value map stored with a resource that may be + // set by external tools to store and retrieve arbitrary metadata. They are not + // queryable and should be preserved when modifying objects. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations + // +optional + map annotations = 12; + + // List of objects depended by this object. If ALL objects in the list have + // been deleted, this object will be garbage collected. If this object is managed by a controller, + // then an entry in this list will point to this controller, with the controller field set to true. + // There cannot be more than one managing controller. + // +optional + // +patchMergeKey=uid + // +patchStrategy=merge + repeated OwnerReference ownerReferences = 13; + + // Must be empty before the object is deleted from the registry. Each entry + // is an identifier for the responsible component that will remove the entry + // from the list. If the deletionTimestamp of the object is non-nil, entries + // in this list can only be removed. + // Finalizers may be processed and removed in any order. Order is NOT enforced + // because it introduces significant risk of stuck finalizers. + // finalizers is a shared field, any actor with permission can reorder it. + // If the finalizer list is processed in order, then this can lead to a situation + // in which the component responsible for the first finalizer in the list is + // waiting for a signal (field value, external system, or other) produced by a + // component responsible for a finalizer later in the list, resulting in a deadlock. + // Without enforced ordering finalizers are free to order amongst themselves and + // are not vulnerable to ordering changes in the list. + // +optional + // +patchStrategy=merge + repeated string finalizers = 14; + + // ManagedFields maps workflow-id and version to the set of fields + // that are managed by that workflow. This is mostly for internal + // housekeeping, and users typically shouldn't need to set or + // understand this field. A workflow can be the user's name, a + // controller's name, or the name of a specific apply path like + // "ci-cd". The set of fields is always in the version that the + // workflow used when modifying the object. + // + // +optional + repeated ManagedFieldsEntry managedFields = 17; +} + +// OwnerReference contains enough information to let you identify an owning +// object. An owning object must be in the same namespace as the dependent, or +// be cluster-scoped, so there is no namespace field. +// +structType=atomic +message OwnerReference { + // API version of the referent. + optional string apiVersion = 5; + + // Kind of the referent. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + optional string kind = 1; + + // Name of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names + optional string name = 3; + + // UID of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids + optional string uid = 4; + + // If true, this reference points to the managing controller. + // +optional + optional bool controller = 6; + + // If true, AND if the owner has the "foregroundDeletion" finalizer, then + // the owner cannot be deleted from the key-value store until this + // reference is removed. + // See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion + // for how the garbage collector interacts with this field and enforces the foreground deletion. + // Defaults to false. + // To set this field, a user needs "delete" permission of the owner, + // otherwise 422 (Unprocessable Entity) will be returned. + // +optional + optional bool blockOwnerDeletion = 7; +} + +// PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients +// to get access to a particular ObjectMeta schema without knowing the details of the version. +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +message PartialObjectMetadata { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional ObjectMeta metadata = 1; +} + +// PartialObjectMetadataList contains a list of objects containing only their metadata +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +message PartialObjectMetadataList { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional ListMeta metadata = 1; + + // items contains each of the included items. + repeated PartialObjectMetadata items = 2; +} + +// Patch is provided to give a concrete name and type to the Kubernetes PATCH request body. +message Patch { +} + +// PatchOptions may be provided when patching an API object. +// PatchOptions is meant to be a superset of UpdateOptions. +message PatchOptions { + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + repeated string dryRun = 1; + + // Force is going to "force" Apply requests. It means user will + // re-acquire conflicting fields owned by other people. Force + // flag must be unset for non-apply patch requests. + // +optional + optional bool force = 2; + + // fieldManager is a name associated with the actor or entity + // that is making these changes. The value must be less than or + // 128 characters long, and only contain printable characters, + // as defined by https://golang.org/pkg/unicode/#IsPrint. This + // field is required for apply requests + // (application/apply-patch) but optional for non-apply patch + // types (JsonPatch, MergePatch, StrategicMergePatch). + // +optional + optional string fieldManager = 3; + + // fieldValidation instructs the server on how to handle + // objects in the request (POST/PUT/PATCH) containing unknown + // or duplicate fields. Valid values are: + // - Ignore: This will ignore any unknown fields that are silently + // dropped from the object, and will ignore all but the last duplicate + // field that the decoder encounters. This is the default behavior + // prior to v1.23. + // - Warn: This will send a warning via the standard warning response + // header for each unknown field that is dropped from the object, and + // for each duplicate field that is encountered. The request will + // still succeed if there are no other errors, and will only persist + // the last of any duplicate fields. This is the default in v1.23+ + // - Strict: This will fail the request with a BadRequest error if + // any unknown fields would be dropped from the object, or if any + // duplicate fields are present. The error returned from the server + // will contain all unknown and duplicate fields encountered. + // +optional + optional string fieldValidation = 4; +} + +// Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. +message Preconditions { + // Specifies the target UID. + // +optional + optional string uid = 1; + + // Specifies the target ResourceVersion + // +optional + optional string resourceVersion = 2; +} + +// RootPaths lists the paths available at root. +// For example: "/healthz", "/apis". +message RootPaths { + // paths are the paths available at root. + repeated string paths = 1; +} + +// ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. +message ServerAddressByClientCIDR { + // The CIDR with which clients can match their IP to figure out the server address that they should use. + optional string clientCIDR = 1; + + // Address of this server, suitable for a client that matches the above CIDR. + // This can be a hostname, hostname:port, IP or IP:port. + optional string serverAddress = 2; +} + +// Status is a return value for calls that don't return other objects. +message Status { + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional ListMeta metadata = 1; + + // Status of the operation. + // One of: "Success" or "Failure". + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional string status = 2; + + // A human-readable description of the status of this operation. + // +optional + optional string message = 3; + + // A machine-readable description of why this operation is in the + // "Failure" status. If this value is empty there + // is no information available. A Reason clarifies an HTTP status + // code but does not override it. + // +optional + optional string reason = 4; + + // Extended data associated with the reason. Each reason may define its + // own extended details. This field is optional and the data returned + // is not guaranteed to conform to any schema except that defined by + // the reason type. + // +optional + optional StatusDetails details = 5; + + // Suggested HTTP return code for this status, 0 if not set. + // +optional + optional int32 code = 6; +} + +// StatusCause provides more information about an api.Status failure, including +// cases when multiple errors are encountered. +message StatusCause { + // A machine-readable description of the cause of the error. If this value is + // empty there is no information available. + // +optional + optional string reason = 1; + + // A human-readable description of the cause of the error. This field may be + // presented as-is to a reader. + // +optional + optional string message = 2; + + // The field of the resource that has caused this error, as named by its JSON + // serialization. May include dot and postfix notation for nested attributes. + // Arrays are zero-indexed. Fields may appear more than once in an array of + // causes due to fields having multiple errors. + // Optional. + // + // Examples: + // "name" - the field "name" on the current resource + // "items[0].name" - the field "name" on the first array entry in "items" + // +optional + optional string field = 3; +} + +// StatusDetails is a set of additional properties that MAY be set by the +// server to provide additional information about a response. The Reason +// field of a Status object defines what attributes will be set. Clients +// must ignore fields that do not match the defined type of each attribute, +// and should assume that any attribute may be empty, invalid, or under +// defined. +message StatusDetails { + // The name attribute of the resource associated with the status StatusReason + // (when there is a single name which can be described). + // +optional + optional string name = 1; + + // The group attribute of the resource associated with the status StatusReason. + // +optional + optional string group = 2; + + // The kind attribute of the resource associated with the status StatusReason. + // On some operations may differ from the requested resource Kind. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional string kind = 3; + + // UID of the resource. + // (when there is a single resource which can be described). + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids + // +optional + optional string uid = 6; + + // The Causes array includes more details associated with the StatusReason + // failure. Not all StatusReasons may provide detailed causes. + // +optional + repeated StatusCause causes = 4; + + // If specified, the time in seconds before the operation should be retried. Some errors may indicate + // the client must take an alternate action - for those errors this field may indicate how long to wait + // before taking the alternate action. + // +optional + optional int32 retryAfterSeconds = 5; +} + +// TableOptions are used when a Table is requested by the caller. +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +message TableOptions { + // includeObject decides whether to include each object along with its columnar information. + // Specifying "None" will return no object, specifying "Object" will return the full object contents, and + // specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind + // in version v1beta1 of the meta.k8s.io API group. + optional string includeObject = 1; +} + +// Time is a wrapper around time.Time which supports correct +// marshaling to YAML and JSON. Wrappers are provided for many +// of the factory methods that the time package offers. +// +// +protobuf.options.marshal=false +// +protobuf.as=Timestamp +// +protobuf.options.(gogoproto.goproto_stringer)=false +message Time { + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + optional int64 seconds = 1; + + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. This field may be limited in precision depending on context. + optional int32 nanos = 2; +} + +// Timestamp is a struct that is equivalent to Time, but intended for +// protobuf marshalling/unmarshalling. It is generated into a serialization +// that matches Time. Do not use in Go structs. +message Timestamp { + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + optional int64 seconds = 1; + + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. This field may be limited in precision depending on context. + optional int32 nanos = 2; +} + +// TypeMeta describes an individual object in an API response or request +// with strings representing the type of the object and its API schema version. +// Structures that are versioned or persisted should inline TypeMeta. +// +// +k8s:deepcopy-gen=false +message TypeMeta { + // Kind is a string value representing the REST resource this object represents. + // Servers may infer this from the endpoint the client submits requests to. + // Cannot be updated. + // In CamelCase. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + optional string kind = 1; + + // APIVersion defines the versioned schema of this representation of an object. + // Servers should convert recognized schemas to the latest internal value, and + // may reject unrecognized values. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + // +optional + optional string apiVersion = 2; +} + +// UpdateOptions may be provided when updating an API object. +// All fields in UpdateOptions should also be present in PatchOptions. +message UpdateOptions { + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + repeated string dryRun = 1; + + // fieldManager is a name associated with the actor or entity + // that is making these changes. The value must be less than or + // 128 characters long, and only contain printable characters, + // as defined by https://golang.org/pkg/unicode/#IsPrint. + // +optional + optional string fieldManager = 2; + + // fieldValidation instructs the server on how to handle + // objects in the request (POST/PUT/PATCH) containing unknown + // or duplicate fields. Valid values are: + // - Ignore: This will ignore any unknown fields that are silently + // dropped from the object, and will ignore all but the last duplicate + // field that the decoder encounters. This is the default behavior + // prior to v1.23. + // - Warn: This will send a warning via the standard warning response + // header for each unknown field that is dropped from the object, and + // for each duplicate field that is encountered. The request will + // still succeed if there are no other errors, and will only persist + // the last of any duplicate fields. This is the default in v1.23+ + // - Strict: This will fail the request with a BadRequest error if + // any unknown fields would be dropped from the object, or if any + // duplicate fields are present. The error returned from the server + // will contain all unknown and duplicate fields encountered. + // +optional + optional string fieldValidation = 3; +} + +// Verbs masks the value so protobuf can generate +// +// +protobuf.nullable=true +// +protobuf.options.(gogoproto.goproto_stringer)=false +message Verbs { + // items, if empty, will result in an empty slice + + repeated string items = 1; +} + +// Event represents a single event to a watched resource. +// +// +protobuf=true +// +k8s:deepcopy-gen=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +message WatchEvent { + optional string type = 1; + + // Object is: + // * If Type is Added or Modified: the new state of the object. + // * If Type is Deleted: the state of the object immediately before deletion. + // * If Type is Error: *Status is recommended; other types may make sense + // depending on context. + optional k8s.io.apimachinery.pkg.runtime.RawExtension object = 2; +} diff --git a/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/generated.proto b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/generated.proto new file mode 100644 index 00000000000..88e646e0746 --- /dev/null +++ b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/generated.proto @@ -0,0 +1,136 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/runtime/generated.proto +// with the go_package changed to a gloo path. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = "proto2"; + +package k8s.io.apimachinery.pkg.runtime; + +// Package-wide variables from generator "generated". +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime"; + +// RawExtension is used to hold extensions in external versions. +// +// To use this, make a field which has RawExtension as its type in your external, versioned +// struct, and Object in your internal struct. You also need to register your +// various plugin types. +// +// // Internal package: +// +// type MyAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// MyPlugin runtime.Object `json:"myPlugin"` +// } +// +// type PluginA struct { +// AOption string `json:"aOption"` +// } +// +// // External package: +// +// type MyAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// MyPlugin runtime.RawExtension `json:"myPlugin"` +// } +// +// type PluginA struct { +// AOption string `json:"aOption"` +// } +// +// // On the wire, the JSON will look something like this: +// +// { +// "kind":"MyAPIObject", +// "apiVersion":"v1", +// "myPlugin": { +// "kind":"PluginA", +// "aOption":"foo", +// }, +// } +// +// So what happens? Decode first uses json or yaml to unmarshal the serialized data into +// your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. +// The next step is to copy (using pkg/conversion) into the internal struct. The runtime +// package's DefaultScheme has conversion functions installed which will unpack the +// JSON stored in RawExtension, turning it into the correct object type, and storing it +// in the Object. (TODO: In the case where the object is of an unknown type, a +// runtime.Unknown object will be created and stored.) +// +// +k8s:deepcopy-gen=true +// +protobuf=true +// +k8s:openapi-gen=true +message RawExtension { + // Raw is the underlying serialization of this object. + // + // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data. + optional bytes raw = 1; +} + +// TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, +// like this: +// +// type MyAwesomeAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// ... // other fields +// } +// +// func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind +// +// TypeMeta is provided here for convenience. You may use it directly from this package or define +// your own with the same fields. +// +// +k8s:deepcopy-gen=false +// +protobuf=true +// +k8s:openapi-gen=true +message TypeMeta { + // +optional + optional string apiVersion = 1; + + // +optional + optional string kind = 2; +} + +// Unknown allows api objects with unknown types to be passed-through. This can be used +// to deal with the API objects from a plug-in. Unknown objects still have functioning +// TypeMeta features-- kind, version, etc. +// TODO: Make this object have easy access to field based accessors and settors for +// metadata and field mutatation. +// +// +k8s:deepcopy-gen=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +protobuf=true +// +k8s:openapi-gen=true +message Unknown { + optional TypeMeta typeMeta = 1; + + // Raw will hold the complete serialized object which couldn't be matched + // with a registered type. Most likely, nothing should be done with this + // except for passing it through the system. + optional bytes raw = 2; + + // ContentEncoding is encoding used to encode 'Raw' data. + // Unspecified means no encoding. + optional string contentEncoding = 3; + + // ContentType is serialization method used to serialize 'Raw'. + // Unspecified means ContentTypeJSON. + optional string contentType = 4; +} diff --git a/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.proto b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.proto new file mode 100644 index 00000000000..ed1c9300f8c --- /dev/null +++ b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.proto @@ -0,0 +1,28 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/runtime/schema/generated.proto +// with the go_package changed to a gloo path. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = "proto2"; + +package k8s.io.apimachinery.pkg.runtime.schema; + +// Package-wide variables from generator "generated". +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/schema"; diff --git a/projects/gateway2/api/external/kubernetes/apimachinery/pkg/util/intstr/generated.proto b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/util/intstr/generated.proto new file mode 100644 index 00000000000..919fa2284d6 --- /dev/null +++ b/projects/gateway2/api/external/kubernetes/apimachinery/pkg/util/intstr/generated.proto @@ -0,0 +1,45 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/util/intstr/generated.proto +// with the go_package changed to a gloo path. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = "proto2"; + +package k8s.io.apimachinery.pkg.util.intstr; + +// Package-wide variables from generator "generated". +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/util/intstr"; + +// IntOrString is a type that can hold an int32 or a string. When used in +// JSON or YAML marshalling and unmarshalling, it produces or consumes the +// inner type. This allows you to have, for example, a JSON field that can +// accept a name or number. +// TODO: Rename to Int32OrString +// +// +protobuf=true +// +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:openapi-gen=true +message IntOrString { + optional int64 type = 1; + + optional int32 intVal = 2; + + optional string strVal = 3; +} diff --git a/projects/gateway2/api/v1alpha1/gateway_parameters.proto b/projects/gateway2/api/v1alpha1/gateway_parameters.proto new file mode 100644 index 00000000000..d25b1c48a32 --- /dev/null +++ b/projects/gateway2/api/v1alpha1/gateway_parameters.proto @@ -0,0 +1,116 @@ +syntax = "proto3"; +package gateway.gloo.solo.io; +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1"; + +import "extproto/ext.proto"; +option (extproto.equal_all) = true; +option (extproto.hash_all) = true; + +import "github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/autoscaling.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/container.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/pod.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/service.proto"; + +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/api/core/v1/generated.proto"; +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.proto"; + +import "google/protobuf/wrappers.proto"; + +// A GatewayParameters contains configuration that is used to dynamically +// provision Gloo Gateway's data plane (Envoy proxy instance), based on a +// Kubernetes Gateway. +message GatewayParametersSpec { + // The type of environment/platform in which the proxy will be provisioned. + oneof environment_type { + // The proxy will be deployed on Kubernetes. + KubernetesProxyConfig kube = 1; + } +} + +// Configuration for the set of Kubernetes resources that will be provisioned +// for a given Gateway. +message KubernetesProxyConfig { + // The workload type of the proxy + oneof workload_type { + // Use a Kubernetes deployment as the proxy workload type. + ProxyDeployment deployment = 1; + } + + // Configuration for the container running Envoy. + EnvoyContainer envoy_container = 2; + + // Configuration for the pods that will be created. + kube.gateway.gloo.solo.io.Pod pod_template = 3; + + // Configuration for the Kubernetes Service that exposes the Envoy proxy over + // the network. + kube.gateway.gloo.solo.io.Service service = 4; + + // Autoscaling configuration. + kube.gateway.gloo.solo.io.Autoscaling autoscaling = 5; +} + +// Configuration for the Proxy deployment in Kubernetes. +message ProxyDeployment { + // The number of desired pods. Defaults to 1. + google.protobuf.UInt32Value replicas = 1; +} + +// Configuration for the container running Envoy. +message EnvoyContainer { + // Initial envoy configuration. + EnvoyBootstrap bootstrap = 1; + + // The envoy container image. See + // https://kubernetes.io/docs/concepts/containers/images + // for details. + // + // Default values, which may be overridden individually: + // registry: quay.io/solo-io + // repository: gloo-envoy-wrapper (OSS) / gloo-ee-envoy-wrapper (EE) + // tag: (OSS) / (EE) + // pullPolicy: IfNotPresent + kube.gateway.gloo.solo.io.Image image = 2; + + // The security context for this container. See + // https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#securitycontext-v1-core + // for details. + k8s.io.api.core.v1.SecurityContext security_context = 3; + + // The compute resources required by this container. See + // https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // for details. + kube.gateway.gloo.solo.io.ResourceRequirements resources = 4; +} + +// Configuration for the Envoy proxy instance that is provisioned from a +// Kubernetes Gateway. +message EnvoyBootstrap { + // Envoy log level. Options include "trace", "debug", "info", "warn", "error", + // "critical" and "off". Defaults to "info". See + // https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy + // for more information. + string log_level = 1; + + // Envoy log levels for specific components. The keys are component names and + // the values are one of "trace", "debug", "info", "warn", "error", + // "critical", or "off", e.g. + // ```yaml + // componentLogLevels: + // upstream: debug + // connection: trace + // ``` + // These will be converted to the `--component-log-level` Envoy argument + // value. See + // https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy + // for more information. + // + // Note: the keys and values cannot be empty, but they are not otherwise validated. + map component_log_levels = 2; +} + +message GatewayParametersStatus { + // The current conditions of the GatewayParameters. This is not currently + // implemented. + // repeated k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 1; +} diff --git a/projects/gateway2/api/v1alpha1/kube/autoscaling.proto b/projects/gateway2/api/v1alpha1/kube/autoscaling.proto new file mode 100644 index 00000000000..91320ccf693 --- /dev/null +++ b/projects/gateway2/api/v1alpha1/kube/autoscaling.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; +package kube.gateway.gloo.solo.io; +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube"; + +import "extproto/ext.proto"; +option (extproto.equal_all) = true; +option (extproto.hash_all) = true; + +import "google/protobuf/wrappers.proto"; + +// Kubernetes autoscaling configuration. +message Autoscaling { + // If set, a Kubernetes HorizontalPodAutoscaler will be created to scale the + // workload to match demand. See + // https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ + // for details. + HorizontalPodAutoscaler horizontal_pod_autoscaler = 1; +} + +// Horizontal pod autoscaling configuration. See +// https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ +// for details. +message HorizontalPodAutoscaler { + // The lower limit for the number of replicas to which the autoscaler can + // scale down. Defaults to 1. + google.protobuf.UInt32Value min_replicas = 1; + // The upper limit for the number of replicas to which the autoscaler can + // scale up. Cannot be less than `minReplicas`. Defaults to 100. + google.protobuf.UInt32Value max_replicas = 2; + // The target value of the average CPU utilization across all relevant pods, + // represented as a percentage of the requested value of the resource for the + // pods. Defaults to 80. + google.protobuf.UInt32Value target_cpu_utilization_percentage = 3; + // The target value of the average memory utilization across all relevant + // pods, represented as a percentage of the requested value of the resource + // for the pods. Defaults to 80. + google.protobuf.UInt32Value target_memory_utilization_percentage = 4; +} \ No newline at end of file diff --git a/projects/gateway2/api/v1alpha1/kube/container.proto b/projects/gateway2/api/v1alpha1/kube/container.proto new file mode 100644 index 00000000000..9300d6b2c7d --- /dev/null +++ b/projects/gateway2/api/v1alpha1/kube/container.proto @@ -0,0 +1,58 @@ +syntax = "proto3"; +package kube.gateway.gloo.solo.io; +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube"; + +import "extproto/ext.proto"; +option (extproto.equal_all) = true; +option (extproto.hash_all) = true; + +// A container image. See https://kubernetes.io/docs/concepts/containers/images +// for details. +message Image { + // The image registry. + string registry = 1; + // The image repository (name). + string repository = 2; + // The image tag. + string tag = 3; + // The hash digest of the image, e.g. `sha256:12345...` + string digest = 4; + // The image pull policy for the container. See + // https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + // for details. + PullPolicy pull_policy = 5; + + enum PullPolicy { + // The image pull policy will be defaulted based on the image tag or digest. + // See + // https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting + // for details. + Unspecified = 0; + // The image is pulled only if it is not already present locally. + // See + // https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + // for details. + IfNotPresent = 1; + // Every time the kubelet launches a container, the kubelet queries the + // container image registry to resolve the name to an image digest. See + // https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + // for details. + Always = 2; + // The kubelet does not try fetching the image. If the image is somehow + // already present locally, the kubelet attempts to start the container; + // otherwise, startup fails. See + // https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + // for details. + Never = 3; + } +} + +// Compute resources required by this container. See +// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +// for details. +message ResourceRequirements { + // The maximum amount of compute resources allowed. + map limits = 1; + // The minimum amount of compute resources required. + map requests = 2; +} diff --git a/projects/gateway2/api/v1alpha1/kube/pod.proto b/projects/gateway2/api/v1alpha1/kube/pod.proto new file mode 100644 index 00000000000..b5deb5c3557 --- /dev/null +++ b/projects/gateway2/api/v1alpha1/kube/pod.proto @@ -0,0 +1,44 @@ +syntax = "proto3"; +package kube.gateway.gloo.solo.io; +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube"; + +import "extproto/ext.proto"; +option (extproto.equal_all) = true; +option (extproto.hash_all) = true; + +import "github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/api/core/v1/generated.proto"; + +// Configuration for a Kubernetes Pod template. +message Pod { + // Additional labels to add to the Pod object metadata. + map extra_labels = 1; + + // Additional annotations to add to the Pod object metadata. + map extra_annotations = 2; + + // The pod security context. See + // https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#podsecuritycontext-v1-core + // for details. + k8s.io.api.core.v1.PodSecurityContext security_context = 3; + + // An optional list of references to secrets in the same namespace to use for + // pulling any of the images used by this Pod spec. See + // https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod + // for details. + repeated k8s.io.api.core.v1.LocalObjectReference image_pull_secrets = 4; + + // A selector which must be true for the pod to fit on a node. See + // https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ for + // details. + map node_selector = 5; + + // If specified, the pod's scheduling constraints. See + // https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#affinity-v1-core + // for details. + k8s.io.api.core.v1.Affinity affinity = 6; + + // If specified, the pod's tolerations. See + // https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#toleration-v1-core + // for details. + repeated k8s.io.api.core.v1.Toleration tolerations = 7; +} diff --git a/projects/gateway2/api/v1alpha1/kube/service.proto b/projects/gateway2/api/v1alpha1/kube/service.proto new file mode 100644 index 00000000000..b20902b0321 --- /dev/null +++ b/projects/gateway2/api/v1alpha1/kube/service.proto @@ -0,0 +1,45 @@ +syntax = "proto3"; +package kube.gateway.gloo.solo.io; +option go_package = "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube"; + +import "extproto/ext.proto"; +option (extproto.equal_all) = true; +option (extproto.hash_all) = true; + +// Configuration for a Kubernetes Service. +message Service { + // The Kubernetes Service type. + ServiceType type = 1; + + // The manually specified IP address of the service, if a randomly assigned + // IP is not desired. See + // https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address + // and + // https://kubernetes.io/docs/concepts/services-networking/service/#headless-services + // on the implications of setting `clusterIP`. + string clusterIP = 2; + + // Additional labels to add to the Service object metadata. + map extra_labels = 3; + + // Additional annotations to add to the Service object metadata. + map extra_annotations = 4; + + // Kubernetes Service type. If not specified, defaults to `ClusterIP`. + // See + // https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types + // for details on each service type. + // Currently, only ClusterIP and LoadBalancer are supported. + enum ServiceType { + // Exposes the Service on a cluster-internal IP. This is the default. + ClusterIP = 0; + + // Exposes the Service externally using an external load balancer. + LoadBalancer = 1; + + // Exposes the Service on each Node's IP at a static port. + // Not currently supported, see + // https://github.com/kubernetes-sigs/gateway-api/issues/2321 + // NodePort = 2; + } +} diff --git a/projects/gateway2/controller/controller.go b/projects/gateway2/controller/controller.go index 4fbceddbd6f..bc05df5c84c 100644 --- a/projects/gateway2/controller/controller.go +++ b/projects/gateway2/controller/controller.go @@ -6,17 +6,22 @@ import ( sologatewayv1 "github.com/solo-io/gloo/projects/gateway/pkg/api/v1/kube/apis/gateway.solo.io/v1" "github.com/solo-io/gloo/projects/gateway2/deployer" + "github.com/solo-io/gloo/projects/gateway2/extensions" + "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1" "github.com/solo-io/gloo/projects/gateway2/query" rtoptquery "github.com/solo-io/gloo/projects/gateway2/translator/plugins/routeoptions/query" + "github.com/solo-io/gloo/projects/gateway2/wellknown" "github.com/solo-io/gloo/projects/gloo/pkg/bootstrap" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/builder" "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/handler" "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/manager" "sigs.k8s.io/controller-runtime/pkg/predicate" @@ -25,6 +30,11 @@ import ( apiv1beta1 "sigs.k8s.io/gateway-api/apis/v1beta1" ) +const ( + // field name used for indexing + GatewayParamsField = "gateway-params" +) + type GatewayConfig struct { Mgr manager.Manager GWClass apiv1.ObjectName @@ -35,6 +45,8 @@ type GatewayConfig struct { ControlPlane bootstrap.ControlPlane IstioValues bootstrap.IstioValues + + Extensions extensions.K8sGatewayExtensions } func NewBaseGatewayController(ctx context.Context, cfg GatewayConfig) error { @@ -59,6 +71,7 @@ func NewBaseGatewayController(ctx context.Context, cfg GatewayConfig) error { controllerBuilder.watchRouteOptions, controllerBuilder.addIndexes, controllerBuilder.addRtOptIndexes, + controllerBuilder.addGwParamsIndexes, ) } @@ -84,6 +97,23 @@ func (c *controllerBuilder) addIndexes(ctx context.Context) error { }) } +func (c *controllerBuilder) addGwParamsIndexes(ctx context.Context) error { + return c.cfg.Mgr.GetFieldIndexer().IndexField(ctx, &apiv1.Gateway{}, GatewayParamsField, gatewayToParams) +} + +// gatewayToParams is an IndexerFunc that gets a GatewayParameters name from a Gateway +func gatewayToParams(obj client.Object) []string { + gw, ok := obj.(*apiv1.Gateway) + if !ok { + panic(fmt.Sprintf("wrong type %T provided to indexer. expected Gateway", obj)) + } + gwpName := gw.GetAnnotations()[wellknown.GatewayParametersAnnotationName] + if gwpName != "" { + return []string{gwpName} + } + return []string{} +} + // TODO: move to RtOpt plugin when breaking the logic to RouteOption-specific controller func (c *controllerBuilder) addRtOptIndexes(ctx context.Context) error { return rtoptquery.IterateIndices(func(obj client.Object, field string, indexer client.IndexerFunc) error { @@ -101,6 +131,7 @@ func (c *controllerBuilder) watchGw(ctx context.Context) error { Dev: c.cfg.Dev, IstioValues: c.cfg.IstioValues, ControlPlane: c.cfg.ControlPlane, + Extensions: c.cfg.Extensions, }) if err != nil { return err @@ -120,6 +151,27 @@ func (c *controllerBuilder) watchGw(ctx context.Context) error { return false }), predicate.GenerationChangedPredicate{})) + // watch for changes in GatewayParameters + cli := c.cfg.Mgr.GetClient() + buildr.Watches(&v1alpha1.GatewayParameters{}, handler.EnqueueRequestsFromMapFunc( + func(ctx context.Context, obj client.Object) []reconcile.Request { + gwpName := obj.GetName() + gwpNamespace := obj.GetNamespace() + // look up the Gateways that are using this GatewayParameters object + var gwList apiv1.GatewayList + err := cli.List(ctx, &gwList, client.InNamespace(gwpNamespace), client.MatchingFieldsSelector{Selector: fields.OneTermEqualSelector(GatewayParamsField, gwpName)}) + if err != nil { + log.Error(err, "could not list Gateways using GatewayParameters", "gwpNamespace", gwpNamespace, "gwpName", gwpName) + return []reconcile.Request{} + } + // reconcile each Gateway that is using this GatewayParameters object + var reqs []reconcile.Request + for _, gw := range gwList.Items { + reqs = append(reqs, reconcile.Request{NamespacedName: client.ObjectKey{Namespace: gw.Namespace, Name: gw.Name}}) + } + return reqs + })) + for _, gvk := range gvks { obj, err := c.cfg.Mgr.GetScheme().New(gvk) if err != nil { diff --git a/projects/gateway2/controller/controller_suite_test.go b/projects/gateway2/controller/controller_suite_test.go index 5ecc165d700..1cffe3e6ff0 100644 --- a/projects/gateway2/controller/controller_suite_test.go +++ b/projects/gateway2/controller/controller_suite_test.go @@ -13,6 +13,7 @@ import ( . "github.com/onsi/gomega" "github.com/solo-io/gloo/projects/gateway2/controller" "github.com/solo-io/gloo/projects/gateway2/controller/scheme" + "github.com/solo-io/gloo/projects/gateway2/extensions" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" @@ -96,12 +97,16 @@ var _ = BeforeSuite(func() { mgr.GetLogger().Info("starting manager", "kubeconfig", kubeconfig) var gatewayClassObjName api.ObjectName = api.ObjectName(gatewayClassName) + + exts, err := extensions.NewK8sGatewayExtensions(mgr) + Expect(err).ToNot(HaveOccurred()) cfg := controller.GatewayConfig{ Mgr: mgr, ControllerName: gatewayControllerName, GWClass: gatewayClassObjName, AutoProvision: true, Kick: func(ctx context.Context) { return }, + Extensions: exts, } err = controller.NewBaseGatewayController(ctx, cfg) Expect(err).ToNot(HaveOccurred()) diff --git a/projects/gateway2/controller/scheme/scheme.go b/projects/gateway2/controller/scheme/scheme.go index 9d1573e2d97..c9fe8ddbe7b 100644 --- a/projects/gateway2/controller/scheme/scheme.go +++ b/projects/gateway2/controller/scheme/scheme.go @@ -4,6 +4,7 @@ import ( "os" sologatewayv1 "github.com/solo-io/gloo/projects/gateway/pkg/api/v1/kube/apis/gateway.solo.io/v1" + sologatewayv1alpha1 "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" @@ -14,7 +15,7 @@ import ( func NewScheme() *runtime.Scheme { scheme := runtime.NewScheme() for _, f := range []func(*runtime.Scheme) error{ - apiv1.AddToScheme, apiv1beta1.AddToScheme, corev1.AddToScheme, appsv1.AddToScheme, sologatewayv1.AddToScheme, + apiv1.AddToScheme, apiv1beta1.AddToScheme, corev1.AddToScheme, appsv1.AddToScheme, sologatewayv1.AddToScheme, sologatewayv1alpha1.AddToScheme, } { if err := f(scheme); err != nil { os.Exit(1) diff --git a/projects/gateway2/controller/start.go b/projects/gateway2/controller/start.go index de0ca49c450..e5d2b056e6d 100644 --- a/projects/gateway2/controller/start.go +++ b/projects/gateway2/controller/start.go @@ -116,6 +116,7 @@ func Start(ctx context.Context, cfg StartConfig) error { ControlPlane: cfg.Opts.ControlPlane, IstioValues: cfg.Opts.GlooGateway.IstioValues, Kick: inputChannels.Kick, + Extensions: k8sGwExtensions, } if err = NewBaseGatewayController(ctx, gwCfg); err != nil { setupLog.Error(err, "unable to create controller") diff --git a/projects/gateway2/deployer/deployer.go b/projects/gateway2/deployer/deployer.go index 4484c2fdcc3..6756a2e1963 100644 --- a/projects/gateway2/deployer/deployer.go +++ b/projects/gateway2/deployer/deployer.go @@ -9,8 +9,12 @@ import ( "io/fs" "path/filepath" + "github.com/rotisserie/eris" "github.com/solo-io/gloo/pkg/version" + "github.com/solo-io/gloo/projects/gateway2/extensions" "github.com/solo-io/gloo/projects/gateway2/helm" + "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1" + "github.com/solo-io/gloo/projects/gateway2/wellknown" "github.com/solo-io/gloo/projects/gloo/pkg/bootstrap" "golang.org/x/exp/slices" "helm.sh/helm/v3/pkg/action" @@ -28,6 +32,17 @@ import ( api "sigs.k8s.io/gateway-api/apis/v1" ) +var ( + GetGatewayParametersError = eris.New("could not retrieve GatewayParameters") + getGatewayParametersError = func(err error, gwpNamespace string, gwpName string, gwNamespace string, gwName string) error { + wrapped := eris.Wrap(err, GetGatewayParametersError.Error()) + return eris.Wrapf(wrapped, "(%s.%s) for Gateway (%s.%s)", + gwpNamespace, gwpName, gwNamespace, gwName) + } + NilDeployerInputsErr = eris.New("nil inputs to NewDeployer") + NilK8sExtensionsErr = eris.New("nil K8sGatewayExtensions to NewDeployer") +) + // A Deployer is responsible for deploying proxies type Deployer struct { chart *chart.Chart @@ -42,10 +57,18 @@ type Inputs struct { Dev bool IstioValues bootstrap.IstioValues ControlPlane bootstrap.ControlPlane + Extensions extensions.K8sGatewayExtensions } // NewDeployer creates a new gateway deployer func NewDeployer(cli client.Client, inputs *Inputs) (*Deployer, error) { + if inputs == nil { + return nil, NilDeployerInputsErr + } + if inputs.Extensions == nil { + return nil, NilK8sExtensionsErr + } + helmChart, err := loadFs(helm.GlooGatewayHelmChart) if err != nil { return nil, err @@ -129,7 +152,33 @@ func (d *Deployer) renderChartToObjects(ctx context.Context, gw *api.Gateway, va return objs, nil } -func (d *Deployer) getValues(ctx context.Context, gw *api.Gateway) *helmConfig { +// Gets the GatewayParameters object (if any) associated with a given Gateway. +func (d *Deployer) getGatewayParametersForGateway(ctx context.Context, gw *api.Gateway) (*v1alpha1.GatewayParameters, error) { + logger := log.FromContext(ctx) + + // check for a gateway params annotation on the Gateway + gwpName := gw.GetAnnotations()[wellknown.GatewayParametersAnnotationName] + if gwpName == "" { + // there is no custom GatewayParameters; just use default values + logger.V(1).Info("no GatewayParameters found for Gateway", + "gatewayName", gw.GetName(), + "gatewayNamespace", gw.GetNamespace()) + return nil, nil + } + + // the GatewayParameters must live in the same namespace as the Gateway + gwpNamespace := gw.GetNamespace() + gwp := &v1alpha1.GatewayParameters{} + err := d.cli.Get(ctx, client.ObjectKey{Namespace: gwpNamespace, Name: gwpName}, gwp) + if err != nil { + return nil, getGatewayParametersError(err, gwpNamespace, gwpName, gw.GetNamespace(), gw.GetName()) + } + + return gwp, nil +} + +func (d *Deployer) getValues(ctx context.Context, gw *api.Gateway) (*helmConfig, error) { + // construct the default values vals := &helmConfig{ Gateway: &helmGateway{ Name: &gw.Name, @@ -141,14 +190,67 @@ func (d *Deployer) getValues(ctx context.Context, gw *api.Gateway) *helmConfig { Host: &d.inputs.ControlPlane.Kube.XdsHost, Port: &d.inputs.ControlPlane.Kube.XdsPort, }, - Image: getDeployerImageValues(ctx), + Image: getDefaultEnvoyImageValues(d.inputs.Extensions.GetEnvoyImage()), IstioSDS: &helmIstioSds{ Enabled: &d.inputs.IstioValues.SDSEnabled, }, }, } - return vals + // check if there is a GatewayParameters associated with this Gateway + gwp, err := d.getGatewayParametersForGateway(ctx, gw) + if err != nil { + return nil, err + } + // if there is no GatewayParameters, return the values as is + if gwp == nil { + return vals, nil + } + + // extract all the custom values from the GatewayParameters + // (note: if we add new fields to GatewayParameters, they will + // need to be plumbed through here as well) + kubeProxyConfig := gwp.Spec.GetKube() + deployConfig := kubeProxyConfig.GetDeployment() + podConfig := kubeProxyConfig.GetPodTemplate() + envoyContainerConfig := kubeProxyConfig.GetEnvoyContainer() + svcConfig := kubeProxyConfig.GetService() + + // deployment values + autoscalingVals := getAutoscalingValues(kubeProxyConfig.GetAutoscaling()) + vals.Gateway.Autoscaling = autoscalingVals + if autoscalingVals == nil && deployConfig.GetReplicas() != nil { + replicas := deployConfig.GetReplicas().GetValue() + vals.Gateway.ReplicaCount = &replicas + } + + // service values + vals.Gateway.Service = getServiceValues(svcConfig) + + // pod template values + vals.Gateway.ExtraPodAnnotations = podConfig.GetExtraAnnotations() + vals.Gateway.ExtraPodLabels = podConfig.GetExtraLabels() + vals.Gateway.ImagePullSecrets = podConfig.GetImagePullSecrets() + vals.Gateway.PodSecurityContext = podConfig.GetSecurityContext() + vals.Gateway.NodeSelector = podConfig.GetNodeSelector() + vals.Gateway.Affinity = podConfig.GetAffinity() + vals.Gateway.Tolerations = podConfig.GetTolerations() + + // envoy container values + logLevel := envoyContainerConfig.GetBootstrap().GetLogLevel() + compLogLevels := envoyContainerConfig.GetBootstrap().GetComponentLogLevels() + + vals.Gateway.LogLevel = &logLevel + compLogLevelStr, err := ComponentLogLevelsToString(compLogLevels) + if err != nil { + return nil, err + } + vals.Gateway.ComponentLogLevel = &compLogLevelStr + vals.Gateway.Resources = envoyContainerConfig.GetResources() + vals.Gateway.SecurityContext = envoyContainerConfig.GetSecurityContext() + vals.Gateway.Image = getMergedEnvoyImageValues(d.inputs.Extensions.GetEnvoyImage(), envoyContainerConfig.GetImage()) + + return vals, nil } func (d *Deployer) Render(ctx context.Context, name, ns string, vals map[string]any) ([]client.Object, error) { @@ -176,7 +278,10 @@ func (d *Deployer) Render(ctx context.Context, name, ns string, vals map[string] func (d *Deployer) GetObjsToDeploy(ctx context.Context, gw *api.Gateway) ([]client.Object, error) { logger := log.FromContext(ctx) - vals := d.getValues(ctx, gw) + vals, err := d.getValues(ctx, gw) + if err != nil { + return nil, fmt.Errorf("failed to get values to render objects for gateway %s.%s: %w", gw.GetNamespace(), gw.GetName(), err) + } logger.V(1).Info("got deployer helm values", "gatewayName", gw.GetName(), "gatewayNamespace", gw.GetNamespace(), @@ -184,7 +289,7 @@ func (d *Deployer) GetObjsToDeploy(ctx context.Context, gw *api.Gateway) ([]clie // convert to json for helm (otherwise go template fails, as the field names are uppercase) var convertedVals map[string]any - err := jsonConvert(vals, &convertedVals) + err = jsonConvert(vals, &convertedVals) if err != nil { return nil, fmt.Errorf("failed to convert helm values for gateway %s.%s: %w", gw.GetNamespace(), gw.GetName(), err) } diff --git a/projects/gateway2/deployer/deployer_test.go b/projects/gateway2/deployer/deployer_test.go index 2e7082e23e9..ba4699ffd93 100644 --- a/projects/gateway2/deployer/deployer_test.go +++ b/projects/gateway2/deployer/deployer_test.go @@ -2,50 +2,115 @@ package deployer_test import ( "context" - "encoding/json" + "fmt" + envoy_config_bootstrap "github.com/envoyproxy/go-control-plane/envoy/config/bootstrap/v3" + _ "github.com/envoyproxy/go-control-plane/envoy/extensions/upstreams/http/v3" + "github.com/golang/protobuf/ptypes/wrappers" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "github.com/solo-io/gloo/pkg/version" "github.com/solo-io/gloo/projects/gateway2/controller/scheme" "github.com/solo-io/gloo/projects/gateway2/deployer" + "github.com/solo-io/gloo/projects/gateway2/extensions" + v1 "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/api/core/v1" + gw2_v1alpha1 "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1" + "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube" "github.com/solo-io/gloo/projects/gateway2/wellknown" "github.com/solo-io/gloo/projects/gloo/pkg/bootstrap" + "github.com/solo-io/solo-kit/pkg/api/v1/resources/core" + "github.com/solo-io/solo-kit/pkg/utils/protoutils" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/yaml" + "k8s.io/client-go/rest" + ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/client/fake" api "sigs.k8s.io/gateway-api/apis/v1" ) -func convertUnstructured[T any](f client.Object) T { - jsonBytes, err := json.Marshal(f) - if err != nil { - panic(err) - } +// testBootstrap implements resources.Resource in order to use protoutils.UnmarshalYAML +// this is hacky but it seems more stable/concise than map-casting all the way down +// to the field we need. +type testBootstrap struct { + envoy_config_bootstrap.Bootstrap +} + +func (t *testBootstrap) SetMetadata(meta *core.Metadata) { + return +} + +func (t *testBootstrap) Equal(_ any) bool { + return false +} +func (t *testBootstrap) GetMetadata() *core.Metadata { + return nil +} - // Create an empty ClusterRole object - var ret T +type clientObjects []client.Object - // Unmarshal the JSON into the ClusterRole object - if err := json.Unmarshal(jsonBytes, &ret); err != nil { - panic(err) +func (objs *clientObjects) findDeployment(namespace, name string) *appsv1.Deployment { + for _, obj := range *objs { + if dep, ok := obj.(*appsv1.Deployment); ok { + if dep.Name == name && dep.Namespace == namespace { + return dep + } + } + } + return nil +} +func (objs *clientObjects) findServiceAccount(namespace, name string) *corev1.ServiceAccount { + for _, obj := range *objs { + if sa, ok := obj.(*corev1.ServiceAccount); ok { + if sa.Name == name && sa.Namespace == namespace { + return sa + } + } + } + return nil +} +func (objs *clientObjects) findService(namespace, name string) *corev1.Service { + for _, obj := range *objs { + if svc, ok := obj.(*corev1.Service); ok { + if svc.Name == name && svc.Namespace == namespace { + return svc + } + } + } + return nil +} +func (objs *clientObjects) findConfigMap(namespace, name string) *corev1.ConfigMap { + for _, obj := range *objs { + if cm, ok := obj.(*corev1.ConfigMap); ok { + if cm.Name == name && cm.Namespace == namespace { + return cm + } + } } - return ret + return nil +} + +func (objs *clientObjects) getEnvoyConfig(namespace, name string) *testBootstrap { + cm := objs.findConfigMap(namespace, name).Data + var bootstrapCfg testBootstrap + err := protoutils.UnmarshalYAML([]byte(cm["envoy.yaml"]), &bootstrapCfg) + ExpectWithOffset(1, err).ToNot(HaveOccurred()) + return &bootstrapCfg } var _ = Describe("Deployer", func() { + const ( + defaultNamespace = "default" + ) var ( d *deployer.Deployer - gwc *api.GatewayClass + gwc *api.GatewayClass + k8sGatewayExt extensions.K8sGatewayExtensions ) - BeforeEach(func() { - var err error - gwc = &api.GatewayClass{ ObjectMeta: metav1.ObjectMeta{ Name: wellknown.GatewayClassName, @@ -54,377 +119,551 @@ var _ = Describe("Deployer", func() { ControllerName: wellknown.GatewayControllerName, }, } - d, err = deployer.NewDeployer(newFakeClientWithObjs(gwc), &deployer.Inputs{ - ControllerName: wellknown.GatewayControllerName, - Dev: false, - ControlPlane: bootstrap.ControlPlane{ - Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, - }, - }) + mgr, err := ctrl.NewManager(&rest.Config{}, ctrl.Options{}) Expect(err).NotTo(HaveOccurred()) - }) - - It("should render the correct deployment when sds is enabled", func() { - inputs := &deployer.Inputs{ - Dev: false, - ControllerName: "foo", - IstioValues: bootstrap.IstioValues{ - SDSEnabled: true, - }, - ControlPlane: bootstrap.ControlPlane{ - Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, - }, - } - d, err := deployer.NewDeployer(newFakeClientWithObjs(gwc), inputs) - Expect(err).ToNot(HaveOccurred(), "failed to create deployer with EnableAutoMtls and SdsEnabled") - - // Create a Gateway - gw := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "foo", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - Spec: api.GatewaySpec{ - GatewayClassName: wellknown.GatewayClassName, - Listeners: []api.Listener{ - { - Name: "listener-1", - Port: 80, - }, - }, - }, - } - objs, err := d.GetObjsToDeploy(context.Background(), gw) + k8sGatewayExt, err = extensions.NewK8sGatewayExtensions(mgr) Expect(err).NotTo(HaveOccurred()) - Expect(objs).NotTo(BeEmpty()) - // check that there are three containers in the deployment (istio-proxy, sds and gloo-proxy) - dep := func() *appsv1.Deployment { - for _, obj := range objs { - if dep, ok := obj.(*appsv1.Deployment); ok { - return dep - } - } - return nil - }() - Expect(dep).NotTo(BeNil()) - Expect(dep.Spec.Template.Spec.Containers).To(HaveLen(3)) }) + Context("special cases", func() { + BeforeEach(func() { + var err error - It("should get gvks", func() { - gvks, err := d.GetGvksToWatch(context.Background()) - Expect(err).NotTo(HaveOccurred()) - Expect(gvks).NotTo(BeEmpty()) - }) + d, err = deployer.NewDeployer(newFakeClientWithObjs(gwc), &deployer.Inputs{ + ControllerName: wellknown.GatewayControllerName, + Dev: false, + ControlPlane: bootstrap.ControlPlane{ + Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, + }, + Extensions: k8sGatewayExt, + }) + Expect(err).NotTo(HaveOccurred()) + }) - It("should not fail with no ports", func() { - gw := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "foo", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - } + It("should get gvks", func() { + gvks, err := d.GetGvksToWatch(context.Background()) + Expect(err).NotTo(HaveOccurred()) + Expect(gvks).NotTo(BeEmpty()) + }) - objs, err := d.GetObjsToDeploy(context.Background(), gw) + It("support segmenting by release", func() { + mgr, err := ctrl.NewManager(&rest.Config{}, ctrl.Options{}) + Expect(err).NotTo(HaveOccurred()) + k8sGatewayExt, err := extensions.NewK8sGatewayExtensions(mgr) + Expect(err).NotTo(HaveOccurred()) - Expect(err).NotTo(HaveOccurred()) - Expect(objs).NotTo(BeEmpty()) - }) + d1, err := deployer.NewDeployer(newFakeClientWithObjs(gwc), &deployer.Inputs{ + ControllerName: wellknown.GatewayControllerName, + Dev: false, + ControlPlane: bootstrap.ControlPlane{ + Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, + }, + Extensions: k8sGatewayExt, + }) + Expect(err).NotTo(HaveOccurred()) - It("should work with port offset", func() { - gw := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "foo", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - Spec: api.GatewaySpec{ - Listeners: []api.Listener{ - { - Name: "listener-1", - Port: 80, - }, + d2, err := deployer.NewDeployer(newFakeClientWithObjs(gwc), &deployer.Inputs{ + ControllerName: wellknown.GatewayControllerName, + Dev: false, + ControlPlane: bootstrap.ControlPlane{ + Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, }, - }, - } - objs, err := d.GetObjsToDeploy(context.Background(), gw) + Extensions: k8sGatewayExt, + }) + Expect(err).NotTo(HaveOccurred()) + + gw1 := &api.Gateway{ + ObjectMeta: metav1.ObjectMeta{ + Name: "foo", + Namespace: "default", + UID: "1235", + }, + TypeMeta: metav1.TypeMeta{ + Kind: "Gateway", + APIVersion: "gateway.solo.io/v1beta1", + }, + Spec: api.GatewaySpec{ + GatewayClassName: wellknown.GatewayClassName, + }, + } - Expect(err).NotTo(HaveOccurred()) - Expect(objs).NotTo(BeEmpty()) + gw2 := &api.Gateway{ + ObjectMeta: metav1.ObjectMeta{ + Name: "bar", + Namespace: "default", + UID: "1235", + }, + TypeMeta: metav1.TypeMeta{ + Kind: "Gateway", + APIVersion: "gateway.solo.io/v1beta1", + }, + Spec: api.GatewaySpec{ + GatewayClassName: wellknown.GatewayClassName, + }, + } - svc := func() *corev1.Service { - for _, obj := range objs { - if svc, ok := obj.(*corev1.Service); ok { - return svc - } + proxyName := func(name string) string { + return fmt.Sprintf("gloo-proxy-%s", name) + } + var objs1, objs2 clientObjects + objs1, err = d1.GetObjsToDeploy(context.Background(), gw1) + Expect(err).NotTo(HaveOccurred()) + Expect(objs1).NotTo(BeEmpty()) + Expect(objs1.findDeployment(defaultNamespace, proxyName(gw1.Name))).ToNot(BeNil()) + Expect(objs1.findService(defaultNamespace, proxyName(gw1.Name))).ToNot(BeNil()) + Expect(objs1.findConfigMap(defaultNamespace, proxyName(gw1.Name))).ToNot(BeNil()) + // Expect(objs1.findServiceAccount("default")).ToNot(BeNil()) + objs2, err = d2.GetObjsToDeploy(context.Background(), gw2) + Expect(err).NotTo(HaveOccurred()) + Expect(objs2).NotTo(BeEmpty()) + Expect(objs2.findDeployment(defaultNamespace, proxyName(gw2.Name))).ToNot(BeNil()) + Expect(objs2.findService(defaultNamespace, proxyName(gw2.Name))).ToNot(BeNil()) + Expect(objs2.findConfigMap(defaultNamespace, proxyName(gw2.Name))).ToNot(BeNil()) + // Expect(objs2.findServiceAccount("default")).ToNot(BeNil()) + + for _, obj := range objs1 { + Expect(obj.GetName()).To(Equal("gloo-proxy-foo")) + } + for _, obj := range objs2 { + Expect(obj.GetName()).To(Equal("gloo-proxy-bar")) } - return nil - }() - Expect(svc).NotTo(BeNil()) - port := svc.Spec.Ports[0] - Expect(port.Port).To(Equal(int32(80))) - Expect(port.TargetPort.IntVal).To(Equal(int32(8080))) + }) }) - It("should work with multiple duplicate ports", func() { - version.Version = "testversion" - gw := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "foo", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - Spec: api.GatewaySpec{ - Listeners: []api.Listener{ - { - Name: "listener-1", - Port: 80, - }, - { - Name: "listener-2", - Port: 80, - }, - }, - }, + Context("Single gwc and gw", func() { + type input struct { + dInputs *deployer.Inputs + gw *api.Gateway + gwp *gw2_v1alpha1.GatewayParameters + arbitrarySetup func() } - objs, err := d.GetObjsToDeploy(context.Background(), gw) - Expect(err).NotTo(HaveOccurred()) - Expect(objs).NotTo(BeEmpty()) + type expectedOutput struct { + getObjsErr error + newDeployerErr error + validationFunc func(objs clientObjects, inp *input) error + } - svc := func() *corev1.Service { - for _, obj := range objs { - if svc, ok := obj.(*corev1.Service); ok { - return svc + var ( + defaultGwpName = "default-gateway-params" + defaultDeployerInputs = func() *deployer.Inputs { + mgr, err := ctrl.NewManager(&rest.Config{}, ctrl.Options{}) + Expect(err).NotTo(HaveOccurred()) + k8sGatewayExt, err := extensions.NewK8sGatewayExtensions(mgr) + Expect(err).NotTo(HaveOccurred()) + return &deployer.Inputs{ + ControllerName: wellknown.GatewayControllerName, + Dev: false, + ControlPlane: bootstrap.ControlPlane{ + Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, + }, + Extensions: k8sGatewayExt, } } - return nil - }() - Expect(svc).NotTo(BeNil()) - - Expect(svc.Spec.Ports).To(HaveLen(1)) - port := svc.Spec.Ports[0] - Expect(port.Port).To(Equal(int32(80))) - Expect(port.TargetPort.IntVal).To(Equal(int32(8080))) - }) + defaultDeployerInputsWithSds = func() *deployer.Inputs { + inp := defaultDeployerInputs() + inp.IstioValues.SDSEnabled = true - It("should propagate version.Version to get deployment", func() { - version.Version = "testversion" - d, err := deployer.NewDeployer(newFakeClientWithObjs(gwc), &deployer.Inputs{ - ControllerName: wellknown.GatewayControllerName, - Dev: false, - ControlPlane: bootstrap.ControlPlane{ - Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, - }, - }) - Expect(err).NotTo(HaveOccurred()) - gw := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "foo", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - Spec: api.GatewaySpec{ - Listeners: []api.Listener{ - { - Name: "listener-1", - Port: 80, + return inp + } + defaultGateway = func() *api.Gateway { + return &api.Gateway{ + ObjectMeta: metav1.ObjectMeta{ + Name: "foo", + Namespace: defaultNamespace, + UID: "1235", + }, + TypeMeta: metav1.TypeMeta{ + Kind: "Gateway", + APIVersion: "gateway.solo.io/v1beta1", + }, + Spec: api.GatewaySpec{ + GatewayClassName: wellknown.GatewayClassName, + Listeners: []api.Listener{ + { + Name: "listener-1", + Port: 80, + }, + }, }, - }, - }, - } - objs, err := d.GetObjsToDeploy(context.Background(), gw) - - Expect(err).NotTo(HaveOccurred()) - Expect(objs).NotTo(BeEmpty()) - - dep := func() *appsv1.Deployment { - for _, obj := range objs { - if dep, ok := obj.(*appsv1.Deployment); ok { - return dep } } - return nil - }() - Expect(dep).NotTo(BeNil()) - Expect(dep.Spec.Template.Spec.Containers).NotTo(BeEmpty()) - for _, c := range dep.Spec.Template.Spec.Containers { - Expect(c.Image).To(HaveSuffix(":testversion")) - } - }) - - It("should get objects with owner refs", func() { - gw := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "foo", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - Spec: api.GatewaySpec{ - Listeners: []api.Listener{ - { - Name: "listener-1", - Port: 8080, + defaultGatewayParams = func() *gw2_v1alpha1.GatewayParameters { + return &gw2_v1alpha1.GatewayParameters{ + TypeMeta: metav1.TypeMeta{ + Kind: gw2_v1alpha1.GatewayParametersGVK.Kind, + // The parsing expects GROUP/VERSION format in this field + APIVersion: fmt.Sprintf("%s/%s", gw2_v1alpha1.GatewayParametersGVK.Group, gw2_v1alpha1.GatewayParametersGVK.Version), }, - }, - }, - } - - objs, err := d.GetObjsToDeploy(context.Background(), gw) - - Expect(err).NotTo(HaveOccurred()) - Expect(objs).NotTo(BeEmpty()) - - for _, obj := range objs { - ownerRefs := obj.GetOwnerReferences() - Expect(ownerRefs).To(HaveLen(1)) - Expect(ownerRefs[0].Name).To(Equal(gw.Name)) - Expect(ownerRefs[0].UID).To(Equal(gw.UID)) - Expect(ownerRefs[0].Kind).To(Equal(gw.Kind)) - Expect(ownerRefs[0].APIVersion).To(Equal(gw.APIVersion)) - Expect(*ownerRefs[0].Controller).To(BeTrue()) - } - }) - - It("should config map with valid envoy yaml", func() { - gw := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "foo", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - } - - objs, err := d.GetObjsToDeploy(context.Background(), gw) - - Expect(err).NotTo(HaveOccurred()) - Expect(objs).NotTo(BeEmpty()) - - envoyYaml := getEnvoyConfig(objs) - Expect(envoyYaml).NotTo(BeEmpty()) - - // make sure it's valid yaml - var envoyConfig map[string]any - - err = yaml.Unmarshal([]byte(envoyYaml), &envoyConfig) - Expect(err).NotTo(HaveOccurred(), "envoy config is not valid yaml: %s", envoyYaml) - - // make sure the envoy node metadata looks right - node := envoyConfig["node"].(map[string]any) - Expect(node).To(HaveKeyWithValue("metadata", map[string]any{ - "gateway": map[string]any{ - "name": gw.Name, - "namespace": gw.Namespace, - }, - })) - - }) - - It("support segmenting by release", func() { - d1, err := deployer.NewDeployer(newFakeClientWithObjs(gwc), &deployer.Inputs{ - ControllerName: wellknown.GatewayControllerName, - Dev: false, - ControlPlane: bootstrap.ControlPlane{ - Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, - }, - }) - Expect(err).NotTo(HaveOccurred()) + ObjectMeta: metav1.ObjectMeta{ + Name: defaultGwpName, + Namespace: defaultNamespace, + UID: "1236", + }, + Spec: gw2_v1alpha1.GatewayParametersSpec{ + EnvironmentType: &gw2_v1alpha1.GatewayParametersSpec_Kube{ + Kube: &gw2_v1alpha1.KubernetesProxyConfig{ + WorkloadType: &gw2_v1alpha1.KubernetesProxyConfig_Deployment{ + Deployment: &gw2_v1alpha1.ProxyDeployment{ + Replicas: &wrappers.UInt32Value{Value: 3}, + }, + }, + EnvoyContainer: &gw2_v1alpha1.EnvoyContainer{ + Bootstrap: &gw2_v1alpha1.EnvoyBootstrap{ + LogLevel: "debug", + ComponentLogLevels: map[string]string{ + "router": "info", + "listener": "warn", + }, + }, + Image: &kube.Image{ + Registry: "foo", + Repository: "bar", + Tag: "bat", + PullPolicy: kube.Image_Always, + }, + }, + PodTemplate: &kube.Pod{ + ExtraAnnotations: map[string]string{ + "foo": "bar", + }, + SecurityContext: &v1.PodSecurityContext{ + RunAsUser: func() *int64 { var i int64 = 1; return &i }(), + RunAsGroup: func() *int64 { var i int64 = 2; return &i }(), + }, + }, + Service: &kube.Service{ + Type: kube.Service_ClusterIP, + ClusterIP: "99.99.99.99", + ExtraAnnotations: map[string]string{ + "foo": "bar", + }, + }, + }, + }, + }, + } + } + defaultGatewayWithGatewayParams = func(gwpName string) *api.Gateway { + gw := defaultGateway() + gw.Annotations = map[string]string{ + wellknown.GatewayParametersAnnotationName: gwpName, + } - d2, err := deployer.NewDeployer(newFakeClientWithObjs(gwc), &deployer.Inputs{ - ControllerName: wellknown.GatewayControllerName, - Dev: false, - ControlPlane: bootstrap.ControlPlane{ - Kube: bootstrap.KubernetesControlPlaneConfig{XdsHost: "something.cluster.local", XdsPort: 1234}, - }, - }) - Expect(err).NotTo(HaveOccurred()) + return gw + } + defaultInput = func() *input { + return &input{ + dInputs: defaultDeployerInputs(), + gw: defaultGateway(), + gwp: defaultGatewayParams(), + } + } + defaultDeploymentName = fmt.Sprintf("gloo-proxy-%s", defaultGateway().Name) + defaultConfigMapName = defaultDeploymentName + defaultServiceName = defaultDeploymentName + defaultServiceAccountName = defaultDeploymentName + ) + DescribeTable("create and validate objs", func(inp *input, expected *expectedOutput) { + checkErr := func(err, expectedErr error) (shouldReturn bool) { + if expectedErr != nil { + Expect(err).To(MatchError(expectedErr)) + return true + } + Expect(err).NotTo(HaveOccurred()) + return false + } - gw1 := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "foo", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - } + // run break-glass setup + if inp.arbitrarySetup != nil { + inp.arbitrarySetup() + } - gw2 := &api.Gateway{ - ObjectMeta: metav1.ObjectMeta{ - Name: "bar", - Namespace: "default", - UID: "1235", - }, - TypeMeta: metav1.TypeMeta{ - Kind: "Gateway", - APIVersion: "gateway.solo.io/v1beta1", - }, - } + // Catch a nil gwp so the fake client doesn't choke on the nil obj + gwp := inp.gwp + if gwp == nil { + gwp = &gw2_v1alpha1.GatewayParameters{} + } - objs1, err := d1.GetObjsToDeploy(context.Background(), gw1) - Expect(err).NotTo(HaveOccurred()) - Expect(objs1).NotTo(BeEmpty()) - objs2, err := d2.GetObjsToDeploy(context.Background(), gw2) - Expect(err).NotTo(HaveOccurred()) - Expect(objs2).NotTo(BeEmpty()) + d, err := deployer.NewDeployer(newFakeClientWithObjs(gwc, gwp), inp.dInputs) + if checkErr(err, expected.newDeployerErr) { + return + } - for _, obj := range objs1 { - Expect(obj.GetName()).To(Equal("gloo-proxy-foo")) - } - for _, obj := range objs2 { - Expect(obj.GetName()).To(Equal("gloo-proxy-bar")) - } + objs, err := d.GetObjsToDeploy(context.Background(), inp.gw) + if checkErr(err, expected.getObjsErr) { + return + } + // handle custom test validation func + Expect(expected.validationFunc(objs, inp)).NotTo(HaveOccurred()) + }, + Entry("No GatewayParameters", &input{ + dInputs: defaultDeployerInputs(), + gw: defaultGateway(), + }, &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + Expect(objs).NotTo(BeEmpty()) + // Check we have Deployment, ConfigMap, ServiceAccount, Service + Expect(objs).To(HaveLen(4)) + cm := objs.findConfigMap(defaultNamespace, defaultConfigMapName) + Expect(cm).ToNot(BeNil()) + + dep := objs.findDeployment(defaultNamespace, defaultDeploymentName) + Expect(dep).ToNot(BeNil()) + Expect(dep.Spec.Replicas).ToNot(BeNil()) + Expect(*dep.Spec.Replicas).To(Equal(int32(1))) + gatewayContainer := dep.Spec.Template.Spec.Containers[0] + Expect(gatewayContainer.Name).To(Equal("gloo-gateway")) + Expect(gatewayContainer.Ports).To(ContainElement(HaveField("Name", "readiness"))) + for _, port := range gatewayContainer.Ports { + if port.Name == "readiness" { + // default from values.yaml + Expect(port.ContainerPort).To(Equal(int32(8082))) + } + } + Expect(gatewayContainer.Image).To(ContainSubstring("quay.io/solo-io/gloo-envoy-wrapper")) + + svc := objs.findService(defaultNamespace, defaultServiceName) + Expect(svc).ToNot(BeNil()) + + sa := objs.findServiceAccount(defaultNamespace, defaultServiceAccountName) + Expect(sa).ToNot(BeNil()) + + return nil + }, + }), + Entry("GatewayParameters overrides", &input{ + dInputs: defaultDeployerInputs(), + gw: defaultGatewayWithGatewayParams(defaultGwpName), + gwp: defaultGatewayParams(), + }, &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + Expect(objs).NotTo(BeEmpty()) + // Check we have Deployment, ConfigMap, ServiceAccount, Service + Expect(objs).To(HaveLen(4)) + dep := objs.findDeployment(defaultNamespace, defaultDeploymentName) + Expect(dep).ToNot(BeNil()) + Expect(dep.Spec.Replicas).ToNot(BeNil()) + Expect(*dep.Spec.Replicas).To(Equal(int32(inp.gwp.Spec.GetKube().GetDeployment().Replicas.GetValue()))) + Expect(dep.Spec.Template.Spec.Containers[0].Image).To(Equal("foo/bar:bat")) + Expect(string(dep.Spec.Template.Spec.Containers[0].ImagePullPolicy)).To(Equal(inp.gwp.Spec.GetKube().GetEnvoyContainer().GetImage().GetPullPolicy().String())) + Expect(dep.Spec.Template.Annotations["foo"]).To(Equal("bar")) + Expect(*dep.Spec.Template.Spec.SecurityContext.RunAsUser).To(Equal(inp.gwp.Spec.GetKube().GetPodTemplate().GetSecurityContext().GetRunAsUser())) + Expect(*dep.Spec.Template.Spec.SecurityContext.RunAsGroup).To(Equal(inp.gwp.Spec.GetKube().GetPodTemplate().GetSecurityContext().GetRunAsGroup())) + + svc := objs.findService(defaultNamespace, defaultServiceName) + Expect(svc).ToNot(BeNil()) + Expect(svc.GetAnnotations()).ToNot(BeNil()) + Expect(svc.Annotations["foo"]).To(Equal("bar")) + Expect(string(svc.Spec.Type)).To(Equal(inp.gwp.Spec.GetKube().GetService().GetType().String())) + Expect(svc.Spec.ClusterIP).To(Equal(inp.gwp.Spec.GetKube().GetService().GetClusterIP())) + + sa := objs.findServiceAccount(defaultNamespace, defaultServiceAccountName) + Expect(sa).ToNot(BeNil()) + + cm := objs.findConfigMap(defaultNamespace, defaultConfigMapName) + Expect(cm).ToNot(BeNil()) + Expect(objs.findDeployment(defaultNamespace, defaultDeploymentName).Spec.Template.Spec.Containers[0].Args).To(ContainElements( + "--log-level", + inp.gwp.Spec.GetKube().GetEnvoyContainer().GetBootstrap().GetLogLevel(), + "--component-log-level", + "listener:warn,router:info", + )) + return nil + }, + }), + Entry("correct deployment with sds enabled", &input{ + dInputs: defaultDeployerInputsWithSds(), + gw: defaultGateway(), + gwp: defaultGatewayParams(), + }, &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + containers := objs.findDeployment(defaultNamespace, defaultDeploymentName).Spec.Template.Spec.Containers + Expect(containers).To(HaveLen(3)) + foundGw, foundSds, foundIstioProxy := false, false, false + for _, container := range containers { + switch container.Name { + case "sds": + foundSds = true + case "istio-proxy": + foundIstioProxy = true + case "gloo-gateway": + foundGw = true + default: + Fail("unknown container name " + container.Name) + } + + } + Expect(foundGw).To(BeTrue()) + Expect(foundSds).To(BeTrue()) + Expect(foundIstioProxy).To(BeTrue()) + + bootstrapCfg := objs.getEnvoyConfig(defaultNamespace, defaultConfigMapName) + clusters := bootstrapCfg.GetStaticResources().GetClusters() + Expect(clusters).ToNot(BeNil()) + Expect(clusters).To(ContainElement(HaveField("Name", "gateway_proxy_sds"))) + + return nil + }, + }), + Entry("no listeners on gateway", &input{ + dInputs: defaultDeployerInputs(), + gw: &api.Gateway{ + ObjectMeta: metav1.ObjectMeta{ + Name: "foo", + Namespace: defaultNamespace, + UID: "1235", + }, + TypeMeta: metav1.TypeMeta{ + Kind: "Gateway", + APIVersion: "gateway.solo.io/v1beta1", + }, + Spec: api.GatewaySpec{ + GatewayClassName: "gloo-gateway", + }, + }, + gwp: defaultGatewayParams(), + }, &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + Expect(objs).NotTo(BeEmpty()) + return nil + }, + }), + Entry("port offset", defaultInput(), &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + svc := objs.findService(defaultNamespace, defaultServiceName) + Expect(svc).NotTo(BeNil()) + + port := svc.Spec.Ports[0] + Expect(port.Port).To(Equal(int32(80))) + Expect(port.TargetPort.IntVal).To(Equal(int32(8080))) + return nil + }, + }), + Entry("duplicate ports", &input{ + dInputs: defaultDeployerInputs(), + gw: &api.Gateway{ + ObjectMeta: metav1.ObjectMeta{ + Name: "foo", + Namespace: defaultNamespace, + UID: "1235", + }, + TypeMeta: metav1.TypeMeta{ + Kind: "Gateway", + APIVersion: "gateway.solo.io/v1beta1", + }, + Spec: api.GatewaySpec{ + GatewayClassName: "gloo-gateway", + Listeners: []api.Listener{ + { + Name: "listener-1", + Port: 80, + }, + { + Name: "listener-2", + Port: 80, + }, + }, + }, + }, + gwp: defaultGatewayParams(), + }, &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + svc := objs.findService(defaultNamespace, defaultServiceName) + Expect(svc).NotTo(BeNil()) + + Expect(svc.Spec.Ports).To(HaveLen(1)) + port := svc.Spec.Ports[0] + Expect(port.Port).To(Equal(int32(80))) + Expect(port.TargetPort.IntVal).To(Equal(int32(8080))) + return nil + }, + }), + Entry("propagates version.Version to deployment", &input{ + dInputs: defaultDeployerInputs(), + gw: defaultGateway(), + arbitrarySetup: func() { version.Version = "testversion" }, + gwp: defaultGatewayParams(), + }, &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + dep := objs.findDeployment(defaultNamespace, defaultDeploymentName) + Expect(dep).NotTo(BeNil()) + Expect(dep.Spec.Template.Spec.Containers).NotTo(BeEmpty()) + for _, c := range dep.Spec.Template.Spec.Containers { + Expect(c.Image).To(HaveSuffix(":testversion")) + } + return nil + }, + }), + Entry("object owner refs are set", defaultInput(), &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + Expect(objs).NotTo(BeEmpty()) + + gw := defaultGateway() + + for _, obj := range objs { + ownerRefs := obj.GetOwnerReferences() + Expect(ownerRefs).To(HaveLen(1)) + Expect(ownerRefs[0].Name).To(Equal(gw.Name)) + Expect(ownerRefs[0].UID).To(Equal(gw.UID)) + Expect(ownerRefs[0].Kind).To(Equal(gw.Kind)) + Expect(ownerRefs[0].APIVersion).To(Equal(gw.APIVersion)) + Expect(*ownerRefs[0].Controller).To(BeTrue()) + } + return nil + }, + }), + Entry("envoy yaml is valid", defaultInput(), &expectedOutput{ + validationFunc: func(objs clientObjects, inp *input) error { + gw := defaultGateway() + Expect(objs).NotTo(BeEmpty()) + + cm := objs.findConfigMap(defaultNamespace, defaultConfigMapName) + Expect(cm).NotTo(BeNil()) + + envoyYaml := cm.Data["envoy.yaml"] + Expect(envoyYaml).NotTo(BeEmpty()) + + // make sure it's valid yaml + var envoyConfig map[string]any + err := yaml.Unmarshal([]byte(envoyYaml), &envoyConfig) + Expect(err).NotTo(HaveOccurred(), "envoy config is not valid yaml: %s", envoyYaml) + + // make sure the envoy node metadata looks right + node := envoyConfig["node"].(map[string]any) + Expect(node).To(HaveKeyWithValue("metadata", map[string]any{ + "gateway": map[string]any{ + "name": gw.Name, + "namespace": gw.Namespace, + }, + })) + return nil + }, + }), + Entry("failed to get GatewayParameters", &input{ + dInputs: defaultDeployerInputs(), + gw: defaultGatewayWithGatewayParams("bad-gwp"), + }, &expectedOutput{ + getObjsErr: deployer.GetGatewayParametersError, + }), + Entry("nil inputs to NewDeployer", &input{ + dInputs: nil, + gw: defaultGateway(), + }, &expectedOutput{ + newDeployerErr: deployer.NilDeployerInputsErr, + }), + Entry("nil K8sGatewayExtensions input to NewDeployer", &input{ + dInputs: &deployer.Inputs{}, + gw: defaultGateway(), + }, &expectedOutput{ + newDeployerErr: deployer.NilK8sExtensionsErr, + }), + ) }) - }) -func getEnvoyConfig(objs []client.Object) string { - for _, obj := range objs { - if obj.GetObjectKind().GroupVersionKind().Kind == "ConfigMap" { - cm := convertUnstructured[corev1.ConfigMap](obj) - envoyYaml := cm.Data["envoy.yaml"] - if envoyYaml != "" { - return envoyYaml - } - } - } - return "" -} - // initialize a fake controller-runtime client with the given list of objects func newFakeClientWithObjs(objs ...client.Object) client.Client { s := scheme.NewScheme() diff --git a/projects/gateway2/deployer/values.go b/projects/gateway2/deployer/values.go index 6eeb76a663f..a7afdf358f5 100644 --- a/projects/gateway2/deployer/values.go +++ b/projects/gateway2/deployer/values.go @@ -1,5 +1,10 @@ package deployer +import ( + extcorev1 "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/api/core/v1" + v1alpha1kube "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube" +) + // The top-level helm values used by the deployer. type helmConfig struct { Gateway *helmGateway `json:"gateway,omitempty"` @@ -13,16 +18,36 @@ type helmGateway struct { FullnameOverride *string `json:"fullnameOverride,omitempty"` // deployment/service values - Ports []helmPort `json:"ports,omitempty"` + ReplicaCount *uint32 `json:"replicaCount,omitempty"` + Autoscaling *helmAutoscaling `json:"autoscaling,omitempty"` + Ports []helmPort `json:"ports,omitempty"` + ReadinessPort *uint16 `json:"readinessPort,omitempty"` + Service *helmService `json:"service,omitempty"` + + // pod template values + ExtraPodAnnotations map[string]string `json:"extraPodAnnotations,omitempty"` + ExtraPodLabels map[string]string `json:"extraPodLabels,omitempty"` + ImagePullSecrets []*extcorev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` + PodSecurityContext *extcorev1.PodSecurityContext `json:"podSecurityContext,omitempty"` + NodeSelector map[string]string `json:"nodeSelector,omitempty"` + Affinity *extcorev1.Affinity `json:"affinity,omitempty"` + Tolerations []*extcorev1.Toleration `json:"tolerations,omitempty"` // envoy container values - Image *helmImage `json:"image,omitempty"` + LogLevel *string `json:"logLevel,omitempty"` + ComponentLogLevel *string `json:"componentLogLevel,omitempty"` + Image *helmImage `json:"image,omitempty"` + Resources *v1alpha1kube.ResourceRequirements `json:"resources,omitempty"` + SecurityContext *extcorev1.SecurityContext `json:"securityContext,omitempty"` // istio values IstioSDS *helmIstioSds `json:"istioSDS,omitempty"` // xds values Xds *helmXds `json:"xds,omitempty"` + + // serviceaccount values + ServiceAccount *helmServiceAccount `json:"serviceAccount,omitempty"` } // helmPort represents a Gateway Listener port @@ -41,6 +66,13 @@ type helmImage struct { PullPolicy *string `json:"pullPolicy,omitempty"` } +type helmService struct { + Type *string `json:"type,omitempty"` + ClusterIP *string `json:"clusterIP,omitempty"` + ExtraAnnotations map[string]string `json:"extraAnnotations,omitempty"` + ExtraLabels map[string]string `json:"extraLabels,omitempty"` +} + // helmXds represents the xds host and port to which envoy will connect // to receive xds config updates type helmXds struct { @@ -48,6 +80,20 @@ type helmXds struct { Port *int32 `json:"port,omitempty"` } +type helmAutoscaling struct { + Enabled *bool `json:"enabled,omitempty"` + MinReplicas *uint32 `json:"minReplicas,omitempty"` + MaxReplicas *uint32 `json:"maxReplicas,omitempty"` + TargetCPUUtilizationPercentage *uint32 `json:"targetCPUUtilizationPercentage,omitempty"` + TargetMemoryUtilizationPercentage *uint32 `json:"targetMemoryUtilizationPercentage,omitempty"` +} + type helmIstioSds struct { Enabled *bool `json:"enabled,omitempty"` } + +type helmServiceAccount struct { + Create *bool `json:"create,omitempty"` + Name *string `json:"name,omitempty"` + Annotations map[string]string `json:"annotations,omitempty"` +} diff --git a/projects/gateway2/deployer/values_helpers.go b/projects/gateway2/deployer/values_helpers.go index 56ae4eedc31..726c5b0de03 100644 --- a/projects/gateway2/deployer/values_helpers.go +++ b/projects/gateway2/deployer/values_helpers.go @@ -1,20 +1,27 @@ package deployer import ( - "context" - "os" + "fmt" + "sort" "strings" + "github.com/rotisserie/eris" + "github.com/solo-io/gloo/projects/gateway2/extensions" + v1alpha1kube "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube" "github.com/solo-io/gloo/projects/gateway2/ports" - "github.com/solo-io/gloo/projects/gloo/constants" "golang.org/x/exp/slices" - "sigs.k8s.io/controller-runtime/pkg/log" api "sigs.k8s.io/gateway-api/apis/v1" ) // This file contains helper functions that generate helm values in the format needed // by the deployer. +var ( + ComponentLogLevelEmptyError = func(key string, value string) error { + return eris.Errorf("an empty key or value was provided in componentLogLevels: key=%s, value=%s", key, value) + } +) + // Extract the listener ports from a Gateway. These will be used to populate: // 1. the ports exposed on the envoy container // 2. the ports exposed on the proxy service @@ -42,27 +49,118 @@ func getPortsValues(gw *api.Gateway) []helmPort { return gwPorts } -// Get the image that the envoy container in the proxy deployment should use (typically a gloo envoy wrapper image). -func getDeployerImageValues(ctx context.Context) *helmImage { - image := os.Getenv(constants.GlooGatewayDeployerImage) - defaultImageValues := &helmImage{ - // If tag is not defined, we fall back to the default behavior, which is to use that Chart version +// Convert autoscaling values from GatewayParameters into helm values to be used by the deployer. +func getAutoscalingValues(autoscaling *v1alpha1kube.Autoscaling) *helmAutoscaling { + hpaConfig := autoscaling.GetHorizontalPodAutoscaler() + if hpaConfig == nil { + return nil + } + + trueVal := true + autoscalingVals := &helmAutoscaling{ + Enabled: &trueVal, + } + if hpaConfig.GetMinReplicas() != nil { + minReplicas := hpaConfig.GetMinReplicas().GetValue() + autoscalingVals.MinReplicas = &minReplicas + } + if hpaConfig.GetMaxReplicas() != nil { + maxReplicas := hpaConfig.GetMaxReplicas().GetValue() + autoscalingVals.MaxReplicas = &maxReplicas + } + if hpaConfig.GetTargetCpuUtilizationPercentage() != nil { + cpuPercent := hpaConfig.GetTargetCpuUtilizationPercentage().GetValue() + autoscalingVals.TargetCPUUtilizationPercentage = &cpuPercent + } + if hpaConfig.GetTargetMemoryUtilizationPercentage() != nil { + memPercent := hpaConfig.GetTargetMemoryUtilizationPercentage().GetValue() + autoscalingVals.TargetMemoryUtilizationPercentage = &memPercent + } + + return autoscalingVals +} + +// Convert service values from GatewayParameters into helm values to be used by the deployer. +func getServiceValues(svcConfig *v1alpha1kube.Service) *helmService { + // convert the service type enum to its string representation; + // if type is not set, it will default to 0 ("ClusterIP") + svcType := v1alpha1kube.Service_ServiceType_name[int32(svcConfig.GetType())] + clusterIp := svcConfig.GetClusterIP() + return &helmService{ + Type: &svcType, + ClusterIP: &clusterIp, + ExtraAnnotations: svcConfig.GetExtraAnnotations(), + ExtraLabels: svcConfig.GetExtraLabels(), + } +} + +// Get the default image values for the envoy container in the proxy deployment. +// Typically this is a gloo envoy wrapper image. +func getDefaultEnvoyImageValues(image extensions.Image) *helmImage { + // Get the envoy repo and tag from the k8s gw extensions. + // The other default values (registry and pullPolicy) are statically defined in the deployer + // helm chart. + return &helmImage{ + Repository: &image.Repository, + Tag: &image.Tag, } +} - if image == "" { - // If the env is not defined, return the default - return defaultImageValues +// Get the image values for the envoy container in the proxy deployment. This is done by: +// 1. getting the image values from a GatewayParameter +// 2. for values not provided, fall back to the defaults (if any) from the k8s gw extensions +func getMergedEnvoyImageValues(defaultImage extensions.Image, overrideImage *v1alpha1kube.Image) *helmImage { + // if no overrides are provided, use the default values + if overrideImage == nil { + return getDefaultEnvoyImageValues(defaultImage) + } + + // for repo and tag, fall back to defaults if not provided + repository := overrideImage.GetRepository() + if repository == "" { + repository = defaultImage.Repository + } + tag := overrideImage.GetTag() + if tag == "" { + tag = defaultImage.Tag } - imageParts := strings.Split(image, ":") - if len(imageParts) != 2 { - // If the user provided an invalid override, fallback to the default - log.FromContext(ctx).Info("invalid image override provided, falling back to default", "image", image) + registry := overrideImage.GetRegistry() + digest := overrideImage.GetDigest() - return defaultImageValues + // get the string representation of pull policy, unless it's unspecified, in which case we + // leave it empty to fall back to the default value + pullPolicy := "" + if overrideImage.GetPullPolicy() != v1alpha1kube.Image_Unspecified { + pullPolicy = v1alpha1kube.Image_PullPolicy_name[int32(overrideImage.GetPullPolicy())] } + return &helmImage{ - Repository: &imageParts[0], - Tag: &imageParts[1], + Registry: ®istry, + Repository: &repository, + Tag: &tag, + Digest: &digest, + PullPolicy: &pullPolicy, + } +} + +// ComponentLogLevelsToString converts the key-value pairs in the map into a string of the +// format: key1:value1,key2:value2,key3:value3, where the keys are sorted alphabetically. +// If an empty map is passed in, then an empty string is returned. +// Map keys and values may not be empty. +// No other validation is currently done on the keys/values. +func ComponentLogLevelsToString(vals map[string]string) (string, error) { + if len(vals) == 0 { + return "", nil + } + + parts := make([]string, 0, len(vals)) + for k, v := range vals { + if k == "" || v == "" { + return "", ComponentLogLevelEmptyError(k, v) + } + parts = append(parts, fmt.Sprintf("%s:%s", k, v)) } + sort.Strings(parts) + return strings.Join(parts, ","), nil } diff --git a/projects/gateway2/deployer/values_helpers_test.go b/projects/gateway2/deployer/values_helpers_test.go new file mode 100644 index 00000000000..8773dc1f088 --- /dev/null +++ b/projects/gateway2/deployer/values_helpers_test.go @@ -0,0 +1,39 @@ +package deployer_test + +import ( + . "github.com/onsi/ginkgo/v2" + . "github.com/onsi/gomega" + "github.com/solo-io/gloo/projects/gateway2/deployer" +) + +var _ = Describe("Values Helpers", func() { + Context("ComponentLogLevelsToString", func() { + It("empty map should convert to empty string", func() { + s, err := deployer.ComponentLogLevelsToString(map[string]string{}) + Expect(err).NotTo(HaveOccurred()) + Expect(s).To(BeEmpty()) + }) + + It("empty key should throw error", func() { + _, err := deployer.ComponentLogLevelsToString(map[string]string{"": "val"}) + Expect(err).To(HaveOccurred()) + Expect(err.Error()).To(Equal(deployer.ComponentLogLevelEmptyError("", "val").Error())) + }) + + It("empty value should throw error", func() { + _, err := deployer.ComponentLogLevelsToString(map[string]string{"key": ""}) + Expect(err).To(HaveOccurred()) + Expect(err.Error()).To(Equal(deployer.ComponentLogLevelEmptyError("key", "").Error())) + }) + + It("should sort keys", func() { + s, err := deployer.ComponentLogLevelsToString(map[string]string{ + "bbb": "val1", + "cat": "val2", + "a": "val3", + }) + Expect(err).NotTo(HaveOccurred()) + Expect(s).To(Equal("a:val3,bbb:val1,cat:val2")) + }) + }) +}) diff --git a/projects/gateway2/extensions/extensions.go b/projects/gateway2/extensions/extensions.go index acab64565d1..42ab3b9a2d9 100644 --- a/projects/gateway2/extensions/extensions.go +++ b/projects/gateway2/extensions/extensions.go @@ -3,6 +3,7 @@ package extensions import ( "context" + "github.com/solo-io/gloo/pkg/version" "github.com/solo-io/gloo/projects/gateway2/query" "github.com/solo-io/gloo/projects/gateway2/translator/plugins/registry" controllerruntime "sigs.k8s.io/controller-runtime" @@ -13,6 +14,9 @@ import ( type K8sGatewayExtensions interface { // CreatePluginRegistry returns the PluginRegistry CreatePluginRegistry(ctx context.Context) registry.PluginRegistry + + // GetEnvoyImage returns the envoy image and tag used by the proxy deployment. + GetEnvoyImage() Image } // K8sGatewayExtensionsFactory returns an extensions.K8sGatewayExtensions @@ -38,3 +42,26 @@ func (e *k8sGatewayExtensions) CreatePluginRegistry(_ context.Context) registry. plugins := registry.BuildPlugins(queries, e.mgr.GetClient()) return registry.NewPluginRegistry(plugins) } + +// GetEnvoyImage returns the image repo and tag to use for the envoy container image +// in the proxy deployment. +func (e *k8sGatewayExtensions) GetEnvoyImage() Image { + return Image{ + Repository: "gloo-envoy-wrapper", + Tag: version.Version, + } +} + +// Image contains an image repository (e.g. "gloo-envoy-wrapper") and tag (e.g. "1.17.0"). +// +// The Image struct is provided here so that OSS and Enterprise Gloo Gateway can each inject +// their default image repo/tag (e.g. "gloo-envoy-wrapper" for OSS, "gloo-ee-envoy-wrapper" for EE), +// for images that differ between OSS and EE. For now, it's only used for the Envoy wrapper image, +// but could potentially be used for other images in the future. +// +// Users may override the default OSS/EE Envoy image repo/tag (as well as other fields) completely via +// a GatewayParameters CR attached to a Gateway. +type Image struct { + Repository string + Tag string +} diff --git a/projects/gateway2/generate.go b/projects/gateway2/generate.go new file mode 100644 index 00000000000..78f2353177e --- /dev/null +++ b/projects/gateway2/generate.go @@ -0,0 +1,69 @@ +package main + +import ( + "log" + + "github.com/solo-io/skv2/codegen" + "github.com/solo-io/skv2/codegen/model" + "github.com/solo-io/skv2/codegen/skv2_anyvendor" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +//go:generate go run ./generate.go +func main() { + log.Println("starting generate for k8s gateway controller") + + anyvendorImports := skv2_anyvendor.CreateDefaultMatchOptions( + []string{ + "projects/gateway2/**/*.proto", + }, + ) + + skv2Cmd := codegen.Command{ + AppName: "gloo-gateway", + ManifestRoot: "install/helm/gloo", + AnyVendorConfig: &skv2_anyvendor.Imports{ + Local: anyvendorImports.Local, + External: anyvendorImports.External, + }, + RenderProtos: true, + Groups: []model.Group{ + { + Module: "github.com/solo-io/gloo", + ApiRoot: "projects/gateway2/pkg/api", + GroupVersion: schema.GroupVersion{ + Group: "gateway.gloo.solo.io", + Version: "v1alpha1", + }, + Resources: []model.Resource{ + { + Kind: "GatewayParameters", + Spec: model.Field{ + Type: model.Type{Name: "GatewayParametersSpec"}, + }, + Status: &model.Field{ + Type: model.Type{Name: "GatewayParametersStatus"}, + }, + ShortNames: []string{"gwp"}, + Stored: true, + }, + }, + SkipConditionalCRDLoading: true, // we want the alpha crds always rendered + SkipTemplatedCRDManifest: true, // do not make a copy of crds in templates dir + RenderManifests: true, + RenderValidationSchemas: true, + RenderTypes: true, + RenderClients: false, + RenderController: false, + MockgenDirective: false, + SkipSchemaDescriptions: true, + }, + }, + } + + if err := skv2Cmd.Execute(); err != nil { + log.Fatal(err) + } + + log.Println("finished generating code for k8s gateway controller") +} diff --git a/projects/gateway2/helm/gloo-gateway/templates/_helpers.tpl b/projects/gateway2/helm/gloo-gateway/templates/_helpers.tpl index 8882dd08b0f..eea21b95b21 100644 --- a/projects/gateway2/helm/gloo-gateway/templates/_helpers.tpl +++ b/projects/gateway2/helm/gloo-gateway/templates/_helpers.tpl @@ -74,3 +74,15 @@ Create the name of the service account to use {{- default "default" .Values.gateway.serviceAccount.name }} {{- end }} {{- end }} + + +{{/* +Return a container image value as a string +*/}} +{{- define "gloo-gateway.gateway.image" -}} +{{- $image := printf "%s/%s:%s" .registry .repository .tag -}} +{{- if .digest -}} +{{- $image = printf "%s@%s" $image .digest -}} +{{- end -}}{{- /* if .digest */ -}} +{{ $image }} +{{- end -}}{{- /* define "gloo-gateway.gateway.image" */ -}} \ No newline at end of file diff --git a/projects/gateway2/helm/gloo-gateway/templates/gateway/proxy-deployment.yaml b/projects/gateway2/helm/gloo-gateway/templates/gateway/proxy-deployment.yaml index 85ad559fa33..8e2d8cadf92 100644 --- a/projects/gateway2/helm/gloo-gateway/templates/gateway/proxy-deployment.yaml +++ b/projects/gateway2/helm/gloo-gateway/templates/gateway/proxy-deployment.yaml @@ -15,12 +15,15 @@ spec: {{- include "gloo-gateway.gateway.selectorLabels" . | nindent 6 }} template: metadata: - {{- with $gateway.podAnnotations }} + {{- with $gateway.extraPodAnnotations }} annotations: {{- toYaml . | nindent 8 }} {{- end }} labels: {{- include "gloo-gateway.gateway.selectorLabels" . | nindent 8 }} + {{- with $gateway.extraPodLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with $gateway.imagePullSecrets }} imagePullSecrets: @@ -37,11 +40,15 @@ spec: - "--disable-hot-restart" - "--service-node" - $(POD_NAME).$(POD_NAMESPACE) - {{- if .Values.develop }} + {{- with $gateway.logLevel }} - "--log-level" - - "debug" - {{- end }} - image: "{{ $gateway.image.repository }}:{{ $gateway.image.tag | default .Chart.AppVersion }}" + - "{{ . }}" + {{- end }}{{/* with $gateway.logLevel */}} + {{- with $gateway.componentLogLevel }} + - "--component-log-level" + - "{{ . }}" + {{- end }}{{/* with $gateway.componentLogLevel */}} + image: "{{ template "gloo-gateway.gateway.image" $gateway.image }}" imagePullPolicy: {{ $gateway.image.pullPolicy }} volumeMounts: - mountPath: /etc/envoy @@ -264,11 +271,21 @@ apiVersion: v1 kind: Service metadata: name: {{ include "gloo-gateway.gateway.fullname" . }} + {{- with $gateway.service.extraAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} labels: {{- include "gloo-gateway.gateway.constLabels" . | nindent 4 }} {{- include "gloo-gateway.gateway.labels" . | nindent 4 }} + {{- with $gateway.service.extraLabels }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ $gateway.service.type }} + {{- with $gateway.service.clusterIP }} + clusterIP: {{ . }} + {{- end }} ports: {{- range $p := $gateway.ports }} - name: {{ $p.name }} diff --git a/projects/gateway2/helm/gloo-gateway/values.yaml b/projects/gateway2/helm/gloo-gateway/values.yaml index 4945e17a9e4..94ff86105bd 100644 --- a/projects/gateway2/helm/gloo-gateway/values.yaml +++ b/projects/gateway2/helm/gloo-gateway/values.yaml @@ -27,7 +27,8 @@ gateway: protocol: TCP name: http image: - repository: quay.io/solo-io/gloo-envoy-wrapper + registry: quay.io/solo-io + repository: gloo-envoy-wrapper pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. tag: "" diff --git a/projects/gateway2/pkg/api/external/kubernetes/api/core/v1/generated.pb.go b/projects/gateway2/pkg/api/external/kubernetes/api/core/v1/generated.pb.go new file mode 100644 index 00000000000..48a7f3373c5 --- /dev/null +++ b/projects/gateway2/pkg/api/external/kubernetes/api/core/v1/generated.pb.go @@ -0,0 +1,26262 @@ +// +//Copyright The Kubernetes Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This is a copy of https://github.com/kubernetes/api/blob/v0.28.3/core/v1/generated.proto +// with the imports and go_package changed to gloo paths. +// Ideally we should update this proto every time we upgrade our k8s.io/api dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/api/core/v1/generated.proto + +package v1 + +import ( + reflect "reflect" + sync "sync" + + resource "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/api/resource" + v1 "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/apis/meta/v1" + runtime "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime" + _ "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/schema" + intstr "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/util/intstr" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Represents a Persistent Disk resource in AWS. +// +// An AWS EBS disk must exist before mounting to a container. The disk +// must also be in the same AWS zone as the kubelet. An AWS EBS disk +// can only be mounted as read/write once. AWS EBS volumes support +// ownership management and SELinux relabeling. +type AWSElasticBlockStoreVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"` + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` + // partition is the partition in the volume that you want to mount. + // If omitted, the default is to mount by volume name. + // Examples: For volume /dev/sda1, you specify the partition as "1". + // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + // +optional + Partition *int32 `protobuf:"varint,3,opt,name=partition" json:"partition,omitempty"` + // readOnly value true will force the readOnly setting in VolumeMounts. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + // +optional + ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *AWSElasticBlockStoreVolumeSource) Reset() { + *x = AWSElasticBlockStoreVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AWSElasticBlockStoreVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {} + +func (x *AWSElasticBlockStoreVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_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 AWSElasticBlockStoreVolumeSource.ProtoReflect.Descriptor instead. +func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{0} +} + +func (x *AWSElasticBlockStoreVolumeSource) GetVolumeID() string { + if x != nil && x.VolumeID != nil { + return *x.VolumeID + } + return "" +} + +func (x *AWSElasticBlockStoreVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *AWSElasticBlockStoreVolumeSource) GetPartition() int32 { + if x != nil && x.Partition != nil { + return *x.Partition + } + return 0 +} + +func (x *AWSElasticBlockStoreVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// Affinity is a group of affinity scheduling rules. +type Affinity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Describes node affinity scheduling rules for the pod. + // +optional + NodeAffinity *NodeAffinity `protobuf:"bytes,1,opt,name=nodeAffinity" json:"nodeAffinity,omitempty"` + // Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). + // +optional + PodAffinity *PodAffinity `protobuf:"bytes,2,opt,name=podAffinity" json:"podAffinity,omitempty"` + // Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). + // +optional + PodAntiAffinity *PodAntiAffinity `protobuf:"bytes,3,opt,name=podAntiAffinity" json:"podAntiAffinity,omitempty"` +} + +func (x *Affinity) Reset() { + *x = Affinity{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Affinity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Affinity) ProtoMessage() {} + +func (x *Affinity) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_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 Affinity.ProtoReflect.Descriptor instead. +func (*Affinity) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{1} +} + +func (x *Affinity) GetNodeAffinity() *NodeAffinity { + if x != nil { + return x.NodeAffinity + } + return nil +} + +func (x *Affinity) GetPodAffinity() *PodAffinity { + if x != nil { + return x.PodAffinity + } + return nil +} + +func (x *Affinity) GetPodAntiAffinity() *PodAntiAffinity { + if x != nil { + return x.PodAntiAffinity + } + return nil +} + +// AttachedVolume describes a volume attached to a node +type AttachedVolume struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the attached volume + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // DevicePath represents the device path where the volume should be available + DevicePath *string `protobuf:"bytes,2,opt,name=devicePath" json:"devicePath,omitempty"` +} + +func (x *AttachedVolume) Reset() { + *x = AttachedVolume{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AttachedVolume) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AttachedVolume) ProtoMessage() {} + +func (x *AttachedVolume) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_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 AttachedVolume.ProtoReflect.Descriptor instead. +func (*AttachedVolume) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{2} +} + +func (x *AttachedVolume) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *AttachedVolume) GetDevicePath() string { + if x != nil && x.DevicePath != nil { + return *x.DevicePath + } + return "" +} + +// AvoidPods describes pods that should avoid this node. This is the value for a +// Node annotation with key scheduler.alpha.kubernetes.io/preferAvoidPods and +// will eventually become a field of NodeStatus. +type AvoidPods struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Bounded-sized list of signatures of pods that should avoid this node, sorted + // in timestamp order from oldest to newest. Size of the slice is unspecified. + // +optional + PreferAvoidPods []*PreferAvoidPodsEntry `protobuf:"bytes,1,rep,name=preferAvoidPods" json:"preferAvoidPods,omitempty"` +} + +func (x *AvoidPods) Reset() { + *x = AvoidPods{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvoidPods) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvoidPods) ProtoMessage() {} + +func (x *AvoidPods) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_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 AvoidPods.ProtoReflect.Descriptor instead. +func (*AvoidPods) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{3} +} + +func (x *AvoidPods) GetPreferAvoidPods() []*PreferAvoidPodsEntry { + if x != nil { + return x.PreferAvoidPods + } + return nil +} + +// AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. +type AzureDiskVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // diskName is the Name of the data disk in the blob storage + DiskName *string `protobuf:"bytes,1,opt,name=diskName" json:"diskName,omitempty"` + // diskURI is the URI of data disk in the blob storage + DiskURI *string `protobuf:"bytes,2,opt,name=diskURI" json:"diskURI,omitempty"` + // cachingMode is the Host Caching mode: None, Read Only, Read Write. + // +optional + CachingMode *string `protobuf:"bytes,3,opt,name=cachingMode" json:"cachingMode,omitempty"` + // fsType is Filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional + FsType *string `protobuf:"bytes,4,opt,name=fsType" json:"fsType,omitempty"` + // readOnly Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,5,opt,name=readOnly" json:"readOnly,omitempty"` + // kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared + Kind *string `protobuf:"bytes,6,opt,name=kind" json:"kind,omitempty"` +} + +func (x *AzureDiskVolumeSource) Reset() { + *x = AzureDiskVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AzureDiskVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AzureDiskVolumeSource) ProtoMessage() {} + +func (x *AzureDiskVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_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 AzureDiskVolumeSource.ProtoReflect.Descriptor instead. +func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{4} +} + +func (x *AzureDiskVolumeSource) GetDiskName() string { + if x != nil && x.DiskName != nil { + return *x.DiskName + } + return "" +} + +func (x *AzureDiskVolumeSource) GetDiskURI() string { + if x != nil && x.DiskURI != nil { + return *x.DiskURI + } + return "" +} + +func (x *AzureDiskVolumeSource) GetCachingMode() string { + if x != nil && x.CachingMode != nil { + return *x.CachingMode + } + return "" +} + +func (x *AzureDiskVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *AzureDiskVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *AzureDiskVolumeSource) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +// AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +type AzureFilePersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // secretName is the name of secret that contains Azure Storage Account Name and Key + SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"` + // shareName is the azure Share Name + ShareName *string `protobuf:"bytes,2,opt,name=shareName" json:"shareName,omitempty"` + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` + // secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key + // default is the same as the Pod + // +optional + SecretNamespace *string `protobuf:"bytes,4,opt,name=secretNamespace" json:"secretNamespace,omitempty"` +} + +func (x *AzureFilePersistentVolumeSource) Reset() { + *x = AzureFilePersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AzureFilePersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AzureFilePersistentVolumeSource) ProtoMessage() {} + +func (x *AzureFilePersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AzureFilePersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{5} +} + +func (x *AzureFilePersistentVolumeSource) GetSecretName() string { + if x != nil && x.SecretName != nil { + return *x.SecretName + } + return "" +} + +func (x *AzureFilePersistentVolumeSource) GetShareName() string { + if x != nil && x.ShareName != nil { + return *x.ShareName + } + return "" +} + +func (x *AzureFilePersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *AzureFilePersistentVolumeSource) GetSecretNamespace() string { + if x != nil && x.SecretNamespace != nil { + return *x.SecretNamespace + } + return "" +} + +// AzureFile represents an Azure File Service mount on the host and bind mount to the pod. +type AzureFileVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // secretName is the name of secret that contains Azure Storage Account Name and Key + SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"` + // shareName is the azure share Name + ShareName *string `protobuf:"bytes,2,opt,name=shareName" json:"shareName,omitempty"` + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *AzureFileVolumeSource) Reset() { + *x = AzureFileVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AzureFileVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AzureFileVolumeSource) ProtoMessage() {} + +func (x *AzureFileVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AzureFileVolumeSource.ProtoReflect.Descriptor instead. +func (*AzureFileVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{6} +} + +func (x *AzureFileVolumeSource) GetSecretName() string { + if x != nil && x.SecretName != nil { + return *x.SecretName + } + return "" +} + +func (x *AzureFileVolumeSource) GetShareName() string { + if x != nil && x.ShareName != nil { + return *x.ShareName + } + return "" +} + +func (x *AzureFileVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// Binding ties one object to another; for example, a pod is bound to a node by a scheduler. +// Deprecated in 1.7, please use the bindings subresource of pods instead. +type Binding struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // The target object that you want to bind to the standard object. + Target *ObjectReference `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"` +} + +func (x *Binding) Reset() { + *x = Binding{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Binding) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Binding) ProtoMessage() {} + +func (x *Binding) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Binding.ProtoReflect.Descriptor instead. +func (*Binding) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{7} +} + +func (x *Binding) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Binding) GetTarget() *ObjectReference { + if x != nil { + return x.Target + } + return nil +} + +// Represents storage that is managed by an external CSI volume driver (Beta feature) +type CSIPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // driver is the name of the driver to use for this volume. + // Required. + Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"` + // volumeHandle is the unique volume name returned by the CSI volume + // plugin’s CreateVolume to refer to the volume on all subsequent calls. + // Required. + VolumeHandle *string `protobuf:"bytes,2,opt,name=volumeHandle" json:"volumeHandle,omitempty"` + // readOnly value to pass to ControllerPublishVolumeRequest. + // Defaults to false (read/write). + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` + // fsType to mount. Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". + // +optional + FsType *string `protobuf:"bytes,4,opt,name=fsType" json:"fsType,omitempty"` + // volumeAttributes of the volume to publish. + // +optional + VolumeAttributes map[string]string `protobuf:"bytes,5,rep,name=volumeAttributes" json:"volumeAttributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // controllerPublishSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // ControllerPublishVolume and ControllerUnpublishVolume calls. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +optional + ControllerPublishSecretRef *SecretReference `protobuf:"bytes,6,opt,name=controllerPublishSecretRef" json:"controllerPublishSecretRef,omitempty"` + // nodeStageSecretRef is a reference to the secret object containing sensitive + // information to pass to the CSI driver to complete the CSI NodeStageVolume + // and NodeStageVolume and NodeUnstageVolume calls. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +optional + NodeStageSecretRef *SecretReference `protobuf:"bytes,7,opt,name=nodeStageSecretRef" json:"nodeStageSecretRef,omitempty"` + // nodePublishSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // NodePublishVolume and NodeUnpublishVolume calls. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +optional + NodePublishSecretRef *SecretReference `protobuf:"bytes,8,opt,name=nodePublishSecretRef" json:"nodePublishSecretRef,omitempty"` + // controllerExpandSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // ControllerExpandVolume call. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +optional + ControllerExpandSecretRef *SecretReference `protobuf:"bytes,9,opt,name=controllerExpandSecretRef" json:"controllerExpandSecretRef,omitempty"` + // nodeExpandSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // NodeExpandVolume call. + // This is a beta field which is enabled default by CSINodeExpandSecret feature gate. + // This field is optional, may be omitted if no secret is required. If the + // secret object contains more than one secret, all secrets are passed. + // +featureGate=CSINodeExpandSecret + // +optional + NodeExpandSecretRef *SecretReference `protobuf:"bytes,10,opt,name=nodeExpandSecretRef" json:"nodeExpandSecretRef,omitempty"` +} + +func (x *CSIPersistentVolumeSource) Reset() { + *x = CSIPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CSIPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CSIPersistentVolumeSource) ProtoMessage() {} + +func (x *CSIPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CSIPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{8} +} + +func (x *CSIPersistentVolumeSource) GetDriver() string { + if x != nil && x.Driver != nil { + return *x.Driver + } + return "" +} + +func (x *CSIPersistentVolumeSource) GetVolumeHandle() string { + if x != nil && x.VolumeHandle != nil { + return *x.VolumeHandle + } + return "" +} + +func (x *CSIPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *CSIPersistentVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *CSIPersistentVolumeSource) GetVolumeAttributes() map[string]string { + if x != nil { + return x.VolumeAttributes + } + return nil +} + +func (x *CSIPersistentVolumeSource) GetControllerPublishSecretRef() *SecretReference { + if x != nil { + return x.ControllerPublishSecretRef + } + return nil +} + +func (x *CSIPersistentVolumeSource) GetNodeStageSecretRef() *SecretReference { + if x != nil { + return x.NodeStageSecretRef + } + return nil +} + +func (x *CSIPersistentVolumeSource) GetNodePublishSecretRef() *SecretReference { + if x != nil { + return x.NodePublishSecretRef + } + return nil +} + +func (x *CSIPersistentVolumeSource) GetControllerExpandSecretRef() *SecretReference { + if x != nil { + return x.ControllerExpandSecretRef + } + return nil +} + +func (x *CSIPersistentVolumeSource) GetNodeExpandSecretRef() *SecretReference { + if x != nil { + return x.NodeExpandSecretRef + } + return nil +} + +// Represents a source location of a volume to mount, managed by an external CSI driver +type CSIVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // driver is the name of the CSI driver that handles this volume. + // Consult with your admin for the correct name as registered in the cluster. + Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"` + // readOnly specifies a read-only configuration for the volume. + // Defaults to false (read/write). + // +optional + ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"` + // fsType to mount. Ex. "ext4", "xfs", "ntfs". + // If not provided, the empty value is passed to the associated CSI driver + // which will determine the default filesystem to apply. + // +optional + FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"` + // volumeAttributes stores driver-specific properties that are passed to the CSI + // driver. Consult your driver's documentation for supported values. + // +optional + VolumeAttributes map[string]string `protobuf:"bytes,4,rep,name=volumeAttributes" json:"volumeAttributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // nodePublishSecretRef is a reference to the secret object containing + // sensitive information to pass to the CSI driver to complete the CSI + // NodePublishVolume and NodeUnpublishVolume calls. + // This field is optional, and may be empty if no secret is required. If the + // secret object contains more than one secret, all secret references are passed. + // +optional + NodePublishSecretRef *LocalObjectReference `protobuf:"bytes,5,opt,name=nodePublishSecretRef" json:"nodePublishSecretRef,omitempty"` +} + +func (x *CSIVolumeSource) Reset() { + *x = CSIVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CSIVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CSIVolumeSource) ProtoMessage() {} + +func (x *CSIVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_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 CSIVolumeSource.ProtoReflect.Descriptor instead. +func (*CSIVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{9} +} + +func (x *CSIVolumeSource) GetDriver() string { + if x != nil && x.Driver != nil { + return *x.Driver + } + return "" +} + +func (x *CSIVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *CSIVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *CSIVolumeSource) GetVolumeAttributes() map[string]string { + if x != nil { + return x.VolumeAttributes + } + return nil +} + +func (x *CSIVolumeSource) GetNodePublishSecretRef() *LocalObjectReference { + if x != nil { + return x.NodePublishSecretRef + } + return nil +} + +// Adds and removes POSIX capabilities from running containers. +type Capabilities struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Added capabilities + // +optional + Add []string `protobuf:"bytes,1,rep,name=add" json:"add,omitempty"` + // Removed capabilities + // +optional + Drop []string `protobuf:"bytes,2,rep,name=drop" json:"drop,omitempty"` +} + +func (x *Capabilities) Reset() { + *x = Capabilities{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Capabilities) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Capabilities) ProtoMessage() {} + +func (x *Capabilities) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[10] + 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 Capabilities.ProtoReflect.Descriptor instead. +func (*Capabilities) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{10} +} + +func (x *Capabilities) GetAdd() []string { + if x != nil { + return x.Add + } + return nil +} + +func (x *Capabilities) GetDrop() []string { + if x != nil { + return x.Drop + } + return nil +} + +// Represents a Ceph Filesystem mount that lasts the lifetime of a pod +// Cephfs volumes do not support ownership management or SELinux relabeling. +type CephFSPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // monitors is Required: Monitors is a collection of Ceph monitors + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"` + // path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / + // +optional + Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` + // user is Optional: User is the rados user name, default is admin + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + User *string `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"` + // secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + SecretFile *string `protobuf:"bytes,4,opt,name=secretFile" json:"secretFile,omitempty"` + // secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + SecretRef *SecretReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"` + // readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *CephFSPersistentVolumeSource) Reset() { + *x = CephFSPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CephFSPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CephFSPersistentVolumeSource) ProtoMessage() {} + +func (x *CephFSPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_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 CephFSPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{11} +} + +func (x *CephFSPersistentVolumeSource) GetMonitors() []string { + if x != nil { + return x.Monitors + } + return nil +} + +func (x *CephFSPersistentVolumeSource) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *CephFSPersistentVolumeSource) GetUser() string { + if x != nil && x.User != nil { + return *x.User + } + return "" +} + +func (x *CephFSPersistentVolumeSource) GetSecretFile() string { + if x != nil && x.SecretFile != nil { + return *x.SecretFile + } + return "" +} + +func (x *CephFSPersistentVolumeSource) GetSecretRef() *SecretReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *CephFSPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// Represents a Ceph Filesystem mount that lasts the lifetime of a pod +// Cephfs volumes do not support ownership management or SELinux relabeling. +type CephFSVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // monitors is Required: Monitors is a collection of Ceph monitors + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"` + // path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / + // +optional + Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` + // user is optional: User is the rados user name, default is admin + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + User *string `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"` + // secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + SecretFile *string `protobuf:"bytes,4,opt,name=secretFile" json:"secretFile,omitempty"` + // secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + SecretRef *LocalObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"` + // readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + // +optional + ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *CephFSVolumeSource) Reset() { + *x = CephFSVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CephFSVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CephFSVolumeSource) ProtoMessage() {} + +func (x *CephFSVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[12] + 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 CephFSVolumeSource.ProtoReflect.Descriptor instead. +func (*CephFSVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{12} +} + +func (x *CephFSVolumeSource) GetMonitors() []string { + if x != nil { + return x.Monitors + } + return nil +} + +func (x *CephFSVolumeSource) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *CephFSVolumeSource) GetUser() string { + if x != nil && x.User != nil { + return *x.User + } + return "" +} + +func (x *CephFSVolumeSource) GetSecretFile() string { + if x != nil && x.SecretFile != nil { + return *x.SecretFile + } + return "" +} + +func (x *CephFSVolumeSource) GetSecretRef() *LocalObjectReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *CephFSVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// Represents a cinder volume resource in Openstack. +// A Cinder volume must exist before mounting to a container. +// The volume must also be in the same region as the kubelet. +// Cinder volumes support ownership management and SELinux relabeling. +type CinderPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // volumeID used to identify the volume in cinder. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"` + // fsType Filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` + // readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` + // secretRef is Optional: points to a secret object containing parameters used to connect + // to OpenStack. + // +optional + SecretRef *SecretReference `protobuf:"bytes,4,opt,name=secretRef" json:"secretRef,omitempty"` +} + +func (x *CinderPersistentVolumeSource) Reset() { + *x = CinderPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CinderPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CinderPersistentVolumeSource) ProtoMessage() {} + +func (x *CinderPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[13] + 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 CinderPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*CinderPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{13} +} + +func (x *CinderPersistentVolumeSource) GetVolumeID() string { + if x != nil && x.VolumeID != nil { + return *x.VolumeID + } + return "" +} + +func (x *CinderPersistentVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *CinderPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *CinderPersistentVolumeSource) GetSecretRef() *SecretReference { + if x != nil { + return x.SecretRef + } + return nil +} + +// Represents a cinder volume resource in Openstack. +// A Cinder volume must exist before mounting to a container. +// The volume must also be in the same region as the kubelet. +// Cinder volumes support ownership management and SELinux relabeling. +type CinderVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // volumeID used to identify the volume in cinder. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"` + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` + // secretRef is optional: points to a secret object containing parameters used to connect + // to OpenStack. + // +optional + SecretRef *LocalObjectReference `protobuf:"bytes,4,opt,name=secretRef" json:"secretRef,omitempty"` +} + +func (x *CinderVolumeSource) Reset() { + *x = CinderVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CinderVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CinderVolumeSource) ProtoMessage() {} + +func (x *CinderVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[14] + 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 CinderVolumeSource.ProtoReflect.Descriptor instead. +func (*CinderVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{14} +} + +func (x *CinderVolumeSource) GetVolumeID() string { + if x != nil && x.VolumeID != nil { + return *x.VolumeID + } + return "" +} + +func (x *CinderVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *CinderVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *CinderVolumeSource) GetSecretRef() *LocalObjectReference { + if x != nil { + return x.SecretRef + } + return nil +} + +// ClaimSource describes a reference to a ResourceClaim. +// +// Exactly one of these fields should be set. Consumers of this type must +// treat an empty object as if it has an unknown value. +type ClaimSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ResourceClaimName is the name of a ResourceClaim object in the same + // namespace as this pod. + ResourceClaimName *string `protobuf:"bytes,1,opt,name=resourceClaimName" json:"resourceClaimName,omitempty"` + // ResourceClaimTemplateName is the name of a ResourceClaimTemplate + // object in the same namespace as this pod. + // + // The template will be used to create a new ResourceClaim, which will + // be bound to this pod. When this pod is deleted, the ResourceClaim + // will also be deleted. The pod name and resource name, along with a + // generated component, will be used to form a unique name for the + // ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. + // + // This field is immutable and no changes will be made to the + // corresponding ResourceClaim by the control plane after creating the + // ResourceClaim. + ResourceClaimTemplateName *string `protobuf:"bytes,2,opt,name=resourceClaimTemplateName" json:"resourceClaimTemplateName,omitempty"` +} + +func (x *ClaimSource) Reset() { + *x = ClaimSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClaimSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClaimSource) ProtoMessage() {} + +func (x *ClaimSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[15] + 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 ClaimSource.ProtoReflect.Descriptor instead. +func (*ClaimSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{15} +} + +func (x *ClaimSource) GetResourceClaimName() string { + if x != nil && x.ResourceClaimName != nil { + return *x.ResourceClaimName + } + return "" +} + +func (x *ClaimSource) GetResourceClaimTemplateName() string { + if x != nil && x.ResourceClaimTemplateName != nil { + return *x.ResourceClaimTemplateName + } + return "" +} + +// ClientIPConfig represents the configurations of Client IP based session affinity. +type ClientIPConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // timeoutSeconds specifies the seconds of ClientIP type session sticky time. + // The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". + // Default value is 10800(for 3 hours). + // +optional + TimeoutSeconds *int32 `protobuf:"varint,1,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"` +} + +func (x *ClientIPConfig) Reset() { + *x = ClientIPConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientIPConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientIPConfig) ProtoMessage() {} + +func (x *ClientIPConfig) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[16] + 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 ClientIPConfig.ProtoReflect.Descriptor instead. +func (*ClientIPConfig) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{16} +} + +func (x *ClientIPConfig) GetTimeoutSeconds() int32 { + if x != nil && x.TimeoutSeconds != nil { + return *x.TimeoutSeconds + } + return 0 +} + +// Information about the condition of a component. +type ComponentCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Type of condition for a component. + // Valid value: "Healthy" + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // Status of the condition for a component. + // Valid values for "Healthy": "True", "False", or "Unknown". + Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + // Message about the condition for a component. + // For example, information about a health check. + // +optional + Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` + // Condition error code for a component. + // For example, a health check error code. + // +optional + Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"` +} + +func (x *ComponentCondition) Reset() { + *x = ComponentCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ComponentCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ComponentCondition) ProtoMessage() {} + +func (x *ComponentCondition) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[17] + 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 ComponentCondition.ProtoReflect.Descriptor instead. +func (*ComponentCondition) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{17} +} + +func (x *ComponentCondition) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *ComponentCondition) GetStatus() string { + if x != nil && x.Status != nil { + return *x.Status + } + return "" +} + +func (x *ComponentCondition) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *ComponentCondition) GetError() string { + if x != nil && x.Error != nil { + return *x.Error + } + return "" +} + +// ComponentStatus (and ComponentStatusList) holds the cluster validation info. +// Deprecated: This API is deprecated in v1.19+ +type ComponentStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of component conditions observed + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + Conditions []*ComponentCondition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"` +} + +func (x *ComponentStatus) Reset() { + *x = ComponentStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ComponentStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ComponentStatus) ProtoMessage() {} + +func (x *ComponentStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[18] + 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 ComponentStatus.ProtoReflect.Descriptor instead. +func (*ComponentStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{18} +} + +func (x *ComponentStatus) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ComponentStatus) GetConditions() []*ComponentCondition { + if x != nil { + return x.Conditions + } + return nil +} + +// Status of all the conditions for the component as a list of ComponentStatus objects. +// Deprecated: This API is deprecated in v1.19+ +type ComponentStatusList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of ComponentStatus objects. + Items []*ComponentStatus `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *ComponentStatusList) Reset() { + *x = ComponentStatusList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ComponentStatusList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ComponentStatusList) ProtoMessage() {} + +func (x *ComponentStatusList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[19] + 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 ComponentStatusList.ProtoReflect.Descriptor instead. +func (*ComponentStatusList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{19} +} + +func (x *ComponentStatusList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ComponentStatusList) GetItems() []*ComponentStatus { + if x != nil { + return x.Items + } + return nil +} + +// ConfigMap holds configuration data for pods to consume. +type ConfigMap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Immutable, if set to true, ensures that data stored in the ConfigMap cannot + // be updated (only object metadata can be modified). + // If not set to true, the field can be modified at any time. + // Defaulted to nil. + // +optional + Immutable *bool `protobuf:"varint,4,opt,name=immutable" json:"immutable,omitempty"` + // Data contains the configuration data. + // Each key must consist of alphanumeric characters, '-', '_' or '.'. + // Values with non-UTF-8 byte sequences must use the BinaryData field. + // The keys stored in Data must not overlap with the keys in + // the BinaryData field, this is enforced during validation process. + // +optional + Data map[string]string `protobuf:"bytes,2,rep,name=data" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // BinaryData contains the binary data. + // Each key must consist of alphanumeric characters, '-', '_' or '.'. + // BinaryData can contain byte sequences that are not in the UTF-8 range. + // The keys stored in BinaryData must not overlap with the ones in + // the Data field, this is enforced during validation process. + // Using this field will require 1.10+ apiserver and + // kubelet. + // +optional + BinaryData map[string][]byte `protobuf:"bytes,3,rep,name=binaryData" json:"binaryData,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *ConfigMap) Reset() { + *x = ConfigMap{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfigMap) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfigMap) ProtoMessage() {} + +func (x *ConfigMap) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[20] + 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 ConfigMap.ProtoReflect.Descriptor instead. +func (*ConfigMap) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{20} +} + +func (x *ConfigMap) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ConfigMap) GetImmutable() bool { + if x != nil && x.Immutable != nil { + return *x.Immutable + } + return false +} + +func (x *ConfigMap) GetData() map[string]string { + if x != nil { + return x.Data + } + return nil +} + +func (x *ConfigMap) GetBinaryData() map[string][]byte { + if x != nil { + return x.BinaryData + } + return nil +} + +// ConfigMapEnvSource selects a ConfigMap to populate the environment +// variables with. +// +// The contents of the target ConfigMap's Data field will represent the +// key-value pairs as environment variables. +type ConfigMapEnvSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The ConfigMap to select from. + LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"` + // Specify whether the ConfigMap must be defined + // +optional + Optional *bool `protobuf:"varint,2,opt,name=optional" json:"optional,omitempty"` +} + +func (x *ConfigMapEnvSource) Reset() { + *x = ConfigMapEnvSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfigMapEnvSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfigMapEnvSource) ProtoMessage() {} + +func (x *ConfigMapEnvSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[21] + 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 ConfigMapEnvSource.ProtoReflect.Descriptor instead. +func (*ConfigMapEnvSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{21} +} + +func (x *ConfigMapEnvSource) GetLocalObjectReference() *LocalObjectReference { + if x != nil { + return x.LocalObjectReference + } + return nil +} + +func (x *ConfigMapEnvSource) GetOptional() bool { + if x != nil && x.Optional != nil { + return *x.Optional + } + return false +} + +// Selects a key from a ConfigMap. +// +structType=atomic +type ConfigMapKeySelector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The ConfigMap to select from. + LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"` + // The key to select. + Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` + // Specify whether the ConfigMap or its key must be defined + // +optional + Optional *bool `protobuf:"varint,3,opt,name=optional" json:"optional,omitempty"` +} + +func (x *ConfigMapKeySelector) Reset() { + *x = ConfigMapKeySelector{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfigMapKeySelector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfigMapKeySelector) ProtoMessage() {} + +func (x *ConfigMapKeySelector) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[22] + 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 ConfigMapKeySelector.ProtoReflect.Descriptor instead. +func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{22} +} + +func (x *ConfigMapKeySelector) GetLocalObjectReference() *LocalObjectReference { + if x != nil { + return x.LocalObjectReference + } + return nil +} + +func (x *ConfigMapKeySelector) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *ConfigMapKeySelector) GetOptional() bool { + if x != nil && x.Optional != nil { + return *x.Optional + } + return false +} + +// ConfigMapList is a resource containing a list of ConfigMap objects. +type ConfigMapList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Items is the list of ConfigMaps. + Items []*ConfigMap `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *ConfigMapList) Reset() { + *x = ConfigMapList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfigMapList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfigMapList) ProtoMessage() {} + +func (x *ConfigMapList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[23] + 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 ConfigMapList.ProtoReflect.Descriptor instead. +func (*ConfigMapList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{23} +} + +func (x *ConfigMapList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ConfigMapList) GetItems() []*ConfigMap { + if x != nil { + return x.Items + } + return nil +} + +// ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. +// This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration +type ConfigMapNodeConfigSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Namespace is the metadata.namespace of the referenced ConfigMap. + // This field is required in all cases. + Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` + // Name is the metadata.name of the referenced ConfigMap. + // This field is required in all cases. + Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` + // UID is the metadata.UID of the referenced ConfigMap. + // This field is forbidden in Node.Spec, and required in Node.Status. + // +optional + Uid *string `protobuf:"bytes,3,opt,name=uid" json:"uid,omitempty"` + // ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. + // This field is forbidden in Node.Spec, and required in Node.Status. + // +optional + ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"` + // KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure + // This field is required in all cases. + KubeletConfigKey *string `protobuf:"bytes,5,opt,name=kubeletConfigKey" json:"kubeletConfigKey,omitempty"` +} + +func (x *ConfigMapNodeConfigSource) Reset() { + *x = ConfigMapNodeConfigSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfigMapNodeConfigSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfigMapNodeConfigSource) ProtoMessage() {} + +func (x *ConfigMapNodeConfigSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[24] + 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 ConfigMapNodeConfigSource.ProtoReflect.Descriptor instead. +func (*ConfigMapNodeConfigSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{24} +} + +func (x *ConfigMapNodeConfigSource) GetNamespace() string { + if x != nil && x.Namespace != nil { + return *x.Namespace + } + return "" +} + +func (x *ConfigMapNodeConfigSource) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *ConfigMapNodeConfigSource) GetUid() string { + if x != nil && x.Uid != nil { + return *x.Uid + } + return "" +} + +func (x *ConfigMapNodeConfigSource) GetResourceVersion() string { + if x != nil && x.ResourceVersion != nil { + return *x.ResourceVersion + } + return "" +} + +func (x *ConfigMapNodeConfigSource) GetKubeletConfigKey() string { + if x != nil && x.KubeletConfigKey != nil { + return *x.KubeletConfigKey + } + return "" +} + +// Adapts a ConfigMap into a projected volume. +// +// The contents of the target ConfigMap's Data field will be presented in a +// projected volume as files using the keys in the Data field as the file names, +// unless the items element is populated with specific mappings of keys to paths. +// Note that this is identical to a configmap volume source without the default +// mode. +type ConfigMapProjection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"` + // items if unspecified, each key-value pair in the Data field of the referenced + // ConfigMap will be projected into the volume as a file whose name is the + // key and content is the value. If specified, the listed keys will be + // projected into the specified paths, and unlisted keys will not be + // present. If a key is specified which is not present in the ConfigMap, + // the volume setup will error unless it is marked optional. Paths must be + // relative and may not contain the '..' path or start with '..'. + // +optional + Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` + // optional specify whether the ConfigMap or its keys must be defined + // +optional + Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"` +} + +func (x *ConfigMapProjection) Reset() { + *x = ConfigMapProjection{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfigMapProjection) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfigMapProjection) ProtoMessage() {} + +func (x *ConfigMapProjection) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[25] + 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 ConfigMapProjection.ProtoReflect.Descriptor instead. +func (*ConfigMapProjection) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{25} +} + +func (x *ConfigMapProjection) GetLocalObjectReference() *LocalObjectReference { + if x != nil { + return x.LocalObjectReference + } + return nil +} + +func (x *ConfigMapProjection) GetItems() []*KeyToPath { + if x != nil { + return x.Items + } + return nil +} + +func (x *ConfigMapProjection) GetOptional() bool { + if x != nil && x.Optional != nil { + return *x.Optional + } + return false +} + +// Adapts a ConfigMap into a volume. +// +// The contents of the target ConfigMap's Data field will be presented in a +// volume as files using the keys in the Data field as the file names, unless +// the items element is populated with specific mappings of keys to paths. +// ConfigMap volumes support ownership management and SELinux relabeling. +type ConfigMapVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"` + // items if unspecified, each key-value pair in the Data field of the referenced + // ConfigMap will be projected into the volume as a file whose name is the + // key and content is the value. If specified, the listed keys will be + // projected into the specified paths, and unlisted keys will not be + // present. If a key is specified which is not present in the ConfigMap, + // the volume setup will error unless it is marked optional. Paths must be + // relative and may not contain the '..' path or start with '..'. + // +optional + Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` + // defaultMode is optional: mode bits used to set permissions on created files by default. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // Defaults to 0644. + // Directories within the path are not affected by this setting. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + DefaultMode *int32 `protobuf:"varint,3,opt,name=defaultMode" json:"defaultMode,omitempty"` + // optional specify whether the ConfigMap or its keys must be defined + // +optional + Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"` +} + +func (x *ConfigMapVolumeSource) Reset() { + *x = ConfigMapVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfigMapVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfigMapVolumeSource) ProtoMessage() {} + +func (x *ConfigMapVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[26] + 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 ConfigMapVolumeSource.ProtoReflect.Descriptor instead. +func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{26} +} + +func (x *ConfigMapVolumeSource) GetLocalObjectReference() *LocalObjectReference { + if x != nil { + return x.LocalObjectReference + } + return nil +} + +func (x *ConfigMapVolumeSource) GetItems() []*KeyToPath { + if x != nil { + return x.Items + } + return nil +} + +func (x *ConfigMapVolumeSource) GetDefaultMode() int32 { + if x != nil && x.DefaultMode != nil { + return *x.DefaultMode + } + return 0 +} + +func (x *ConfigMapVolumeSource) GetOptional() bool { + if x != nil && x.Optional != nil { + return *x.Optional + } + return false +} + +// A single application container that you want to run within a pod. +type Container struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the container specified as a DNS_LABEL. + // Each container in a pod must have a unique name (DNS_LABEL). + // Cannot be updated. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // Container image name. + // More info: https://kubernetes.io/docs/concepts/containers/images + // This field is optional to allow higher level config management to default or override + // container images in workload controllers like Deployments and StatefulSets. + // +optional + Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"` + // Entrypoint array. Not executed within a shell. + // The container image's ENTRYPOINT is used if this is not provided. + // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + // of whether the variable exists or not. Cannot be updated. + // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // +optional + Command []string `protobuf:"bytes,3,rep,name=command" json:"command,omitempty"` + // Arguments to the entrypoint. + // The container image's CMD is used if this is not provided. + // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + // of whether the variable exists or not. Cannot be updated. + // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // +optional + Args []string `protobuf:"bytes,4,rep,name=args" json:"args,omitempty"` + // Container's working directory. + // If not specified, the container runtime's default will be used, which + // might be configured in the container image. + // Cannot be updated. + // +optional + WorkingDir *string `protobuf:"bytes,5,opt,name=workingDir" json:"workingDir,omitempty"` + // List of ports to expose from the container. Not specifying a port here + // DOES NOT prevent that port from being exposed. Any port which is + // listening on the default "0.0.0.0" address inside a container will be + // accessible from the network. + // Modifying this array with strategic merge patch may corrupt the data. + // For more information See https://github.com/kubernetes/kubernetes/issues/108255. + // Cannot be updated. + // +optional + // +patchMergeKey=containerPort + // +patchStrategy=merge + // +listType=map + // +listMapKey=containerPort + // +listMapKey=protocol + Ports []*ContainerPort `protobuf:"bytes,6,rep,name=ports" json:"ports,omitempty"` + // List of sources to populate environment variables in the container. + // The keys defined within a source must be a C_IDENTIFIER. All invalid keys + // will be reported as an event when the container is starting. When a key exists in multiple + // sources, the value associated with the last source will take precedence. + // Values defined by an Env with a duplicate key will take precedence. + // Cannot be updated. + // +optional + EnvFrom []*EnvFromSource `protobuf:"bytes,19,rep,name=envFrom" json:"envFrom,omitempty"` + // List of environment variables to set in the container. + // Cannot be updated. + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + Env []*EnvVar `protobuf:"bytes,7,rep,name=env" json:"env,omitempty"` + // Compute Resources required by this container. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // +optional + Resources *ResourceRequirements `protobuf:"bytes,8,opt,name=resources" json:"resources,omitempty"` + // Resources resize policy for the container. + // +featureGate=InPlacePodVerticalScaling + // +optional + // +listType=atomic + ResizePolicy []*ContainerResizePolicy `protobuf:"bytes,23,rep,name=resizePolicy" json:"resizePolicy,omitempty"` + // RestartPolicy defines the restart behavior of individual containers in a pod. + // This field may only be set for init containers, and the only allowed value is "Always". + // For non-init containers or when this field is not specified, + // the restart behavior is defined by the Pod's restart policy and the container type. + // Setting the RestartPolicy as "Always" for the init container will have the following effect: + // this init container will be continually restarted on + // exit until all regular containers have terminated. Once all regular + // containers have completed, all init containers with restartPolicy "Always" + // will be shut down. This lifecycle differs from normal init containers and + // is often referred to as a "sidecar" container. Although this init + // container still starts in the init container sequence, it does not wait + // for the container to complete before proceeding to the next init + // container. Instead, the next init container starts immediately after this + // init container is started, or after any startupProbe has successfully + // completed. + // +featureGate=SidecarContainers + // +optional + RestartPolicy *string `protobuf:"bytes,24,opt,name=restartPolicy" json:"restartPolicy,omitempty"` + // Pod volumes to mount into the container's filesystem. + // Cannot be updated. + // +optional + // +patchMergeKey=mountPath + // +patchStrategy=merge + VolumeMounts []*VolumeMount `protobuf:"bytes,9,rep,name=volumeMounts" json:"volumeMounts,omitempty"` + // volumeDevices is the list of block devices to be used by the container. + // +patchMergeKey=devicePath + // +patchStrategy=merge + // +optional + VolumeDevices []*VolumeDevice `protobuf:"bytes,21,rep,name=volumeDevices" json:"volumeDevices,omitempty"` + // Periodic probe of container liveness. + // Container will be restarted if the probe fails. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + LivenessProbe *Probe `protobuf:"bytes,10,opt,name=livenessProbe" json:"livenessProbe,omitempty"` + // Periodic probe of container service readiness. + // Container will be removed from service endpoints if the probe fails. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + ReadinessProbe *Probe `protobuf:"bytes,11,opt,name=readinessProbe" json:"readinessProbe,omitempty"` + // StartupProbe indicates that the Pod has successfully initialized. + // If specified, no other probes are executed until this completes successfully. + // If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + // This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + // when it might take a long time to load data or warm a cache, than during steady-state operation. + // This cannot be updated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + StartupProbe *Probe `protobuf:"bytes,22,opt,name=startupProbe" json:"startupProbe,omitempty"` + // Actions that the management system should take in response to container lifecycle events. + // Cannot be updated. + // +optional + Lifecycle *Lifecycle `protobuf:"bytes,12,opt,name=lifecycle" json:"lifecycle,omitempty"` + // Optional: Path at which the file to which the container's termination message + // will be written is mounted into the container's filesystem. + // Message written is intended to be brief final status, such as an assertion failure message. + // Will be truncated by the node if greater than 4096 bytes. The total message length across + // all containers will be limited to 12kb. + // Defaults to /dev/termination-log. + // Cannot be updated. + // +optional + TerminationMessagePath *string `protobuf:"bytes,13,opt,name=terminationMessagePath" json:"terminationMessagePath,omitempty"` + // Indicate how the termination message should be populated. File will use the contents of + // terminationMessagePath to populate the container status message on both success and failure. + // FallbackToLogsOnError will use the last chunk of container log output if the termination + // message file is empty and the container exited with an error. + // The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + // Defaults to File. + // Cannot be updated. + // +optional + TerminationMessagePolicy *string `protobuf:"bytes,20,opt,name=terminationMessagePolicy" json:"terminationMessagePolicy,omitempty"` + // Image pull policy. + // One of Always, Never, IfNotPresent. + // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + // +optional + ImagePullPolicy *string `protobuf:"bytes,14,opt,name=imagePullPolicy" json:"imagePullPolicy,omitempty"` + // SecurityContext defines the security options the container should be run with. + // If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + // More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ + // +optional + SecurityContext *SecurityContext `protobuf:"bytes,15,opt,name=securityContext" json:"securityContext,omitempty"` + // Whether this container should allocate a buffer for stdin in the container runtime. If this + // is not set, reads from stdin in the container will always result in EOF. + // Default is false. + // +optional + Stdin *bool `protobuf:"varint,16,opt,name=stdin" json:"stdin,omitempty"` + // Whether the container runtime should close the stdin channel after it has been opened by + // a single attach. When stdin is true the stdin stream will remain open across multiple attach + // sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + // first client attaches to stdin, and then remains open and accepts data until the client disconnects, + // at which time stdin is closed and remains closed until the container is restarted. If this + // flag is false, a container processes that reads from stdin will never receive an EOF. + // Default is false + // +optional + StdinOnce *bool `protobuf:"varint,17,opt,name=stdinOnce" json:"stdinOnce,omitempty"` + // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + // Default is false. + // +optional + Tty *bool `protobuf:"varint,18,opt,name=tty" json:"tty,omitempty"` +} + +func (x *Container) Reset() { + *x = Container{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Container) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Container) ProtoMessage() {} + +func (x *Container) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[27] + 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 Container.ProtoReflect.Descriptor instead. +func (*Container) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{27} +} + +func (x *Container) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *Container) GetImage() string { + if x != nil && x.Image != nil { + return *x.Image + } + return "" +} + +func (x *Container) GetCommand() []string { + if x != nil { + return x.Command + } + return nil +} + +func (x *Container) GetArgs() []string { + if x != nil { + return x.Args + } + return nil +} + +func (x *Container) GetWorkingDir() string { + if x != nil && x.WorkingDir != nil { + return *x.WorkingDir + } + return "" +} + +func (x *Container) GetPorts() []*ContainerPort { + if x != nil { + return x.Ports + } + return nil +} + +func (x *Container) GetEnvFrom() []*EnvFromSource { + if x != nil { + return x.EnvFrom + } + return nil +} + +func (x *Container) GetEnv() []*EnvVar { + if x != nil { + return x.Env + } + return nil +} + +func (x *Container) GetResources() *ResourceRequirements { + if x != nil { + return x.Resources + } + return nil +} + +func (x *Container) GetResizePolicy() []*ContainerResizePolicy { + if x != nil { + return x.ResizePolicy + } + return nil +} + +func (x *Container) GetRestartPolicy() string { + if x != nil && x.RestartPolicy != nil { + return *x.RestartPolicy + } + return "" +} + +func (x *Container) GetVolumeMounts() []*VolumeMount { + if x != nil { + return x.VolumeMounts + } + return nil +} + +func (x *Container) GetVolumeDevices() []*VolumeDevice { + if x != nil { + return x.VolumeDevices + } + return nil +} + +func (x *Container) GetLivenessProbe() *Probe { + if x != nil { + return x.LivenessProbe + } + return nil +} + +func (x *Container) GetReadinessProbe() *Probe { + if x != nil { + return x.ReadinessProbe + } + return nil +} + +func (x *Container) GetStartupProbe() *Probe { + if x != nil { + return x.StartupProbe + } + return nil +} + +func (x *Container) GetLifecycle() *Lifecycle { + if x != nil { + return x.Lifecycle + } + return nil +} + +func (x *Container) GetTerminationMessagePath() string { + if x != nil && x.TerminationMessagePath != nil { + return *x.TerminationMessagePath + } + return "" +} + +func (x *Container) GetTerminationMessagePolicy() string { + if x != nil && x.TerminationMessagePolicy != nil { + return *x.TerminationMessagePolicy + } + return "" +} + +func (x *Container) GetImagePullPolicy() string { + if x != nil && x.ImagePullPolicy != nil { + return *x.ImagePullPolicy + } + return "" +} + +func (x *Container) GetSecurityContext() *SecurityContext { + if x != nil { + return x.SecurityContext + } + return nil +} + +func (x *Container) GetStdin() bool { + if x != nil && x.Stdin != nil { + return *x.Stdin + } + return false +} + +func (x *Container) GetStdinOnce() bool { + if x != nil && x.StdinOnce != nil { + return *x.StdinOnce + } + return false +} + +func (x *Container) GetTty() bool { + if x != nil && x.Tty != nil { + return *x.Tty + } + return false +} + +// Describe a container image +type ContainerImage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Names by which this image is known. + // e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"] + // +optional + Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` + // The size of the image in bytes. + // +optional + SizeBytes *int64 `protobuf:"varint,2,opt,name=sizeBytes" json:"sizeBytes,omitempty"` +} + +func (x *ContainerImage) Reset() { + *x = ContainerImage{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerImage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerImage) ProtoMessage() {} + +func (x *ContainerImage) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[28] + 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 ContainerImage.ProtoReflect.Descriptor instead. +func (*ContainerImage) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{28} +} + +func (x *ContainerImage) GetNames() []string { + if x != nil { + return x.Names + } + return nil +} + +func (x *ContainerImage) GetSizeBytes() int64 { + if x != nil && x.SizeBytes != nil { + return *x.SizeBytes + } + return 0 +} + +// ContainerPort represents a network port in a single container. +type ContainerPort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + // named port in a pod must have a unique name. Name for the port that can be + // referred to by services. + // +optional + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // Number of port to expose on the host. + // If specified, this must be a valid port number, 0 < x < 65536. + // If HostNetwork is specified, this must match ContainerPort. + // Most containers do not need this. + // +optional + HostPort *int32 `protobuf:"varint,2,opt,name=hostPort" json:"hostPort,omitempty"` + // Number of port to expose on the pod's IP address. + // This must be a valid port number, 0 < x < 65536. + ContainerPort *int32 `protobuf:"varint,3,opt,name=containerPort" json:"containerPort,omitempty"` + // Protocol for port. Must be UDP, TCP, or SCTP. + // Defaults to "TCP". + // +optional + // +default="TCP" + Protocol *string `protobuf:"bytes,4,opt,name=protocol" json:"protocol,omitempty"` + // What host IP to bind the external port to. + // +optional + HostIP *string `protobuf:"bytes,5,opt,name=hostIP" json:"hostIP,omitempty"` +} + +func (x *ContainerPort) Reset() { + *x = ContainerPort{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerPort) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerPort) ProtoMessage() {} + +func (x *ContainerPort) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[29] + 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 ContainerPort.ProtoReflect.Descriptor instead. +func (*ContainerPort) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{29} +} + +func (x *ContainerPort) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *ContainerPort) GetHostPort() int32 { + if x != nil && x.HostPort != nil { + return *x.HostPort + } + return 0 +} + +func (x *ContainerPort) GetContainerPort() int32 { + if x != nil && x.ContainerPort != nil { + return *x.ContainerPort + } + return 0 +} + +func (x *ContainerPort) GetProtocol() string { + if x != nil && x.Protocol != nil { + return *x.Protocol + } + return "" +} + +func (x *ContainerPort) GetHostIP() string { + if x != nil && x.HostIP != nil { + return *x.HostIP + } + return "" +} + +// ContainerResizePolicy represents resource resize policy for the container. +type ContainerResizePolicy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the resource to which this resource resize policy applies. + // Supported values: cpu, memory. + ResourceName *string `protobuf:"bytes,1,opt,name=resourceName" json:"resourceName,omitempty"` + // Restart policy to apply when specified resource is resized. + // If not specified, it defaults to NotRequired. + RestartPolicy *string `protobuf:"bytes,2,opt,name=restartPolicy" json:"restartPolicy,omitempty"` +} + +func (x *ContainerResizePolicy) Reset() { + *x = ContainerResizePolicy{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerResizePolicy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerResizePolicy) ProtoMessage() {} + +func (x *ContainerResizePolicy) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[30] + 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 ContainerResizePolicy.ProtoReflect.Descriptor instead. +func (*ContainerResizePolicy) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{30} +} + +func (x *ContainerResizePolicy) GetResourceName() string { + if x != nil && x.ResourceName != nil { + return *x.ResourceName + } + return "" +} + +func (x *ContainerResizePolicy) GetRestartPolicy() string { + if x != nil && x.RestartPolicy != nil { + return *x.RestartPolicy + } + return "" +} + +// ContainerState holds a possible state of container. +// Only one of its members may be specified. +// If none of them is specified, the default one is ContainerStateWaiting. +type ContainerState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Details about a waiting container + // +optional + Waiting *ContainerStateWaiting `protobuf:"bytes,1,opt,name=waiting" json:"waiting,omitempty"` + // Details about a running container + // +optional + Running *ContainerStateRunning `protobuf:"bytes,2,opt,name=running" json:"running,omitempty"` + // Details about a terminated container + // +optional + Terminated *ContainerStateTerminated `protobuf:"bytes,3,opt,name=terminated" json:"terminated,omitempty"` +} + +func (x *ContainerState) Reset() { + *x = ContainerState{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerState) ProtoMessage() {} + +func (x *ContainerState) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[31] + 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 ContainerState.ProtoReflect.Descriptor instead. +func (*ContainerState) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{31} +} + +func (x *ContainerState) GetWaiting() *ContainerStateWaiting { + if x != nil { + return x.Waiting + } + return nil +} + +func (x *ContainerState) GetRunning() *ContainerStateRunning { + if x != nil { + return x.Running + } + return nil +} + +func (x *ContainerState) GetTerminated() *ContainerStateTerminated { + if x != nil { + return x.Terminated + } + return nil +} + +// ContainerStateRunning is a running state of a container. +type ContainerStateRunning struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Time at which the container was last (re-)started + // +optional + StartedAt *v1.Time `protobuf:"bytes,1,opt,name=startedAt" json:"startedAt,omitempty"` +} + +func (x *ContainerStateRunning) Reset() { + *x = ContainerStateRunning{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerStateRunning) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerStateRunning) ProtoMessage() {} + +func (x *ContainerStateRunning) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[32] + 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 ContainerStateRunning.ProtoReflect.Descriptor instead. +func (*ContainerStateRunning) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{32} +} + +func (x *ContainerStateRunning) GetStartedAt() *v1.Time { + if x != nil { + return x.StartedAt + } + return nil +} + +// ContainerStateTerminated is a terminated state of a container. +type ContainerStateTerminated struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Exit status from the last termination of the container + ExitCode *int32 `protobuf:"varint,1,opt,name=exitCode" json:"exitCode,omitempty"` + // Signal from the last termination of the container + // +optional + Signal *int32 `protobuf:"varint,2,opt,name=signal" json:"signal,omitempty"` + // (brief) reason from the last termination of the container + // +optional + Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"` + // Message regarding the last termination of the container + // +optional + Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` + // Time at which previous execution of the container started + // +optional + StartedAt *v1.Time `protobuf:"bytes,5,opt,name=startedAt" json:"startedAt,omitempty"` + // Time at which the container last terminated + // +optional + FinishedAt *v1.Time `protobuf:"bytes,6,opt,name=finishedAt" json:"finishedAt,omitempty"` + // Container's ID in the format '://' + // +optional + ContainerID *string `protobuf:"bytes,7,opt,name=containerID" json:"containerID,omitempty"` +} + +func (x *ContainerStateTerminated) Reset() { + *x = ContainerStateTerminated{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerStateTerminated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerStateTerminated) ProtoMessage() {} + +func (x *ContainerStateTerminated) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[33] + 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 ContainerStateTerminated.ProtoReflect.Descriptor instead. +func (*ContainerStateTerminated) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{33} +} + +func (x *ContainerStateTerminated) GetExitCode() int32 { + if x != nil && x.ExitCode != nil { + return *x.ExitCode + } + return 0 +} + +func (x *ContainerStateTerminated) GetSignal() int32 { + if x != nil && x.Signal != nil { + return *x.Signal + } + return 0 +} + +func (x *ContainerStateTerminated) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *ContainerStateTerminated) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *ContainerStateTerminated) GetStartedAt() *v1.Time { + if x != nil { + return x.StartedAt + } + return nil +} + +func (x *ContainerStateTerminated) GetFinishedAt() *v1.Time { + if x != nil { + return x.FinishedAt + } + return nil +} + +func (x *ContainerStateTerminated) GetContainerID() string { + if x != nil && x.ContainerID != nil { + return *x.ContainerID + } + return "" +} + +// ContainerStateWaiting is a waiting state of a container. +type ContainerStateWaiting struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // (brief) reason the container is not yet running. + // +optional + Reason *string `protobuf:"bytes,1,opt,name=reason" json:"reason,omitempty"` + // Message regarding why the container is not yet running. + // +optional + Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` +} + +func (x *ContainerStateWaiting) Reset() { + *x = ContainerStateWaiting{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerStateWaiting) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerStateWaiting) ProtoMessage() {} + +func (x *ContainerStateWaiting) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[34] + 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 ContainerStateWaiting.ProtoReflect.Descriptor instead. +func (*ContainerStateWaiting) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{34} +} + +func (x *ContainerStateWaiting) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *ContainerStateWaiting) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +// ContainerStatus contains details for the current status of this container. +type ContainerStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name is a DNS_LABEL representing the unique name of the container. + // Each container in a pod must have a unique name across all container types. + // Cannot be updated. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // State holds details about the container's current condition. + // +optional + State *ContainerState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + // LastTerminationState holds the last termination state of the container to + // help debug container crashes and restarts. This field is not + // populated if the container is still running and RestartCount is 0. + // +optional + LastState *ContainerState `protobuf:"bytes,3,opt,name=lastState" json:"lastState,omitempty"` + // Ready specifies whether the container is currently passing its readiness check. + // The value will change as readiness probes keep executing. If no readiness + // probes are specified, this field defaults to true once the container is + // fully started (see Started field). + // + // The value is typically used to determine whether a container is ready to + // accept traffic. + Ready *bool `protobuf:"varint,4,opt,name=ready" json:"ready,omitempty"` + // RestartCount holds the number of times the container has been restarted. + // Kubelet makes an effort to always increment the value, but there + // are cases when the state may be lost due to node restarts and then the value + // may be reset to 0. The value is never negative. + RestartCount *int32 `protobuf:"varint,5,opt,name=restartCount" json:"restartCount,omitempty"` + // Image is the name of container image that the container is running. + // The container image may not match the image used in the PodSpec, + // as it may have been resolved by the runtime. + // More info: https://kubernetes.io/docs/concepts/containers/images. + Image *string `protobuf:"bytes,6,opt,name=image" json:"image,omitempty"` + // ImageID is the image ID of the container's image. The image ID may not + // match the image ID of the image used in the PodSpec, as it may have been + // resolved by the runtime. + ImageID *string `protobuf:"bytes,7,opt,name=imageID" json:"imageID,omitempty"` + // ContainerID is the ID of the container in the format '://'. + // Where type is a container runtime identifier, returned from Version call of CRI API + // (for example "containerd"). + // +optional + ContainerID *string `protobuf:"bytes,8,opt,name=containerID" json:"containerID,omitempty"` + // Started indicates whether the container has finished its postStart lifecycle hook + // and passed its startup probe. + // Initialized as false, becomes true after startupProbe is considered + // successful. Resets to false when the container is restarted, or if kubelet + // loses state temporarily. In both cases, startup probes will run again. + // Is always true when no startupProbe is defined and container is running and + // has passed the postStart lifecycle hook. The null value must be treated the + // same as false. + // +optional + Started *bool `protobuf:"varint,9,opt,name=started" json:"started,omitempty"` + // AllocatedResources represents the compute resources allocated for this container by the + // node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission + // and after successfully admitting desired pod resize. + // +featureGate=InPlacePodVerticalScaling + // +optional + AllocatedResources map[string]*resource.Quantity `protobuf:"bytes,10,rep,name=allocatedResources" json:"allocatedResources,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Resources represents the compute resource requests and limits that have been successfully + // enacted on the running container after it has been started or has been successfully resized. + // +featureGate=InPlacePodVerticalScaling + // +optional + Resources *ResourceRequirements `protobuf:"bytes,11,opt,name=resources" json:"resources,omitempty"` +} + +func (x *ContainerStatus) Reset() { + *x = ContainerStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerStatus) ProtoMessage() {} + +func (x *ContainerStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[35] + 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 ContainerStatus.ProtoReflect.Descriptor instead. +func (*ContainerStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{35} +} + +func (x *ContainerStatus) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *ContainerStatus) GetState() *ContainerState { + if x != nil { + return x.State + } + return nil +} + +func (x *ContainerStatus) GetLastState() *ContainerState { + if x != nil { + return x.LastState + } + return nil +} + +func (x *ContainerStatus) GetReady() bool { + if x != nil && x.Ready != nil { + return *x.Ready + } + return false +} + +func (x *ContainerStatus) GetRestartCount() int32 { + if x != nil && x.RestartCount != nil { + return *x.RestartCount + } + return 0 +} + +func (x *ContainerStatus) GetImage() string { + if x != nil && x.Image != nil { + return *x.Image + } + return "" +} + +func (x *ContainerStatus) GetImageID() string { + if x != nil && x.ImageID != nil { + return *x.ImageID + } + return "" +} + +func (x *ContainerStatus) GetContainerID() string { + if x != nil && x.ContainerID != nil { + return *x.ContainerID + } + return "" +} + +func (x *ContainerStatus) GetStarted() bool { + if x != nil && x.Started != nil { + return *x.Started + } + return false +} + +func (x *ContainerStatus) GetAllocatedResources() map[string]*resource.Quantity { + if x != nil { + return x.AllocatedResources + } + return nil +} + +func (x *ContainerStatus) GetResources() *ResourceRequirements { + if x != nil { + return x.Resources + } + return nil +} + +// DaemonEndpoint contains information about a single Daemon endpoint. +type DaemonEndpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Port number of the given endpoint. + Port *int32 `protobuf:"varint,1,opt,name=Port" json:"Port,omitempty"` +} + +func (x *DaemonEndpoint) Reset() { + *x = DaemonEndpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DaemonEndpoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DaemonEndpoint) ProtoMessage() {} + +func (x *DaemonEndpoint) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[36] + 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 DaemonEndpoint.ProtoReflect.Descriptor instead. +func (*DaemonEndpoint) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{36} +} + +func (x *DaemonEndpoint) GetPort() int32 { + if x != nil && x.Port != nil { + return *x.Port + } + return 0 +} + +// Represents downward API info for projecting into a projected volume. +// Note that this is identical to a downwardAPI volume source without the default +// mode. +type DownwardAPIProjection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Items is a list of DownwardAPIVolume file + // +optional + Items []*DownwardAPIVolumeFile `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` +} + +func (x *DownwardAPIProjection) Reset() { + *x = DownwardAPIProjection{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DownwardAPIProjection) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DownwardAPIProjection) ProtoMessage() {} + +func (x *DownwardAPIProjection) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[37] + 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 DownwardAPIProjection.ProtoReflect.Descriptor instead. +func (*DownwardAPIProjection) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{37} +} + +func (x *DownwardAPIProjection) GetItems() []*DownwardAPIVolumeFile { + if x != nil { + return x.Items + } + return nil +} + +// DownwardAPIVolumeFile represents information to create the file containing the pod field +type DownwardAPIVolumeFile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' + Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` + // Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + // +optional + FieldRef *ObjectFieldSelector `protobuf:"bytes,2,opt,name=fieldRef" json:"fieldRef,omitempty"` + // Selects a resource of the container: only resources limits and requests + // (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + // +optional + ResourceFieldRef *ResourceFieldSelector `protobuf:"bytes,3,opt,name=resourceFieldRef" json:"resourceFieldRef,omitempty"` + // Optional: mode bits used to set permissions on this file, must be an octal value + // between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // If not specified, the volume defaultMode will be used. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + Mode *int32 `protobuf:"varint,4,opt,name=mode" json:"mode,omitempty"` +} + +func (x *DownwardAPIVolumeFile) Reset() { + *x = DownwardAPIVolumeFile{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DownwardAPIVolumeFile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DownwardAPIVolumeFile) ProtoMessage() {} + +func (x *DownwardAPIVolumeFile) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[38] + 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 DownwardAPIVolumeFile.ProtoReflect.Descriptor instead. +func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{38} +} + +func (x *DownwardAPIVolumeFile) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *DownwardAPIVolumeFile) GetFieldRef() *ObjectFieldSelector { + if x != nil { + return x.FieldRef + } + return nil +} + +func (x *DownwardAPIVolumeFile) GetResourceFieldRef() *ResourceFieldSelector { + if x != nil { + return x.ResourceFieldRef + } + return nil +} + +func (x *DownwardAPIVolumeFile) GetMode() int32 { + if x != nil && x.Mode != nil { + return *x.Mode + } + return 0 +} + +// DownwardAPIVolumeSource represents a volume containing downward API info. +// Downward API volumes support ownership management and SELinux relabeling. +type DownwardAPIVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Items is a list of downward API volume file + // +optional + Items []*DownwardAPIVolumeFile `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` + // Optional: mode bits to use on created files by default. Must be a + // Optional: mode bits used to set permissions on created files by default. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // Defaults to 0644. + // Directories within the path are not affected by this setting. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + DefaultMode *int32 `protobuf:"varint,2,opt,name=defaultMode" json:"defaultMode,omitempty"` +} + +func (x *DownwardAPIVolumeSource) Reset() { + *x = DownwardAPIVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DownwardAPIVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DownwardAPIVolumeSource) ProtoMessage() {} + +func (x *DownwardAPIVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[39] + 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 DownwardAPIVolumeSource.ProtoReflect.Descriptor instead. +func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{39} +} + +func (x *DownwardAPIVolumeSource) GetItems() []*DownwardAPIVolumeFile { + if x != nil { + return x.Items + } + return nil +} + +func (x *DownwardAPIVolumeSource) GetDefaultMode() int32 { + if x != nil && x.DefaultMode != nil { + return *x.DefaultMode + } + return 0 +} + +// Represents an empty directory for a pod. +// Empty directory volumes support ownership management and SELinux relabeling. +type EmptyDirVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // medium represents what type of storage medium should back this directory. + // The default is "" which means to use the node's default medium. + // Must be an empty string (default) or Memory. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + // +optional + Medium *string `protobuf:"bytes,1,opt,name=medium" json:"medium,omitempty"` + // sizeLimit is the total amount of local storage required for this EmptyDir volume. + // The size limit is also applicable for memory medium. + // The maximum usage on memory medium EmptyDir would be the minimum value between + // the SizeLimit specified here and the sum of memory limits of all containers in a pod. + // The default is nil which means that the limit is undefined. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + // +optional + SizeLimit *resource.Quantity `protobuf:"bytes,2,opt,name=sizeLimit" json:"sizeLimit,omitempty"` +} + +func (x *EmptyDirVolumeSource) Reset() { + *x = EmptyDirVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmptyDirVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmptyDirVolumeSource) ProtoMessage() {} + +func (x *EmptyDirVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[40] + 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 EmptyDirVolumeSource.ProtoReflect.Descriptor instead. +func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{40} +} + +func (x *EmptyDirVolumeSource) GetMedium() string { + if x != nil && x.Medium != nil { + return *x.Medium + } + return "" +} + +func (x *EmptyDirVolumeSource) GetSizeLimit() *resource.Quantity { + if x != nil { + return x.SizeLimit + } + return nil +} + +// EndpointAddress is a tuple that describes single IP address. +// +structType=atomic +type EndpointAddress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The IP of this endpoint. + // May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), + // or link-local multicast (224.0.0.0/24 or ff02::/16). + Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"` + // The Hostname of this endpoint + // +optional + Hostname *string `protobuf:"bytes,3,opt,name=hostname" json:"hostname,omitempty"` + // Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. + // +optional + NodeName *string `protobuf:"bytes,4,opt,name=nodeName" json:"nodeName,omitempty"` + // Reference to object providing the endpoint. + // +optional + TargetRef *ObjectReference `protobuf:"bytes,2,opt,name=targetRef" json:"targetRef,omitempty"` +} + +func (x *EndpointAddress) Reset() { + *x = EndpointAddress{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EndpointAddress) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EndpointAddress) ProtoMessage() {} + +func (x *EndpointAddress) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[41] + 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 EndpointAddress.ProtoReflect.Descriptor instead. +func (*EndpointAddress) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{41} +} + +func (x *EndpointAddress) GetIp() string { + if x != nil && x.Ip != nil { + return *x.Ip + } + return "" +} + +func (x *EndpointAddress) GetHostname() string { + if x != nil && x.Hostname != nil { + return *x.Hostname + } + return "" +} + +func (x *EndpointAddress) GetNodeName() string { + if x != nil && x.NodeName != nil { + return *x.NodeName + } + return "" +} + +func (x *EndpointAddress) GetTargetRef() *ObjectReference { + if x != nil { + return x.TargetRef + } + return nil +} + +// EndpointPort is a tuple that describes a single port. +// +structType=atomic +type EndpointPort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of this port. This must match the 'name' field in the + // corresponding ServicePort. + // Must be a DNS_LABEL. + // Optional only if one port is defined. + // +optional + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // The port number of the endpoint. + Port *int32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` + // The IP protocol for this port. + // Must be UDP, TCP, or SCTP. + // Default is TCP. + // +optional + Protocol *string `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"` + // The application protocol for this port. + // This is used as a hint for implementations to offer richer behavior for protocols that they understand. + // This field follows standard Kubernetes label syntax. + // Valid values are either: + // + // * Un-prefixed protocol names - reserved for IANA standard service names (as per + // RFC-6335 and https://www.iana.org/assignments/service-names). + // + // * Kubernetes-defined prefixed names: + // - 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 + // - 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 + // - 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 + // + // * Other protocols should use implementation-defined prefixed names such as + // mycompany.com/my-custom-protocol. + // +optional + AppProtocol *string `protobuf:"bytes,4,opt,name=appProtocol" json:"appProtocol,omitempty"` +} + +func (x *EndpointPort) Reset() { + *x = EndpointPort{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EndpointPort) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EndpointPort) ProtoMessage() {} + +func (x *EndpointPort) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[42] + 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 EndpointPort.ProtoReflect.Descriptor instead. +func (*EndpointPort) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{42} +} + +func (x *EndpointPort) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *EndpointPort) GetPort() int32 { + if x != nil && x.Port != nil { + return *x.Port + } + return 0 +} + +func (x *EndpointPort) GetProtocol() string { + if x != nil && x.Protocol != nil { + return *x.Protocol + } + return "" +} + +func (x *EndpointPort) GetAppProtocol() string { + if x != nil && x.AppProtocol != nil { + return *x.AppProtocol + } + return "" +} + +// EndpointSubset is a group of addresses with a common set of ports. The +// expanded set of endpoints is the Cartesian product of Addresses x Ports. +// For example, given: +// +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// } +// +// The resulting set of endpoints can be viewed as: +// +// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], +// b: [ 10.10.1.1:309, 10.10.2.2:309 ] +type EndpointSubset struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // IP addresses which offer the related ports that are marked as ready. These endpoints + // should be considered safe for load balancers and clients to utilize. + // +optional + Addresses []*EndpointAddress `protobuf:"bytes,1,rep,name=addresses" json:"addresses,omitempty"` + // IP addresses which offer the related ports but are not currently marked as ready + // because they have not yet finished starting, have recently failed a readiness check, + // or have recently failed a liveness check. + // +optional + NotReadyAddresses []*EndpointAddress `protobuf:"bytes,2,rep,name=notReadyAddresses" json:"notReadyAddresses,omitempty"` + // Port numbers available on the related IP addresses. + // +optional + Ports []*EndpointPort `protobuf:"bytes,3,rep,name=ports" json:"ports,omitempty"` +} + +func (x *EndpointSubset) Reset() { + *x = EndpointSubset{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EndpointSubset) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EndpointSubset) ProtoMessage() {} + +func (x *EndpointSubset) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[43] + 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 EndpointSubset.ProtoReflect.Descriptor instead. +func (*EndpointSubset) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{43} +} + +func (x *EndpointSubset) GetAddresses() []*EndpointAddress { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *EndpointSubset) GetNotReadyAddresses() []*EndpointAddress { + if x != nil { + return x.NotReadyAddresses + } + return nil +} + +func (x *EndpointSubset) GetPorts() []*EndpointPort { + if x != nil { + return x.Ports + } + return nil +} + +// Endpoints is a collection of endpoints that implement the actual service. Example: +// +// Name: "mysvc", +// Subsets: [ +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// }, +// { +// Addresses: [{"ip": "10.10.3.3"}], +// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] +// }, +// ] +type Endpoints struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // The set of all endpoints is the union of all subsets. Addresses are placed into + // subsets according to the IPs they share. A single address with multiple ports, + // some of which are ready and some of which are not (because they come from + // different containers) will result in the address being displayed in different + // subsets for the different ports. No address will appear in both Addresses and + // NotReadyAddresses in the same subset. + // Sets of addresses and ports that comprise a service. + // +optional + Subsets []*EndpointSubset `protobuf:"bytes,2,rep,name=subsets" json:"subsets,omitempty"` +} + +func (x *Endpoints) Reset() { + *x = Endpoints{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Endpoints) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Endpoints) ProtoMessage() {} + +func (x *Endpoints) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[44] + 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 Endpoints.ProtoReflect.Descriptor instead. +func (*Endpoints) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{44} +} + +func (x *Endpoints) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Endpoints) GetSubsets() []*EndpointSubset { + if x != nil { + return x.Subsets + } + return nil +} + +// EndpointsList is a list of endpoints. +type EndpointsList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of endpoints. + Items []*Endpoints `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *EndpointsList) Reset() { + *x = EndpointsList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EndpointsList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EndpointsList) ProtoMessage() {} + +func (x *EndpointsList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[45] + 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 EndpointsList.ProtoReflect.Descriptor instead. +func (*EndpointsList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{45} +} + +func (x *EndpointsList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *EndpointsList) GetItems() []*Endpoints { + if x != nil { + return x.Items + } + return nil +} + +// EnvFromSource represents the source of a set of ConfigMaps +type EnvFromSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + // +optional + Prefix *string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"` + // The ConfigMap to select from + // +optional + ConfigMapRef *ConfigMapEnvSource `protobuf:"bytes,2,opt,name=configMapRef" json:"configMapRef,omitempty"` + // The Secret to select from + // +optional + SecretRef *SecretEnvSource `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"` +} + +func (x *EnvFromSource) Reset() { + *x = EnvFromSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnvFromSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnvFromSource) ProtoMessage() {} + +func (x *EnvFromSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[46] + 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 EnvFromSource.ProtoReflect.Descriptor instead. +func (*EnvFromSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{46} +} + +func (x *EnvFromSource) GetPrefix() string { + if x != nil && x.Prefix != nil { + return *x.Prefix + } + return "" +} + +func (x *EnvFromSource) GetConfigMapRef() *ConfigMapEnvSource { + if x != nil { + return x.ConfigMapRef + } + return nil +} + +func (x *EnvFromSource) GetSecretRef() *SecretEnvSource { + if x != nil { + return x.SecretRef + } + return nil +} + +// EnvVar represents an environment variable present in a Container. +type EnvVar struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the environment variable. Must be a C_IDENTIFIER. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // Variable references $(VAR_NAME) are expanded + // using the previously defined environment variables in the container and + // any service environment variables. If a variable cannot be resolved, + // the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + // "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + // Escaped references will never be expanded, regardless of whether the variable + // exists or not. + // Defaults to "". + // +optional + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` + // Source for the environment variable's value. Cannot be used if value is not empty. + // +optional + ValueFrom *EnvVarSource `protobuf:"bytes,3,opt,name=valueFrom" json:"valueFrom,omitempty"` +} + +func (x *EnvVar) Reset() { + *x = EnvVar{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnvVar) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnvVar) ProtoMessage() {} + +func (x *EnvVar) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[47] + 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 EnvVar.ProtoReflect.Descriptor instead. +func (*EnvVar) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{47} +} + +func (x *EnvVar) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *EnvVar) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +func (x *EnvVar) GetValueFrom() *EnvVarSource { + if x != nil { + return x.ValueFrom + } + return nil +} + +// EnvVarSource represents a source for the value of an EnvVar. +type EnvVarSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + // spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. + // +optional + FieldRef *ObjectFieldSelector `protobuf:"bytes,1,opt,name=fieldRef" json:"fieldRef,omitempty"` + // Selects a resource of the container: only resources limits and requests + // (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. + // +optional + ResourceFieldRef *ResourceFieldSelector `protobuf:"bytes,2,opt,name=resourceFieldRef" json:"resourceFieldRef,omitempty"` + // Selects a key of a ConfigMap. + // +optional + ConfigMapKeyRef *ConfigMapKeySelector `protobuf:"bytes,3,opt,name=configMapKeyRef" json:"configMapKeyRef,omitempty"` + // Selects a key of a secret in the pod's namespace + // +optional + SecretKeyRef *SecretKeySelector `protobuf:"bytes,4,opt,name=secretKeyRef" json:"secretKeyRef,omitempty"` +} + +func (x *EnvVarSource) Reset() { + *x = EnvVarSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnvVarSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnvVarSource) ProtoMessage() {} + +func (x *EnvVarSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[48] + 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 EnvVarSource.ProtoReflect.Descriptor instead. +func (*EnvVarSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{48} +} + +func (x *EnvVarSource) GetFieldRef() *ObjectFieldSelector { + if x != nil { + return x.FieldRef + } + return nil +} + +func (x *EnvVarSource) GetResourceFieldRef() *ResourceFieldSelector { + if x != nil { + return x.ResourceFieldRef + } + return nil +} + +func (x *EnvVarSource) GetConfigMapKeyRef() *ConfigMapKeySelector { + if x != nil { + return x.ConfigMapKeyRef + } + return nil +} + +func (x *EnvVarSource) GetSecretKeyRef() *SecretKeySelector { + if x != nil { + return x.SecretKeyRef + } + return nil +} + +// An EphemeralContainer is a temporary container that you may add to an existing Pod for +// user-initiated activities such as debugging. Ephemeral containers have no resource or +// scheduling guarantees, and they will not be restarted when they exit or when a Pod is +// removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the +// Pod to exceed its resource allocation. +// +// To add an ephemeral container, use the ephemeralcontainers subresource of an existing +// Pod. Ephemeral containers may not be removed or restarted. +type EphemeralContainer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Ephemeral containers have all of the fields of Container, plus additional fields + // specific to ephemeral containers. Fields in common with Container are in the + // following inlined struct so than an EphemeralContainer may easily be converted + // to a Container. + EphemeralContainerCommon *EphemeralContainerCommon `protobuf:"bytes,1,opt,name=ephemeralContainerCommon" json:"ephemeralContainerCommon,omitempty"` + // If set, the name of the container from PodSpec that this ephemeral container targets. + // The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. + // If not set then the ephemeral container uses the namespaces configured in the Pod spec. + // + // The container runtime must implement support for this feature. If the runtime does not + // support namespace targeting then the result of setting this field is undefined. + // +optional + TargetContainerName *string `protobuf:"bytes,2,opt,name=targetContainerName" json:"targetContainerName,omitempty"` +} + +func (x *EphemeralContainer) Reset() { + *x = EphemeralContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EphemeralContainer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EphemeralContainer) ProtoMessage() {} + +func (x *EphemeralContainer) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[49] + 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 EphemeralContainer.ProtoReflect.Descriptor instead. +func (*EphemeralContainer) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{49} +} + +func (x *EphemeralContainer) GetEphemeralContainerCommon() *EphemeralContainerCommon { + if x != nil { + return x.EphemeralContainerCommon + } + return nil +} + +func (x *EphemeralContainer) GetTargetContainerName() string { + if x != nil && x.TargetContainerName != nil { + return *x.TargetContainerName + } + return "" +} + +// EphemeralContainerCommon is a copy of all fields in Container to be inlined in +// EphemeralContainer. This separate type allows easy conversion from EphemeralContainer +// to Container and allows separate documentation for the fields of EphemeralContainer. +// When a new field is added to Container it must be added here as well. +type EphemeralContainerCommon struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the ephemeral container specified as a DNS_LABEL. + // This name must be unique among all containers, init containers and ephemeral containers. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // Container image name. + // More info: https://kubernetes.io/docs/concepts/containers/images + Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"` + // Entrypoint array. Not executed within a shell. + // The image's ENTRYPOINT is used if this is not provided. + // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + // of whether the variable exists or not. Cannot be updated. + // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // +optional + Command []string `protobuf:"bytes,3,rep,name=command" json:"command,omitempty"` + // Arguments to the entrypoint. + // The image's CMD is used if this is not provided. + // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + // cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + // to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + // produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + // of whether the variable exists or not. Cannot be updated. + // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + // +optional + Args []string `protobuf:"bytes,4,rep,name=args" json:"args,omitempty"` + // Container's working directory. + // If not specified, the container runtime's default will be used, which + // might be configured in the container image. + // Cannot be updated. + // +optional + WorkingDir *string `protobuf:"bytes,5,opt,name=workingDir" json:"workingDir,omitempty"` + // Ports are not allowed for ephemeral containers. + // +optional + // +patchMergeKey=containerPort + // +patchStrategy=merge + // +listType=map + // +listMapKey=containerPort + // +listMapKey=protocol + Ports []*ContainerPort `protobuf:"bytes,6,rep,name=ports" json:"ports,omitempty"` + // List of sources to populate environment variables in the container. + // The keys defined within a source must be a C_IDENTIFIER. All invalid keys + // will be reported as an event when the container is starting. When a key exists in multiple + // sources, the value associated with the last source will take precedence. + // Values defined by an Env with a duplicate key will take precedence. + // Cannot be updated. + // +optional + EnvFrom []*EnvFromSource `protobuf:"bytes,19,rep,name=envFrom" json:"envFrom,omitempty"` + // List of environment variables to set in the container. + // Cannot be updated. + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + Env []*EnvVar `protobuf:"bytes,7,rep,name=env" json:"env,omitempty"` + // Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources + // already allocated to the pod. + // +optional + Resources *ResourceRequirements `protobuf:"bytes,8,opt,name=resources" json:"resources,omitempty"` + // Resources resize policy for the container. + // +featureGate=InPlacePodVerticalScaling + // +optional + // +listType=atomic + ResizePolicy []*ContainerResizePolicy `protobuf:"bytes,23,rep,name=resizePolicy" json:"resizePolicy,omitempty"` + // Restart policy for the container to manage the restart behavior of each + // container within a pod. + // This may only be set for init containers. You cannot set this field on + // ephemeral containers. + // +featureGate=SidecarContainers + // +optional + RestartPolicy *string `protobuf:"bytes,24,opt,name=restartPolicy" json:"restartPolicy,omitempty"` + // Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. + // Cannot be updated. + // +optional + // +patchMergeKey=mountPath + // +patchStrategy=merge + VolumeMounts []*VolumeMount `protobuf:"bytes,9,rep,name=volumeMounts" json:"volumeMounts,omitempty"` + // volumeDevices is the list of block devices to be used by the container. + // +patchMergeKey=devicePath + // +patchStrategy=merge + // +optional + VolumeDevices []*VolumeDevice `protobuf:"bytes,21,rep,name=volumeDevices" json:"volumeDevices,omitempty"` + // Probes are not allowed for ephemeral containers. + // +optional + LivenessProbe *Probe `protobuf:"bytes,10,opt,name=livenessProbe" json:"livenessProbe,omitempty"` + // Probes are not allowed for ephemeral containers. + // +optional + ReadinessProbe *Probe `protobuf:"bytes,11,opt,name=readinessProbe" json:"readinessProbe,omitempty"` + // Probes are not allowed for ephemeral containers. + // +optional + StartupProbe *Probe `protobuf:"bytes,22,opt,name=startupProbe" json:"startupProbe,omitempty"` + // Lifecycle is not allowed for ephemeral containers. + // +optional + Lifecycle *Lifecycle `protobuf:"bytes,12,opt,name=lifecycle" json:"lifecycle,omitempty"` + // Optional: Path at which the file to which the container's termination message + // will be written is mounted into the container's filesystem. + // Message written is intended to be brief final status, such as an assertion failure message. + // Will be truncated by the node if greater than 4096 bytes. The total message length across + // all containers will be limited to 12kb. + // Defaults to /dev/termination-log. + // Cannot be updated. + // +optional + TerminationMessagePath *string `protobuf:"bytes,13,opt,name=terminationMessagePath" json:"terminationMessagePath,omitempty"` + // Indicate how the termination message should be populated. File will use the contents of + // terminationMessagePath to populate the container status message on both success and failure. + // FallbackToLogsOnError will use the last chunk of container log output if the termination + // message file is empty and the container exited with an error. + // The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + // Defaults to File. + // Cannot be updated. + // +optional + TerminationMessagePolicy *string `protobuf:"bytes,20,opt,name=terminationMessagePolicy" json:"terminationMessagePolicy,omitempty"` + // Image pull policy. + // One of Always, Never, IfNotPresent. + // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/containers/images#updating-images + // +optional + ImagePullPolicy *string `protobuf:"bytes,14,opt,name=imagePullPolicy" json:"imagePullPolicy,omitempty"` + // Optional: SecurityContext defines the security options the ephemeral container should be run with. + // If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + // +optional + SecurityContext *SecurityContext `protobuf:"bytes,15,opt,name=securityContext" json:"securityContext,omitempty"` + // Whether this container should allocate a buffer for stdin in the container runtime. If this + // is not set, reads from stdin in the container will always result in EOF. + // Default is false. + // +optional + Stdin *bool `protobuf:"varint,16,opt,name=stdin" json:"stdin,omitempty"` + // Whether the container runtime should close the stdin channel after it has been opened by + // a single attach. When stdin is true the stdin stream will remain open across multiple attach + // sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + // first client attaches to stdin, and then remains open and accepts data until the client disconnects, + // at which time stdin is closed and remains closed until the container is restarted. If this + // flag is false, a container processes that reads from stdin will never receive an EOF. + // Default is false + // +optional + StdinOnce *bool `protobuf:"varint,17,opt,name=stdinOnce" json:"stdinOnce,omitempty"` + // Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + // Default is false. + // +optional + Tty *bool `protobuf:"varint,18,opt,name=tty" json:"tty,omitempty"` +} + +func (x *EphemeralContainerCommon) Reset() { + *x = EphemeralContainerCommon{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EphemeralContainerCommon) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EphemeralContainerCommon) ProtoMessage() {} + +func (x *EphemeralContainerCommon) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[50] + 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 EphemeralContainerCommon.ProtoReflect.Descriptor instead. +func (*EphemeralContainerCommon) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{50} +} + +func (x *EphemeralContainerCommon) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *EphemeralContainerCommon) GetImage() string { + if x != nil && x.Image != nil { + return *x.Image + } + return "" +} + +func (x *EphemeralContainerCommon) GetCommand() []string { + if x != nil { + return x.Command + } + return nil +} + +func (x *EphemeralContainerCommon) GetArgs() []string { + if x != nil { + return x.Args + } + return nil +} + +func (x *EphemeralContainerCommon) GetWorkingDir() string { + if x != nil && x.WorkingDir != nil { + return *x.WorkingDir + } + return "" +} + +func (x *EphemeralContainerCommon) GetPorts() []*ContainerPort { + if x != nil { + return x.Ports + } + return nil +} + +func (x *EphemeralContainerCommon) GetEnvFrom() []*EnvFromSource { + if x != nil { + return x.EnvFrom + } + return nil +} + +func (x *EphemeralContainerCommon) GetEnv() []*EnvVar { + if x != nil { + return x.Env + } + return nil +} + +func (x *EphemeralContainerCommon) GetResources() *ResourceRequirements { + if x != nil { + return x.Resources + } + return nil +} + +func (x *EphemeralContainerCommon) GetResizePolicy() []*ContainerResizePolicy { + if x != nil { + return x.ResizePolicy + } + return nil +} + +func (x *EphemeralContainerCommon) GetRestartPolicy() string { + if x != nil && x.RestartPolicy != nil { + return *x.RestartPolicy + } + return "" +} + +func (x *EphemeralContainerCommon) GetVolumeMounts() []*VolumeMount { + if x != nil { + return x.VolumeMounts + } + return nil +} + +func (x *EphemeralContainerCommon) GetVolumeDevices() []*VolumeDevice { + if x != nil { + return x.VolumeDevices + } + return nil +} + +func (x *EphemeralContainerCommon) GetLivenessProbe() *Probe { + if x != nil { + return x.LivenessProbe + } + return nil +} + +func (x *EphemeralContainerCommon) GetReadinessProbe() *Probe { + if x != nil { + return x.ReadinessProbe + } + return nil +} + +func (x *EphemeralContainerCommon) GetStartupProbe() *Probe { + if x != nil { + return x.StartupProbe + } + return nil +} + +func (x *EphemeralContainerCommon) GetLifecycle() *Lifecycle { + if x != nil { + return x.Lifecycle + } + return nil +} + +func (x *EphemeralContainerCommon) GetTerminationMessagePath() string { + if x != nil && x.TerminationMessagePath != nil { + return *x.TerminationMessagePath + } + return "" +} + +func (x *EphemeralContainerCommon) GetTerminationMessagePolicy() string { + if x != nil && x.TerminationMessagePolicy != nil { + return *x.TerminationMessagePolicy + } + return "" +} + +func (x *EphemeralContainerCommon) GetImagePullPolicy() string { + if x != nil && x.ImagePullPolicy != nil { + return *x.ImagePullPolicy + } + return "" +} + +func (x *EphemeralContainerCommon) GetSecurityContext() *SecurityContext { + if x != nil { + return x.SecurityContext + } + return nil +} + +func (x *EphemeralContainerCommon) GetStdin() bool { + if x != nil && x.Stdin != nil { + return *x.Stdin + } + return false +} + +func (x *EphemeralContainerCommon) GetStdinOnce() bool { + if x != nil && x.StdinOnce != nil { + return *x.StdinOnce + } + return false +} + +func (x *EphemeralContainerCommon) GetTty() bool { + if x != nil && x.Tty != nil { + return *x.Tty + } + return false +} + +// Represents an ephemeral volume that is handled by a normal storage driver. +type EphemeralVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Will be used to create a stand-alone PVC to provision the volume. + // The pod in which this EphemeralVolumeSource is embedded will be the + // owner of the PVC, i.e. the PVC will be deleted together with the + // pod. The name of the PVC will be `-` where + // `` is the name from the `PodSpec.Volumes` array + // entry. Pod validation will reject the pod if the concatenated name + // is not valid for a PVC (for example, too long). + // + // An existing PVC with that name that is not owned by the pod + // will *not* be used for the pod to avoid using an unrelated + // volume by mistake. Starting the pod is then blocked until + // the unrelated PVC is removed. If such a pre-created PVC is + // meant to be used by the pod, the PVC has to updated with an + // owner reference to the pod once the pod exists. Normally + // this should not be necessary, but it may be useful when + // manually reconstructing a broken cluster. + // + // This field is read-only and no changes will be made by Kubernetes + // to the PVC after it has been created. + // + // Required, must not be nil. + VolumeClaimTemplate *PersistentVolumeClaimTemplate `protobuf:"bytes,1,opt,name=volumeClaimTemplate" json:"volumeClaimTemplate,omitempty"` +} + +func (x *EphemeralVolumeSource) Reset() { + *x = EphemeralVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EphemeralVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EphemeralVolumeSource) ProtoMessage() {} + +func (x *EphemeralVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[51] + 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 EphemeralVolumeSource.ProtoReflect.Descriptor instead. +func (*EphemeralVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{51} +} + +func (x *EphemeralVolumeSource) GetVolumeClaimTemplate() *PersistentVolumeClaimTemplate { + if x != nil { + return x.VolumeClaimTemplate + } + return nil +} + +// Event is a report of an event somewhere in the cluster. Events +// have a limited retention time and triggers and messages may evolve +// with time. Event consumers should not rely on the timing of an event +// with a given Reason reflecting a consistent underlying trigger, or the +// continued existence of events with that Reason. Events should be +// treated as informative, best-effort, supplemental data. +type Event struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // The object that this event is about. + InvolvedObject *ObjectReference `protobuf:"bytes,2,opt,name=involvedObject" json:"involvedObject,omitempty"` + // This should be a short, machine understandable string that gives the reason + // for the transition into the object's current status. + // TODO: provide exact specification for format. + // +optional + Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"` + // A human-readable description of the status of this operation. + // TODO: decide on maximum length. + // +optional + Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` + // The component reporting this event. Should be a short machine understandable string. + // +optional + Source *EventSource `protobuf:"bytes,5,opt,name=source" json:"source,omitempty"` + // The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) + // +optional + FirstTimestamp *v1.Time `protobuf:"bytes,6,opt,name=firstTimestamp" json:"firstTimestamp,omitempty"` + // The time at which the most recent occurrence of this event was recorded. + // +optional + LastTimestamp *v1.Time `protobuf:"bytes,7,opt,name=lastTimestamp" json:"lastTimestamp,omitempty"` + // The number of times this event has occurred. + // +optional + Count *int32 `protobuf:"varint,8,opt,name=count" json:"count,omitempty"` + // Type of this event (Normal, Warning), new types could be added in the future + // +optional + Type *string `protobuf:"bytes,9,opt,name=type" json:"type,omitempty"` + // Time when this Event was first observed. + // +optional + EventTime *v1.MicroTime `protobuf:"bytes,10,opt,name=eventTime" json:"eventTime,omitempty"` + // Data about the Event series this event represents or nil if it's a singleton Event. + // +optional + Series *EventSeries `protobuf:"bytes,11,opt,name=series" json:"series,omitempty"` + // What action was taken/failed regarding to the Regarding object. + // +optional + Action *string `protobuf:"bytes,12,opt,name=action" json:"action,omitempty"` + // Optional secondary object for more complex actions. + // +optional + Related *ObjectReference `protobuf:"bytes,13,opt,name=related" json:"related,omitempty"` + // Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. + // +optional + ReportingComponent *string `protobuf:"bytes,14,opt,name=reportingComponent" json:"reportingComponent,omitempty"` + // ID of the controller instance, e.g. `kubelet-xyzf`. + // +optional + ReportingInstance *string `protobuf:"bytes,15,opt,name=reportingInstance" json:"reportingInstance,omitempty"` +} + +func (x *Event) Reset() { + *x = Event{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Event) ProtoMessage() {} + +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[52] + 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 Event.ProtoReflect.Descriptor instead. +func (*Event) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{52} +} + +func (x *Event) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Event) GetInvolvedObject() *ObjectReference { + if x != nil { + return x.InvolvedObject + } + return nil +} + +func (x *Event) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *Event) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *Event) GetSource() *EventSource { + if x != nil { + return x.Source + } + return nil +} + +func (x *Event) GetFirstTimestamp() *v1.Time { + if x != nil { + return x.FirstTimestamp + } + return nil +} + +func (x *Event) GetLastTimestamp() *v1.Time { + if x != nil { + return x.LastTimestamp + } + return nil +} + +func (x *Event) GetCount() int32 { + if x != nil && x.Count != nil { + return *x.Count + } + return 0 +} + +func (x *Event) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *Event) GetEventTime() *v1.MicroTime { + if x != nil { + return x.EventTime + } + return nil +} + +func (x *Event) GetSeries() *EventSeries { + if x != nil { + return x.Series + } + return nil +} + +func (x *Event) GetAction() string { + if x != nil && x.Action != nil { + return *x.Action + } + return "" +} + +func (x *Event) GetRelated() *ObjectReference { + if x != nil { + return x.Related + } + return nil +} + +func (x *Event) GetReportingComponent() string { + if x != nil && x.ReportingComponent != nil { + return *x.ReportingComponent + } + return "" +} + +func (x *Event) GetReportingInstance() string { + if x != nil && x.ReportingInstance != nil { + return *x.ReportingInstance + } + return "" +} + +// EventList is a list of events. +type EventList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of events + Items []*Event `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *EventList) Reset() { + *x = EventList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventList) ProtoMessage() {} + +func (x *EventList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[53] + 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 EventList.ProtoReflect.Descriptor instead. +func (*EventList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{53} +} + +func (x *EventList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *EventList) GetItems() []*Event { + if x != nil { + return x.Items + } + return nil +} + +// EventSeries contain information on series of events, i.e. thing that was/is happening +// continuously for some time. +type EventSeries struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Number of occurrences in this series up to the last heartbeat time + Count *int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` + // Time of the last occurrence observed + LastObservedTime *v1.MicroTime `protobuf:"bytes,2,opt,name=lastObservedTime" json:"lastObservedTime,omitempty"` +} + +func (x *EventSeries) Reset() { + *x = EventSeries{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventSeries) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventSeries) ProtoMessage() {} + +func (x *EventSeries) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[54] + 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 EventSeries.ProtoReflect.Descriptor instead. +func (*EventSeries) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{54} +} + +func (x *EventSeries) GetCount() int32 { + if x != nil && x.Count != nil { + return *x.Count + } + return 0 +} + +func (x *EventSeries) GetLastObservedTime() *v1.MicroTime { + if x != nil { + return x.LastObservedTime + } + return nil +} + +// EventSource contains information for an event. +type EventSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Component from which the event is generated. + // +optional + Component *string `protobuf:"bytes,1,opt,name=component" json:"component,omitempty"` + // Node name on which the event is generated. + // +optional + Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"` +} + +func (x *EventSource) Reset() { + *x = EventSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventSource) ProtoMessage() {} + +func (x *EventSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[55] + 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 EventSource.ProtoReflect.Descriptor instead. +func (*EventSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{55} +} + +func (x *EventSource) GetComponent() string { + if x != nil && x.Component != nil { + return *x.Component + } + return "" +} + +func (x *EventSource) GetHost() string { + if x != nil && x.Host != nil { + return *x.Host + } + return "" +} + +// ExecAction describes a "run in container" action. +type ExecAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Command is the command line to execute inside the container, the working directory for the + // command is root ('/') in the container's filesystem. The command is simply exec'd, it is + // not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + // a shell, you need to explicitly call out to that shell. + // Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + // +optional + Command []string `protobuf:"bytes,1,rep,name=command" json:"command,omitempty"` +} + +func (x *ExecAction) Reset() { + *x = ExecAction{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecAction) ProtoMessage() {} + +func (x *ExecAction) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[56] + 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 ExecAction.ProtoReflect.Descriptor instead. +func (*ExecAction) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{56} +} + +func (x *ExecAction) GetCommand() []string { + if x != nil { + return x.Command + } + return nil +} + +// Represents a Fibre Channel volume. +// Fibre Channel volumes can only be mounted as read/write once. +// Fibre Channel volumes support ownership management and SELinux relabeling. +type FCVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // targetWWNs is Optional: FC target worldwide names (WWNs) + // +optional + TargetWWNs []string `protobuf:"bytes,1,rep,name=targetWWNs" json:"targetWWNs,omitempty"` + // lun is Optional: FC target lun number + // +optional + Lun *int32 `protobuf:"varint,2,opt,name=lun" json:"lun,omitempty"` + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"` + // readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"` + // wwids Optional: FC volume world wide identifiers (wwids) + // Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. + // +optional + Wwids []string `protobuf:"bytes,5,rep,name=wwids" json:"wwids,omitempty"` +} + +func (x *FCVolumeSource) Reset() { + *x = FCVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FCVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FCVolumeSource) ProtoMessage() {} + +func (x *FCVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[57] + 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 FCVolumeSource.ProtoReflect.Descriptor instead. +func (*FCVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{57} +} + +func (x *FCVolumeSource) GetTargetWWNs() []string { + if x != nil { + return x.TargetWWNs + } + return nil +} + +func (x *FCVolumeSource) GetLun() int32 { + if x != nil && x.Lun != nil { + return *x.Lun + } + return 0 +} + +func (x *FCVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *FCVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *FCVolumeSource) GetWwids() []string { + if x != nil { + return x.Wwids + } + return nil +} + +// FlexPersistentVolumeSource represents a generic persistent volume resource that is +// provisioned/attached using an exec based plugin. +type FlexPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // driver is the name of the driver to use for this volume. + Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"` + // fsType is the Filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + // +optional + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` + // secretRef is Optional: SecretRef is reference to the secret object containing + // sensitive information to pass to the plugin scripts. This may be + // empty if no secret object is specified. If the secret object + // contains more than one secret, all secrets are passed to the plugin + // scripts. + // +optional + SecretRef *SecretReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"` + // readOnly is Optional: defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"` + // options is Optional: this field holds extra command options if any. + // +optional + Options map[string]string `protobuf:"bytes,5,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *FlexPersistentVolumeSource) Reset() { + *x = FlexPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlexPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlexPersistentVolumeSource) ProtoMessage() {} + +func (x *FlexPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[58] + 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 FlexPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*FlexPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{58} +} + +func (x *FlexPersistentVolumeSource) GetDriver() string { + if x != nil && x.Driver != nil { + return *x.Driver + } + return "" +} + +func (x *FlexPersistentVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *FlexPersistentVolumeSource) GetSecretRef() *SecretReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *FlexPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *FlexPersistentVolumeSource) GetOptions() map[string]string { + if x != nil { + return x.Options + } + return nil +} + +// FlexVolume represents a generic volume resource that is +// provisioned/attached using an exec based plugin. +type FlexVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // driver is the name of the driver to use for this volume. + Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"` + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + // +optional + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` + // secretRef is Optional: secretRef is reference to the secret object containing + // sensitive information to pass to the plugin scripts. This may be + // empty if no secret object is specified. If the secret object + // contains more than one secret, all secrets are passed to the plugin + // scripts. + // +optional + SecretRef *LocalObjectReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"` + // readOnly is Optional: defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"` + // options is Optional: this field holds extra command options if any. + // +optional + Options map[string]string `protobuf:"bytes,5,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *FlexVolumeSource) Reset() { + *x = FlexVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlexVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlexVolumeSource) ProtoMessage() {} + +func (x *FlexVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[59] + 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 FlexVolumeSource.ProtoReflect.Descriptor instead. +func (*FlexVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{59} +} + +func (x *FlexVolumeSource) GetDriver() string { + if x != nil && x.Driver != nil { + return *x.Driver + } + return "" +} + +func (x *FlexVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *FlexVolumeSource) GetSecretRef() *LocalObjectReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *FlexVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *FlexVolumeSource) GetOptions() map[string]string { + if x != nil { + return x.Options + } + return nil +} + +// Represents a Flocker volume mounted by the Flocker agent. +// One and only one of datasetName and datasetUUID should be set. +// Flocker volumes do not support ownership management or SELinux relabeling. +type FlockerVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + // should be considered as deprecated + // +optional + DatasetName *string `protobuf:"bytes,1,opt,name=datasetName" json:"datasetName,omitempty"` + // datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset + // +optional + DatasetUUID *string `protobuf:"bytes,2,opt,name=datasetUUID" json:"datasetUUID,omitempty"` +} + +func (x *FlockerVolumeSource) Reset() { + *x = FlockerVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FlockerVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FlockerVolumeSource) ProtoMessage() {} + +func (x *FlockerVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[60] + 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 FlockerVolumeSource.ProtoReflect.Descriptor instead. +func (*FlockerVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{60} +} + +func (x *FlockerVolumeSource) GetDatasetName() string { + if x != nil && x.DatasetName != nil { + return *x.DatasetName + } + return "" +} + +func (x *FlockerVolumeSource) GetDatasetUUID() string { + if x != nil && x.DatasetUUID != nil { + return *x.DatasetUUID + } + return "" +} + +// Represents a Persistent Disk resource in Google Compute Engine. +// +// A GCE PD must exist before mounting to a container. The disk must +// also be in the same GCE project and zone as the kubelet. A GCE PD +// can only be mounted as read/write once or read-only many times. GCE +// PDs support ownership management and SELinux relabeling. +type GCEPersistentDiskVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + PdName *string `protobuf:"bytes,1,opt,name=pdName" json:"pdName,omitempty"` + // fsType is filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` + // partition is the partition in the volume that you want to mount. + // If omitted, the default is to mount by volume name. + // Examples: For volume /dev/sda1, you specify the partition as "1". + // Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // +optional + Partition *int32 `protobuf:"varint,3,opt,name=partition" json:"partition,omitempty"` + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // +optional + ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *GCEPersistentDiskVolumeSource) Reset() { + *x = GCEPersistentDiskVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GCEPersistentDiskVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GCEPersistentDiskVolumeSource) ProtoMessage() {} + +func (x *GCEPersistentDiskVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[61] + 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 GCEPersistentDiskVolumeSource.ProtoReflect.Descriptor instead. +func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{61} +} + +func (x *GCEPersistentDiskVolumeSource) GetPdName() string { + if x != nil && x.PdName != nil { + return *x.PdName + } + return "" +} + +func (x *GCEPersistentDiskVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *GCEPersistentDiskVolumeSource) GetPartition() int32 { + if x != nil && x.Partition != nil { + return *x.Partition + } + return 0 +} + +func (x *GCEPersistentDiskVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +type GRPCAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Port number of the gRPC service. Number must be in the range 1 to 65535. + Port *int32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"` + // Service is the name of the service to place in the gRPC HealthCheckRequest + // (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + // + // If this is not specified, the default behavior is defined by gRPC. + // +optional + // +default="" + Service *string `protobuf:"bytes,2,opt,name=service" json:"service,omitempty"` +} + +func (x *GRPCAction) Reset() { + *x = GRPCAction{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GRPCAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GRPCAction) ProtoMessage() {} + +func (x *GRPCAction) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[62] + 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 GRPCAction.ProtoReflect.Descriptor instead. +func (*GRPCAction) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{62} +} + +func (x *GRPCAction) GetPort() int32 { + if x != nil && x.Port != nil { + return *x.Port + } + return 0 +} + +func (x *GRPCAction) GetService() string { + if x != nil && x.Service != nil { + return *x.Service + } + return "" +} + +// Represents a volume that is populated with the contents of a git repository. +// Git repo volumes do not support ownership management. +// Git repo volumes support SELinux relabeling. +// +// DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an +// EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir +// into the Pod's container. +type GitRepoVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the URL + Repository *string `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` + // revision is the commit hash for the specified revision. + // +optional + Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` + // directory is the target directory name. + // Must not contain or start with '..'. If '.' is supplied, the volume directory will be the + // git repository. Otherwise, if specified, the volume will contain the git repository in + // the subdirectory with the given name. + // +optional + Directory *string `protobuf:"bytes,3,opt,name=directory" json:"directory,omitempty"` +} + +func (x *GitRepoVolumeSource) Reset() { + *x = GitRepoVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GitRepoVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GitRepoVolumeSource) ProtoMessage() {} + +func (x *GitRepoVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[63] + 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 GitRepoVolumeSource.ProtoReflect.Descriptor instead. +func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{63} +} + +func (x *GitRepoVolumeSource) GetRepository() string { + if x != nil && x.Repository != nil { + return *x.Repository + } + return "" +} + +func (x *GitRepoVolumeSource) GetRevision() string { + if x != nil && x.Revision != nil { + return *x.Revision + } + return "" +} + +func (x *GitRepoVolumeSource) GetDirectory() string { + if x != nil && x.Directory != nil { + return *x.Directory + } + return "" +} + +// Represents a Glusterfs mount that lasts the lifetime of a pod. +// Glusterfs volumes do not support ownership management or SELinux relabeling. +type GlusterfsPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // endpoints is the endpoint name that details Glusterfs topology. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + Endpoints *string `protobuf:"bytes,1,opt,name=endpoints" json:"endpoints,omitempty"` + // path is the Glusterfs volume path. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` + // readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + // Defaults to false. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` + // endpointsNamespace is the namespace that contains Glusterfs endpoint. + // If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + // +optional + EndpointsNamespace *string `protobuf:"bytes,4,opt,name=endpointsNamespace" json:"endpointsNamespace,omitempty"` +} + +func (x *GlusterfsPersistentVolumeSource) Reset() { + *x = GlusterfsPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GlusterfsPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GlusterfsPersistentVolumeSource) ProtoMessage() {} + +func (x *GlusterfsPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[64] + 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 GlusterfsPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*GlusterfsPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{64} +} + +func (x *GlusterfsPersistentVolumeSource) GetEndpoints() string { + if x != nil && x.Endpoints != nil { + return *x.Endpoints + } + return "" +} + +func (x *GlusterfsPersistentVolumeSource) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *GlusterfsPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *GlusterfsPersistentVolumeSource) GetEndpointsNamespace() string { + if x != nil && x.EndpointsNamespace != nil { + return *x.EndpointsNamespace + } + return "" +} + +// Represents a Glusterfs mount that lasts the lifetime of a pod. +// Glusterfs volumes do not support ownership management or SELinux relabeling. +type GlusterfsVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // endpoints is the endpoint name that details Glusterfs topology. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + Endpoints *string `protobuf:"bytes,1,opt,name=endpoints" json:"endpoints,omitempty"` + // path is the Glusterfs volume path. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` + // readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + // Defaults to false. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *GlusterfsVolumeSource) Reset() { + *x = GlusterfsVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GlusterfsVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GlusterfsVolumeSource) ProtoMessage() {} + +func (x *GlusterfsVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[65] + 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 GlusterfsVolumeSource.ProtoReflect.Descriptor instead. +func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{65} +} + +func (x *GlusterfsVolumeSource) GetEndpoints() string { + if x != nil && x.Endpoints != nil { + return *x.Endpoints + } + return "" +} + +func (x *GlusterfsVolumeSource) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *GlusterfsVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// HTTPGetAction describes an action based on HTTP Get requests. +type HTTPGetAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Path to access on the HTTP server. + // +optional + Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` + // Name or number of the port to access on the container. + // Number must be in the range 1 to 65535. + // Name must be an IANA_SVC_NAME. + Port *intstr.IntOrString `protobuf:"bytes,2,opt,name=port" json:"port,omitempty"` + // Host name to connect to, defaults to the pod IP. You probably want to set + // "Host" in httpHeaders instead. + // +optional + Host *string `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"` + // Scheme to use for connecting to the host. + // Defaults to HTTP. + // +optional + Scheme *string `protobuf:"bytes,4,opt,name=scheme" json:"scheme,omitempty"` + // Custom headers to set in the request. HTTP allows repeated headers. + // +optional + HttpHeaders []*HTTPHeader `protobuf:"bytes,5,rep,name=httpHeaders" json:"httpHeaders,omitempty"` +} + +func (x *HTTPGetAction) Reset() { + *x = HTTPGetAction{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HTTPGetAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HTTPGetAction) ProtoMessage() {} + +func (x *HTTPGetAction) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[66] + 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 HTTPGetAction.ProtoReflect.Descriptor instead. +func (*HTTPGetAction) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{66} +} + +func (x *HTTPGetAction) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *HTTPGetAction) GetPort() *intstr.IntOrString { + if x != nil { + return x.Port + } + return nil +} + +func (x *HTTPGetAction) GetHost() string { + if x != nil && x.Host != nil { + return *x.Host + } + return "" +} + +func (x *HTTPGetAction) GetScheme() string { + if x != nil && x.Scheme != nil { + return *x.Scheme + } + return "" +} + +func (x *HTTPGetAction) GetHttpHeaders() []*HTTPHeader { + if x != nil { + return x.HttpHeaders + } + return nil +} + +// HTTPHeader describes a custom header to be used in HTTP probes +type HTTPHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The header field name. + // This will be canonicalized upon output, so case-variant names will be understood as the same header. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // The header field value + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` +} + +func (x *HTTPHeader) Reset() { + *x = HTTPHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HTTPHeader) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HTTPHeader) ProtoMessage() {} + +func (x *HTTPHeader) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[67] + 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 HTTPHeader.ProtoReflect.Descriptor instead. +func (*HTTPHeader) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{67} +} + +func (x *HTTPHeader) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *HTTPHeader) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +// HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the +// pod's hosts file. +type HostAlias struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // IP address of the host file entry. + Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"` + // Hostnames for the above IP address. + Hostnames []string `protobuf:"bytes,2,rep,name=hostnames" json:"hostnames,omitempty"` +} + +func (x *HostAlias) Reset() { + *x = HostAlias{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HostAlias) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HostAlias) ProtoMessage() {} + +func (x *HostAlias) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[68] + 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 HostAlias.ProtoReflect.Descriptor instead. +func (*HostAlias) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{68} +} + +func (x *HostAlias) GetIp() string { + if x != nil && x.Ip != nil { + return *x.Ip + } + return "" +} + +func (x *HostAlias) GetHostnames() []string { + if x != nil { + return x.Hostnames + } + return nil +} + +// HostIP represents a single IP address allocated to the host. +type HostIP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // IP is the IP address assigned to the host + Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"` +} + +func (x *HostIP) Reset() { + *x = HostIP{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HostIP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HostIP) ProtoMessage() {} + +func (x *HostIP) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[69] + 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 HostIP.ProtoReflect.Descriptor instead. +func (*HostIP) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{69} +} + +func (x *HostIP) GetIp() string { + if x != nil && x.Ip != nil { + return *x.Ip + } + return "" +} + +// Represents a host path mapped into a pod. +// Host path volumes do not support ownership management or SELinux relabeling. +type HostPathVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // path of the directory on the host. + // If the path is a symlink, it will follow the link to the real path. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` + // type for HostPath Volume + // Defaults to "" + // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + // +optional + Type *string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"` +} + +func (x *HostPathVolumeSource) Reset() { + *x = HostPathVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HostPathVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HostPathVolumeSource) ProtoMessage() {} + +func (x *HostPathVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[70] + 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 HostPathVolumeSource.ProtoReflect.Descriptor instead. +func (*HostPathVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{70} +} + +func (x *HostPathVolumeSource) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *HostPathVolumeSource) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +// ISCSIPersistentVolumeSource represents an ISCSI disk. +// ISCSI volumes can only be mounted as read/write once. +// ISCSI volumes support ownership management and SELinux relabeling. +type ISCSIPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + // is other than default (typically TCP ports 860 and 3260). + TargetPortal *string `protobuf:"bytes,1,opt,name=targetPortal" json:"targetPortal,omitempty"` + // iqn is Target iSCSI Qualified Name. + Iqn *string `protobuf:"bytes,2,opt,name=iqn" json:"iqn,omitempty"` + // lun is iSCSI Target Lun number. + Lun *int32 `protobuf:"varint,3,opt,name=lun" json:"lun,omitempty"` + // iscsiInterface is the interface Name that uses an iSCSI transport. + // Defaults to 'default' (tcp). + // +optional + IscsiInterface *string `protobuf:"bytes,4,opt,name=iscsiInterface" json:"iscsiInterface,omitempty"` + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + FsType *string `protobuf:"bytes,5,opt,name=fsType" json:"fsType,omitempty"` + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // +optional + ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"` + // portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port + // is other than default (typically TCP ports 860 and 3260). + // +optional + Portals []string `protobuf:"bytes,7,rep,name=portals" json:"portals,omitempty"` + // chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication + // +optional + ChapAuthDiscovery *bool `protobuf:"varint,8,opt,name=chapAuthDiscovery" json:"chapAuthDiscovery,omitempty"` + // chapAuthSession defines whether support iSCSI Session CHAP authentication + // +optional + ChapAuthSession *bool `protobuf:"varint,11,opt,name=chapAuthSession" json:"chapAuthSession,omitempty"` + // secretRef is the CHAP Secret for iSCSI target and initiator authentication + // +optional + SecretRef *SecretReference `protobuf:"bytes,10,opt,name=secretRef" json:"secretRef,omitempty"` + // initiatorName is the custom iSCSI Initiator Name. + // If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + // : will be created for the connection. + // +optional + InitiatorName *string `protobuf:"bytes,12,opt,name=initiatorName" json:"initiatorName,omitempty"` +} + +func (x *ISCSIPersistentVolumeSource) Reset() { + *x = ISCSIPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ISCSIPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ISCSIPersistentVolumeSource) ProtoMessage() {} + +func (x *ISCSIPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[71] + 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 ISCSIPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*ISCSIPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{71} +} + +func (x *ISCSIPersistentVolumeSource) GetTargetPortal() string { + if x != nil && x.TargetPortal != nil { + return *x.TargetPortal + } + return "" +} + +func (x *ISCSIPersistentVolumeSource) GetIqn() string { + if x != nil && x.Iqn != nil { + return *x.Iqn + } + return "" +} + +func (x *ISCSIPersistentVolumeSource) GetLun() int32 { + if x != nil && x.Lun != nil { + return *x.Lun + } + return 0 +} + +func (x *ISCSIPersistentVolumeSource) GetIscsiInterface() string { + if x != nil && x.IscsiInterface != nil { + return *x.IscsiInterface + } + return "" +} + +func (x *ISCSIPersistentVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *ISCSIPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *ISCSIPersistentVolumeSource) GetPortals() []string { + if x != nil { + return x.Portals + } + return nil +} + +func (x *ISCSIPersistentVolumeSource) GetChapAuthDiscovery() bool { + if x != nil && x.ChapAuthDiscovery != nil { + return *x.ChapAuthDiscovery + } + return false +} + +func (x *ISCSIPersistentVolumeSource) GetChapAuthSession() bool { + if x != nil && x.ChapAuthSession != nil { + return *x.ChapAuthSession + } + return false +} + +func (x *ISCSIPersistentVolumeSource) GetSecretRef() *SecretReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *ISCSIPersistentVolumeSource) GetInitiatorName() string { + if x != nil && x.InitiatorName != nil { + return *x.InitiatorName + } + return "" +} + +// Represents an ISCSI disk. +// ISCSI volumes can only be mounted as read/write once. +// ISCSI volumes support ownership management and SELinux relabeling. +type ISCSIVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + // is other than default (typically TCP ports 860 and 3260). + TargetPortal *string `protobuf:"bytes,1,opt,name=targetPortal" json:"targetPortal,omitempty"` + // iqn is the target iSCSI Qualified Name. + Iqn *string `protobuf:"bytes,2,opt,name=iqn" json:"iqn,omitempty"` + // lun represents iSCSI Target Lun number. + Lun *int32 `protobuf:"varint,3,opt,name=lun" json:"lun,omitempty"` + // iscsiInterface is the interface Name that uses an iSCSI transport. + // Defaults to 'default' (tcp). + // +optional + IscsiInterface *string `protobuf:"bytes,4,opt,name=iscsiInterface" json:"iscsiInterface,omitempty"` + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + FsType *string `protobuf:"bytes,5,opt,name=fsType" json:"fsType,omitempty"` + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // +optional + ReadOnly *bool `protobuf:"varint,6,opt,name=readOnly" json:"readOnly,omitempty"` + // portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port + // is other than default (typically TCP ports 860 and 3260). + // +optional + Portals []string `protobuf:"bytes,7,rep,name=portals" json:"portals,omitempty"` + // chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication + // +optional + ChapAuthDiscovery *bool `protobuf:"varint,8,opt,name=chapAuthDiscovery" json:"chapAuthDiscovery,omitempty"` + // chapAuthSession defines whether support iSCSI Session CHAP authentication + // +optional + ChapAuthSession *bool `protobuf:"varint,11,opt,name=chapAuthSession" json:"chapAuthSession,omitempty"` + // secretRef is the CHAP Secret for iSCSI target and initiator authentication + // +optional + SecretRef *LocalObjectReference `protobuf:"bytes,10,opt,name=secretRef" json:"secretRef,omitempty"` + // initiatorName is the custom iSCSI Initiator Name. + // If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + // : will be created for the connection. + // +optional + InitiatorName *string `protobuf:"bytes,12,opt,name=initiatorName" json:"initiatorName,omitempty"` +} + +func (x *ISCSIVolumeSource) Reset() { + *x = ISCSIVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ISCSIVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ISCSIVolumeSource) ProtoMessage() {} + +func (x *ISCSIVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[72] + 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 ISCSIVolumeSource.ProtoReflect.Descriptor instead. +func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{72} +} + +func (x *ISCSIVolumeSource) GetTargetPortal() string { + if x != nil && x.TargetPortal != nil { + return *x.TargetPortal + } + return "" +} + +func (x *ISCSIVolumeSource) GetIqn() string { + if x != nil && x.Iqn != nil { + return *x.Iqn + } + return "" +} + +func (x *ISCSIVolumeSource) GetLun() int32 { + if x != nil && x.Lun != nil { + return *x.Lun + } + return 0 +} + +func (x *ISCSIVolumeSource) GetIscsiInterface() string { + if x != nil && x.IscsiInterface != nil { + return *x.IscsiInterface + } + return "" +} + +func (x *ISCSIVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *ISCSIVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *ISCSIVolumeSource) GetPortals() []string { + if x != nil { + return x.Portals + } + return nil +} + +func (x *ISCSIVolumeSource) GetChapAuthDiscovery() bool { + if x != nil && x.ChapAuthDiscovery != nil { + return *x.ChapAuthDiscovery + } + return false +} + +func (x *ISCSIVolumeSource) GetChapAuthSession() bool { + if x != nil && x.ChapAuthSession != nil { + return *x.ChapAuthSession + } + return false +} + +func (x *ISCSIVolumeSource) GetSecretRef() *LocalObjectReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *ISCSIVolumeSource) GetInitiatorName() string { + if x != nil && x.InitiatorName != nil { + return *x.InitiatorName + } + return "" +} + +// Maps a string key to a path within a volume. +type KeyToPath struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // key is the key to project. + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + // path is the relative path of the file to map the key to. + // May not be an absolute path. + // May not contain the path element '..'. + // May not start with the string '..'. + Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` + // mode is Optional: mode bits used to set permissions on this file. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // If not specified, the volume defaultMode will be used. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + Mode *int32 `protobuf:"varint,3,opt,name=mode" json:"mode,omitempty"` +} + +func (x *KeyToPath) Reset() { + *x = KeyToPath{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyToPath) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyToPath) ProtoMessage() {} + +func (x *KeyToPath) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[73] + 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 KeyToPath.ProtoReflect.Descriptor instead. +func (*KeyToPath) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{73} +} + +func (x *KeyToPath) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *KeyToPath) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *KeyToPath) GetMode() int32 { + if x != nil && x.Mode != nil { + return *x.Mode + } + return 0 +} + +// Lifecycle describes actions that the management system should take in response to container lifecycle +// events. For the PostStart and PreStop lifecycle handlers, management of the container blocks +// until the action is complete, unless the container process fails, in which case the handler is aborted. +type Lifecycle struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PostStart is called immediately after a container is created. If the handler fails, + // the container is terminated and restarted according to its restart policy. + // Other management of the container blocks until the hook completes. + // More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks + // +optional + PostStart *LifecycleHandler `protobuf:"bytes,1,opt,name=postStart" json:"postStart,omitempty"` + // PreStop is called immediately before a container is terminated due to an + // API request or management event such as liveness/startup probe failure, + // preemption, resource contention, etc. The handler is not called if the + // container crashes or exits. The Pod's termination grace period countdown begins before the + // PreStop hook is executed. Regardless of the outcome of the handler, the + // container will eventually terminate within the Pod's termination grace + // period (unless delayed by finalizers). Other management of the container blocks until the hook completes + // or until the termination grace period is reached. + // More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks + // +optional + PreStop *LifecycleHandler `protobuf:"bytes,2,opt,name=preStop" json:"preStop,omitempty"` +} + +func (x *Lifecycle) Reset() { + *x = Lifecycle{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Lifecycle) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Lifecycle) ProtoMessage() {} + +func (x *Lifecycle) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[74] + 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 Lifecycle.ProtoReflect.Descriptor instead. +func (*Lifecycle) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{74} +} + +func (x *Lifecycle) GetPostStart() *LifecycleHandler { + if x != nil { + return x.PostStart + } + return nil +} + +func (x *Lifecycle) GetPreStop() *LifecycleHandler { + if x != nil { + return x.PreStop + } + return nil +} + +// LifecycleHandler defines a specific action that should be taken in a lifecycle +// hook. One and only one of the fields, except TCPSocket must be specified. +type LifecycleHandler struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Exec specifies the action to take. + // +optional + Exec *ExecAction `protobuf:"bytes,1,opt,name=exec" json:"exec,omitempty"` + // HTTPGet specifies the http request to perform. + // +optional + HttpGet *HTTPGetAction `protobuf:"bytes,2,opt,name=httpGet" json:"httpGet,omitempty"` + // Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + // for the backward compatibility. There are no validation of this field and + // lifecycle hooks will fail in runtime when tcp handler is specified. + // +optional + TcpSocket *TCPSocketAction `protobuf:"bytes,3,opt,name=tcpSocket" json:"tcpSocket,omitempty"` +} + +func (x *LifecycleHandler) Reset() { + *x = LifecycleHandler{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LifecycleHandler) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LifecycleHandler) ProtoMessage() {} + +func (x *LifecycleHandler) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[75] + 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 LifecycleHandler.ProtoReflect.Descriptor instead. +func (*LifecycleHandler) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{75} +} + +func (x *LifecycleHandler) GetExec() *ExecAction { + if x != nil { + return x.Exec + } + return nil +} + +func (x *LifecycleHandler) GetHttpGet() *HTTPGetAction { + if x != nil { + return x.HttpGet + } + return nil +} + +func (x *LifecycleHandler) GetTcpSocket() *TCPSocketAction { + if x != nil { + return x.TcpSocket + } + return nil +} + +// LimitRange sets resource usage limits for each kind of resource in a Namespace. +type LimitRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Spec defines the limits enforced. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec *LimitRangeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` +} + +func (x *LimitRange) Reset() { + *x = LimitRange{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LimitRange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LimitRange) ProtoMessage() {} + +func (x *LimitRange) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[76] + 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 LimitRange.ProtoReflect.Descriptor instead. +func (*LimitRange) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{76} +} + +func (x *LimitRange) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *LimitRange) GetSpec() *LimitRangeSpec { + if x != nil { + return x.Spec + } + return nil +} + +// LimitRangeItem defines a min/max usage limit for any resource that matches on kind. +type LimitRangeItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Type of resource that this limit applies to. + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // Max usage constraints on this kind by resource name. + // +optional + Max map[string]*resource.Quantity `protobuf:"bytes,2,rep,name=max" json:"max,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Min usage constraints on this kind by resource name. + // +optional + Min map[string]*resource.Quantity `protobuf:"bytes,3,rep,name=min" json:"min,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Default resource requirement limit value by resource name if resource limit is omitted. + // +optional + Default map[string]*resource.Quantity `protobuf:"bytes,4,rep,name=default" json:"default,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. + // +optional + DefaultRequest map[string]*resource.Quantity `protobuf:"bytes,5,rep,name=defaultRequest" json:"defaultRequest,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource. + // +optional + MaxLimitRequestRatio map[string]*resource.Quantity `protobuf:"bytes,6,rep,name=maxLimitRequestRatio" json:"maxLimitRequestRatio,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *LimitRangeItem) Reset() { + *x = LimitRangeItem{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LimitRangeItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LimitRangeItem) ProtoMessage() {} + +func (x *LimitRangeItem) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[77] + 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 LimitRangeItem.ProtoReflect.Descriptor instead. +func (*LimitRangeItem) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{77} +} + +func (x *LimitRangeItem) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *LimitRangeItem) GetMax() map[string]*resource.Quantity { + if x != nil { + return x.Max + } + return nil +} + +func (x *LimitRangeItem) GetMin() map[string]*resource.Quantity { + if x != nil { + return x.Min + } + return nil +} + +func (x *LimitRangeItem) GetDefault() map[string]*resource.Quantity { + if x != nil { + return x.Default + } + return nil +} + +func (x *LimitRangeItem) GetDefaultRequest() map[string]*resource.Quantity { + if x != nil { + return x.DefaultRequest + } + return nil +} + +func (x *LimitRangeItem) GetMaxLimitRequestRatio() map[string]*resource.Quantity { + if x != nil { + return x.MaxLimitRequestRatio + } + return nil +} + +// LimitRangeList is a list of LimitRange items. +type LimitRangeList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Items is a list of LimitRange objects. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + Items []*LimitRange `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *LimitRangeList) Reset() { + *x = LimitRangeList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LimitRangeList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LimitRangeList) ProtoMessage() {} + +func (x *LimitRangeList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[78] + 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 LimitRangeList.ProtoReflect.Descriptor instead. +func (*LimitRangeList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{78} +} + +func (x *LimitRangeList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *LimitRangeList) GetItems() []*LimitRange { + if x != nil { + return x.Items + } + return nil +} + +// LimitRangeSpec defines a min/max usage limit for resources that match on kind. +type LimitRangeSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Limits is the list of LimitRangeItem objects that are enforced. + Limits []*LimitRangeItem `protobuf:"bytes,1,rep,name=limits" json:"limits,omitempty"` +} + +func (x *LimitRangeSpec) Reset() { + *x = LimitRangeSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LimitRangeSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LimitRangeSpec) ProtoMessage() {} + +func (x *LimitRangeSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[79] + 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 LimitRangeSpec.ProtoReflect.Descriptor instead. +func (*LimitRangeSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{79} +} + +func (x *LimitRangeSpec) GetLimits() []*LimitRangeItem { + if x != nil { + return x.Limits + } + return nil +} + +// List holds a list of objects, which may not be known by the server. +type List struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of objects + Items []*runtime.RawExtension `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *List) Reset() { + *x = List{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *List) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*List) ProtoMessage() {} + +func (x *List) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[80] + 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 List.ProtoReflect.Descriptor instead. +func (*List) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{80} +} + +func (x *List) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *List) GetItems() []*runtime.RawExtension { + if x != nil { + return x.Items + } + return nil +} + +// LoadBalancerIngress represents the status of a load-balancer ingress point: +// traffic intended for the service should be sent to an ingress point. +type LoadBalancerIngress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // IP is set for load-balancer ingress points that are IP based + // (typically GCE or OpenStack load-balancers) + // +optional + Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"` + // Hostname is set for load-balancer ingress points that are DNS based + // (typically AWS load-balancers) + // +optional + Hostname *string `protobuf:"bytes,2,opt,name=hostname" json:"hostname,omitempty"` + // Ports is a list of records of service ports + // If used, every port defined in the service should have an entry in it + // +listType=atomic + // +optional + Ports []*PortStatus `protobuf:"bytes,4,rep,name=ports" json:"ports,omitempty"` +} + +func (x *LoadBalancerIngress) Reset() { + *x = LoadBalancerIngress{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LoadBalancerIngress) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LoadBalancerIngress) ProtoMessage() {} + +func (x *LoadBalancerIngress) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[81] + 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 LoadBalancerIngress.ProtoReflect.Descriptor instead. +func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{81} +} + +func (x *LoadBalancerIngress) GetIp() string { + if x != nil && x.Ip != nil { + return *x.Ip + } + return "" +} + +func (x *LoadBalancerIngress) GetHostname() string { + if x != nil && x.Hostname != nil { + return *x.Hostname + } + return "" +} + +func (x *LoadBalancerIngress) GetPorts() []*PortStatus { + if x != nil { + return x.Ports + } + return nil +} + +// LoadBalancerStatus represents the status of a load-balancer. +type LoadBalancerStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Ingress is a list containing ingress points for the load-balancer. + // Traffic intended for the service should be sent to these ingress points. + // +optional + Ingress []*LoadBalancerIngress `protobuf:"bytes,1,rep,name=ingress" json:"ingress,omitempty"` +} + +func (x *LoadBalancerStatus) Reset() { + *x = LoadBalancerStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LoadBalancerStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LoadBalancerStatus) ProtoMessage() {} + +func (x *LoadBalancerStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[82] + 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 LoadBalancerStatus.ProtoReflect.Descriptor instead. +func (*LoadBalancerStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{82} +} + +func (x *LoadBalancerStatus) GetIngress() []*LoadBalancerIngress { + if x != nil { + return x.Ingress + } + return nil +} + +// LocalObjectReference contains enough information to let you locate the +// referenced object inside the same namespace. +// +structType=atomic +type LocalObjectReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + // TODO: Add other useful fields. apiVersion, kind, uid? + // +optional + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` +} + +func (x *LocalObjectReference) Reset() { + *x = LocalObjectReference{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LocalObjectReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LocalObjectReference) ProtoMessage() {} + +func (x *LocalObjectReference) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[83] + 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 LocalObjectReference.ProtoReflect.Descriptor instead. +func (*LocalObjectReference) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{83} +} + +func (x *LocalObjectReference) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +// Local represents directly-attached storage with node affinity (Beta feature) +type LocalVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // path of the full path to the volume on the node. + // It can be either a directory or block device (disk, partition, ...). + Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` + // fsType is the filesystem type to mount. + // It applies only when the Path is a block device. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified. + // +optional + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` +} + +func (x *LocalVolumeSource) Reset() { + *x = LocalVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LocalVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LocalVolumeSource) ProtoMessage() {} + +func (x *LocalVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[84] + 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 LocalVolumeSource.ProtoReflect.Descriptor instead. +func (*LocalVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{84} +} + +func (x *LocalVolumeSource) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *LocalVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +// Represents an NFS mount that lasts the lifetime of a pod. +// NFS volumes do not support ownership management or SELinux relabeling. +type NFSVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // server is the hostname or IP address of the NFS server. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + Server *string `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"` + // path that is exported by the NFS server. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + Path *string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` + // readOnly here will force the NFS export to be mounted with read-only permissions. + // Defaults to false. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *NFSVolumeSource) Reset() { + *x = NFSVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NFSVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NFSVolumeSource) ProtoMessage() {} + +func (x *NFSVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[85] + 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 NFSVolumeSource.ProtoReflect.Descriptor instead. +func (*NFSVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{85} +} + +func (x *NFSVolumeSource) GetServer() string { + if x != nil && x.Server != nil { + return *x.Server + } + return "" +} + +func (x *NFSVolumeSource) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +func (x *NFSVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// Namespace provides a scope for Names. +// Use of multiple namespaces is optional. +type Namespace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Spec defines the behavior of the Namespace. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec *NamespaceSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` + // Status describes the current status of a Namespace. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Status *NamespaceStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` +} + +func (x *Namespace) Reset() { + *x = Namespace{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Namespace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Namespace) ProtoMessage() {} + +func (x *Namespace) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[86] + 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) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{86} +} + +func (x *Namespace) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Namespace) GetSpec() *NamespaceSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *Namespace) GetStatus() *NamespaceStatus { + if x != nil { + return x.Status + } + return nil +} + +// NamespaceCondition contains details about state of namespace. +type NamespaceCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Type of namespace controller condition. + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // Status of the condition, one of True, False, Unknown. + Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + // +optional + LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"` + // +optional + Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"` + // +optional + Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` +} + +func (x *NamespaceCondition) Reset() { + *x = NamespaceCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespaceCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceCondition) ProtoMessage() {} + +func (x *NamespaceCondition) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[87] + 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 NamespaceCondition.ProtoReflect.Descriptor instead. +func (*NamespaceCondition) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{87} +} + +func (x *NamespaceCondition) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *NamespaceCondition) GetStatus() string { + if x != nil && x.Status != nil { + return *x.Status + } + return "" +} + +func (x *NamespaceCondition) GetLastTransitionTime() *v1.Time { + if x != nil { + return x.LastTransitionTime + } + return nil +} + +func (x *NamespaceCondition) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *NamespaceCondition) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +// NamespaceList is a list of Namespaces. +type NamespaceList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Items is the list of Namespace objects in the list. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + Items []*Namespace `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *NamespaceList) Reset() { + *x = NamespaceList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespaceList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceList) ProtoMessage() {} + +func (x *NamespaceList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[88] + 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 NamespaceList.ProtoReflect.Descriptor instead. +func (*NamespaceList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{88} +} + +func (x *NamespaceList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *NamespaceList) GetItems() []*Namespace { + if x != nil { + return x.Items + } + return nil +} + +// NamespaceSpec describes the attributes on a Namespace. +type NamespaceSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Finalizers is an opaque list of values that must be empty to permanently remove object from storage. + // More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ + // +optional + Finalizers []string `protobuf:"bytes,1,rep,name=finalizers" json:"finalizers,omitempty"` +} + +func (x *NamespaceSpec) Reset() { + *x = NamespaceSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespaceSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceSpec) ProtoMessage() {} + +func (x *NamespaceSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[89] + 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 NamespaceSpec.ProtoReflect.Descriptor instead. +func (*NamespaceSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{89} +} + +func (x *NamespaceSpec) GetFinalizers() []string { + if x != nil { + return x.Finalizers + } + return nil +} + +// NamespaceStatus is information about the current status of a Namespace. +type NamespaceStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Phase is the current lifecycle phase of the namespace. + // More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ + // +optional + Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"` + // Represents the latest available observations of a namespace's current state. + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + Conditions []*NamespaceCondition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"` +} + +func (x *NamespaceStatus) Reset() { + *x = NamespaceStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespaceStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceStatus) ProtoMessage() {} + +func (x *NamespaceStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[90] + 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 NamespaceStatus.ProtoReflect.Descriptor instead. +func (*NamespaceStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{90} +} + +func (x *NamespaceStatus) GetPhase() string { + if x != nil && x.Phase != nil { + return *x.Phase + } + return "" +} + +func (x *NamespaceStatus) GetConditions() []*NamespaceCondition { + if x != nil { + return x.Conditions + } + return nil +} + +// Node is a worker node in Kubernetes. +// Each node will have a unique identifier in the cache (i.e. in etcd). +type Node struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Spec defines the behavior of a node. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec *NodeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` + // Most recently observed status of the node. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Status *NodeStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` +} + +func (x *Node) Reset() { + *x = Node{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Node) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Node) ProtoMessage() {} + +func (x *Node) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[91] + 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 Node.ProtoReflect.Descriptor instead. +func (*Node) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{91} +} + +func (x *Node) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Node) GetSpec() *NodeSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *Node) GetStatus() *NodeStatus { + if x != nil { + return x.Status + } + return nil +} + +// NodeAddress contains information for the node's address. +type NodeAddress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Node address type, one of Hostname, ExternalIP or InternalIP. + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // The node address. + Address *string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` +} + +func (x *NodeAddress) Reset() { + *x = NodeAddress{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeAddress) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeAddress) ProtoMessage() {} + +func (x *NodeAddress) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[92] + 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 NodeAddress.ProtoReflect.Descriptor instead. +func (*NodeAddress) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{92} +} + +func (x *NodeAddress) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *NodeAddress) GetAddress() string { + if x != nil && x.Address != nil { + return *x.Address + } + return "" +} + +// Node affinity is a group of node affinity scheduling rules. +type NodeAffinity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If the affinity requirements specified by this field are not met at + // scheduling time, the pod will not be scheduled onto the node. + // If the affinity requirements specified by this field cease to be met + // at some point during pod execution (e.g. due to an update), the system + // may or may not try to eventually evict the pod from its node. + // +optional + RequiredDuringSchedulingIgnoredDuringExecution *NodeSelector `protobuf:"bytes,1,opt,name=requiredDuringSchedulingIgnoredDuringExecution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` + // The scheduler will prefer to schedule pods to nodes that satisfy + // the affinity expressions specified by this field, but it may choose + // a node that violates one or more of the expressions. The node that is + // most preferred is the one with the greatest sum of weights, i.e. + // for each node that meets all of the scheduling requirements (resource + // request, requiredDuringScheduling affinity expressions, etc.), + // compute a sum by iterating through the elements of this field and adding + // "weight" to the sum if the node matches the corresponding matchExpressions; the + // node(s) with the highest sum are the most preferred. + // +optional + PreferredDuringSchedulingIgnoredDuringExecution []*PreferredSchedulingTerm `protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` +} + +func (x *NodeAffinity) Reset() { + *x = NodeAffinity{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeAffinity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeAffinity) ProtoMessage() {} + +func (x *NodeAffinity) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[93] + 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 NodeAffinity.ProtoReflect.Descriptor instead. +func (*NodeAffinity) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{93} +} + +func (x *NodeAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() *NodeSelector { + if x != nil { + return x.RequiredDuringSchedulingIgnoredDuringExecution + } + return nil +} + +func (x *NodeAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*PreferredSchedulingTerm { + if x != nil { + return x.PreferredDuringSchedulingIgnoredDuringExecution + } + return nil +} + +// NodeCondition contains condition information for a node. +type NodeCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Type of node condition. + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // Status of the condition, one of True, False, Unknown. + Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + // Last time we got an update on a given condition. + // +optional + LastHeartbeatTime *v1.Time `protobuf:"bytes,3,opt,name=lastHeartbeatTime" json:"lastHeartbeatTime,omitempty"` + // Last time the condition transit from one status to another. + // +optional + LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"` + // (brief) reason for the condition's last transition. + // +optional + Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"` + // Human readable message indicating details about last transition. + // +optional + Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` +} + +func (x *NodeCondition) Reset() { + *x = NodeCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeCondition) ProtoMessage() {} + +func (x *NodeCondition) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[94] + 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 NodeCondition.ProtoReflect.Descriptor instead. +func (*NodeCondition) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{94} +} + +func (x *NodeCondition) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *NodeCondition) GetStatus() string { + if x != nil && x.Status != nil { + return *x.Status + } + return "" +} + +func (x *NodeCondition) GetLastHeartbeatTime() *v1.Time { + if x != nil { + return x.LastHeartbeatTime + } + return nil +} + +func (x *NodeCondition) GetLastTransitionTime() *v1.Time { + if x != nil { + return x.LastTransitionTime + } + return nil +} + +func (x *NodeCondition) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *NodeCondition) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +// NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. +// This API is deprecated since 1.22 +type NodeConfigSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ConfigMap is a reference to a Node's ConfigMap + ConfigMap *ConfigMapNodeConfigSource `protobuf:"bytes,2,opt,name=configMap" json:"configMap,omitempty"` +} + +func (x *NodeConfigSource) Reset() { + *x = NodeConfigSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeConfigSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeConfigSource) ProtoMessage() {} + +func (x *NodeConfigSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[95] + 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 NodeConfigSource.ProtoReflect.Descriptor instead. +func (*NodeConfigSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{95} +} + +func (x *NodeConfigSource) GetConfigMap() *ConfigMapNodeConfigSource { + if x != nil { + return x.ConfigMap + } + return nil +} + +// NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. +type NodeConfigStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Assigned reports the checkpointed config the node will try to use. + // When Node.Spec.ConfigSource is updated, the node checkpoints the associated + // config payload to local disk, along with a record indicating intended + // config. The node refers to this record to choose its config checkpoint, and + // reports this record in Assigned. Assigned only updates in the status after + // the record has been checkpointed to disk. When the Kubelet is restarted, + // it tries to make the Assigned config the Active config by loading and + // validating the checkpointed payload identified by Assigned. + // +optional + Assigned *NodeConfigSource `protobuf:"bytes,1,opt,name=assigned" json:"assigned,omitempty"` + // Active reports the checkpointed config the node is actively using. + // Active will represent either the current version of the Assigned config, + // or the current LastKnownGood config, depending on whether attempting to use the + // Assigned config results in an error. + // +optional + Active *NodeConfigSource `protobuf:"bytes,2,opt,name=active" json:"active,omitempty"` + // LastKnownGood reports the checkpointed config the node will fall back to + // when it encounters an error attempting to use the Assigned config. + // The Assigned config becomes the LastKnownGood config when the node determines + // that the Assigned config is stable and correct. + // This is currently implemented as a 10-minute soak period starting when the local + // record of Assigned config is updated. If the Assigned config is Active at the end + // of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is + // reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, + // because the local default config is always assumed good. + // You should not make assumptions about the node's method of determining config stability + // and correctness, as this may change or become configurable in the future. + // +optional + LastKnownGood *NodeConfigSource `protobuf:"bytes,3,opt,name=lastKnownGood" json:"lastKnownGood,omitempty"` + // Error describes any problems reconciling the Spec.ConfigSource to the Active config. + // Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned + // record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting + // to load or validate the Assigned config, etc. + // Errors may occur at different points while syncing config. Earlier errors (e.g. download or + // checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across + // Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in + // a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error + // by fixing the config assigned in Spec.ConfigSource. + // You can find additional information for debugging by searching the error message in the Kubelet log. + // Error is a human-readable description of the error state; machines can check whether or not Error + // is empty, but should not rely on the stability of the Error text across Kubelet versions. + // +optional + Error *string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"` +} + +func (x *NodeConfigStatus) Reset() { + *x = NodeConfigStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeConfigStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeConfigStatus) ProtoMessage() {} + +func (x *NodeConfigStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[96] + 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 NodeConfigStatus.ProtoReflect.Descriptor instead. +func (*NodeConfigStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{96} +} + +func (x *NodeConfigStatus) GetAssigned() *NodeConfigSource { + if x != nil { + return x.Assigned + } + return nil +} + +func (x *NodeConfigStatus) GetActive() *NodeConfigSource { + if x != nil { + return x.Active + } + return nil +} + +func (x *NodeConfigStatus) GetLastKnownGood() *NodeConfigSource { + if x != nil { + return x.LastKnownGood + } + return nil +} + +func (x *NodeConfigStatus) GetError() string { + if x != nil && x.Error != nil { + return *x.Error + } + return "" +} + +// NodeDaemonEndpoints lists ports opened by daemons running on the Node. +type NodeDaemonEndpoints struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Endpoint on which Kubelet is listening. + // +optional + KubeletEndpoint *DaemonEndpoint `protobuf:"bytes,1,opt,name=kubeletEndpoint" json:"kubeletEndpoint,omitempty"` +} + +func (x *NodeDaemonEndpoints) Reset() { + *x = NodeDaemonEndpoints{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeDaemonEndpoints) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeDaemonEndpoints) ProtoMessage() {} + +func (x *NodeDaemonEndpoints) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[97] + 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 NodeDaemonEndpoints.ProtoReflect.Descriptor instead. +func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{97} +} + +func (x *NodeDaemonEndpoints) GetKubeletEndpoint() *DaemonEndpoint { + if x != nil { + return x.KubeletEndpoint + } + return nil +} + +// NodeList is the whole list of all Nodes which have been registered with master. +type NodeList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of nodes + Items []*Node `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *NodeList) Reset() { + *x = NodeList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeList) ProtoMessage() {} + +func (x *NodeList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[98] + 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 NodeList.ProtoReflect.Descriptor instead. +func (*NodeList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{98} +} + +func (x *NodeList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *NodeList) GetItems() []*Node { + if x != nil { + return x.Items + } + return nil +} + +// NodeProxyOptions is the query options to a Node's proxy call. +type NodeProxyOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Path is the URL path to use for the current proxy request to node. + // +optional + Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` +} + +func (x *NodeProxyOptions) Reset() { + *x = NodeProxyOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeProxyOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeProxyOptions) ProtoMessage() {} + +func (x *NodeProxyOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[99] + 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 NodeProxyOptions.ProtoReflect.Descriptor instead. +func (*NodeProxyOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{99} +} + +func (x *NodeProxyOptions) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +// NodeResources is an object for conveying resource information about a node. +// see https://kubernetes.io/docs/concepts/architecture/nodes/#capacity for more details. +type NodeResources struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Capacity represents the available resources of a node + Capacity map[string]*resource.Quantity `protobuf:"bytes,1,rep,name=capacity" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *NodeResources) Reset() { + *x = NodeResources{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeResources) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeResources) ProtoMessage() {} + +func (x *NodeResources) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[100] + 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 NodeResources.ProtoReflect.Descriptor instead. +func (*NodeResources) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{100} +} + +func (x *NodeResources) GetCapacity() map[string]*resource.Quantity { + if x != nil { + return x.Capacity + } + return nil +} + +// A node selector represents the union of the results of one or more label queries +// over a set of nodes; that is, it represents the OR of the selectors represented +// by the node selector terms. +// +structType=atomic +type NodeSelector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. A list of node selector terms. The terms are ORed. + NodeSelectorTerms []*NodeSelectorTerm `protobuf:"bytes,1,rep,name=nodeSelectorTerms" json:"nodeSelectorTerms,omitempty"` +} + +func (x *NodeSelector) Reset() { + *x = NodeSelector{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeSelector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeSelector) ProtoMessage() {} + +func (x *NodeSelector) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[101] + 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 NodeSelector.ProtoReflect.Descriptor instead. +func (*NodeSelector) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{101} +} + +func (x *NodeSelector) GetNodeSelectorTerms() []*NodeSelectorTerm { + if x != nil { + return x.NodeSelectorTerms + } + return nil +} + +// A node selector requirement is a selector that contains values, a key, and an operator +// that relates the key and values. +type NodeSelectorRequirement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The label key that the selector applies to. + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + // Represents a key's relationship to a set of values. + // Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. + Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"` + // An array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. If the operator is Gt or Lt, the values + // array must have a single element, which will be interpreted as an integer. + // This array is replaced during a strategic merge patch. + // +optional + Values []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"` +} + +func (x *NodeSelectorRequirement) Reset() { + *x = NodeSelectorRequirement{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeSelectorRequirement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeSelectorRequirement) ProtoMessage() {} + +func (x *NodeSelectorRequirement) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[102] + 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 NodeSelectorRequirement.ProtoReflect.Descriptor instead. +func (*NodeSelectorRequirement) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{102} +} + +func (x *NodeSelectorRequirement) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *NodeSelectorRequirement) GetOperator() string { + if x != nil && x.Operator != nil { + return *x.Operator + } + return "" +} + +func (x *NodeSelectorRequirement) GetValues() []string { + if x != nil { + return x.Values + } + return nil +} + +// A null or empty node selector term matches no objects. The requirements of +// them are ANDed. +// The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. +// +structType=atomic +type NodeSelectorTerm struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of node selector requirements by node's labels. + // +optional + MatchExpressions []*NodeSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions" json:"matchExpressions,omitempty"` + // A list of node selector requirements by node's fields. + // +optional + MatchFields []*NodeSelectorRequirement `protobuf:"bytes,2,rep,name=matchFields" json:"matchFields,omitempty"` +} + +func (x *NodeSelectorTerm) Reset() { + *x = NodeSelectorTerm{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeSelectorTerm) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeSelectorTerm) ProtoMessage() {} + +func (x *NodeSelectorTerm) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[103] + 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 NodeSelectorTerm.ProtoReflect.Descriptor instead. +func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{103} +} + +func (x *NodeSelectorTerm) GetMatchExpressions() []*NodeSelectorRequirement { + if x != nil { + return x.MatchExpressions + } + return nil +} + +func (x *NodeSelectorTerm) GetMatchFields() []*NodeSelectorRequirement { + if x != nil { + return x.MatchFields + } + return nil +} + +// NodeSpec describes the attributes that a node is created with. +type NodeSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // PodCIDR represents the pod IP range assigned to the node. + // +optional + PodCIDR *string `protobuf:"bytes,1,opt,name=podCIDR" json:"podCIDR,omitempty"` + // podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this + // field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for + // each of IPv4 and IPv6. + // +optional + // +patchStrategy=merge + PodCIDRs []string `protobuf:"bytes,7,rep,name=podCIDRs" json:"podCIDRs,omitempty"` + // ID of the node assigned by the cloud provider in the format: :// + // +optional + ProviderID *string `protobuf:"bytes,3,opt,name=providerID" json:"providerID,omitempty"` + // Unschedulable controls node schedulability of new pods. By default, node is schedulable. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration + // +optional + Unschedulable *bool `protobuf:"varint,4,opt,name=unschedulable" json:"unschedulable,omitempty"` + // If specified, the node's taints. + // +optional + Taints []*Taint `protobuf:"bytes,5,rep,name=taints" json:"taints,omitempty"` + // Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. + // +optional + ConfigSource *NodeConfigSource `protobuf:"bytes,6,opt,name=configSource" json:"configSource,omitempty"` + // Deprecated. Not all kubelets will set this field. Remove field after 1.13. + // see: https://issues.k8s.io/61966 + // +optional + ExternalID *string `protobuf:"bytes,2,opt,name=externalID" json:"externalID,omitempty"` +} + +func (x *NodeSpec) Reset() { + *x = NodeSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeSpec) ProtoMessage() {} + +func (x *NodeSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[104] + 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 NodeSpec.ProtoReflect.Descriptor instead. +func (*NodeSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{104} +} + +func (x *NodeSpec) GetPodCIDR() string { + if x != nil && x.PodCIDR != nil { + return *x.PodCIDR + } + return "" +} + +func (x *NodeSpec) GetPodCIDRs() []string { + if x != nil { + return x.PodCIDRs + } + return nil +} + +func (x *NodeSpec) GetProviderID() string { + if x != nil && x.ProviderID != nil { + return *x.ProviderID + } + return "" +} + +func (x *NodeSpec) GetUnschedulable() bool { + if x != nil && x.Unschedulable != nil { + return *x.Unschedulable + } + return false +} + +func (x *NodeSpec) GetTaints() []*Taint { + if x != nil { + return x.Taints + } + return nil +} + +func (x *NodeSpec) GetConfigSource() *NodeConfigSource { + if x != nil { + return x.ConfigSource + } + return nil +} + +func (x *NodeSpec) GetExternalID() string { + if x != nil && x.ExternalID != nil { + return *x.ExternalID + } + return "" +} + +// NodeStatus is information about the current status of a node. +type NodeStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Capacity represents the total resources of a node. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity + // +optional + Capacity map[string]*resource.Quantity `protobuf:"bytes,1,rep,name=capacity" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Allocatable represents the resources of a node that are available for scheduling. + // Defaults to Capacity. + // +optional + Allocatable map[string]*resource.Quantity `protobuf:"bytes,2,rep,name=allocatable" json:"allocatable,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // NodePhase is the recently observed lifecycle phase of the node. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#phase + // The field is never populated, and now is deprecated. + // +optional + Phase *string `protobuf:"bytes,3,opt,name=phase" json:"phase,omitempty"` + // Conditions is an array of current observed node conditions. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#condition + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + Conditions []*NodeCondition `protobuf:"bytes,4,rep,name=conditions" json:"conditions,omitempty"` + // List of addresses reachable to the node. + // Queried from cloud provider, if available. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses + // Note: This field is declared as mergeable, but the merge key is not sufficiently + // unique, which can cause data corruption when it is merged. Callers should instead + // use a full-replacement patch. See https://pr.k8s.io/79391 for an example. + // Consumers should assume that addresses can change during the + // lifetime of a Node. However, there are some exceptions where this may not + // be possible, such as Pods that inherit a Node's address in its own status or + // consumers of the downward API (status.hostIP). + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + Addresses []*NodeAddress `protobuf:"bytes,5,rep,name=addresses" json:"addresses,omitempty"` + // Endpoints of daemons running on the Node. + // +optional + DaemonEndpoints *NodeDaemonEndpoints `protobuf:"bytes,6,opt,name=daemonEndpoints" json:"daemonEndpoints,omitempty"` + // Set of ids/uuids to uniquely identify the node. + // More info: https://kubernetes.io/docs/concepts/nodes/node/#info + // +optional + NodeInfo *NodeSystemInfo `protobuf:"bytes,7,opt,name=nodeInfo" json:"nodeInfo,omitempty"` + // List of container images on this node + // +optional + Images []*ContainerImage `protobuf:"bytes,8,rep,name=images" json:"images,omitempty"` + // List of attachable volumes in use (mounted) by the node. + // +optional + VolumesInUse []string `protobuf:"bytes,9,rep,name=volumesInUse" json:"volumesInUse,omitempty"` + // List of volumes that are attached to the node. + // +optional + VolumesAttached []*AttachedVolume `protobuf:"bytes,10,rep,name=volumesAttached" json:"volumesAttached,omitempty"` + // Status of the config assigned to the node via the dynamic Kubelet config feature. + // +optional + Config *NodeConfigStatus `protobuf:"bytes,11,opt,name=config" json:"config,omitempty"` +} + +func (x *NodeStatus) Reset() { + *x = NodeStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeStatus) ProtoMessage() {} + +func (x *NodeStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[105] + 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 NodeStatus.ProtoReflect.Descriptor instead. +func (*NodeStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{105} +} + +func (x *NodeStatus) GetCapacity() map[string]*resource.Quantity { + if x != nil { + return x.Capacity + } + return nil +} + +func (x *NodeStatus) GetAllocatable() map[string]*resource.Quantity { + if x != nil { + return x.Allocatable + } + return nil +} + +func (x *NodeStatus) GetPhase() string { + if x != nil && x.Phase != nil { + return *x.Phase + } + return "" +} + +func (x *NodeStatus) GetConditions() []*NodeCondition { + if x != nil { + return x.Conditions + } + return nil +} + +func (x *NodeStatus) GetAddresses() []*NodeAddress { + if x != nil { + return x.Addresses + } + return nil +} + +func (x *NodeStatus) GetDaemonEndpoints() *NodeDaemonEndpoints { + if x != nil { + return x.DaemonEndpoints + } + return nil +} + +func (x *NodeStatus) GetNodeInfo() *NodeSystemInfo { + if x != nil { + return x.NodeInfo + } + return nil +} + +func (x *NodeStatus) GetImages() []*ContainerImage { + if x != nil { + return x.Images + } + return nil +} + +func (x *NodeStatus) GetVolumesInUse() []string { + if x != nil { + return x.VolumesInUse + } + return nil +} + +func (x *NodeStatus) GetVolumesAttached() []*AttachedVolume { + if x != nil { + return x.VolumesAttached + } + return nil +} + +func (x *NodeStatus) GetConfig() *NodeConfigStatus { + if x != nil { + return x.Config + } + return nil +} + +// NodeSystemInfo is a set of ids/uuids to uniquely identify the node. +type NodeSystemInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // MachineID reported by the node. For unique machine identification + // in the cluster this field is preferred. Learn more from man(5) + // machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html + MachineID *string `protobuf:"bytes,1,opt,name=machineID" json:"machineID,omitempty"` + // SystemUUID reported by the node. For unique machine identification + // MachineID is preferred. This field is specific to Red Hat hosts + // https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid + SystemUUID *string `protobuf:"bytes,2,opt,name=systemUUID" json:"systemUUID,omitempty"` + // Boot ID reported by the node. + BootID *string `protobuf:"bytes,3,opt,name=bootID" json:"bootID,omitempty"` + // Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64). + KernelVersion *string `protobuf:"bytes,4,opt,name=kernelVersion" json:"kernelVersion,omitempty"` + // OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)). + OsImage *string `protobuf:"bytes,5,opt,name=osImage" json:"osImage,omitempty"` + // ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2). + ContainerRuntimeVersion *string `protobuf:"bytes,6,opt,name=containerRuntimeVersion" json:"containerRuntimeVersion,omitempty"` + // Kubelet Version reported by the node. + KubeletVersion *string `protobuf:"bytes,7,opt,name=kubeletVersion" json:"kubeletVersion,omitempty"` + // KubeProxy Version reported by the node. + KubeProxyVersion *string `protobuf:"bytes,8,opt,name=kubeProxyVersion" json:"kubeProxyVersion,omitempty"` + // The Operating System reported by the node + OperatingSystem *string `protobuf:"bytes,9,opt,name=operatingSystem" json:"operatingSystem,omitempty"` + // The Architecture reported by the node + Architecture *string `protobuf:"bytes,10,opt,name=architecture" json:"architecture,omitempty"` +} + +func (x *NodeSystemInfo) Reset() { + *x = NodeSystemInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeSystemInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeSystemInfo) ProtoMessage() {} + +func (x *NodeSystemInfo) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[106] + 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 NodeSystemInfo.ProtoReflect.Descriptor instead. +func (*NodeSystemInfo) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{106} +} + +func (x *NodeSystemInfo) GetMachineID() string { + if x != nil && x.MachineID != nil { + return *x.MachineID + } + return "" +} + +func (x *NodeSystemInfo) GetSystemUUID() string { + if x != nil && x.SystemUUID != nil { + return *x.SystemUUID + } + return "" +} + +func (x *NodeSystemInfo) GetBootID() string { + if x != nil && x.BootID != nil { + return *x.BootID + } + return "" +} + +func (x *NodeSystemInfo) GetKernelVersion() string { + if x != nil && x.KernelVersion != nil { + return *x.KernelVersion + } + return "" +} + +func (x *NodeSystemInfo) GetOsImage() string { + if x != nil && x.OsImage != nil { + return *x.OsImage + } + return "" +} + +func (x *NodeSystemInfo) GetContainerRuntimeVersion() string { + if x != nil && x.ContainerRuntimeVersion != nil { + return *x.ContainerRuntimeVersion + } + return "" +} + +func (x *NodeSystemInfo) GetKubeletVersion() string { + if x != nil && x.KubeletVersion != nil { + return *x.KubeletVersion + } + return "" +} + +func (x *NodeSystemInfo) GetKubeProxyVersion() string { + if x != nil && x.KubeProxyVersion != nil { + return *x.KubeProxyVersion + } + return "" +} + +func (x *NodeSystemInfo) GetOperatingSystem() string { + if x != nil && x.OperatingSystem != nil { + return *x.OperatingSystem + } + return "" +} + +func (x *NodeSystemInfo) GetArchitecture() string { + if x != nil && x.Architecture != nil { + return *x.Architecture + } + return "" +} + +// ObjectFieldSelector selects an APIVersioned field of an object. +// +structType=atomic +type ObjectFieldSelector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Version of the schema the FieldPath is written in terms of, defaults to "v1". + // +optional + ApiVersion *string `protobuf:"bytes,1,opt,name=apiVersion" json:"apiVersion,omitempty"` + // Path of the field to select in the specified API version. + FieldPath *string `protobuf:"bytes,2,opt,name=fieldPath" json:"fieldPath,omitempty"` +} + +func (x *ObjectFieldSelector) Reset() { + *x = ObjectFieldSelector{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ObjectFieldSelector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ObjectFieldSelector) ProtoMessage() {} + +func (x *ObjectFieldSelector) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[107] + 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 ObjectFieldSelector.ProtoReflect.Descriptor instead. +func (*ObjectFieldSelector) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{107} +} + +func (x *ObjectFieldSelector) GetApiVersion() string { + if x != nil && x.ApiVersion != nil { + return *x.ApiVersion + } + return "" +} + +func (x *ObjectFieldSelector) GetFieldPath() string { + if x != nil && x.FieldPath != nil { + return *x.FieldPath + } + return "" +} + +// ObjectReference contains enough information to let you inspect or modify the referred object. +// --- +// New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. +// 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. +// 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular +// restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". +// Those cannot be well described when embedded. +// 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. +// 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity +// during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple +// and the version of the actual struct is irrelevant. +// 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type +// will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. +// +// Instead of using this type, create a locally provided and used type that is well-focused on your reference. +// For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +structType=atomic +type ObjectReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Kind of the referent. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"` + // Namespace of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + // +optional + Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` + // Name of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + // +optional + Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` + // UID of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids + // +optional + Uid *string `protobuf:"bytes,4,opt,name=uid" json:"uid,omitempty"` + // API version of the referent. + // +optional + ApiVersion *string `protobuf:"bytes,5,opt,name=apiVersion" json:"apiVersion,omitempty"` + // Specific resourceVersion to which this reference is made, if any. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + // +optional + ResourceVersion *string `protobuf:"bytes,6,opt,name=resourceVersion" json:"resourceVersion,omitempty"` + // If referring to a piece of an object instead of an entire object, this string + // should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. + // For example, if the object reference is to a container within a pod, this would take on a value like: + // "spec.containers{name}" (where "name" refers to the name of the container that triggered + // the event) or if no container name is specified "spec.containers[2]" (container with + // index 2 in this pod). This syntax is chosen only to have some well-defined way of + // referencing a part of an object. + // TODO: this design is not final and this field is subject to change in the future. + // +optional + FieldPath *string `protobuf:"bytes,7,opt,name=fieldPath" json:"fieldPath,omitempty"` +} + +func (x *ObjectReference) Reset() { + *x = ObjectReference{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ObjectReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ObjectReference) ProtoMessage() {} + +func (x *ObjectReference) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[108] + 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 ObjectReference.ProtoReflect.Descriptor instead. +func (*ObjectReference) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{108} +} + +func (x *ObjectReference) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +func (x *ObjectReference) GetNamespace() string { + if x != nil && x.Namespace != nil { + return *x.Namespace + } + return "" +} + +func (x *ObjectReference) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *ObjectReference) GetUid() string { + if x != nil && x.Uid != nil { + return *x.Uid + } + return "" +} + +func (x *ObjectReference) GetApiVersion() string { + if x != nil && x.ApiVersion != nil { + return *x.ApiVersion + } + return "" +} + +func (x *ObjectReference) GetResourceVersion() string { + if x != nil && x.ResourceVersion != nil { + return *x.ResourceVersion + } + return "" +} + +func (x *ObjectReference) GetFieldPath() string { + if x != nil && x.FieldPath != nil { + return *x.FieldPath + } + return "" +} + +// PersistentVolume (PV) is a storage resource provisioned by an administrator. +// It is analogous to a node. +// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes +type PersistentVolume struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // spec defines a specification of a persistent volume owned by the cluster. + // Provisioned by an administrator. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes + // +optional + Spec *PersistentVolumeSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` + // status represents the current information/status for the persistent volume. + // Populated by the system. + // Read-only. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes + // +optional + Status *PersistentVolumeStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` +} + +func (x *PersistentVolume) Reset() { + *x = PersistentVolume{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolume) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolume) ProtoMessage() {} + +func (x *PersistentVolume) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[109] + 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 PersistentVolume.ProtoReflect.Descriptor instead. +func (*PersistentVolume) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{109} +} + +func (x *PersistentVolume) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PersistentVolume) GetSpec() *PersistentVolumeSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *PersistentVolume) GetStatus() *PersistentVolumeStatus { + if x != nil { + return x.Status + } + return nil +} + +// PersistentVolumeClaim is a user's request for and claim to a persistent volume +type PersistentVolumeClaim struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // spec defines the desired characteristics of a volume requested by a pod author. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + // +optional + Spec *PersistentVolumeClaimSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` + // status represents the current information/status of a persistent volume claim. + // Read-only. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + // +optional + Status *PersistentVolumeClaimStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` +} + +func (x *PersistentVolumeClaim) Reset() { + *x = PersistentVolumeClaim{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeClaim) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeClaim) ProtoMessage() {} + +func (x *PersistentVolumeClaim) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[110] + 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 PersistentVolumeClaim.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{110} +} + +func (x *PersistentVolumeClaim) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PersistentVolumeClaim) GetSpec() *PersistentVolumeClaimSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *PersistentVolumeClaim) GetStatus() *PersistentVolumeClaimStatus { + if x != nil { + return x.Status + } + return nil +} + +// PersistentVolumeClaimCondition contains details about state of pvc +type PersistentVolumeClaimCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + // lastProbeTime is the time we probed the condition. + // +optional + LastProbeTime *v1.Time `protobuf:"bytes,3,opt,name=lastProbeTime" json:"lastProbeTime,omitempty"` + // lastTransitionTime is the time the condition transitioned from one status to another. + // +optional + LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"` + // reason is a unique, this should be a short, machine understandable string that gives the reason + // for condition's last transition. If it reports "ResizeStarted" that means the underlying + // persistent volume is being resized. + // +optional + Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"` + // message is the human-readable message indicating details about last transition. + // +optional + Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` +} + +func (x *PersistentVolumeClaimCondition) Reset() { + *x = PersistentVolumeClaimCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeClaimCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeClaimCondition) ProtoMessage() {} + +func (x *PersistentVolumeClaimCondition) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[111] + 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 PersistentVolumeClaimCondition.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{111} +} + +func (x *PersistentVolumeClaimCondition) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *PersistentVolumeClaimCondition) GetStatus() string { + if x != nil && x.Status != nil { + return *x.Status + } + return "" +} + +func (x *PersistentVolumeClaimCondition) GetLastProbeTime() *v1.Time { + if x != nil { + return x.LastProbeTime + } + return nil +} + +func (x *PersistentVolumeClaimCondition) GetLastTransitionTime() *v1.Time { + if x != nil { + return x.LastTransitionTime + } + return nil +} + +func (x *PersistentVolumeClaimCondition) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *PersistentVolumeClaimCondition) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +// PersistentVolumeClaimList is a list of PersistentVolumeClaim items. +type PersistentVolumeClaimList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // items is a list of persistent volume claims. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + Items []*PersistentVolumeClaim `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *PersistentVolumeClaimList) Reset() { + *x = PersistentVolumeClaimList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeClaimList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeClaimList) ProtoMessage() {} + +func (x *PersistentVolumeClaimList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[112] + 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 PersistentVolumeClaimList.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{112} +} + +func (x *PersistentVolumeClaimList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PersistentVolumeClaimList) GetItems() []*PersistentVolumeClaim { + if x != nil { + return x.Items + } + return nil +} + +// PersistentVolumeClaimSpec describes the common attributes of storage devices +// and allows a Source for provider-specific attributes +type PersistentVolumeClaimSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // accessModes contains the desired access modes the volume should have. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + // +optional + AccessModes []string `protobuf:"bytes,1,rep,name=accessModes" json:"accessModes,omitempty"` + // selector is a label query over volumes to consider for binding. + // +optional + Selector *v1.LabelSelector `protobuf:"bytes,4,opt,name=selector" json:"selector,omitempty"` + // resources represents the minimum resources the volume should have. + // If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + // that are lower than previous value but must still be higher than capacity recorded in the + // status field of the claim. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + // +optional + Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources" json:"resources,omitempty"` + // volumeName is the binding reference to the PersistentVolume backing this claim. + // +optional + VolumeName *string `protobuf:"bytes,3,opt,name=volumeName" json:"volumeName,omitempty"` + // storageClassName is the name of the StorageClass required by the claim. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + // +optional + StorageClassName *string `protobuf:"bytes,5,opt,name=storageClassName" json:"storageClassName,omitempty"` + // volumeMode defines what type of volume is required by the claim. + // Value of Filesystem is implied when not included in claim spec. + // +optional + VolumeMode *string `protobuf:"bytes,6,opt,name=volumeMode" json:"volumeMode,omitempty"` + // dataSource field can be used to specify either: + // * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + // * An existing PVC (PersistentVolumeClaim) + // If the provisioner or an external controller can support the specified data source, + // it will create a new volume based on the contents of the specified data source. + // When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + // and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + // If the namespace is specified, then dataSourceRef will not be copied to dataSource. + // +optional + DataSource *TypedLocalObjectReference `protobuf:"bytes,7,opt,name=dataSource" json:"dataSource,omitempty"` + // dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + // volume is desired. This may be any object from a non-empty API group (non + // core object) or a PersistentVolumeClaim object. + // When this field is specified, volume binding will only succeed if the type of + // the specified object matches some installed volume populator or dynamic + // provisioner. + // This field will replace the functionality of the dataSource field and as such + // if both fields are non-empty, they must have the same value. For backwards + // compatibility, when namespace isn't specified in dataSourceRef, + // both fields (dataSource and dataSourceRef) will be set to the same + // value automatically if one of them is empty and the other is non-empty. + // When namespace is specified in dataSourceRef, + // dataSource isn't set to the same value and must be empty. + // There are three important differences between dataSource and dataSourceRef: + // - While dataSource only allows two specific types of objects, dataSourceRef + // allows any non-core object, as well as PersistentVolumeClaim objects. + // - While dataSource ignores disallowed values (dropping them), dataSourceRef + // preserves all values, and generates an error if a disallowed value is + // specified. + // - While dataSource only allows local objects, dataSourceRef allows objects + // in any namespaces. + // + // (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + // (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + // +optional + DataSourceRef *TypedObjectReference `protobuf:"bytes,8,opt,name=dataSourceRef" json:"dataSourceRef,omitempty"` +} + +func (x *PersistentVolumeClaimSpec) Reset() { + *x = PersistentVolumeClaimSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeClaimSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeClaimSpec) ProtoMessage() {} + +func (x *PersistentVolumeClaimSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[113] + 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 PersistentVolumeClaimSpec.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{113} +} + +func (x *PersistentVolumeClaimSpec) GetAccessModes() []string { + if x != nil { + return x.AccessModes + } + return nil +} + +func (x *PersistentVolumeClaimSpec) GetSelector() *v1.LabelSelector { + if x != nil { + return x.Selector + } + return nil +} + +func (x *PersistentVolumeClaimSpec) GetResources() *ResourceRequirements { + if x != nil { + return x.Resources + } + return nil +} + +func (x *PersistentVolumeClaimSpec) GetVolumeName() string { + if x != nil && x.VolumeName != nil { + return *x.VolumeName + } + return "" +} + +func (x *PersistentVolumeClaimSpec) GetStorageClassName() string { + if x != nil && x.StorageClassName != nil { + return *x.StorageClassName + } + return "" +} + +func (x *PersistentVolumeClaimSpec) GetVolumeMode() string { + if x != nil && x.VolumeMode != nil { + return *x.VolumeMode + } + return "" +} + +func (x *PersistentVolumeClaimSpec) GetDataSource() *TypedLocalObjectReference { + if x != nil { + return x.DataSource + } + return nil +} + +func (x *PersistentVolumeClaimSpec) GetDataSourceRef() *TypedObjectReference { + if x != nil { + return x.DataSourceRef + } + return nil +} + +// PersistentVolumeClaimStatus is the current status of a persistent volume claim. +type PersistentVolumeClaimStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // phase represents the current phase of PersistentVolumeClaim. + // +optional + Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"` + // accessModes contains the actual access modes the volume backing the PVC has. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + // +optional + AccessModes []string `protobuf:"bytes,2,rep,name=accessModes" json:"accessModes,omitempty"` + // capacity represents the actual resources of the underlying volume. + // +optional + Capacity map[string]*resource.Quantity `protobuf:"bytes,3,rep,name=capacity" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // conditions is the current Condition of persistent volume claim. If underlying persistent volume is being + // resized then the Condition will be set to 'ResizeStarted'. + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + Conditions []*PersistentVolumeClaimCondition `protobuf:"bytes,4,rep,name=conditions" json:"conditions,omitempty"` + // allocatedResources tracks the resources allocated to a PVC including its capacity. + // Key names follow standard Kubernetes label syntax. Valid values are either: + // - Un-prefixed keys: + // - storage - the capacity of the volume. + // - Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" + // + // Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered + // reserved and hence may not be used. + // + // Capacity reported here may be larger than the actual capacity when a volume expansion operation + // is requested. + // For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. + // If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. + // If a volume expansion capacity request is lowered, allocatedResources is only + // lowered if there are no expansion operations in progress and if the actual volume capacity + // is equal or lower than the requested capacity. + // + // A controller that receives PVC update with previously unknown resourceName + // should ignore the update for the purpose it was designed. For example - a controller that + // only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid + // resources associated with PVC. + // + // This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. + // +featureGate=RecoverVolumeExpansionFailure + // +optional + AllocatedResources map[string]*resource.Quantity `protobuf:"bytes,5,rep,name=allocatedResources" json:"allocatedResources,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // allocatedResourceStatuses stores status of resource being resized for the given PVC. + // Key names follow standard Kubernetes label syntax. Valid values are either: + // - Un-prefixed keys: + // - storage - the capacity of the volume. + // - Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" + // + // Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered + // reserved and hence may not be used. + // + // ClaimResourceStatus can be in any of following states: + // - ControllerResizeInProgress: + // State set when resize controller starts resizing the volume in control-plane. + // - ControllerResizeFailed: + // State set when resize has failed in resize controller with a terminal error. + // - NodeResizePending: + // State set when resize controller has finished resizing the volume but further resizing of + // volume is needed on the node. + // - NodeResizeInProgress: + // State set when kubelet starts resizing the volume. + // - NodeResizeFailed: + // State set when resizing has failed in kubelet with a terminal error. Transient errors don't set + // NodeResizeFailed. + // + // For example: if expanding a PVC for more capacity - this field can be one of the following states: + // - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" + // - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" + // - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" + // - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" + // - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" + // + // When this field is not set, it means that no resize operation is in progress for the given PVC. + // + // A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus + // should ignore the update for the purpose it was designed. For example - a controller that + // only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid + // resources associated with PVC. + // + // This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. + // +featureGate=RecoverVolumeExpansionFailure + // +mapType=granular + // +optional + AllocatedResourceStatuses map[string]string `protobuf:"bytes,7,rep,name=allocatedResourceStatuses" json:"allocatedResourceStatuses,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *PersistentVolumeClaimStatus) Reset() { + *x = PersistentVolumeClaimStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeClaimStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeClaimStatus) ProtoMessage() {} + +func (x *PersistentVolumeClaimStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[114] + 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 PersistentVolumeClaimStatus.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{114} +} + +func (x *PersistentVolumeClaimStatus) GetPhase() string { + if x != nil && x.Phase != nil { + return *x.Phase + } + return "" +} + +func (x *PersistentVolumeClaimStatus) GetAccessModes() []string { + if x != nil { + return x.AccessModes + } + return nil +} + +func (x *PersistentVolumeClaimStatus) GetCapacity() map[string]*resource.Quantity { + if x != nil { + return x.Capacity + } + return nil +} + +func (x *PersistentVolumeClaimStatus) GetConditions() []*PersistentVolumeClaimCondition { + if x != nil { + return x.Conditions + } + return nil +} + +func (x *PersistentVolumeClaimStatus) GetAllocatedResources() map[string]*resource.Quantity { + if x != nil { + return x.AllocatedResources + } + return nil +} + +func (x *PersistentVolumeClaimStatus) GetAllocatedResourceStatuses() map[string]string { + if x != nil { + return x.AllocatedResourceStatuses + } + return nil +} + +// PersistentVolumeClaimTemplate is used to produce +// PersistentVolumeClaim objects as part of an EphemeralVolumeSource. +type PersistentVolumeClaimTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // May contain labels and annotations that will be copied into the PVC + // when creating it. No other fields are allowed and will be rejected during + // validation. + // + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // The specification for the PersistentVolumeClaim. The entire content is + // copied unchanged into the PVC that gets created from this + // template. The same fields as in a PersistentVolumeClaim + // are also valid here. + Spec *PersistentVolumeClaimSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` +} + +func (x *PersistentVolumeClaimTemplate) Reset() { + *x = PersistentVolumeClaimTemplate{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeClaimTemplate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeClaimTemplate) ProtoMessage() {} + +func (x *PersistentVolumeClaimTemplate) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[115] + 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 PersistentVolumeClaimTemplate.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimTemplate) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{115} +} + +func (x *PersistentVolumeClaimTemplate) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PersistentVolumeClaimTemplate) GetSpec() *PersistentVolumeClaimSpec { + if x != nil { + return x.Spec + } + return nil +} + +// PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. +// This volume finds the bound PV and mounts that volume for the pod. A +// PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another +// type of volume that is owned by someone else (the system). +type PersistentVolumeClaimVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + ClaimName *string `protobuf:"bytes,1,opt,name=claimName" json:"claimName,omitempty"` + // readOnly Will force the ReadOnly setting in VolumeMounts. + // Default false. + // +optional + ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *PersistentVolumeClaimVolumeSource) Reset() { + *x = PersistentVolumeClaimVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeClaimVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeClaimVolumeSource) ProtoMessage() {} + +func (x *PersistentVolumeClaimVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[116] + 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 PersistentVolumeClaimVolumeSource.ProtoReflect.Descriptor instead. +func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{116} +} + +func (x *PersistentVolumeClaimVolumeSource) GetClaimName() string { + if x != nil && x.ClaimName != nil { + return *x.ClaimName + } + return "" +} + +func (x *PersistentVolumeClaimVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// PersistentVolumeList is a list of PersistentVolume items. +type PersistentVolumeList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // items is a list of persistent volumes. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes + Items []*PersistentVolume `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *PersistentVolumeList) Reset() { + *x = PersistentVolumeList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeList) ProtoMessage() {} + +func (x *PersistentVolumeList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[117] + 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 PersistentVolumeList.ProtoReflect.Descriptor instead. +func (*PersistentVolumeList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{117} +} + +func (x *PersistentVolumeList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PersistentVolumeList) GetItems() []*PersistentVolume { + if x != nil { + return x.Items + } + return nil +} + +// PersistentVolumeSource is similar to VolumeSource but meant for the +// administrator who creates PVs. Exactly one of its members must be set. +type PersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // gcePersistentDisk represents a GCE Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. Provisioned by an admin. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // +optional + GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,1,opt,name=gcePersistentDisk" json:"gcePersistentDisk,omitempty"` + // awsElasticBlockStore represents an AWS Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + // +optional + AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,2,opt,name=awsElasticBlockStore" json:"awsElasticBlockStore,omitempty"` + // hostPath represents a directory on the host. + // Provisioned by a developer or tester. + // This is useful for single-node development and testing only! + // On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + // +optional + HostPath *HostPathVolumeSource `protobuf:"bytes,3,opt,name=hostPath" json:"hostPath,omitempty"` + // glusterfs represents a Glusterfs volume that is attached to a host and + // exposed to the pod. Provisioned by an admin. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md + // +optional + Glusterfs *GlusterfsPersistentVolumeSource `protobuf:"bytes,4,opt,name=glusterfs" json:"glusterfs,omitempty"` + // nfs represents an NFS mount on the host. Provisioned by an admin. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + // +optional + Nfs *NFSVolumeSource `protobuf:"bytes,5,opt,name=nfs" json:"nfs,omitempty"` + // rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + // More info: https://examples.k8s.io/volumes/rbd/README.md + // +optional + Rbd *RBDPersistentVolumeSource `protobuf:"bytes,6,opt,name=rbd" json:"rbd,omitempty"` + // iscsi represents an ISCSI Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. Provisioned by an admin. + // +optional + Iscsi *ISCSIPersistentVolumeSource `protobuf:"bytes,7,opt,name=iscsi" json:"iscsi,omitempty"` + // cinder represents a cinder volume attached and mounted on kubelets host machine. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + Cinder *CinderPersistentVolumeSource `protobuf:"bytes,8,opt,name=cinder" json:"cinder,omitempty"` + // cephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional + Cephfs *CephFSPersistentVolumeSource `protobuf:"bytes,9,opt,name=cephfs" json:"cephfs,omitempty"` + // fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional + Fc *FCVolumeSource `protobuf:"bytes,10,opt,name=fc" json:"fc,omitempty"` + // flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running + // +optional + Flocker *FlockerVolumeSource `protobuf:"bytes,11,opt,name=flocker" json:"flocker,omitempty"` + // flexVolume represents a generic volume resource that is + // provisioned/attached using an exec based plugin. + // +optional + FlexVolume *FlexPersistentVolumeSource `protobuf:"bytes,12,opt,name=flexVolume" json:"flexVolume,omitempty"` + // azureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional + AzureFile *AzureFilePersistentVolumeSource `protobuf:"bytes,13,opt,name=azureFile" json:"azureFile,omitempty"` + // vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional + VsphereVolume *VsphereVirtualDiskVolumeSource `protobuf:"bytes,14,opt,name=vsphereVolume" json:"vsphereVolume,omitempty"` + // quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional + Quobyte *QuobyteVolumeSource `protobuf:"bytes,15,opt,name=quobyte" json:"quobyte,omitempty"` + // azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional + AzureDisk *AzureDiskVolumeSource `protobuf:"bytes,16,opt,name=azureDisk" json:"azureDisk,omitempty"` + // photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine + PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `protobuf:"bytes,17,opt,name=photonPersistentDisk" json:"photonPersistentDisk,omitempty"` + // portworxVolume represents a portworx volume attached and mounted on kubelets host machine + // +optional + PortworxVolume *PortworxVolumeSource `protobuf:"bytes,18,opt,name=portworxVolume" json:"portworxVolume,omitempty"` + // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + // +optional + ScaleIO *ScaleIOPersistentVolumeSource `protobuf:"bytes,19,opt,name=scaleIO" json:"scaleIO,omitempty"` + // local represents directly-attached storage with node affinity + // +optional + Local *LocalVolumeSource `protobuf:"bytes,20,opt,name=local" json:"local,omitempty"` + // storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod + // More info: https://examples.k8s.io/volumes/storageos/README.md + // +optional + Storageos *StorageOSPersistentVolumeSource `protobuf:"bytes,21,opt,name=storageos" json:"storageos,omitempty"` + // csi represents storage that is handled by an external CSI driver (Beta feature). + // +optional + Csi *CSIPersistentVolumeSource `protobuf:"bytes,22,opt,name=csi" json:"csi,omitempty"` +} + +func (x *PersistentVolumeSource) Reset() { + *x = PersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeSource) ProtoMessage() {} + +func (x *PersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[118] + 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 PersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{118} +} + +func (x *PersistentVolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource { + if x != nil { + return x.GcePersistentDisk + } + return nil +} + +func (x *PersistentVolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource { + if x != nil { + return x.AwsElasticBlockStore + } + return nil +} + +func (x *PersistentVolumeSource) GetHostPath() *HostPathVolumeSource { + if x != nil { + return x.HostPath + } + return nil +} + +func (x *PersistentVolumeSource) GetGlusterfs() *GlusterfsPersistentVolumeSource { + if x != nil { + return x.Glusterfs + } + return nil +} + +func (x *PersistentVolumeSource) GetNfs() *NFSVolumeSource { + if x != nil { + return x.Nfs + } + return nil +} + +func (x *PersistentVolumeSource) GetRbd() *RBDPersistentVolumeSource { + if x != nil { + return x.Rbd + } + return nil +} + +func (x *PersistentVolumeSource) GetIscsi() *ISCSIPersistentVolumeSource { + if x != nil { + return x.Iscsi + } + return nil +} + +func (x *PersistentVolumeSource) GetCinder() *CinderPersistentVolumeSource { + if x != nil { + return x.Cinder + } + return nil +} + +func (x *PersistentVolumeSource) GetCephfs() *CephFSPersistentVolumeSource { + if x != nil { + return x.Cephfs + } + return nil +} + +func (x *PersistentVolumeSource) GetFc() *FCVolumeSource { + if x != nil { + return x.Fc + } + return nil +} + +func (x *PersistentVolumeSource) GetFlocker() *FlockerVolumeSource { + if x != nil { + return x.Flocker + } + return nil +} + +func (x *PersistentVolumeSource) GetFlexVolume() *FlexPersistentVolumeSource { + if x != nil { + return x.FlexVolume + } + return nil +} + +func (x *PersistentVolumeSource) GetAzureFile() *AzureFilePersistentVolumeSource { + if x != nil { + return x.AzureFile + } + return nil +} + +func (x *PersistentVolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource { + if x != nil { + return x.VsphereVolume + } + return nil +} + +func (x *PersistentVolumeSource) GetQuobyte() *QuobyteVolumeSource { + if x != nil { + return x.Quobyte + } + return nil +} + +func (x *PersistentVolumeSource) GetAzureDisk() *AzureDiskVolumeSource { + if x != nil { + return x.AzureDisk + } + return nil +} + +func (x *PersistentVolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource { + if x != nil { + return x.PhotonPersistentDisk + } + return nil +} + +func (x *PersistentVolumeSource) GetPortworxVolume() *PortworxVolumeSource { + if x != nil { + return x.PortworxVolume + } + return nil +} + +func (x *PersistentVolumeSource) GetScaleIO() *ScaleIOPersistentVolumeSource { + if x != nil { + return x.ScaleIO + } + return nil +} + +func (x *PersistentVolumeSource) GetLocal() *LocalVolumeSource { + if x != nil { + return x.Local + } + return nil +} + +func (x *PersistentVolumeSource) GetStorageos() *StorageOSPersistentVolumeSource { + if x != nil { + return x.Storageos + } + return nil +} + +func (x *PersistentVolumeSource) GetCsi() *CSIPersistentVolumeSource { + if x != nil { + return x.Csi + } + return nil +} + +// PersistentVolumeSpec is the specification of a persistent volume. +type PersistentVolumeSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // capacity is the description of the persistent volume's resources and capacity. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity + // +optional + Capacity map[string]*resource.Quantity `protobuf:"bytes,1,rep,name=capacity" json:"capacity,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // persistentVolumeSource is the actual volume backing the persistent volume. + PersistentVolumeSource *PersistentVolumeSource `protobuf:"bytes,2,opt,name=persistentVolumeSource" json:"persistentVolumeSource,omitempty"` + // accessModes contains all ways the volume can be mounted. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes + // +optional + AccessModes []string `protobuf:"bytes,3,rep,name=accessModes" json:"accessModes,omitempty"` + // claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. + // Expected to be non-nil when bound. + // claim.VolumeName is the authoritative bind between PV and PVC. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding + // +optional + // +structType=granular + ClaimRef *ObjectReference `protobuf:"bytes,4,opt,name=claimRef" json:"claimRef,omitempty"` + // persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. + // Valid options are Retain (default for manually created PersistentVolumes), Delete (default + // for dynamically provisioned PersistentVolumes), and Recycle (deprecated). + // Recycle must be supported by the volume plugin underlying this PersistentVolume. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming + // +optional + PersistentVolumeReclaimPolicy *string `protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy" json:"persistentVolumeReclaimPolicy,omitempty"` + // storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value + // means that this volume does not belong to any StorageClass. + // +optional + StorageClassName *string `protobuf:"bytes,6,opt,name=storageClassName" json:"storageClassName,omitempty"` + // mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will + // simply fail if one is invalid. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options + // +optional + MountOptions []string `protobuf:"bytes,7,rep,name=mountOptions" json:"mountOptions,omitempty"` + // volumeMode defines if a volume is intended to be used with a formatted filesystem + // or to remain in raw block state. Value of Filesystem is implied when not included in spec. + // +optional + VolumeMode *string `protobuf:"bytes,8,opt,name=volumeMode" json:"volumeMode,omitempty"` + // nodeAffinity defines constraints that limit what nodes this volume can be accessed from. + // This field influences the scheduling of pods that use this volume. + // +optional + NodeAffinity *VolumeNodeAffinity `protobuf:"bytes,9,opt,name=nodeAffinity" json:"nodeAffinity,omitempty"` +} + +func (x *PersistentVolumeSpec) Reset() { + *x = PersistentVolumeSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeSpec) ProtoMessage() {} + +func (x *PersistentVolumeSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[119] + 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 PersistentVolumeSpec.ProtoReflect.Descriptor instead. +func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{119} +} + +func (x *PersistentVolumeSpec) GetCapacity() map[string]*resource.Quantity { + if x != nil { + return x.Capacity + } + return nil +} + +func (x *PersistentVolumeSpec) GetPersistentVolumeSource() *PersistentVolumeSource { + if x != nil { + return x.PersistentVolumeSource + } + return nil +} + +func (x *PersistentVolumeSpec) GetAccessModes() []string { + if x != nil { + return x.AccessModes + } + return nil +} + +func (x *PersistentVolumeSpec) GetClaimRef() *ObjectReference { + if x != nil { + return x.ClaimRef + } + return nil +} + +func (x *PersistentVolumeSpec) GetPersistentVolumeReclaimPolicy() string { + if x != nil && x.PersistentVolumeReclaimPolicy != nil { + return *x.PersistentVolumeReclaimPolicy + } + return "" +} + +func (x *PersistentVolumeSpec) GetStorageClassName() string { + if x != nil && x.StorageClassName != nil { + return *x.StorageClassName + } + return "" +} + +func (x *PersistentVolumeSpec) GetMountOptions() []string { + if x != nil { + return x.MountOptions + } + return nil +} + +func (x *PersistentVolumeSpec) GetVolumeMode() string { + if x != nil && x.VolumeMode != nil { + return *x.VolumeMode + } + return "" +} + +func (x *PersistentVolumeSpec) GetNodeAffinity() *VolumeNodeAffinity { + if x != nil { + return x.NodeAffinity + } + return nil +} + +// PersistentVolumeStatus is the current status of a persistent volume. +type PersistentVolumeStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // phase indicates if a volume is available, bound to a claim, or released by a claim. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase + // +optional + Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"` + // message is a human-readable message indicating details about why the volume is in this state. + // +optional + Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` + // reason is a brief CamelCase string that describes any failure and is meant + // for machine parsing and tidy display in the CLI. + // +optional + Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"` + // lastPhaseTransitionTime is the time the phase transitioned from one to another + // and automatically resets to current time everytime a volume phase transitions. + // This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature. + // +featureGate=PersistentVolumeLastPhaseTransitionTime + // +optional + LastPhaseTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastPhaseTransitionTime" json:"lastPhaseTransitionTime,omitempty"` +} + +func (x *PersistentVolumeStatus) Reset() { + *x = PersistentVolumeStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PersistentVolumeStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PersistentVolumeStatus) ProtoMessage() {} + +func (x *PersistentVolumeStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[120] + 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 PersistentVolumeStatus.ProtoReflect.Descriptor instead. +func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{120} +} + +func (x *PersistentVolumeStatus) GetPhase() string { + if x != nil && x.Phase != nil { + return *x.Phase + } + return "" +} + +func (x *PersistentVolumeStatus) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *PersistentVolumeStatus) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *PersistentVolumeStatus) GetLastPhaseTransitionTime() *v1.Time { + if x != nil { + return x.LastPhaseTransitionTime + } + return nil +} + +// Represents a Photon Controller persistent disk resource. +type PhotonPersistentDiskVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // pdID is the ID that identifies Photon Controller persistent disk + PdID *string `protobuf:"bytes,1,opt,name=pdID" json:"pdID,omitempty"` + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` +} + +func (x *PhotonPersistentDiskVolumeSource) Reset() { + *x = PhotonPersistentDiskVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PhotonPersistentDiskVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PhotonPersistentDiskVolumeSource) ProtoMessage() {} + +func (x *PhotonPersistentDiskVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[121] + 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 PhotonPersistentDiskVolumeSource.ProtoReflect.Descriptor instead. +func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{121} +} + +func (x *PhotonPersistentDiskVolumeSource) GetPdID() string { + if x != nil && x.PdID != nil { + return *x.PdID + } + return "" +} + +func (x *PhotonPersistentDiskVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +// Pod is a collection of containers that can run on a host. This resource is created +// by clients and scheduled onto hosts. +type Pod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Specification of the desired behavior of the pod. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec *PodSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` + // Most recently observed status of the pod. + // This data may not be up to date. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Status *PodStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` +} + +func (x *Pod) Reset() { + *x = Pod{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Pod) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Pod) ProtoMessage() {} + +func (x *Pod) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[122] + 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 Pod.ProtoReflect.Descriptor instead. +func (*Pod) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{122} +} + +func (x *Pod) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Pod) GetSpec() *PodSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *Pod) GetStatus() *PodStatus { + if x != nil { + return x.Status + } + return nil +} + +// Pod affinity is a group of inter pod affinity scheduling rules. +type PodAffinity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If the affinity requirements specified by this field are not met at + // scheduling time, the pod will not be scheduled onto the node. + // If the affinity requirements specified by this field cease to be met + // at some point during pod execution (e.g. due to a pod label update), the + // system may or may not try to eventually evict the pod from its node. + // When there are multiple elements, the lists of nodes corresponding to each + // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional + RequiredDuringSchedulingIgnoredDuringExecution []*PodAffinityTerm `protobuf:"bytes,1,rep,name=requiredDuringSchedulingIgnoredDuringExecution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` + // The scheduler will prefer to schedule pods to nodes that satisfy + // the affinity expressions specified by this field, but it may choose + // a node that violates one or more of the expressions. The node that is + // most preferred is the one with the greatest sum of weights, i.e. + // for each node that meets all of the scheduling requirements (resource + // request, requiredDuringScheduling affinity expressions, etc.), + // compute a sum by iterating through the elements of this field and adding + // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + // node(s) with the highest sum are the most preferred. + // +optional + PreferredDuringSchedulingIgnoredDuringExecution []*WeightedPodAffinityTerm `protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` +} + +func (x *PodAffinity) Reset() { + *x = PodAffinity{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodAffinity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodAffinity) ProtoMessage() {} + +func (x *PodAffinity) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[123] + 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 PodAffinity.ProtoReflect.Descriptor instead. +func (*PodAffinity) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{123} +} + +func (x *PodAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm { + if x != nil { + return x.RequiredDuringSchedulingIgnoredDuringExecution + } + return nil +} + +func (x *PodAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm { + if x != nil { + return x.PreferredDuringSchedulingIgnoredDuringExecution + } + return nil +} + +// Defines a set of pods (namely those matching the labelSelector +// relative to the given namespace(s)) that this pod should be +// co-located (affinity) or not co-located (anti-affinity) with, +// where co-located is defined as running on a node whose value of +// the label with key matches that of any node on which +// a pod of the set of pods is running +type PodAffinityTerm struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A label query over a set of resources, in this case pods. + // +optional + LabelSelector *v1.LabelSelector `protobuf:"bytes,1,opt,name=labelSelector" json:"labelSelector,omitempty"` + // namespaces specifies a static list of namespace names that the term applies to. + // The term is applied to the union of the namespaces listed in this field + // and the ones selected by namespaceSelector. + // null or empty namespaces list and null namespaceSelector means "this pod's namespace". + // +optional + Namespaces []string `protobuf:"bytes,2,rep,name=namespaces" json:"namespaces,omitempty"` + // This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + // the labelSelector in the specified namespaces, where co-located is defined as running on a node + // whose value of the label with key topologyKey matches that of any node on which any of the + // selected pods is running. + // Empty topologyKey is not allowed. + TopologyKey *string `protobuf:"bytes,3,opt,name=topologyKey" json:"topologyKey,omitempty"` + // A label query over the set of namespaces that the term applies to. + // The term is applied to the union of the namespaces selected by this field + // and the ones listed in the namespaces field. + // null selector and null or empty namespaces list means "this pod's namespace". + // An empty selector ({}) matches all namespaces. + // +optional + NamespaceSelector *v1.LabelSelector `protobuf:"bytes,4,opt,name=namespaceSelector" json:"namespaceSelector,omitempty"` +} + +func (x *PodAffinityTerm) Reset() { + *x = PodAffinityTerm{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodAffinityTerm) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodAffinityTerm) ProtoMessage() {} + +func (x *PodAffinityTerm) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[124] + 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 PodAffinityTerm.ProtoReflect.Descriptor instead. +func (*PodAffinityTerm) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{124} +} + +func (x *PodAffinityTerm) GetLabelSelector() *v1.LabelSelector { + if x != nil { + return x.LabelSelector + } + return nil +} + +func (x *PodAffinityTerm) GetNamespaces() []string { + if x != nil { + return x.Namespaces + } + return nil +} + +func (x *PodAffinityTerm) GetTopologyKey() string { + if x != nil && x.TopologyKey != nil { + return *x.TopologyKey + } + return "" +} + +func (x *PodAffinityTerm) GetNamespaceSelector() *v1.LabelSelector { + if x != nil { + return x.NamespaceSelector + } + return nil +} + +// Pod anti affinity is a group of inter pod anti affinity scheduling rules. +type PodAntiAffinity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If the anti-affinity requirements specified by this field are not met at + // scheduling time, the pod will not be scheduled onto the node. + // If the anti-affinity requirements specified by this field cease to be met + // at some point during pod execution (e.g. due to a pod label update), the + // system may or may not try to eventually evict the pod from its node. + // When there are multiple elements, the lists of nodes corresponding to each + // podAffinityTerm are intersected, i.e. all terms must be satisfied. + // +optional + RequiredDuringSchedulingIgnoredDuringExecution []*PodAffinityTerm `protobuf:"bytes,1,rep,name=requiredDuringSchedulingIgnoredDuringExecution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` + // The scheduler will prefer to schedule pods to nodes that satisfy + // the anti-affinity expressions specified by this field, but it may choose + // a node that violates one or more of the expressions. The node that is + // most preferred is the one with the greatest sum of weights, i.e. + // for each node that meets all of the scheduling requirements (resource + // request, requiredDuringScheduling anti-affinity expressions, etc.), + // compute a sum by iterating through the elements of this field and adding + // "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + // node(s) with the highest sum are the most preferred. + // +optional + PreferredDuringSchedulingIgnoredDuringExecution []*WeightedPodAffinityTerm `protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` +} + +func (x *PodAntiAffinity) Reset() { + *x = PodAntiAffinity{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodAntiAffinity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodAntiAffinity) ProtoMessage() {} + +func (x *PodAntiAffinity) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[125] + 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 PodAntiAffinity.ProtoReflect.Descriptor instead. +func (*PodAntiAffinity) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{125} +} + +func (x *PodAntiAffinity) GetRequiredDuringSchedulingIgnoredDuringExecution() []*PodAffinityTerm { + if x != nil { + return x.RequiredDuringSchedulingIgnoredDuringExecution + } + return nil +} + +func (x *PodAntiAffinity) GetPreferredDuringSchedulingIgnoredDuringExecution() []*WeightedPodAffinityTerm { + if x != nil { + return x.PreferredDuringSchedulingIgnoredDuringExecution + } + return nil +} + +// PodAttachOptions is the query options to a Pod's remote attach call. +// --- +// TODO: merge w/ PodExecOptions below for stdin, stdout, etc +// and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY +type PodAttachOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Stdin if true, redirects the standard input stream of the pod for this call. + // Defaults to false. + // +optional + Stdin *bool `protobuf:"varint,1,opt,name=stdin" json:"stdin,omitempty"` + // Stdout if true indicates that stdout is to be redirected for the attach call. + // Defaults to true. + // +optional + Stdout *bool `protobuf:"varint,2,opt,name=stdout" json:"stdout,omitempty"` + // Stderr if true indicates that stderr is to be redirected for the attach call. + // Defaults to true. + // +optional + Stderr *bool `protobuf:"varint,3,opt,name=stderr" json:"stderr,omitempty"` + // TTY if true indicates that a tty will be allocated for the attach call. + // This is passed through the container runtime so the tty + // is allocated on the worker node by the container runtime. + // Defaults to false. + // +optional + Tty *bool `protobuf:"varint,4,opt,name=tty" json:"tty,omitempty"` + // The container in which to execute the command. + // Defaults to only container if there is only one container in the pod. + // +optional + Container *string `protobuf:"bytes,5,opt,name=container" json:"container,omitempty"` +} + +func (x *PodAttachOptions) Reset() { + *x = PodAttachOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodAttachOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodAttachOptions) ProtoMessage() {} + +func (x *PodAttachOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[126] + 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 PodAttachOptions.ProtoReflect.Descriptor instead. +func (*PodAttachOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{126} +} + +func (x *PodAttachOptions) GetStdin() bool { + if x != nil && x.Stdin != nil { + return *x.Stdin + } + return false +} + +func (x *PodAttachOptions) GetStdout() bool { + if x != nil && x.Stdout != nil { + return *x.Stdout + } + return false +} + +func (x *PodAttachOptions) GetStderr() bool { + if x != nil && x.Stderr != nil { + return *x.Stderr + } + return false +} + +func (x *PodAttachOptions) GetTty() bool { + if x != nil && x.Tty != nil { + return *x.Tty + } + return false +} + +func (x *PodAttachOptions) GetContainer() string { + if x != nil && x.Container != nil { + return *x.Container + } + return "" +} + +// PodCondition contains details for the current condition of this pod. +type PodCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Type is the type of the condition. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // Status is the status of the condition. + // Can be True, False, Unknown. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + // Last time we probed the condition. + // +optional + LastProbeTime *v1.Time `protobuf:"bytes,3,opt,name=lastProbeTime" json:"lastProbeTime,omitempty"` + // Last time the condition transitioned from one status to another. + // +optional + LastTransitionTime *v1.Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"` + // Unique, one-word, CamelCase reason for the condition's last transition. + // +optional + Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"` + // Human-readable message indicating details about last transition. + // +optional + Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` +} + +func (x *PodCondition) Reset() { + *x = PodCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodCondition) ProtoMessage() {} + +func (x *PodCondition) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[127] + 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 PodCondition.ProtoReflect.Descriptor instead. +func (*PodCondition) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{127} +} + +func (x *PodCondition) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *PodCondition) GetStatus() string { + if x != nil && x.Status != nil { + return *x.Status + } + return "" +} + +func (x *PodCondition) GetLastProbeTime() *v1.Time { + if x != nil { + return x.LastProbeTime + } + return nil +} + +func (x *PodCondition) GetLastTransitionTime() *v1.Time { + if x != nil { + return x.LastTransitionTime + } + return nil +} + +func (x *PodCondition) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *PodCondition) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +// PodDNSConfig defines the DNS parameters of a pod in addition to +// those generated from DNSPolicy. +type PodDNSConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of DNS name server IP addresses. + // This will be appended to the base nameservers generated from DNSPolicy. + // Duplicated nameservers will be removed. + // +optional + Nameservers []string `protobuf:"bytes,1,rep,name=nameservers" json:"nameservers,omitempty"` + // A list of DNS search domains for host-name lookup. + // This will be appended to the base search paths generated from DNSPolicy. + // Duplicated search paths will be removed. + // +optional + Searches []string `protobuf:"bytes,2,rep,name=searches" json:"searches,omitempty"` + // A list of DNS resolver options. + // This will be merged with the base options generated from DNSPolicy. + // Duplicated entries will be removed. Resolution options given in Options + // will override those that appear in the base DNSPolicy. + // +optional + Options []*PodDNSConfigOption `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"` +} + +func (x *PodDNSConfig) Reset() { + *x = PodDNSConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodDNSConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodDNSConfig) ProtoMessage() {} + +func (x *PodDNSConfig) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[128] + 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 PodDNSConfig.ProtoReflect.Descriptor instead. +func (*PodDNSConfig) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{128} +} + +func (x *PodDNSConfig) GetNameservers() []string { + if x != nil { + return x.Nameservers + } + return nil +} + +func (x *PodDNSConfig) GetSearches() []string { + if x != nil { + return x.Searches + } + return nil +} + +func (x *PodDNSConfig) GetOptions() []*PodDNSConfigOption { + if x != nil { + return x.Options + } + return nil +} + +// PodDNSConfigOption defines DNS resolver options of a pod. +type PodDNSConfigOption struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // +optional + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` +} + +func (x *PodDNSConfigOption) Reset() { + *x = PodDNSConfigOption{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodDNSConfigOption) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodDNSConfigOption) ProtoMessage() {} + +func (x *PodDNSConfigOption) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[129] + 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 PodDNSConfigOption.ProtoReflect.Descriptor instead. +func (*PodDNSConfigOption) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{129} +} + +func (x *PodDNSConfigOption) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *PodDNSConfigOption) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +// PodExecOptions is the query options to a Pod's remote exec call. +// --- +// TODO: This is largely identical to PodAttachOptions above, make sure they stay in sync and see about merging +// and also when we cut V2, we should export a "StreamOptions" or somesuch that contains Stdin, Stdout, Stder and TTY +type PodExecOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Redirect the standard input stream of the pod for this call. + // Defaults to false. + // +optional + Stdin *bool `protobuf:"varint,1,opt,name=stdin" json:"stdin,omitempty"` + // Redirect the standard output stream of the pod for this call. + // +optional + Stdout *bool `protobuf:"varint,2,opt,name=stdout" json:"stdout,omitempty"` + // Redirect the standard error stream of the pod for this call. + // +optional + Stderr *bool `protobuf:"varint,3,opt,name=stderr" json:"stderr,omitempty"` + // TTY if true indicates that a tty will be allocated for the exec call. + // Defaults to false. + // +optional + Tty *bool `protobuf:"varint,4,opt,name=tty" json:"tty,omitempty"` + // Container in which to execute the command. + // Defaults to only container if there is only one container in the pod. + // +optional + Container *string `protobuf:"bytes,5,opt,name=container" json:"container,omitempty"` + // Command is the remote command to execute. argv array. Not executed within a shell. + Command []string `protobuf:"bytes,6,rep,name=command" json:"command,omitempty"` +} + +func (x *PodExecOptions) Reset() { + *x = PodExecOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodExecOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodExecOptions) ProtoMessage() {} + +func (x *PodExecOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[130] + 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 PodExecOptions.ProtoReflect.Descriptor instead. +func (*PodExecOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{130} +} + +func (x *PodExecOptions) GetStdin() bool { + if x != nil && x.Stdin != nil { + return *x.Stdin + } + return false +} + +func (x *PodExecOptions) GetStdout() bool { + if x != nil && x.Stdout != nil { + return *x.Stdout + } + return false +} + +func (x *PodExecOptions) GetStderr() bool { + if x != nil && x.Stderr != nil { + return *x.Stderr + } + return false +} + +func (x *PodExecOptions) GetTty() bool { + if x != nil && x.Tty != nil { + return *x.Tty + } + return false +} + +func (x *PodExecOptions) GetContainer() string { + if x != nil && x.Container != nil { + return *x.Container + } + return "" +} + +func (x *PodExecOptions) GetCommand() []string { + if x != nil { + return x.Command + } + return nil +} + +// PodIP represents a single IP address allocated to the pod. +type PodIP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // IP is the IP address assigned to the pod + Ip *string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"` +} + +func (x *PodIP) Reset() { + *x = PodIP{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodIP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodIP) ProtoMessage() {} + +func (x *PodIP) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[131] + 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 PodIP.ProtoReflect.Descriptor instead. +func (*PodIP) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{131} +} + +func (x *PodIP) GetIp() string { + if x != nil && x.Ip != nil { + return *x.Ip + } + return "" +} + +// PodList is a list of Pods. +type PodList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of pods. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md + Items []*Pod `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *PodList) Reset() { + *x = PodList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodList) ProtoMessage() {} + +func (x *PodList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[132] + 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 PodList.ProtoReflect.Descriptor instead. +func (*PodList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{132} +} + +func (x *PodList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PodList) GetItems() []*Pod { + if x != nil { + return x.Items + } + return nil +} + +// PodLogOptions is the query options for a Pod's logs REST call. +type PodLogOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The container for which to stream logs. Defaults to only container if there is one container in the pod. + // +optional + Container *string `protobuf:"bytes,1,opt,name=container" json:"container,omitempty"` + // Follow the log stream of the pod. Defaults to false. + // +optional + Follow *bool `protobuf:"varint,2,opt,name=follow" json:"follow,omitempty"` + // Return previous terminated container logs. Defaults to false. + // +optional + Previous *bool `protobuf:"varint,3,opt,name=previous" json:"previous,omitempty"` + // A relative time in seconds before the current time from which to show logs. If this value + // precedes the time a pod was started, only logs since the pod start will be returned. + // If this value is in the future, no logs will be returned. + // Only one of sinceSeconds or sinceTime may be specified. + // +optional + SinceSeconds *int64 `protobuf:"varint,4,opt,name=sinceSeconds" json:"sinceSeconds,omitempty"` + // An RFC3339 timestamp from which to show logs. If this value + // precedes the time a pod was started, only logs since the pod start will be returned. + // If this value is in the future, no logs will be returned. + // Only one of sinceSeconds or sinceTime may be specified. + // +optional + SinceTime *v1.Time `protobuf:"bytes,5,opt,name=sinceTime" json:"sinceTime,omitempty"` + // If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line + // of log output. Defaults to false. + // +optional + Timestamps *bool `protobuf:"varint,6,opt,name=timestamps" json:"timestamps,omitempty"` + // If set, the number of lines from the end of the logs to show. If not specified, + // logs are shown from the creation of the container or sinceSeconds or sinceTime + // +optional + TailLines *int64 `protobuf:"varint,7,opt,name=tailLines" json:"tailLines,omitempty"` + // If set, the number of bytes to read from the server before terminating the + // log output. This may not display a complete final line of logging, and may return + // slightly more or slightly less than the specified limit. + // +optional + LimitBytes *int64 `protobuf:"varint,8,opt,name=limitBytes" json:"limitBytes,omitempty"` + // insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the + // serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver + // and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real + // kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the + // connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept + // the actual log data coming from the real kubelet). + // +optional + InsecureSkipTLSVerifyBackend *bool `protobuf:"varint,9,opt,name=insecureSkipTLSVerifyBackend" json:"insecureSkipTLSVerifyBackend,omitempty"` +} + +func (x *PodLogOptions) Reset() { + *x = PodLogOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodLogOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodLogOptions) ProtoMessage() {} + +func (x *PodLogOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[133] + 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 PodLogOptions.ProtoReflect.Descriptor instead. +func (*PodLogOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{133} +} + +func (x *PodLogOptions) GetContainer() string { + if x != nil && x.Container != nil { + return *x.Container + } + return "" +} + +func (x *PodLogOptions) GetFollow() bool { + if x != nil && x.Follow != nil { + return *x.Follow + } + return false +} + +func (x *PodLogOptions) GetPrevious() bool { + if x != nil && x.Previous != nil { + return *x.Previous + } + return false +} + +func (x *PodLogOptions) GetSinceSeconds() int64 { + if x != nil && x.SinceSeconds != nil { + return *x.SinceSeconds + } + return 0 +} + +func (x *PodLogOptions) GetSinceTime() *v1.Time { + if x != nil { + return x.SinceTime + } + return nil +} + +func (x *PodLogOptions) GetTimestamps() bool { + if x != nil && x.Timestamps != nil { + return *x.Timestamps + } + return false +} + +func (x *PodLogOptions) GetTailLines() int64 { + if x != nil && x.TailLines != nil { + return *x.TailLines + } + return 0 +} + +func (x *PodLogOptions) GetLimitBytes() int64 { + if x != nil && x.LimitBytes != nil { + return *x.LimitBytes + } + return 0 +} + +func (x *PodLogOptions) GetInsecureSkipTLSVerifyBackend() bool { + if x != nil && x.InsecureSkipTLSVerifyBackend != nil { + return *x.InsecureSkipTLSVerifyBackend + } + return false +} + +// PodOS defines the OS parameters of a pod. +type PodOS struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name is the name of the operating system. The currently supported values are linux and windows. + // Additional value may be defined in future and can be one of: + // https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration + // Clients should expect to handle additional values and treat unrecognized values in this field as os: null + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` +} + +func (x *PodOS) Reset() { + *x = PodOS{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodOS) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodOS) ProtoMessage() {} + +func (x *PodOS) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[134] + 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 PodOS.ProtoReflect.Descriptor instead. +func (*PodOS) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{134} +} + +func (x *PodOS) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +// PodPortForwardOptions is the query options to a Pod's port forward call +// when using WebSockets. +// The `port` query parameter must specify the port or +// ports (comma separated) to forward over. +// Port forwarding over SPDY does not use these options. It requires the port +// to be passed in the `port` header as part of request. +type PodPortForwardOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // List of ports to forward + // Required when using WebSockets + // +optional + Ports []int32 `protobuf:"varint,1,rep,name=ports" json:"ports,omitempty"` +} + +func (x *PodPortForwardOptions) Reset() { + *x = PodPortForwardOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodPortForwardOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodPortForwardOptions) ProtoMessage() {} + +func (x *PodPortForwardOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[135] + 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 PodPortForwardOptions.ProtoReflect.Descriptor instead. +func (*PodPortForwardOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{135} +} + +func (x *PodPortForwardOptions) GetPorts() []int32 { + if x != nil { + return x.Ports + } + return nil +} + +// PodProxyOptions is the query options to a Pod's proxy call. +type PodProxyOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Path is the URL path to use for the current proxy request to pod. + // +optional + Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` +} + +func (x *PodProxyOptions) Reset() { + *x = PodProxyOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodProxyOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodProxyOptions) ProtoMessage() {} + +func (x *PodProxyOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[136] + 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 PodProxyOptions.ProtoReflect.Descriptor instead. +func (*PodProxyOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{136} +} + +func (x *PodProxyOptions) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +// PodReadinessGate contains the reference to a pod condition +type PodReadinessGate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ConditionType refers to a condition in the pod's condition list with matching type. + ConditionType *string `protobuf:"bytes,1,opt,name=conditionType" json:"conditionType,omitempty"` +} + +func (x *PodReadinessGate) Reset() { + *x = PodReadinessGate{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodReadinessGate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodReadinessGate) ProtoMessage() {} + +func (x *PodReadinessGate) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[137] + 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 PodReadinessGate.ProtoReflect.Descriptor instead. +func (*PodReadinessGate) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{137} +} + +func (x *PodReadinessGate) GetConditionType() string { + if x != nil && x.ConditionType != nil { + return *x.ConditionType + } + return "" +} + +// PodResourceClaim references exactly one ResourceClaim through a ClaimSource. +// It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. +// Containers that need access to the ResourceClaim reference it with this name. +type PodResourceClaim struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name uniquely identifies this resource claim inside the pod. + // This must be a DNS_LABEL. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // Source describes where to find the ResourceClaim. + Source *ClaimSource `protobuf:"bytes,2,opt,name=source" json:"source,omitempty"` +} + +func (x *PodResourceClaim) Reset() { + *x = PodResourceClaim{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodResourceClaim) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodResourceClaim) ProtoMessage() {} + +func (x *PodResourceClaim) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[138] + 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 PodResourceClaim.ProtoReflect.Descriptor instead. +func (*PodResourceClaim) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{138} +} + +func (x *PodResourceClaim) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *PodResourceClaim) GetSource() *ClaimSource { + if x != nil { + return x.Source + } + return nil +} + +// PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim +// which references a ResourceClaimTemplate. It stores the generated name for +// the corresponding ResourceClaim. +type PodResourceClaimStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name uniquely identifies this resource claim inside the pod. + // This must match the name of an entry in pod.spec.resourceClaims, + // which implies that the string must be a DNS_LABEL. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // ResourceClaimName is the name of the ResourceClaim that was + // generated for the Pod in the namespace of the Pod. It this is + // unset, then generating a ResourceClaim was not necessary. The + // pod.spec.resourceClaims entry can be ignored in this case. + // + // +optional + ResourceClaimName *string `protobuf:"bytes,2,opt,name=resourceClaimName" json:"resourceClaimName,omitempty"` +} + +func (x *PodResourceClaimStatus) Reset() { + *x = PodResourceClaimStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodResourceClaimStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodResourceClaimStatus) ProtoMessage() {} + +func (x *PodResourceClaimStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[139] + 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 PodResourceClaimStatus.ProtoReflect.Descriptor instead. +func (*PodResourceClaimStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{139} +} + +func (x *PodResourceClaimStatus) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *PodResourceClaimStatus) GetResourceClaimName() string { + if x != nil && x.ResourceClaimName != nil { + return *x.ResourceClaimName + } + return "" +} + +// PodSchedulingGate is associated to a Pod to guard its scheduling. +type PodSchedulingGate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of the scheduling gate. + // Each scheduling gate must have a unique name field. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` +} + +func (x *PodSchedulingGate) Reset() { + *x = PodSchedulingGate{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodSchedulingGate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodSchedulingGate) ProtoMessage() {} + +func (x *PodSchedulingGate) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[140] + 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 PodSchedulingGate.ProtoReflect.Descriptor instead. +func (*PodSchedulingGate) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{140} +} + +func (x *PodSchedulingGate) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +// PodSecurityContext holds pod-level security attributes and common container settings. +// Some fields are also present in container.securityContext. Field values of +// container.securityContext take precedence over field values of PodSecurityContext. +type PodSecurityContext struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The SELinux context to be applied to all containers. + // If unspecified, the container runtime will allocate a random SELinux context for each + // container. May also be set in SecurityContext. If set in + // both SecurityContext and PodSecurityContext, the value specified in SecurityContext + // takes precedence for that container. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + SeLinuxOptions *SELinuxOptions `protobuf:"bytes,1,opt,name=seLinuxOptions" json:"seLinuxOptions,omitempty"` + // The Windows specific settings applied to all containers. + // If unspecified, the options within a container's SecurityContext will be used. + // If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is linux. + // +optional + WindowsOptions *WindowsSecurityContextOptions `protobuf:"bytes,8,opt,name=windowsOptions" json:"windowsOptions,omitempty"` + // The UID to run the entrypoint of the container process. + // Defaults to user specified in image metadata if unspecified. + // May also be set in SecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence + // for that container. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + RunAsUser *int64 `protobuf:"varint,2,opt,name=runAsUser" json:"runAsUser,omitempty"` + // The GID to run the entrypoint of the container process. + // Uses runtime default if unset. + // May also be set in SecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence + // for that container. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + RunAsGroup *int64 `protobuf:"varint,6,opt,name=runAsGroup" json:"runAsGroup,omitempty"` + // Indicates that the container must run as a non-root user. + // If true, the Kubelet will validate the image at runtime to ensure that it + // does not run as UID 0 (root) and fail to start the container if it does. + // If unset or false, no such validation will be performed. + // May also be set in SecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional + RunAsNonRoot *bool `protobuf:"varint,3,opt,name=runAsNonRoot" json:"runAsNonRoot,omitempty"` + // A list of groups applied to the first process run in each container, in addition + // to the container's primary GID, the fsGroup (if specified), and group memberships + // defined in the container image for the uid of the container process. If unspecified, + // no additional groups are added to any container. Note that group memberships + // defined in the container image for the uid of the container process are still effective, + // even if they are not included in this list. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + SupplementalGroups []int64 `protobuf:"varint,4,rep,name=supplementalGroups" json:"supplementalGroups,omitempty"` + // A special supplemental group that applies to all containers in a pod. + // Some volume types allow the Kubelet to change the ownership of that volume + // to be owned by the pod: + // + // 1. The owning GID will be the FSGroup + // 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + // 3. The permission bits are OR'd with rw-rw---- + // + // If unset, the Kubelet will not modify the ownership and permissions of any volume. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + FsGroup *int64 `protobuf:"varint,5,opt,name=fsGroup" json:"fsGroup,omitempty"` + // Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + // sysctls (by the container runtime) might fail to launch. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + Sysctls []*Sysctl `protobuf:"bytes,7,rep,name=sysctls" json:"sysctls,omitempty"` + // fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + // before being exposed inside Pod. This field will only apply to + // volume types which support fsGroup based ownership(and permissions). + // It will have no effect on ephemeral volume types such as: secret, configmaps + // and emptydir. + // Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + FsGroupChangePolicy *string `protobuf:"bytes,9,opt,name=fsGroupChangePolicy" json:"fsGroupChangePolicy,omitempty"` + // The seccomp options to use by the containers in this pod. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + SeccompProfile *SeccompProfile `protobuf:"bytes,10,opt,name=seccompProfile" json:"seccompProfile,omitempty"` +} + +func (x *PodSecurityContext) Reset() { + *x = PodSecurityContext{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodSecurityContext) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodSecurityContext) ProtoMessage() {} + +func (x *PodSecurityContext) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[141] + 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 PodSecurityContext.ProtoReflect.Descriptor instead. +func (*PodSecurityContext) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{141} +} + +func (x *PodSecurityContext) GetSeLinuxOptions() *SELinuxOptions { + if x != nil { + return x.SeLinuxOptions + } + return nil +} + +func (x *PodSecurityContext) GetWindowsOptions() *WindowsSecurityContextOptions { + if x != nil { + return x.WindowsOptions + } + return nil +} + +func (x *PodSecurityContext) GetRunAsUser() int64 { + if x != nil && x.RunAsUser != nil { + return *x.RunAsUser + } + return 0 +} + +func (x *PodSecurityContext) GetRunAsGroup() int64 { + if x != nil && x.RunAsGroup != nil { + return *x.RunAsGroup + } + return 0 +} + +func (x *PodSecurityContext) GetRunAsNonRoot() bool { + if x != nil && x.RunAsNonRoot != nil { + return *x.RunAsNonRoot + } + return false +} + +func (x *PodSecurityContext) GetSupplementalGroups() []int64 { + if x != nil { + return x.SupplementalGroups + } + return nil +} + +func (x *PodSecurityContext) GetFsGroup() int64 { + if x != nil && x.FsGroup != nil { + return *x.FsGroup + } + return 0 +} + +func (x *PodSecurityContext) GetSysctls() []*Sysctl { + if x != nil { + return x.Sysctls + } + return nil +} + +func (x *PodSecurityContext) GetFsGroupChangePolicy() string { + if x != nil && x.FsGroupChangePolicy != nil { + return *x.FsGroupChangePolicy + } + return "" +} + +func (x *PodSecurityContext) GetSeccompProfile() *SeccompProfile { + if x != nil { + return x.SeccompProfile + } + return nil +} + +// Describes the class of pods that should avoid this node. +// Exactly one field should be set. +type PodSignature struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Reference to controller whose pods should avoid this node. + // +optional + PodController *v1.OwnerReference `protobuf:"bytes,1,opt,name=podController" json:"podController,omitempty"` +} + +func (x *PodSignature) Reset() { + *x = PodSignature{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodSignature) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodSignature) ProtoMessage() {} + +func (x *PodSignature) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[142] + 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 PodSignature.ProtoReflect.Descriptor instead. +func (*PodSignature) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{142} +} + +func (x *PodSignature) GetPodController() *v1.OwnerReference { + if x != nil { + return x.PodController + } + return nil +} + +// PodSpec is a description of a pod. +type PodSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // List of volumes that can be mounted by containers belonging to the pod. + // More info: https://kubernetes.io/docs/concepts/storage/volumes + // +optional + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + Volumes []*Volume `protobuf:"bytes,1,rep,name=volumes" json:"volumes,omitempty"` + // List of initialization containers belonging to the pod. + // Init containers are executed in order prior to containers being started. If any + // init container fails, the pod is considered to have failed and is handled according + // to its restartPolicy. The name for an init container or normal container must be + // unique among all containers. + // Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. + // The resourceRequirements of an init container are taken into account during scheduling + // by finding the highest request/limit for each resource type, and then using the max of + // of that value or the sum of the normal containers. Limits are applied to init containers + // in a similar fashion. + // Init containers cannot currently be added or removed. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ + // +patchMergeKey=name + // +patchStrategy=merge + InitContainers []*Container `protobuf:"bytes,20,rep,name=initContainers" json:"initContainers,omitempty"` + // List of containers belonging to the pod. + // Containers cannot currently be added or removed. + // There must be at least one container in a Pod. + // Cannot be updated. + // +patchMergeKey=name + // +patchStrategy=merge + Containers []*Container `protobuf:"bytes,2,rep,name=containers" json:"containers,omitempty"` + // List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing + // pod to perform user-initiated actions such as debugging. This list cannot be specified when + // creating a pod, and it cannot be modified by updating the pod spec. In order to add an + // ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + EphemeralContainers []*EphemeralContainer `protobuf:"bytes,34,rep,name=ephemeralContainers" json:"ephemeralContainers,omitempty"` + // Restart policy for all containers within the pod. + // One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. + // Default to Always. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy + // +optional + RestartPolicy *string `protobuf:"bytes,3,opt,name=restartPolicy" json:"restartPolicy,omitempty"` + // Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. + // Value must be non-negative integer. The value zero indicates stop immediately via + // the kill signal (no opportunity to shut down). + // If this value is nil, the default grace period will be used instead. + // The grace period is the duration in seconds after the processes running in the pod are sent + // a termination signal and the time when the processes are forcibly halted with a kill signal. + // Set this value longer than the expected cleanup time for your process. + // Defaults to 30 seconds. + // +optional + TerminationGracePeriodSeconds *int64 `protobuf:"varint,4,opt,name=terminationGracePeriodSeconds" json:"terminationGracePeriodSeconds,omitempty"` + // Optional duration in seconds the pod may be active on the node relative to + // StartTime before the system will actively try to mark it failed and kill associated containers. + // Value must be a positive integer. + // +optional + ActiveDeadlineSeconds *int64 `protobuf:"varint,5,opt,name=activeDeadlineSeconds" json:"activeDeadlineSeconds,omitempty"` + // Set DNS policy for the pod. + // Defaults to "ClusterFirst". + // Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. + // DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. + // To have DNS options set along with hostNetwork, you have to specify DNS policy + // explicitly to 'ClusterFirstWithHostNet'. + // +optional + DnsPolicy *string `protobuf:"bytes,6,opt,name=dnsPolicy" json:"dnsPolicy,omitempty"` + // NodeSelector is a selector which must be true for the pod to fit on a node. + // Selector which must match a node's labels for the pod to be scheduled on that node. + // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ + // +optional + // +mapType=atomic + NodeSelector map[string]string `protobuf:"bytes,7,rep,name=nodeSelector" json:"nodeSelector,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // ServiceAccountName is the name of the ServiceAccount to use to run this pod. + // More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + // +optional + ServiceAccountName *string `protobuf:"bytes,8,opt,name=serviceAccountName" json:"serviceAccountName,omitempty"` + // DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. + // Deprecated: Use serviceAccountName instead. + // +k8s:conversion-gen=false + // +optional + ServiceAccount *string `protobuf:"bytes,9,opt,name=serviceAccount" json:"serviceAccount,omitempty"` + // AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. + // +optional + AutomountServiceAccountToken *bool `protobuf:"varint,21,opt,name=automountServiceAccountToken" json:"automountServiceAccountToken,omitempty"` + // NodeName is a request to schedule this pod onto a specific node. If it is non-empty, + // the scheduler simply schedules this pod onto that node, assuming that it fits resource + // requirements. + // +optional + NodeName *string `protobuf:"bytes,10,opt,name=nodeName" json:"nodeName,omitempty"` + // Host networking requested for this pod. Use the host's network namespace. + // If this option is set, the ports that will be used must be specified. + // Default to false. + // +k8s:conversion-gen=false + // +optional + HostNetwork *bool `protobuf:"varint,11,opt,name=hostNetwork" json:"hostNetwork,omitempty"` + // Use the host's pid namespace. + // Optional: Default to false. + // +k8s:conversion-gen=false + // +optional + HostPID *bool `protobuf:"varint,12,opt,name=hostPID" json:"hostPID,omitempty"` + // Use the host's ipc namespace. + // Optional: Default to false. + // +k8s:conversion-gen=false + // +optional + HostIPC *bool `protobuf:"varint,13,opt,name=hostIPC" json:"hostIPC,omitempty"` + // Share a single process namespace between all of the containers in a pod. + // When this is set containers will be able to view and signal processes from other containers + // in the same pod, and the first process in each container will not be assigned PID 1. + // HostPID and ShareProcessNamespace cannot both be set. + // Optional: Default to false. + // +k8s:conversion-gen=false + // +optional + ShareProcessNamespace *bool `protobuf:"varint,27,opt,name=shareProcessNamespace" json:"shareProcessNamespace,omitempty"` + // SecurityContext holds pod-level security attributes and common container settings. + // Optional: Defaults to empty. See type description for default values of each field. + // +optional + SecurityContext *PodSecurityContext `protobuf:"bytes,14,opt,name=securityContext" json:"securityContext,omitempty"` + // ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. + // If specified, these secrets will be passed to individual puller implementations for them to use. + // More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + ImagePullSecrets []*LocalObjectReference `protobuf:"bytes,15,rep,name=imagePullSecrets" json:"imagePullSecrets,omitempty"` + // Specifies the hostname of the Pod + // If not specified, the pod's hostname will be set to a system-defined value. + // +optional + Hostname *string `protobuf:"bytes,16,opt,name=hostname" json:"hostname,omitempty"` + // If specified, the fully qualified Pod hostname will be "...svc.". + // If not specified, the pod will not have a domainname at all. + // +optional + Subdomain *string `protobuf:"bytes,17,opt,name=subdomain" json:"subdomain,omitempty"` + // If specified, the pod's scheduling constraints + // +optional + Affinity *Affinity `protobuf:"bytes,18,opt,name=affinity" json:"affinity,omitempty"` + // If specified, the pod will be dispatched by specified scheduler. + // If not specified, the pod will be dispatched by default scheduler. + // +optional + SchedulerName *string `protobuf:"bytes,19,opt,name=schedulerName" json:"schedulerName,omitempty"` + // If specified, the pod's tolerations. + // +optional + Tolerations []*Toleration `protobuf:"bytes,22,rep,name=tolerations" json:"tolerations,omitempty"` + // HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts + // file if specified. This is only valid for non-hostNetwork pods. + // +optional + // +patchMergeKey=ip + // +patchStrategy=merge + HostAliases []*HostAlias `protobuf:"bytes,23,rep,name=hostAliases" json:"hostAliases,omitempty"` + // If specified, indicates the pod's priority. "system-node-critical" and + // "system-cluster-critical" are two special keywords which indicate the + // highest priorities with the former being the highest priority. Any other + // name must be defined by creating a PriorityClass object with that name. + // If not specified, the pod priority will be default or zero if there is no + // default. + // +optional + PriorityClassName *string `protobuf:"bytes,24,opt,name=priorityClassName" json:"priorityClassName,omitempty"` + // The priority value. Various system components use this field to find the + // priority of the pod. When Priority Admission Controller is enabled, it + // prevents users from setting this field. The admission controller populates + // this field from PriorityClassName. + // The higher the value, the higher the priority. + // +optional + Priority *int32 `protobuf:"varint,25,opt,name=priority" json:"priority,omitempty"` + // Specifies the DNS parameters of a pod. + // Parameters specified here will be merged to the generated DNS + // configuration based on DNSPolicy. + // +optional + DnsConfig *PodDNSConfig `protobuf:"bytes,26,opt,name=dnsConfig" json:"dnsConfig,omitempty"` + // If specified, all readiness gates will be evaluated for pod readiness. + // A pod is ready when all its containers are ready AND + // all conditions specified in the readiness gates have status equal to "True" + // More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates + // +optional + ReadinessGates []*PodReadinessGate `protobuf:"bytes,28,rep,name=readinessGates" json:"readinessGates,omitempty"` + // RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used + // to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. + // If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an + // empty definition that uses the default runtime handler. + // More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class + // +optional + RuntimeClassName *string `protobuf:"bytes,29,opt,name=runtimeClassName" json:"runtimeClassName,omitempty"` + // EnableServiceLinks indicates whether information about services should be injected into pod's + // environment variables, matching the syntax of Docker links. + // Optional: Defaults to true. + // +optional + EnableServiceLinks *bool `protobuf:"varint,30,opt,name=enableServiceLinks" json:"enableServiceLinks,omitempty"` + // PreemptionPolicy is the Policy for preempting pods with lower priority. + // One of Never, PreemptLowerPriority. + // Defaults to PreemptLowerPriority if unset. + // +optional + PreemptionPolicy *string `protobuf:"bytes,31,opt,name=preemptionPolicy" json:"preemptionPolicy,omitempty"` + // Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. + // This field will be autopopulated at admission time by the RuntimeClass admission controller. If + // the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. + // The RuntimeClass admission controller will reject Pod create requests which have the overhead already + // set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value + // defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. + // More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md + // +optional + Overhead map[string]*resource.Quantity `protobuf:"bytes,32,rep,name=overhead" json:"overhead,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // TopologySpreadConstraints describes how a group of pods ought to spread across topology + // domains. Scheduler will schedule pods in a way which abides by the constraints. + // All topologySpreadConstraints are ANDed. + // +optional + // +patchMergeKey=topologyKey + // +patchStrategy=merge + // +listType=map + // +listMapKey=topologyKey + // +listMapKey=whenUnsatisfiable + TopologySpreadConstraints []*TopologySpreadConstraint `protobuf:"bytes,33,rep,name=topologySpreadConstraints" json:"topologySpreadConstraints,omitempty"` + // If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). + // In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). + // In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. + // If a pod does not have FQDN, this has no effect. + // Default to false. + // +optional + SetHostnameAsFQDN *bool `protobuf:"varint,35,opt,name=setHostnameAsFQDN" json:"setHostnameAsFQDN,omitempty"` + // Specifies the OS of the containers in the pod. + // Some pod and container fields are restricted if this is set. + // + // If the OS field is set to linux, the following fields must be unset: + // -securityContext.windowsOptions + // + // If the OS field is set to windows, following fields must be unset: + // - spec.hostPID + // - spec.hostIPC + // - spec.hostUsers + // - spec.securityContext.seLinuxOptions + // - spec.securityContext.seccompProfile + // - spec.securityContext.fsGroup + // - spec.securityContext.fsGroupChangePolicy + // - spec.securityContext.sysctls + // - spec.shareProcessNamespace + // - spec.securityContext.runAsUser + // - spec.securityContext.runAsGroup + // - spec.securityContext.supplementalGroups + // - spec.containers[*].securityContext.seLinuxOptions + // - spec.containers[*].securityContext.seccompProfile + // - spec.containers[*].securityContext.capabilities + // - spec.containers[*].securityContext.readOnlyRootFilesystem + // - spec.containers[*].securityContext.privileged + // - spec.containers[*].securityContext.allowPrivilegeEscalation + // - spec.containers[*].securityContext.procMount + // - spec.containers[*].securityContext.runAsUser + // - spec.containers[*].securityContext.runAsGroup + // +optional + Os *PodOS `protobuf:"bytes,36,opt,name=os" json:"os,omitempty"` + // Use the host's user namespace. + // Optional: Default to true. + // If set to true or not present, the pod will be run in the host user namespace, useful + // for when the pod needs a feature only available to the host user namespace, such as + // loading a kernel module with CAP_SYS_MODULE. + // When set to false, a new userns is created for the pod. Setting false is useful for + // mitigating container breakout vulnerabilities even allowing users to run their + // containers as root without actually having root privileges on the host. + // This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature. + // +k8s:conversion-gen=false + // +optional + HostUsers *bool `protobuf:"varint,37,opt,name=hostUsers" json:"hostUsers,omitempty"` + // SchedulingGates is an opaque list of values that if specified will block scheduling the pod. + // If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the + // scheduler will not attempt to schedule the pod. + // + // SchedulingGates can only be set at pod creation time, and be removed only afterwards. + // + // This is a beta feature enabled by the PodSchedulingReadiness feature gate. + // + // +patchMergeKey=name + // +patchStrategy=merge + // +listType=map + // +listMapKey=name + // +featureGate=PodSchedulingReadiness + // +optional + SchedulingGates []*PodSchedulingGate `protobuf:"bytes,38,rep,name=schedulingGates" json:"schedulingGates,omitempty"` + // ResourceClaims defines which ResourceClaims must be allocated + // and reserved before the Pod is allowed to start. The resources + // will be made available to those containers which consume them + // by name. + // + // This is an alpha field and requires enabling the + // DynamicResourceAllocation feature gate. + // + // This field is immutable. + // + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + // +featureGate=DynamicResourceAllocation + // +optional + ResourceClaims []*PodResourceClaim `protobuf:"bytes,39,rep,name=resourceClaims" json:"resourceClaims,omitempty"` +} + +func (x *PodSpec) Reset() { + *x = PodSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[143] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodSpec) ProtoMessage() {} + +func (x *PodSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[143] + 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 PodSpec.ProtoReflect.Descriptor instead. +func (*PodSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{143} +} + +func (x *PodSpec) GetVolumes() []*Volume { + if x != nil { + return x.Volumes + } + return nil +} + +func (x *PodSpec) GetInitContainers() []*Container { + if x != nil { + return x.InitContainers + } + return nil +} + +func (x *PodSpec) GetContainers() []*Container { + if x != nil { + return x.Containers + } + return nil +} + +func (x *PodSpec) GetEphemeralContainers() []*EphemeralContainer { + if x != nil { + return x.EphemeralContainers + } + return nil +} + +func (x *PodSpec) GetRestartPolicy() string { + if x != nil && x.RestartPolicy != nil { + return *x.RestartPolicy + } + return "" +} + +func (x *PodSpec) GetTerminationGracePeriodSeconds() int64 { + if x != nil && x.TerminationGracePeriodSeconds != nil { + return *x.TerminationGracePeriodSeconds + } + return 0 +} + +func (x *PodSpec) GetActiveDeadlineSeconds() int64 { + if x != nil && x.ActiveDeadlineSeconds != nil { + return *x.ActiveDeadlineSeconds + } + return 0 +} + +func (x *PodSpec) GetDnsPolicy() string { + if x != nil && x.DnsPolicy != nil { + return *x.DnsPolicy + } + return "" +} + +func (x *PodSpec) GetNodeSelector() map[string]string { + if x != nil { + return x.NodeSelector + } + return nil +} + +func (x *PodSpec) GetServiceAccountName() string { + if x != nil && x.ServiceAccountName != nil { + return *x.ServiceAccountName + } + return "" +} + +func (x *PodSpec) GetServiceAccount() string { + if x != nil && x.ServiceAccount != nil { + return *x.ServiceAccount + } + return "" +} + +func (x *PodSpec) GetAutomountServiceAccountToken() bool { + if x != nil && x.AutomountServiceAccountToken != nil { + return *x.AutomountServiceAccountToken + } + return false +} + +func (x *PodSpec) GetNodeName() string { + if x != nil && x.NodeName != nil { + return *x.NodeName + } + return "" +} + +func (x *PodSpec) GetHostNetwork() bool { + if x != nil && x.HostNetwork != nil { + return *x.HostNetwork + } + return false +} + +func (x *PodSpec) GetHostPID() bool { + if x != nil && x.HostPID != nil { + return *x.HostPID + } + return false +} + +func (x *PodSpec) GetHostIPC() bool { + if x != nil && x.HostIPC != nil { + return *x.HostIPC + } + return false +} + +func (x *PodSpec) GetShareProcessNamespace() bool { + if x != nil && x.ShareProcessNamespace != nil { + return *x.ShareProcessNamespace + } + return false +} + +func (x *PodSpec) GetSecurityContext() *PodSecurityContext { + if x != nil { + return x.SecurityContext + } + return nil +} + +func (x *PodSpec) GetImagePullSecrets() []*LocalObjectReference { + if x != nil { + return x.ImagePullSecrets + } + return nil +} + +func (x *PodSpec) GetHostname() string { + if x != nil && x.Hostname != nil { + return *x.Hostname + } + return "" +} + +func (x *PodSpec) GetSubdomain() string { + if x != nil && x.Subdomain != nil { + return *x.Subdomain + } + return "" +} + +func (x *PodSpec) GetAffinity() *Affinity { + if x != nil { + return x.Affinity + } + return nil +} + +func (x *PodSpec) GetSchedulerName() string { + if x != nil && x.SchedulerName != nil { + return *x.SchedulerName + } + return "" +} + +func (x *PodSpec) GetTolerations() []*Toleration { + if x != nil { + return x.Tolerations + } + return nil +} + +func (x *PodSpec) GetHostAliases() []*HostAlias { + if x != nil { + return x.HostAliases + } + return nil +} + +func (x *PodSpec) GetPriorityClassName() string { + if x != nil && x.PriorityClassName != nil { + return *x.PriorityClassName + } + return "" +} + +func (x *PodSpec) GetPriority() int32 { + if x != nil && x.Priority != nil { + return *x.Priority + } + return 0 +} + +func (x *PodSpec) GetDnsConfig() *PodDNSConfig { + if x != nil { + return x.DnsConfig + } + return nil +} + +func (x *PodSpec) GetReadinessGates() []*PodReadinessGate { + if x != nil { + return x.ReadinessGates + } + return nil +} + +func (x *PodSpec) GetRuntimeClassName() string { + if x != nil && x.RuntimeClassName != nil { + return *x.RuntimeClassName + } + return "" +} + +func (x *PodSpec) GetEnableServiceLinks() bool { + if x != nil && x.EnableServiceLinks != nil { + return *x.EnableServiceLinks + } + return false +} + +func (x *PodSpec) GetPreemptionPolicy() string { + if x != nil && x.PreemptionPolicy != nil { + return *x.PreemptionPolicy + } + return "" +} + +func (x *PodSpec) GetOverhead() map[string]*resource.Quantity { + if x != nil { + return x.Overhead + } + return nil +} + +func (x *PodSpec) GetTopologySpreadConstraints() []*TopologySpreadConstraint { + if x != nil { + return x.TopologySpreadConstraints + } + return nil +} + +func (x *PodSpec) GetSetHostnameAsFQDN() bool { + if x != nil && x.SetHostnameAsFQDN != nil { + return *x.SetHostnameAsFQDN + } + return false +} + +func (x *PodSpec) GetOs() *PodOS { + if x != nil { + return x.Os + } + return nil +} + +func (x *PodSpec) GetHostUsers() bool { + if x != nil && x.HostUsers != nil { + return *x.HostUsers + } + return false +} + +func (x *PodSpec) GetSchedulingGates() []*PodSchedulingGate { + if x != nil { + return x.SchedulingGates + } + return nil +} + +func (x *PodSpec) GetResourceClaims() []*PodResourceClaim { + if x != nil { + return x.ResourceClaims + } + return nil +} + +// PodStatus represents information about the status of a pod. Status may trail the actual +// state of a system, especially if the node that hosts the pod cannot contact the control +// plane. +type PodStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. + // The conditions array, the reason and message fields, and the individual container status + // arrays contain more detail about the pod's status. + // There are five possible phase values: + // + // Pending: The pod has been accepted by the Kubernetes system, but one or more of the + // container images has not been created. This includes time before being scheduled as + // well as time spent downloading images over the network, which could take a while. + // Running: The pod has been bound to a node, and all of the containers have been created. + // At least one container is still running, or is in the process of starting or restarting. + // Succeeded: All containers in the pod have terminated in success, and will not be restarted. + // Failed: All containers in the pod have terminated, and at least one container has + // terminated in failure. The container either exited with non-zero status or was terminated + // by the system. + // Unknown: For some reason the state of the pod could not be obtained, typically due to an + // error in communicating with the host of the pod. + // + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase + // +optional + Phase *string `protobuf:"bytes,1,opt,name=phase" json:"phase,omitempty"` + // Current service state of pod. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + Conditions []*PodCondition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"` + // A human readable message indicating details about why the pod is in this condition. + // +optional + Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` + // A brief CamelCase message indicating details about why the pod is in this state. + // e.g. 'Evicted' + // +optional + Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"` + // nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be + // scheduled right away as preemption victims receive their graceful termination periods. + // This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide + // to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to + // give the resources on this node to a higher priority pod that is created after preemption. + // As a result, this field may be different than PodSpec.nodeName when the pod is + // scheduled. + // +optional + NominatedNodeName *string `protobuf:"bytes,11,opt,name=nominatedNodeName" json:"nominatedNodeName,omitempty"` + // hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. + // A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will + // not be updated even if there is a node is assigned to pod + // +optional + HostIP *string `protobuf:"bytes,5,opt,name=hostIP" json:"hostIP,omitempty"` + // hostIPs holds the IP addresses allocated to the host. If this field is specified, the first entry must + // match the hostIP field. This list is empty if the pod has not started yet. + // A pod can be assigned to a node that has a problem in kubelet which in turns means that HostIPs will + // not be updated even if there is a node is assigned to this pod. + // +optional + // +patchStrategy=merge + // +patchMergeKey=ip + // +listType=atomic + HostIPs []*HostIP `protobuf:"bytes,16,rep,name=hostIPs" json:"hostIPs,omitempty"` + // podIP address allocated to the pod. Routable at least within the cluster. + // Empty if not yet allocated. + // +optional + PodIP *string `protobuf:"bytes,6,opt,name=podIP" json:"podIP,omitempty"` + // podIPs holds the IP addresses allocated to the pod. If this field is specified, the 0th entry must + // match the podIP field. Pods may be allocated at most 1 value for each of IPv4 and IPv6. This list + // is empty if no IPs have been allocated yet. + // +optional + // +patchStrategy=merge + // +patchMergeKey=ip + PodIPs []*PodIP `protobuf:"bytes,12,rep,name=podIPs" json:"podIPs,omitempty"` + // RFC 3339 date and time at which the object was acknowledged by the Kubelet. + // This is before the Kubelet pulled the container image(s) for the pod. + // +optional + StartTime *v1.Time `protobuf:"bytes,7,opt,name=startTime" json:"startTime,omitempty"` + // The list has one entry per init container in the manifest. The most recent successful + // init container will have ready = true, the most recently started container will have + // startTime set. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status + InitContainerStatuses []*ContainerStatus `protobuf:"bytes,10,rep,name=initContainerStatuses" json:"initContainerStatuses,omitempty"` + // The list has one entry per container in the manifest. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status + // +optional + ContainerStatuses []*ContainerStatus `protobuf:"bytes,8,rep,name=containerStatuses" json:"containerStatuses,omitempty"` + // The Quality of Service (QOS) classification assigned to the pod based on resource requirements + // See PodQOSClass type for available QOS classes + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes + // +optional + QosClass *string `protobuf:"bytes,9,opt,name=qosClass" json:"qosClass,omitempty"` + // Status for any ephemeral containers that have run in this pod. + // +optional + EphemeralContainerStatuses []*ContainerStatus `protobuf:"bytes,13,rep,name=ephemeralContainerStatuses" json:"ephemeralContainerStatuses,omitempty"` + // Status of resources resize desired for pod's containers. + // It is empty if no resources resize is pending. + // Any changes to container resources will automatically set this to "Proposed" + // +featureGate=InPlacePodVerticalScaling + // +optional + Resize *string `protobuf:"bytes,14,opt,name=resize" json:"resize,omitempty"` + // Status of resource claims. + // +patchMergeKey=name + // +patchStrategy=merge,retainKeys + // +listType=map + // +listMapKey=name + // +featureGate=DynamicResourceAllocation + // +optional + ResourceClaimStatuses []*PodResourceClaimStatus `protobuf:"bytes,15,rep,name=resourceClaimStatuses" json:"resourceClaimStatuses,omitempty"` +} + +func (x *PodStatus) Reset() { + *x = PodStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[144] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodStatus) ProtoMessage() {} + +func (x *PodStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[144] + 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 PodStatus.ProtoReflect.Descriptor instead. +func (*PodStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{144} +} + +func (x *PodStatus) GetPhase() string { + if x != nil && x.Phase != nil { + return *x.Phase + } + return "" +} + +func (x *PodStatus) GetConditions() []*PodCondition { + if x != nil { + return x.Conditions + } + return nil +} + +func (x *PodStatus) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *PodStatus) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *PodStatus) GetNominatedNodeName() string { + if x != nil && x.NominatedNodeName != nil { + return *x.NominatedNodeName + } + return "" +} + +func (x *PodStatus) GetHostIP() string { + if x != nil && x.HostIP != nil { + return *x.HostIP + } + return "" +} + +func (x *PodStatus) GetHostIPs() []*HostIP { + if x != nil { + return x.HostIPs + } + return nil +} + +func (x *PodStatus) GetPodIP() string { + if x != nil && x.PodIP != nil { + return *x.PodIP + } + return "" +} + +func (x *PodStatus) GetPodIPs() []*PodIP { + if x != nil { + return x.PodIPs + } + return nil +} + +func (x *PodStatus) GetStartTime() *v1.Time { + if x != nil { + return x.StartTime + } + return nil +} + +func (x *PodStatus) GetInitContainerStatuses() []*ContainerStatus { + if x != nil { + return x.InitContainerStatuses + } + return nil +} + +func (x *PodStatus) GetContainerStatuses() []*ContainerStatus { + if x != nil { + return x.ContainerStatuses + } + return nil +} + +func (x *PodStatus) GetQosClass() string { + if x != nil && x.QosClass != nil { + return *x.QosClass + } + return "" +} + +func (x *PodStatus) GetEphemeralContainerStatuses() []*ContainerStatus { + if x != nil { + return x.EphemeralContainerStatuses + } + return nil +} + +func (x *PodStatus) GetResize() string { + if x != nil && x.Resize != nil { + return *x.Resize + } + return "" +} + +func (x *PodStatus) GetResourceClaimStatuses() []*PodResourceClaimStatus { + if x != nil { + return x.ResourceClaimStatuses + } + return nil +} + +// PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded +type PodStatusResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Most recently observed status of the pod. + // This data may not be up to date. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Status *PodStatus `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` +} + +func (x *PodStatusResult) Reset() { + *x = PodStatusResult{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodStatusResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodStatusResult) ProtoMessage() {} + +func (x *PodStatusResult) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[145] + 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 PodStatusResult.ProtoReflect.Descriptor instead. +func (*PodStatusResult) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{145} +} + +func (x *PodStatusResult) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PodStatusResult) GetStatus() *PodStatus { + if x != nil { + return x.Status + } + return nil +} + +// PodTemplate describes a template for creating copies of a predefined pod. +type PodTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Template defines the pods that will be created from this pod template. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Template *PodTemplateSpec `protobuf:"bytes,2,opt,name=template" json:"template,omitempty"` +} + +func (x *PodTemplate) Reset() { + *x = PodTemplate{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[146] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodTemplate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodTemplate) ProtoMessage() {} + +func (x *PodTemplate) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[146] + 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 PodTemplate.ProtoReflect.Descriptor instead. +func (*PodTemplate) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{146} +} + +func (x *PodTemplate) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PodTemplate) GetTemplate() *PodTemplateSpec { + if x != nil { + return x.Template + } + return nil +} + +// PodTemplateList is a list of PodTemplates. +type PodTemplateList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of pod templates + Items []*PodTemplate `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *PodTemplateList) Reset() { + *x = PodTemplateList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[147] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodTemplateList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodTemplateList) ProtoMessage() {} + +func (x *PodTemplateList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[147] + 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 PodTemplateList.ProtoReflect.Descriptor instead. +func (*PodTemplateList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{147} +} + +func (x *PodTemplateList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PodTemplateList) GetItems() []*PodTemplate { + if x != nil { + return x.Items + } + return nil +} + +// PodTemplateSpec describes the data a pod should have when created from a template +type PodTemplateSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Specification of the desired behavior of the pod. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec *PodSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` +} + +func (x *PodTemplateSpec) Reset() { + *x = PodTemplateSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PodTemplateSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PodTemplateSpec) ProtoMessage() {} + +func (x *PodTemplateSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[148] + 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 PodTemplateSpec.ProtoReflect.Descriptor instead. +func (*PodTemplateSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{148} +} + +func (x *PodTemplateSpec) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PodTemplateSpec) GetSpec() *PodSpec { + if x != nil { + return x.Spec + } + return nil +} + +type PortStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Port is the port number of the service port of which status is recorded here + Port *int32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"` + // Protocol is the protocol of the service port of which status is recorded here + // The supported values are: "TCP", "UDP", "SCTP" + Protocol *string `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"` + // Error is to record the problem with the service port + // The format of the error shall comply with the following rules: + // - built-in error values shall be specified in this file and those shall use + // CamelCase names + // - cloud provider specific error values must have names that comply with the + // format foo.example.com/CamelCase. + // + // --- + // The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + // +optional + // +kubebuilder:validation:Required + // +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$` + // +kubebuilder:validation:MaxLength=316 + Error *string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"` +} + +func (x *PortStatus) Reset() { + *x = PortStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[149] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PortStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PortStatus) ProtoMessage() {} + +func (x *PortStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[149] + 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 PortStatus.ProtoReflect.Descriptor instead. +func (*PortStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{149} +} + +func (x *PortStatus) GetPort() int32 { + if x != nil && x.Port != nil { + return *x.Port + } + return 0 +} + +func (x *PortStatus) GetProtocol() string { + if x != nil && x.Protocol != nil { + return *x.Protocol + } + return "" +} + +func (x *PortStatus) GetError() string { + if x != nil && x.Error != nil { + return *x.Error + } + return "" +} + +// PortworxVolumeSource represents a Portworx volume resource. +type PortworxVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // volumeID uniquely identifies a Portworx volume + VolumeID *string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"` + // fSType represents the filesystem type to mount + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *PortworxVolumeSource) Reset() { + *x = PortworxVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PortworxVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PortworxVolumeSource) ProtoMessage() {} + +func (x *PortworxVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[150] + 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 PortworxVolumeSource.ProtoReflect.Descriptor instead. +func (*PortworxVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{150} +} + +func (x *PortworxVolumeSource) GetVolumeID() string { + if x != nil && x.VolumeID != nil { + return *x.VolumeID + } + return "" +} + +func (x *PortworxVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *PortworxVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. +// +k8s:openapi-gen=false +type Preconditions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Specifies the target UID. + // +optional + Uid *string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"` +} + +func (x *Preconditions) Reset() { + *x = Preconditions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[151] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Preconditions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Preconditions) ProtoMessage() {} + +func (x *Preconditions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[151] + 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 Preconditions.ProtoReflect.Descriptor instead. +func (*Preconditions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{151} +} + +func (x *Preconditions) GetUid() string { + if x != nil && x.Uid != nil { + return *x.Uid + } + return "" +} + +// Describes a class of pods that should avoid this node. +type PreferAvoidPodsEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The class of pods. + PodSignature *PodSignature `protobuf:"bytes,1,opt,name=podSignature" json:"podSignature,omitempty"` + // Time at which this entry was added to the list. + // +optional + EvictionTime *v1.Time `protobuf:"bytes,2,opt,name=evictionTime" json:"evictionTime,omitempty"` + // (brief) reason why this entry was added to the list. + // +optional + Reason *string `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"` + // Human readable message indicating why this entry was added to the list. + // +optional + Message *string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` +} + +func (x *PreferAvoidPodsEntry) Reset() { + *x = PreferAvoidPodsEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[152] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreferAvoidPodsEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreferAvoidPodsEntry) ProtoMessage() {} + +func (x *PreferAvoidPodsEntry) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[152] + 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 PreferAvoidPodsEntry.ProtoReflect.Descriptor instead. +func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{152} +} + +func (x *PreferAvoidPodsEntry) GetPodSignature() *PodSignature { + if x != nil { + return x.PodSignature + } + return nil +} + +func (x *PreferAvoidPodsEntry) GetEvictionTime() *v1.Time { + if x != nil { + return x.EvictionTime + } + return nil +} + +func (x *PreferAvoidPodsEntry) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *PreferAvoidPodsEntry) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +// An empty preferred scheduling term matches all objects with implicit weight 0 +// (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). +type PreferredSchedulingTerm struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. + Weight *int32 `protobuf:"varint,1,opt,name=weight" json:"weight,omitempty"` + // A node selector term, associated with the corresponding weight. + Preference *NodeSelectorTerm `protobuf:"bytes,2,opt,name=preference" json:"preference,omitempty"` +} + +func (x *PreferredSchedulingTerm) Reset() { + *x = PreferredSchedulingTerm{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[153] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreferredSchedulingTerm) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreferredSchedulingTerm) ProtoMessage() {} + +func (x *PreferredSchedulingTerm) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[153] + 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 PreferredSchedulingTerm.ProtoReflect.Descriptor instead. +func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{153} +} + +func (x *PreferredSchedulingTerm) GetWeight() int32 { + if x != nil && x.Weight != nil { + return *x.Weight + } + return 0 +} + +func (x *PreferredSchedulingTerm) GetPreference() *NodeSelectorTerm { + if x != nil { + return x.Preference + } + return nil +} + +// Probe describes a health check to be performed against a container to determine whether it is +// alive or ready to receive traffic. +type Probe struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The action taken to determine the health of a container + Handler *ProbeHandler `protobuf:"bytes,1,opt,name=handler" json:"handler,omitempty"` + // Number of seconds after the container has started before liveness probes are initiated. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + InitialDelaySeconds *int32 `protobuf:"varint,2,opt,name=initialDelaySeconds" json:"initialDelaySeconds,omitempty"` + // Number of seconds after which the probe times out. + // Defaults to 1 second. Minimum value is 1. + // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + // +optional + TimeoutSeconds *int32 `protobuf:"varint,3,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"` + // How often (in seconds) to perform the probe. + // Default to 10 seconds. Minimum value is 1. + // +optional + PeriodSeconds *int32 `protobuf:"varint,4,opt,name=periodSeconds" json:"periodSeconds,omitempty"` + // Minimum consecutive successes for the probe to be considered successful after having failed. + // Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + // +optional + SuccessThreshold *int32 `protobuf:"varint,5,opt,name=successThreshold" json:"successThreshold,omitempty"` + // Minimum consecutive failures for the probe to be considered failed after having succeeded. + // Defaults to 3. Minimum value is 1. + // +optional + FailureThreshold *int32 `protobuf:"varint,6,opt,name=failureThreshold" json:"failureThreshold,omitempty"` + // Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + // The grace period is the duration in seconds after the processes running in the pod are sent + // a termination signal and the time when the processes are forcibly halted with a kill signal. + // Set this value longer than the expected cleanup time for your process. + // If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + // value overrides the value provided by the pod spec. + // Value must be non-negative integer. The value zero indicates stop immediately via + // the kill signal (no opportunity to shut down). + // This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + // Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. + // +optional + TerminationGracePeriodSeconds *int64 `protobuf:"varint,7,opt,name=terminationGracePeriodSeconds" json:"terminationGracePeriodSeconds,omitempty"` +} + +func (x *Probe) Reset() { + *x = Probe{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[154] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Probe) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Probe) ProtoMessage() {} + +func (x *Probe) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[154] + 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 Probe.ProtoReflect.Descriptor instead. +func (*Probe) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{154} +} + +func (x *Probe) GetHandler() *ProbeHandler { + if x != nil { + return x.Handler + } + return nil +} + +func (x *Probe) GetInitialDelaySeconds() int32 { + if x != nil && x.InitialDelaySeconds != nil { + return *x.InitialDelaySeconds + } + return 0 +} + +func (x *Probe) GetTimeoutSeconds() int32 { + if x != nil && x.TimeoutSeconds != nil { + return *x.TimeoutSeconds + } + return 0 +} + +func (x *Probe) GetPeriodSeconds() int32 { + if x != nil && x.PeriodSeconds != nil { + return *x.PeriodSeconds + } + return 0 +} + +func (x *Probe) GetSuccessThreshold() int32 { + if x != nil && x.SuccessThreshold != nil { + return *x.SuccessThreshold + } + return 0 +} + +func (x *Probe) GetFailureThreshold() int32 { + if x != nil && x.FailureThreshold != nil { + return *x.FailureThreshold + } + return 0 +} + +func (x *Probe) GetTerminationGracePeriodSeconds() int64 { + if x != nil && x.TerminationGracePeriodSeconds != nil { + return *x.TerminationGracePeriodSeconds + } + return 0 +} + +// ProbeHandler defines a specific action that should be taken in a probe. +// One and only one of the fields must be specified. +type ProbeHandler struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Exec specifies the action to take. + // +optional + Exec *ExecAction `protobuf:"bytes,1,opt,name=exec" json:"exec,omitempty"` + // HTTPGet specifies the http request to perform. + // +optional + HttpGet *HTTPGetAction `protobuf:"bytes,2,opt,name=httpGet" json:"httpGet,omitempty"` + // TCPSocket specifies an action involving a TCP port. + // +optional + TcpSocket *TCPSocketAction `protobuf:"bytes,3,opt,name=tcpSocket" json:"tcpSocket,omitempty"` + // GRPC specifies an action involving a GRPC port. + // +optional + Grpc *GRPCAction `protobuf:"bytes,4,opt,name=grpc" json:"grpc,omitempty"` +} + +func (x *ProbeHandler) Reset() { + *x = ProbeHandler{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[155] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProbeHandler) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProbeHandler) ProtoMessage() {} + +func (x *ProbeHandler) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[155] + 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 ProbeHandler.ProtoReflect.Descriptor instead. +func (*ProbeHandler) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{155} +} + +func (x *ProbeHandler) GetExec() *ExecAction { + if x != nil { + return x.Exec + } + return nil +} + +func (x *ProbeHandler) GetHttpGet() *HTTPGetAction { + if x != nil { + return x.HttpGet + } + return nil +} + +func (x *ProbeHandler) GetTcpSocket() *TCPSocketAction { + if x != nil { + return x.TcpSocket + } + return nil +} + +func (x *ProbeHandler) GetGrpc() *GRPCAction { + if x != nil { + return x.Grpc + } + return nil +} + +// Represents a projected volume source +type ProjectedVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // sources is the list of volume projections + // +optional + Sources []*VolumeProjection `protobuf:"bytes,1,rep,name=sources" json:"sources,omitempty"` + // defaultMode are the mode bits used to set permissions on created files by default. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + // Directories within the path are not affected by this setting. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + DefaultMode *int32 `protobuf:"varint,2,opt,name=defaultMode" json:"defaultMode,omitempty"` +} + +func (x *ProjectedVolumeSource) Reset() { + *x = ProjectedVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProjectedVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProjectedVolumeSource) ProtoMessage() {} + +func (x *ProjectedVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[156] + 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 ProjectedVolumeSource.ProtoReflect.Descriptor instead. +func (*ProjectedVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{156} +} + +func (x *ProjectedVolumeSource) GetSources() []*VolumeProjection { + if x != nil { + return x.Sources + } + return nil +} + +func (x *ProjectedVolumeSource) GetDefaultMode() int32 { + if x != nil && x.DefaultMode != nil { + return *x.DefaultMode + } + return 0 +} + +// Represents a Quobyte mount that lasts the lifetime of a pod. +// Quobyte volumes do not support ownership management or SELinux relabeling. +type QuobyteVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // registry represents a single or multiple Quobyte Registry services + // specified as a string as host:port pair (multiple entries are separated with commas) + // which acts as the central registry for volumes + Registry *string `protobuf:"bytes,1,opt,name=registry" json:"registry,omitempty"` + // volume is a string that references an already created Quobyte volume by name. + Volume *string `protobuf:"bytes,2,opt,name=volume" json:"volume,omitempty"` + // readOnly here will force the Quobyte volume to be mounted with read-only permissions. + // Defaults to false. + // +optional + ReadOnly *bool `protobuf:"varint,3,opt,name=readOnly" json:"readOnly,omitempty"` + // user to map volume access to + // Defaults to serivceaccount user + // +optional + User *string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"` + // group to map volume access to + // Default is no group + // +optional + Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` + // tenant owning the given Quobyte volume in the Backend + // Used with dynamically provisioned Quobyte volumes, value is set by the plugin + // +optional + Tenant *string `protobuf:"bytes,6,opt,name=tenant" json:"tenant,omitempty"` +} + +func (x *QuobyteVolumeSource) Reset() { + *x = QuobyteVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[157] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuobyteVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuobyteVolumeSource) ProtoMessage() {} + +func (x *QuobyteVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[157] + 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 QuobyteVolumeSource.ProtoReflect.Descriptor instead. +func (*QuobyteVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{157} +} + +func (x *QuobyteVolumeSource) GetRegistry() string { + if x != nil && x.Registry != nil { + return *x.Registry + } + return "" +} + +func (x *QuobyteVolumeSource) GetVolume() string { + if x != nil && x.Volume != nil { + return *x.Volume + } + return "" +} + +func (x *QuobyteVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *QuobyteVolumeSource) GetUser() string { + if x != nil && x.User != nil { + return *x.User + } + return "" +} + +func (x *QuobyteVolumeSource) GetGroup() string { + if x != nil && x.Group != nil { + return *x.Group + } + return "" +} + +func (x *QuobyteVolumeSource) GetTenant() string { + if x != nil && x.Tenant != nil { + return *x.Tenant + } + return "" +} + +// Represents a Rados Block Device mount that lasts the lifetime of a pod. +// RBD volumes support ownership management and SELinux relabeling. +type RBDPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // monitors is a collection of Ceph monitors. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"` + // image is the rados image name. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"` + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"` + // pool is the rados pool name. + // Default is rbd. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + Pool *string `protobuf:"bytes,4,opt,name=pool" json:"pool,omitempty"` + // user is the rados user name. + // Default is admin. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + User *string `protobuf:"bytes,5,opt,name=user" json:"user,omitempty"` + // keyring is the path to key ring for RBDUser. + // Default is /etc/ceph/keyring. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + Keyring *string `protobuf:"bytes,6,opt,name=keyring" json:"keyring,omitempty"` + // secretRef is name of the authentication secret for RBDUser. If provided + // overrides keyring. + // Default is nil. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + SecretRef *SecretReference `protobuf:"bytes,7,opt,name=secretRef" json:"secretRef,omitempty"` + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + ReadOnly *bool `protobuf:"varint,8,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *RBDPersistentVolumeSource) Reset() { + *x = RBDPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RBDPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RBDPersistentVolumeSource) ProtoMessage() {} + +func (x *RBDPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[158] + 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 RBDPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*RBDPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{158} +} + +func (x *RBDPersistentVolumeSource) GetMonitors() []string { + if x != nil { + return x.Monitors + } + return nil +} + +func (x *RBDPersistentVolumeSource) GetImage() string { + if x != nil && x.Image != nil { + return *x.Image + } + return "" +} + +func (x *RBDPersistentVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *RBDPersistentVolumeSource) GetPool() string { + if x != nil && x.Pool != nil { + return *x.Pool + } + return "" +} + +func (x *RBDPersistentVolumeSource) GetUser() string { + if x != nil && x.User != nil { + return *x.User + } + return "" +} + +func (x *RBDPersistentVolumeSource) GetKeyring() string { + if x != nil && x.Keyring != nil { + return *x.Keyring + } + return "" +} + +func (x *RBDPersistentVolumeSource) GetSecretRef() *SecretReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *RBDPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// Represents a Rados Block Device mount that lasts the lifetime of a pod. +// RBD volumes support ownership management and SELinux relabeling. +type RBDVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // monitors is a collection of Ceph monitors. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + Monitors []string `protobuf:"bytes,1,rep,name=monitors" json:"monitors,omitempty"` + // image is the rados image name. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + Image *string `protobuf:"bytes,2,opt,name=image" json:"image,omitempty"` + // fsType is the filesystem type of the volume that you want to mount. + // Tip: Ensure that the filesystem type is supported by the host operating system. + // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + // TODO: how do we prevent errors in the filesystem from compromising the machine + // +optional + FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"` + // pool is the rados pool name. + // Default is rbd. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + Pool *string `protobuf:"bytes,4,opt,name=pool" json:"pool,omitempty"` + // user is the rados user name. + // Default is admin. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + User *string `protobuf:"bytes,5,opt,name=user" json:"user,omitempty"` + // keyring is the path to key ring for RBDUser. + // Default is /etc/ceph/keyring. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + Keyring *string `protobuf:"bytes,6,opt,name=keyring" json:"keyring,omitempty"` + // secretRef is name of the authentication secret for RBDUser. If provided + // overrides keyring. + // Default is nil. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + SecretRef *LocalObjectReference `protobuf:"bytes,7,opt,name=secretRef" json:"secretRef,omitempty"` + // readOnly here will force the ReadOnly setting in VolumeMounts. + // Defaults to false. + // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + // +optional + ReadOnly *bool `protobuf:"varint,8,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *RBDVolumeSource) Reset() { + *x = RBDVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[159] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RBDVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RBDVolumeSource) ProtoMessage() {} + +func (x *RBDVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[159] + 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 RBDVolumeSource.ProtoReflect.Descriptor instead. +func (*RBDVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{159} +} + +func (x *RBDVolumeSource) GetMonitors() []string { + if x != nil { + return x.Monitors + } + return nil +} + +func (x *RBDVolumeSource) GetImage() string { + if x != nil && x.Image != nil { + return *x.Image + } + return "" +} + +func (x *RBDVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *RBDVolumeSource) GetPool() string { + if x != nil && x.Pool != nil { + return *x.Pool + } + return "" +} + +func (x *RBDVolumeSource) GetUser() string { + if x != nil && x.User != nil { + return *x.User + } + return "" +} + +func (x *RBDVolumeSource) GetKeyring() string { + if x != nil && x.Keyring != nil { + return *x.Keyring + } + return "" +} + +func (x *RBDVolumeSource) GetSecretRef() *LocalObjectReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *RBDVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// RangeAllocation is not a public type. +type RangeAllocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Range is string that identifies the range represented by 'data'. + Range *string `protobuf:"bytes,2,opt,name=range" json:"range,omitempty"` + // Data is a bit array containing all allocated addresses in the previous segment. + Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"` +} + +func (x *RangeAllocation) Reset() { + *x = RangeAllocation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[160] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RangeAllocation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RangeAllocation) ProtoMessage() {} + +func (x *RangeAllocation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[160] + 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 RangeAllocation.ProtoReflect.Descriptor instead. +func (*RangeAllocation) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{160} +} + +func (x *RangeAllocation) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *RangeAllocation) GetRange() string { + if x != nil && x.Range != nil { + return *x.Range + } + return "" +} + +func (x *RangeAllocation) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// ReplicationController represents the configuration of a replication controller. +type ReplicationController struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If the Labels of a ReplicationController are empty, they are defaulted to + // be the same as the Pod(s) that the replication controller manages. + // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Spec defines the specification of the desired behavior of the replication controller. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec *ReplicationControllerSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` + // Status is the most recently observed status of the replication controller. + // This data may be out of date by some window of time. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Status *ReplicationControllerStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` +} + +func (x *ReplicationController) Reset() { + *x = ReplicationController{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[161] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicationController) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicationController) ProtoMessage() {} + +func (x *ReplicationController) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[161] + 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 ReplicationController.ProtoReflect.Descriptor instead. +func (*ReplicationController) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{161} +} + +func (x *ReplicationController) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ReplicationController) GetSpec() *ReplicationControllerSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *ReplicationController) GetStatus() *ReplicationControllerStatus { + if x != nil { + return x.Status + } + return nil +} + +// ReplicationControllerCondition describes the state of a replication controller at a certain point. +type ReplicationControllerCondition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Type of replication controller condition. + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // Status of the condition, one of True, False, Unknown. + Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + // The last time the condition transitioned from one status to another. + // +optional + LastTransitionTime *v1.Time `protobuf:"bytes,3,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"` + // The reason for the condition's last transition. + // +optional + Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"` + // A human readable message indicating details about the transition. + // +optional + Message *string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"` +} + +func (x *ReplicationControllerCondition) Reset() { + *x = ReplicationControllerCondition{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[162] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicationControllerCondition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicationControllerCondition) ProtoMessage() {} + +func (x *ReplicationControllerCondition) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[162] + 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 ReplicationControllerCondition.ProtoReflect.Descriptor instead. +func (*ReplicationControllerCondition) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{162} +} + +func (x *ReplicationControllerCondition) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *ReplicationControllerCondition) GetStatus() string { + if x != nil && x.Status != nil { + return *x.Status + } + return "" +} + +func (x *ReplicationControllerCondition) GetLastTransitionTime() *v1.Time { + if x != nil { + return x.LastTransitionTime + } + return nil +} + +func (x *ReplicationControllerCondition) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *ReplicationControllerCondition) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +// ReplicationControllerList is a collection of replication controllers. +type ReplicationControllerList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of replication controllers. + // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller + Items []*ReplicationController `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *ReplicationControllerList) Reset() { + *x = ReplicationControllerList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[163] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicationControllerList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicationControllerList) ProtoMessage() {} + +func (x *ReplicationControllerList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[163] + 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 ReplicationControllerList.ProtoReflect.Descriptor instead. +func (*ReplicationControllerList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{163} +} + +func (x *ReplicationControllerList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ReplicationControllerList) GetItems() []*ReplicationController { + if x != nil { + return x.Items + } + return nil +} + +// ReplicationControllerSpec is the specification of a replication controller. +type ReplicationControllerSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Replicas is the number of desired replicas. + // This is a pointer to distinguish between explicit zero and unspecified. + // Defaults to 1. + // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller + // +optional + Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"` + // Minimum number of seconds for which a newly created pod should be ready + // without any of its container crashing, for it to be considered available. + // Defaults to 0 (pod will be considered available as soon as it is ready) + // +optional + MinReadySeconds *int32 `protobuf:"varint,4,opt,name=minReadySeconds" json:"minReadySeconds,omitempty"` + // Selector is a label query over pods that should match the Replicas count. + // If Selector is empty, it is defaulted to the labels present on the Pod template. + // Label keys and values that must match in order to be controlled by this replication + // controller, if empty defaulted to labels on Pod template. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + // +optional + // +mapType=atomic + Selector map[string]string `protobuf:"bytes,2,rep,name=selector" json:"selector,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Template is the object that describes the pod that will be created if + // insufficient replicas are detected. This takes precedence over a TemplateRef. + // The only allowed template.spec.restartPolicy value is "Always". + // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template + // +optional + Template *PodTemplateSpec `protobuf:"bytes,3,opt,name=template" json:"template,omitempty"` +} + +func (x *ReplicationControllerSpec) Reset() { + *x = ReplicationControllerSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicationControllerSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicationControllerSpec) ProtoMessage() {} + +func (x *ReplicationControllerSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[164] + 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 ReplicationControllerSpec.ProtoReflect.Descriptor instead. +func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{164} +} + +func (x *ReplicationControllerSpec) GetReplicas() int32 { + if x != nil && x.Replicas != nil { + return *x.Replicas + } + return 0 +} + +func (x *ReplicationControllerSpec) GetMinReadySeconds() int32 { + if x != nil && x.MinReadySeconds != nil { + return *x.MinReadySeconds + } + return 0 +} + +func (x *ReplicationControllerSpec) GetSelector() map[string]string { + if x != nil { + return x.Selector + } + return nil +} + +func (x *ReplicationControllerSpec) GetTemplate() *PodTemplateSpec { + if x != nil { + return x.Template + } + return nil +} + +// ReplicationControllerStatus represents the current status of a replication +// controller. +type ReplicationControllerStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Replicas is the most recently observed number of replicas. + // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller + Replicas *int32 `protobuf:"varint,1,opt,name=replicas" json:"replicas,omitempty"` + // The number of pods that have labels matching the labels of the pod template of the replication controller. + // +optional + FullyLabeledReplicas *int32 `protobuf:"varint,2,opt,name=fullyLabeledReplicas" json:"fullyLabeledReplicas,omitempty"` + // The number of ready replicas for this replication controller. + // +optional + ReadyReplicas *int32 `protobuf:"varint,4,opt,name=readyReplicas" json:"readyReplicas,omitempty"` + // The number of available replicas (ready for at least minReadySeconds) for this replication controller. + // +optional + AvailableReplicas *int32 `protobuf:"varint,5,opt,name=availableReplicas" json:"availableReplicas,omitempty"` + // ObservedGeneration reflects the generation of the most recently observed replication controller. + // +optional + ObservedGeneration *int64 `protobuf:"varint,3,opt,name=observedGeneration" json:"observedGeneration,omitempty"` + // Represents the latest available observations of a replication controller's current state. + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + Conditions []*ReplicationControllerCondition `protobuf:"bytes,6,rep,name=conditions" json:"conditions,omitempty"` +} + +func (x *ReplicationControllerStatus) Reset() { + *x = ReplicationControllerStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[165] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicationControllerStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicationControllerStatus) ProtoMessage() {} + +func (x *ReplicationControllerStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[165] + 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 ReplicationControllerStatus.ProtoReflect.Descriptor instead. +func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{165} +} + +func (x *ReplicationControllerStatus) GetReplicas() int32 { + if x != nil && x.Replicas != nil { + return *x.Replicas + } + return 0 +} + +func (x *ReplicationControllerStatus) GetFullyLabeledReplicas() int32 { + if x != nil && x.FullyLabeledReplicas != nil { + return *x.FullyLabeledReplicas + } + return 0 +} + +func (x *ReplicationControllerStatus) GetReadyReplicas() int32 { + if x != nil && x.ReadyReplicas != nil { + return *x.ReadyReplicas + } + return 0 +} + +func (x *ReplicationControllerStatus) GetAvailableReplicas() int32 { + if x != nil && x.AvailableReplicas != nil { + return *x.AvailableReplicas + } + return 0 +} + +func (x *ReplicationControllerStatus) GetObservedGeneration() int64 { + if x != nil && x.ObservedGeneration != nil { + return *x.ObservedGeneration + } + return 0 +} + +func (x *ReplicationControllerStatus) GetConditions() []*ReplicationControllerCondition { + if x != nil { + return x.Conditions + } + return nil +} + +// ResourceClaim references one entry in PodSpec.ResourceClaims. +type ResourceClaim struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name must match the name of one entry in pod.spec.resourceClaims of + // the Pod where this field is used. It makes that resource available + // inside a container. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` +} + +func (x *ResourceClaim) Reset() { + *x = ResourceClaim{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceClaim) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceClaim) ProtoMessage() {} + +func (x *ResourceClaim) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[166] + 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 ResourceClaim.ProtoReflect.Descriptor instead. +func (*ResourceClaim) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{166} +} + +func (x *ResourceClaim) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +// ResourceFieldSelector represents container resources (cpu, memory) and their output format +// +structType=atomic +type ResourceFieldSelector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Container name: required for volumes, optional for env vars + // +optional + ContainerName *string `protobuf:"bytes,1,opt,name=containerName" json:"containerName,omitempty"` + // Required: resource to select + Resource *string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"` + // Specifies the output format of the exposed resources, defaults to "1" + // +optional + Divisor *resource.Quantity `protobuf:"bytes,3,opt,name=divisor" json:"divisor,omitempty"` +} + +func (x *ResourceFieldSelector) Reset() { + *x = ResourceFieldSelector{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceFieldSelector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceFieldSelector) ProtoMessage() {} + +func (x *ResourceFieldSelector) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[167] + 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 ResourceFieldSelector.ProtoReflect.Descriptor instead. +func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{167} +} + +func (x *ResourceFieldSelector) GetContainerName() string { + if x != nil && x.ContainerName != nil { + return *x.ContainerName + } + return "" +} + +func (x *ResourceFieldSelector) GetResource() string { + if x != nil && x.Resource != nil { + return *x.Resource + } + return "" +} + +func (x *ResourceFieldSelector) GetDivisor() *resource.Quantity { + if x != nil { + return x.Divisor + } + return nil +} + +// ResourceQuota sets aggregate quota restrictions enforced per namespace +type ResourceQuota struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Spec defines the desired quota. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec *ResourceQuotaSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` + // Status defines the actual enforced quota and its current usage. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Status *ResourceQuotaStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` +} + +func (x *ResourceQuota) Reset() { + *x = ResourceQuota{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceQuota) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceQuota) ProtoMessage() {} + +func (x *ResourceQuota) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[168] + 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 ResourceQuota.ProtoReflect.Descriptor instead. +func (*ResourceQuota) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{168} +} + +func (x *ResourceQuota) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ResourceQuota) GetSpec() *ResourceQuotaSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *ResourceQuota) GetStatus() *ResourceQuotaStatus { + if x != nil { + return x.Status + } + return nil +} + +// ResourceQuotaList is a list of ResourceQuota items. +type ResourceQuotaList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Items is a list of ResourceQuota objects. + // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + Items []*ResourceQuota `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *ResourceQuotaList) Reset() { + *x = ResourceQuotaList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[169] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceQuotaList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceQuotaList) ProtoMessage() {} + +func (x *ResourceQuotaList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[169] + 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 ResourceQuotaList.ProtoReflect.Descriptor instead. +func (*ResourceQuotaList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{169} +} + +func (x *ResourceQuotaList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ResourceQuotaList) GetItems() []*ResourceQuota { + if x != nil { + return x.Items + } + return nil +} + +// ResourceQuotaSpec defines the desired hard limits to enforce for Quota. +type ResourceQuotaSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // hard is the set of desired hard limits for each named resource. + // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + // +optional + Hard map[string]*resource.Quantity `protobuf:"bytes,1,rep,name=hard" json:"hard,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // A collection of filters that must match each object tracked by a quota. + // If not specified, the quota matches all objects. + // +optional + Scopes []string `protobuf:"bytes,2,rep,name=scopes" json:"scopes,omitempty"` + // scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota + // but expressed using ScopeSelectorOperator in combination with possible values. + // For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. + // +optional + ScopeSelector *ScopeSelector `protobuf:"bytes,3,opt,name=scopeSelector" json:"scopeSelector,omitempty"` +} + +func (x *ResourceQuotaSpec) Reset() { + *x = ResourceQuotaSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceQuotaSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceQuotaSpec) ProtoMessage() {} + +func (x *ResourceQuotaSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[170] + 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 ResourceQuotaSpec.ProtoReflect.Descriptor instead. +func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{170} +} + +func (x *ResourceQuotaSpec) GetHard() map[string]*resource.Quantity { + if x != nil { + return x.Hard + } + return nil +} + +func (x *ResourceQuotaSpec) GetScopes() []string { + if x != nil { + return x.Scopes + } + return nil +} + +func (x *ResourceQuotaSpec) GetScopeSelector() *ScopeSelector { + if x != nil { + return x.ScopeSelector + } + return nil +} + +// ResourceQuotaStatus defines the enforced hard limits and observed use. +type ResourceQuotaStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Hard is the set of enforced hard limits for each named resource. + // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ + // +optional + Hard map[string]*resource.Quantity `protobuf:"bytes,1,rep,name=hard" json:"hard,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Used is the current observed total usage of the resource in the namespace. + // +optional + Used map[string]*resource.Quantity `protobuf:"bytes,2,rep,name=used" json:"used,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *ResourceQuotaStatus) Reset() { + *x = ResourceQuotaStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[171] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceQuotaStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceQuotaStatus) ProtoMessage() {} + +func (x *ResourceQuotaStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[171] + 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 ResourceQuotaStatus.ProtoReflect.Descriptor instead. +func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{171} +} + +func (x *ResourceQuotaStatus) GetHard() map[string]*resource.Quantity { + if x != nil { + return x.Hard + } + return nil +} + +func (x *ResourceQuotaStatus) GetUsed() map[string]*resource.Quantity { + if x != nil { + return x.Used + } + return nil +} + +// ResourceRequirements describes the compute resource requirements. +type ResourceRequirements struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Limits describes the maximum amount of compute resources allowed. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // +optional + Limits map[string]*resource.Quantity `protobuf:"bytes,1,rep,name=limits" json:"limits,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Requests describes the minimum amount of compute resources required. + // If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + // otherwise to an implementation-defined value. Requests cannot exceed Limits. + // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // +optional + Requests map[string]*resource.Quantity `protobuf:"bytes,2,rep,name=requests" json:"requests,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Claims lists the names of resources, defined in spec.resourceClaims, + // that are used by this container. + // + // This is an alpha field and requires enabling the + // DynamicResourceAllocation feature gate. + // + // This field is immutable. It can only be set for containers. + // + // +listType=map + // +listMapKey=name + // +featureGate=DynamicResourceAllocation + // +optional + Claims []*ResourceClaim `protobuf:"bytes,3,rep,name=claims" json:"claims,omitempty"` +} + +func (x *ResourceRequirements) Reset() { + *x = ResourceRequirements{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[172] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceRequirements) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceRequirements) ProtoMessage() {} + +func (x *ResourceRequirements) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[172] + 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 ResourceRequirements.ProtoReflect.Descriptor instead. +func (*ResourceRequirements) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{172} +} + +func (x *ResourceRequirements) GetLimits() map[string]*resource.Quantity { + if x != nil { + return x.Limits + } + return nil +} + +func (x *ResourceRequirements) GetRequests() map[string]*resource.Quantity { + if x != nil { + return x.Requests + } + return nil +} + +func (x *ResourceRequirements) GetClaims() []*ResourceClaim { + if x != nil { + return x.Claims + } + return nil +} + +// SELinuxOptions are the labels to be applied to the container +type SELinuxOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // User is a SELinux user label that applies to the container. + // +optional + User *string `protobuf:"bytes,1,opt,name=user" json:"user,omitempty"` + // Role is a SELinux role label that applies to the container. + // +optional + Role *string `protobuf:"bytes,2,opt,name=role" json:"role,omitempty"` + // Type is a SELinux type label that applies to the container. + // +optional + Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` + // Level is SELinux level label that applies to the container. + // +optional + Level *string `protobuf:"bytes,4,opt,name=level" json:"level,omitempty"` +} + +func (x *SELinuxOptions) Reset() { + *x = SELinuxOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SELinuxOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SELinuxOptions) ProtoMessage() {} + +func (x *SELinuxOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[173] + 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 SELinuxOptions.ProtoReflect.Descriptor instead. +func (*SELinuxOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{173} +} + +func (x *SELinuxOptions) GetUser() string { + if x != nil && x.User != nil { + return *x.User + } + return "" +} + +func (x *SELinuxOptions) GetRole() string { + if x != nil && x.Role != nil { + return *x.Role + } + return "" +} + +func (x *SELinuxOptions) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *SELinuxOptions) GetLevel() string { + if x != nil && x.Level != nil { + return *x.Level + } + return "" +} + +// ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume +type ScaleIOPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // gateway is the host address of the ScaleIO API Gateway. + Gateway *string `protobuf:"bytes,1,opt,name=gateway" json:"gateway,omitempty"` + // system is the name of the storage system as configured in ScaleIO. + System *string `protobuf:"bytes,2,opt,name=system" json:"system,omitempty"` + // secretRef references to the secret for ScaleIO user and other + // sensitive information. If this is not provided, Login operation will fail. + SecretRef *SecretReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"` + // sslEnabled is the flag to enable/disable SSL communication with Gateway, default false + // +optional + SslEnabled *bool `protobuf:"varint,4,opt,name=sslEnabled" json:"sslEnabled,omitempty"` + // protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. + // +optional + ProtectionDomain *string `protobuf:"bytes,5,opt,name=protectionDomain" json:"protectionDomain,omitempty"` + // storagePool is the ScaleIO Storage Pool associated with the protection domain. + // +optional + StoragePool *string `protobuf:"bytes,6,opt,name=storagePool" json:"storagePool,omitempty"` + // storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + // Default is ThinProvisioned. + // +optional + StorageMode *string `protobuf:"bytes,7,opt,name=storageMode" json:"storageMode,omitempty"` + // volumeName is the name of a volume already created in the ScaleIO system + // that is associated with this volume source. + VolumeName *string `protobuf:"bytes,8,opt,name=volumeName" json:"volumeName,omitempty"` + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". + // Default is "xfs" + // +optional + FsType *string `protobuf:"bytes,9,opt,name=fsType" json:"fsType,omitempty"` + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,10,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *ScaleIOPersistentVolumeSource) Reset() { + *x = ScaleIOPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScaleIOPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScaleIOPersistentVolumeSource) ProtoMessage() {} + +func (x *ScaleIOPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[174] + 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 ScaleIOPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*ScaleIOPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{174} +} + +func (x *ScaleIOPersistentVolumeSource) GetGateway() string { + if x != nil && x.Gateway != nil { + return *x.Gateway + } + return "" +} + +func (x *ScaleIOPersistentVolumeSource) GetSystem() string { + if x != nil && x.System != nil { + return *x.System + } + return "" +} + +func (x *ScaleIOPersistentVolumeSource) GetSecretRef() *SecretReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *ScaleIOPersistentVolumeSource) GetSslEnabled() bool { + if x != nil && x.SslEnabled != nil { + return *x.SslEnabled + } + return false +} + +func (x *ScaleIOPersistentVolumeSource) GetProtectionDomain() string { + if x != nil && x.ProtectionDomain != nil { + return *x.ProtectionDomain + } + return "" +} + +func (x *ScaleIOPersistentVolumeSource) GetStoragePool() string { + if x != nil && x.StoragePool != nil { + return *x.StoragePool + } + return "" +} + +func (x *ScaleIOPersistentVolumeSource) GetStorageMode() string { + if x != nil && x.StorageMode != nil { + return *x.StorageMode + } + return "" +} + +func (x *ScaleIOPersistentVolumeSource) GetVolumeName() string { + if x != nil && x.VolumeName != nil { + return *x.VolumeName + } + return "" +} + +func (x *ScaleIOPersistentVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *ScaleIOPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// ScaleIOVolumeSource represents a persistent ScaleIO volume +type ScaleIOVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // gateway is the host address of the ScaleIO API Gateway. + Gateway *string `protobuf:"bytes,1,opt,name=gateway" json:"gateway,omitempty"` + // system is the name of the storage system as configured in ScaleIO. + System *string `protobuf:"bytes,2,opt,name=system" json:"system,omitempty"` + // secretRef references to the secret for ScaleIO user and other + // sensitive information. If this is not provided, Login operation will fail. + SecretRef *LocalObjectReference `protobuf:"bytes,3,opt,name=secretRef" json:"secretRef,omitempty"` + // sslEnabled Flag enable/disable SSL communication with Gateway, default false + // +optional + SslEnabled *bool `protobuf:"varint,4,opt,name=sslEnabled" json:"sslEnabled,omitempty"` + // protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. + // +optional + ProtectionDomain *string `protobuf:"bytes,5,opt,name=protectionDomain" json:"protectionDomain,omitempty"` + // storagePool is the ScaleIO Storage Pool associated with the protection domain. + // +optional + StoragePool *string `protobuf:"bytes,6,opt,name=storagePool" json:"storagePool,omitempty"` + // storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + // Default is ThinProvisioned. + // +optional + StorageMode *string `protobuf:"bytes,7,opt,name=storageMode" json:"storageMode,omitempty"` + // volumeName is the name of a volume already created in the ScaleIO system + // that is associated with this volume source. + VolumeName *string `protobuf:"bytes,8,opt,name=volumeName" json:"volumeName,omitempty"` + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". + // Default is "xfs". + // +optional + FsType *string `protobuf:"bytes,9,opt,name=fsType" json:"fsType,omitempty"` + // readOnly Defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,10,opt,name=readOnly" json:"readOnly,omitempty"` +} + +func (x *ScaleIOVolumeSource) Reset() { + *x = ScaleIOVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[175] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScaleIOVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScaleIOVolumeSource) ProtoMessage() {} + +func (x *ScaleIOVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[175] + 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 ScaleIOVolumeSource.ProtoReflect.Descriptor instead. +func (*ScaleIOVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{175} +} + +func (x *ScaleIOVolumeSource) GetGateway() string { + if x != nil && x.Gateway != nil { + return *x.Gateway + } + return "" +} + +func (x *ScaleIOVolumeSource) GetSystem() string { + if x != nil && x.System != nil { + return *x.System + } + return "" +} + +func (x *ScaleIOVolumeSource) GetSecretRef() *LocalObjectReference { + if x != nil { + return x.SecretRef + } + return nil +} + +func (x *ScaleIOVolumeSource) GetSslEnabled() bool { + if x != nil && x.SslEnabled != nil { + return *x.SslEnabled + } + return false +} + +func (x *ScaleIOVolumeSource) GetProtectionDomain() string { + if x != nil && x.ProtectionDomain != nil { + return *x.ProtectionDomain + } + return "" +} + +func (x *ScaleIOVolumeSource) GetStoragePool() string { + if x != nil && x.StoragePool != nil { + return *x.StoragePool + } + return "" +} + +func (x *ScaleIOVolumeSource) GetStorageMode() string { + if x != nil && x.StorageMode != nil { + return *x.StorageMode + } + return "" +} + +func (x *ScaleIOVolumeSource) GetVolumeName() string { + if x != nil && x.VolumeName != nil { + return *x.VolumeName + } + return "" +} + +func (x *ScaleIOVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *ScaleIOVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +// A scope selector represents the AND of the selectors represented +// by the scoped-resource selector requirements. +// +structType=atomic +type ScopeSelector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of scope selector requirements by scope of the resources. + // +optional + MatchExpressions []*ScopedResourceSelectorRequirement `protobuf:"bytes,1,rep,name=matchExpressions" json:"matchExpressions,omitempty"` +} + +func (x *ScopeSelector) Reset() { + *x = ScopeSelector{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[176] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScopeSelector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScopeSelector) ProtoMessage() {} + +func (x *ScopeSelector) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[176] + 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 ScopeSelector.ProtoReflect.Descriptor instead. +func (*ScopeSelector) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{176} +} + +func (x *ScopeSelector) GetMatchExpressions() []*ScopedResourceSelectorRequirement { + if x != nil { + return x.MatchExpressions + } + return nil +} + +// A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator +// that relates the scope name and values. +type ScopedResourceSelectorRequirement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the scope that the selector applies to. + ScopeName *string `protobuf:"bytes,1,opt,name=scopeName" json:"scopeName,omitempty"` + // Represents a scope's relationship to a set of values. + // Valid operators are In, NotIn, Exists, DoesNotExist. + Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"` + // An array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. + // This array is replaced during a strategic merge patch. + // +optional + Values []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"` +} + +func (x *ScopedResourceSelectorRequirement) Reset() { + *x = ScopedResourceSelectorRequirement{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[177] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ScopedResourceSelectorRequirement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ScopedResourceSelectorRequirement) ProtoMessage() {} + +func (x *ScopedResourceSelectorRequirement) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[177] + 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 ScopedResourceSelectorRequirement.ProtoReflect.Descriptor instead. +func (*ScopedResourceSelectorRequirement) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{177} +} + +func (x *ScopedResourceSelectorRequirement) GetScopeName() string { + if x != nil && x.ScopeName != nil { + return *x.ScopeName + } + return "" +} + +func (x *ScopedResourceSelectorRequirement) GetOperator() string { + if x != nil && x.Operator != nil { + return *x.Operator + } + return "" +} + +func (x *ScopedResourceSelectorRequirement) GetValues() []string { + if x != nil { + return x.Values + } + return nil +} + +// SeccompProfile defines a pod/container's seccomp profile settings. +// Only one profile source may be set. +// +union +type SeccompProfile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // type indicates which kind of seccomp profile will be applied. + // Valid options are: + // + // Localhost - a profile defined in a file on the node should be used. + // RuntimeDefault - the container runtime default profile should be used. + // Unconfined - no profile should be applied. + // +unionDiscriminator + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // localhostProfile indicates a profile defined in a file on the node should be used. + // The profile must be preconfigured on the node to work. + // Must be a descending path, relative to the kubelet's configured seccomp profile location. + // Must be set if type is "Localhost". Must NOT be set for any other type. + // +optional + LocalhostProfile *string `protobuf:"bytes,2,opt,name=localhostProfile" json:"localhostProfile,omitempty"` +} + +func (x *SeccompProfile) Reset() { + *x = SeccompProfile{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[178] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SeccompProfile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SeccompProfile) ProtoMessage() {} + +func (x *SeccompProfile) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[178] + 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 SeccompProfile.ProtoReflect.Descriptor instead. +func (*SeccompProfile) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{178} +} + +func (x *SeccompProfile) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *SeccompProfile) GetLocalhostProfile() string { + if x != nil && x.LocalhostProfile != nil { + return *x.LocalhostProfile + } + return "" +} + +// Secret holds secret data of a certain type. The total bytes of the values in +// the Data field must be less than MaxSecretSize bytes. +type Secret struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Immutable, if set to true, ensures that data stored in the Secret cannot + // be updated (only object metadata can be modified). + // If not set to true, the field can be modified at any time. + // Defaulted to nil. + // +optional + Immutable *bool `protobuf:"varint,5,opt,name=immutable" json:"immutable,omitempty"` + // Data contains the secret data. Each key must consist of alphanumeric + // characters, '-', '_' or '.'. The serialized form of the secret data is a + // base64 encoded string, representing the arbitrary (possibly non-string) + // data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 + // +optional + Data map[string][]byte `protobuf:"bytes,2,rep,name=data" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // stringData allows specifying non-binary secret data in string form. + // It is provided as a write-only input field for convenience. + // All keys and values are merged into the data field on write, overwriting any existing values. + // The stringData field is never output when reading from the API. + // +k8s:conversion-gen=false + // +optional + StringData map[string]string `protobuf:"bytes,4,rep,name=stringData" json:"stringData,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Used to facilitate programmatic handling of secret data. + // More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types + // +optional + Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` +} + +func (x *Secret) Reset() { + *x = Secret{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[179] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Secret) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Secret) ProtoMessage() {} + +func (x *Secret) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[179] + 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 Secret.ProtoReflect.Descriptor instead. +func (*Secret) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{179} +} + +func (x *Secret) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Secret) GetImmutable() bool { + if x != nil && x.Immutable != nil { + return *x.Immutable + } + return false +} + +func (x *Secret) GetData() map[string][]byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *Secret) GetStringData() map[string]string { + if x != nil { + return x.StringData + } + return nil +} + +func (x *Secret) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +// SecretEnvSource selects a Secret to populate the environment +// variables with. +// +// The contents of the target Secret's Data field will represent the +// key-value pairs as environment variables. +type SecretEnvSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Secret to select from. + LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"` + // Specify whether the Secret must be defined + // +optional + Optional *bool `protobuf:"varint,2,opt,name=optional" json:"optional,omitempty"` +} + +func (x *SecretEnvSource) Reset() { + *x = SecretEnvSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecretEnvSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecretEnvSource) ProtoMessage() {} + +func (x *SecretEnvSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[180] + 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 SecretEnvSource.ProtoReflect.Descriptor instead. +func (*SecretEnvSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{180} +} + +func (x *SecretEnvSource) GetLocalObjectReference() *LocalObjectReference { + if x != nil { + return x.LocalObjectReference + } + return nil +} + +func (x *SecretEnvSource) GetOptional() bool { + if x != nil && x.Optional != nil { + return *x.Optional + } + return false +} + +// SecretKeySelector selects a key of a Secret. +// +structType=atomic +type SecretKeySelector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the secret in the pod's namespace to select from. + LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"` + // The key of the secret to select from. Must be a valid secret key. + Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` + // Specify whether the Secret or its key must be defined + // +optional + Optional *bool `protobuf:"varint,3,opt,name=optional" json:"optional,omitempty"` +} + +func (x *SecretKeySelector) Reset() { + *x = SecretKeySelector{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecretKeySelector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecretKeySelector) ProtoMessage() {} + +func (x *SecretKeySelector) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[181] + 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 SecretKeySelector.ProtoReflect.Descriptor instead. +func (*SecretKeySelector) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{181} +} + +func (x *SecretKeySelector) GetLocalObjectReference() *LocalObjectReference { + if x != nil { + return x.LocalObjectReference + } + return nil +} + +func (x *SecretKeySelector) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *SecretKeySelector) GetOptional() bool { + if x != nil && x.Optional != nil { + return *x.Optional + } + return false +} + +// SecretList is a list of Secret. +type SecretList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Items is a list of secret objects. + // More info: https://kubernetes.io/docs/concepts/configuration/secret + Items []*Secret `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *SecretList) Reset() { + *x = SecretList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[182] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecretList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecretList) ProtoMessage() {} + +func (x *SecretList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[182] + 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 SecretList.ProtoReflect.Descriptor instead. +func (*SecretList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{182} +} + +func (x *SecretList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *SecretList) GetItems() []*Secret { + if x != nil { + return x.Items + } + return nil +} + +// Adapts a secret into a projected volume. +// +// The contents of the target Secret's Data field will be presented in a +// projected volume as files using the keys in the Data field as the file names. +// Note that this is identical to a secret volume source without the default +// mode. +type SecretProjection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalObjectReference *LocalObjectReference `protobuf:"bytes,1,opt,name=localObjectReference" json:"localObjectReference,omitempty"` + // items if unspecified, each key-value pair in the Data field of the referenced + // Secret will be projected into the volume as a file whose name is the + // key and content is the value. If specified, the listed keys will be + // projected into the specified paths, and unlisted keys will not be + // present. If a key is specified which is not present in the Secret, + // the volume setup will error unless it is marked optional. Paths must be + // relative and may not contain the '..' path or start with '..'. + // +optional + Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` + // optional field specify whether the Secret or its key must be defined + // +optional + Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"` +} + +func (x *SecretProjection) Reset() { + *x = SecretProjection{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[183] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecretProjection) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecretProjection) ProtoMessage() {} + +func (x *SecretProjection) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[183] + 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 SecretProjection.ProtoReflect.Descriptor instead. +func (*SecretProjection) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{183} +} + +func (x *SecretProjection) GetLocalObjectReference() *LocalObjectReference { + if x != nil { + return x.LocalObjectReference + } + return nil +} + +func (x *SecretProjection) GetItems() []*KeyToPath { + if x != nil { + return x.Items + } + return nil +} + +func (x *SecretProjection) GetOptional() bool { + if x != nil && x.Optional != nil { + return *x.Optional + } + return false +} + +// SecretReference represents a Secret Reference. It has enough information to retrieve secret +// in any namespace +// +structType=atomic +type SecretReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name is unique within a namespace to reference a secret resource. + // +optional + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // namespace defines the space within which the secret name must be unique. + // +optional + Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` +} + +func (x *SecretReference) Reset() { + *x = SecretReference{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[184] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecretReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecretReference) ProtoMessage() {} + +func (x *SecretReference) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[184] + 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 SecretReference.ProtoReflect.Descriptor instead. +func (*SecretReference) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{184} +} + +func (x *SecretReference) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *SecretReference) GetNamespace() string { + if x != nil && x.Namespace != nil { + return *x.Namespace + } + return "" +} + +// Adapts a Secret into a volume. +// +// The contents of the target Secret's Data field will be presented in a volume +// as files using the keys in the Data field as the file names. +// Secret volumes support ownership management and SELinux relabeling. +type SecretVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // secretName is the name of the secret in the pod's namespace to use. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + // +optional + SecretName *string `protobuf:"bytes,1,opt,name=secretName" json:"secretName,omitempty"` + // items If unspecified, each key-value pair in the Data field of the referenced + // Secret will be projected into the volume as a file whose name is the + // key and content is the value. If specified, the listed keys will be + // projected into the specified paths, and unlisted keys will not be + // present. If a key is specified which is not present in the Secret, + // the volume setup will error unless it is marked optional. Paths must be + // relative and may not contain the '..' path or start with '..'. + // +optional + Items []*KeyToPath `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` + // defaultMode is Optional: mode bits used to set permissions on created files by default. + // Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + // YAML accepts both octal and decimal values, JSON requires decimal values + // for mode bits. Defaults to 0644. + // Directories within the path are not affected by this setting. + // This might be in conflict with other options that affect the file + // mode, like fsGroup, and the result can be other mode bits set. + // +optional + DefaultMode *int32 `protobuf:"varint,3,opt,name=defaultMode" json:"defaultMode,omitempty"` + // optional field specify whether the Secret or its keys must be defined + // +optional + Optional *bool `protobuf:"varint,4,opt,name=optional" json:"optional,omitempty"` +} + +func (x *SecretVolumeSource) Reset() { + *x = SecretVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[185] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecretVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecretVolumeSource) ProtoMessage() {} + +func (x *SecretVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[185] + 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 SecretVolumeSource.ProtoReflect.Descriptor instead. +func (*SecretVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{185} +} + +func (x *SecretVolumeSource) GetSecretName() string { + if x != nil && x.SecretName != nil { + return *x.SecretName + } + return "" +} + +func (x *SecretVolumeSource) GetItems() []*KeyToPath { + if x != nil { + return x.Items + } + return nil +} + +func (x *SecretVolumeSource) GetDefaultMode() int32 { + if x != nil && x.DefaultMode != nil { + return *x.DefaultMode + } + return 0 +} + +func (x *SecretVolumeSource) GetOptional() bool { + if x != nil && x.Optional != nil { + return *x.Optional + } + return false +} + +// SecurityContext holds security configuration that will be applied to a container. +// Some fields are present in both SecurityContext and PodSecurityContext. When both +// are set, the values in SecurityContext take precedence. +type SecurityContext struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The capabilities to add/drop when running containers. + // Defaults to the default set of capabilities granted by the container runtime. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities" json:"capabilities,omitempty"` + // Run container in privileged mode. + // Processes in privileged containers are essentially equivalent to root on the host. + // Defaults to false. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + Privileged *bool `protobuf:"varint,2,opt,name=privileged" json:"privileged,omitempty"` + // The SELinux context to be applied to the container. + // If unspecified, the container runtime will allocate a random SELinux context for each + // container. May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + SeLinuxOptions *SELinuxOptions `protobuf:"bytes,3,opt,name=seLinuxOptions" json:"seLinuxOptions,omitempty"` + // The Windows specific settings applied to all containers. + // If unspecified, the options from the PodSecurityContext will be used. + // If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is linux. + // +optional + WindowsOptions *WindowsSecurityContextOptions `protobuf:"bytes,10,opt,name=windowsOptions" json:"windowsOptions,omitempty"` + // The UID to run the entrypoint of the container process. + // Defaults to user specified in image metadata if unspecified. + // May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + RunAsUser *int64 `protobuf:"varint,4,opt,name=runAsUser" json:"runAsUser,omitempty"` + // The GID to run the entrypoint of the container process. + // Uses runtime default if unset. + // May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + RunAsGroup *int64 `protobuf:"varint,8,opt,name=runAsGroup" json:"runAsGroup,omitempty"` + // Indicates that the container must run as a non-root user. + // If true, the Kubelet will validate the image at runtime to ensure that it + // does not run as UID 0 (root) and fail to start the container if it does. + // If unset or false, no such validation will be performed. + // May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional + RunAsNonRoot *bool `protobuf:"varint,5,opt,name=runAsNonRoot" json:"runAsNonRoot,omitempty"` + // Whether this container has a read-only root filesystem. + // Default is false. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + ReadOnlyRootFilesystem *bool `protobuf:"varint,6,opt,name=readOnlyRootFilesystem" json:"readOnlyRootFilesystem,omitempty"` + // AllowPrivilegeEscalation controls whether a process can gain more + // privileges than its parent process. This bool directly controls if + // the no_new_privs flag will be set on the container process. + // AllowPrivilegeEscalation is true always when the container is: + // 1) run as Privileged + // 2) has CAP_SYS_ADMIN + // Note that this field cannot be set when spec.os.name is windows. + // +optional + AllowPrivilegeEscalation *bool `protobuf:"varint,7,opt,name=allowPrivilegeEscalation" json:"allowPrivilegeEscalation,omitempty"` + // procMount denotes the type of proc mount to use for the containers. + // The default is DefaultProcMount which uses the container runtime defaults for + // readonly paths and masked paths. + // This requires the ProcMountType feature flag to be enabled. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + ProcMount *string `protobuf:"bytes,9,opt,name=procMount" json:"procMount,omitempty"` + // The seccomp options to use by this container. If seccomp options are + // provided at both the pod & container level, the container options + // override the pod options. + // Note that this field cannot be set when spec.os.name is windows. + // +optional + SeccompProfile *SeccompProfile `protobuf:"bytes,11,opt,name=seccompProfile" json:"seccompProfile,omitempty"` +} + +func (x *SecurityContext) Reset() { + *x = SecurityContext{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[186] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecurityContext) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecurityContext) ProtoMessage() {} + +func (x *SecurityContext) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[186] + 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 SecurityContext.ProtoReflect.Descriptor instead. +func (*SecurityContext) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{186} +} + +func (x *SecurityContext) GetCapabilities() *Capabilities { + if x != nil { + return x.Capabilities + } + return nil +} + +func (x *SecurityContext) GetPrivileged() bool { + if x != nil && x.Privileged != nil { + return *x.Privileged + } + return false +} + +func (x *SecurityContext) GetSeLinuxOptions() *SELinuxOptions { + if x != nil { + return x.SeLinuxOptions + } + return nil +} + +func (x *SecurityContext) GetWindowsOptions() *WindowsSecurityContextOptions { + if x != nil { + return x.WindowsOptions + } + return nil +} + +func (x *SecurityContext) GetRunAsUser() int64 { + if x != nil && x.RunAsUser != nil { + return *x.RunAsUser + } + return 0 +} + +func (x *SecurityContext) GetRunAsGroup() int64 { + if x != nil && x.RunAsGroup != nil { + return *x.RunAsGroup + } + return 0 +} + +func (x *SecurityContext) GetRunAsNonRoot() bool { + if x != nil && x.RunAsNonRoot != nil { + return *x.RunAsNonRoot + } + return false +} + +func (x *SecurityContext) GetReadOnlyRootFilesystem() bool { + if x != nil && x.ReadOnlyRootFilesystem != nil { + return *x.ReadOnlyRootFilesystem + } + return false +} + +func (x *SecurityContext) GetAllowPrivilegeEscalation() bool { + if x != nil && x.AllowPrivilegeEscalation != nil { + return *x.AllowPrivilegeEscalation + } + return false +} + +func (x *SecurityContext) GetProcMount() string { + if x != nil && x.ProcMount != nil { + return *x.ProcMount + } + return "" +} + +func (x *SecurityContext) GetSeccompProfile() *SeccompProfile { + if x != nil { + return x.SeccompProfile + } + return nil +} + +// SerializedReference is a reference to serialized object. +type SerializedReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The reference to an object in the system. + // +optional + Reference *ObjectReference `protobuf:"bytes,1,opt,name=reference" json:"reference,omitempty"` +} + +func (x *SerializedReference) Reset() { + *x = SerializedReference{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[187] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SerializedReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SerializedReference) ProtoMessage() {} + +func (x *SerializedReference) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[187] + 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 SerializedReference.ProtoReflect.Descriptor instead. +func (*SerializedReference) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{187} +} + +func (x *SerializedReference) GetReference() *ObjectReference { + if x != nil { + return x.Reference + } + return nil +} + +// Service is a named abstraction of software service (for example, mysql) consisting of local port +// (for example 3306) that the proxy listens on, and the selector that determines which pods +// will answer requests sent through the proxy. +type Service struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Spec defines the behavior of a service. + // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec *ServiceSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` + // Most recently observed status of the service. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Status *ServiceStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` +} + +func (x *Service) Reset() { + *x = Service{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[188] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Service) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Service) ProtoMessage() {} + +func (x *Service) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[188] + 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 Service.ProtoReflect.Descriptor instead. +func (*Service) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{188} +} + +func (x *Service) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Service) GetSpec() *ServiceSpec { + if x != nil { + return x.Spec + } + return nil +} + +func (x *Service) GetStatus() *ServiceStatus { + if x != nil { + return x.Status + } + return nil +} + +// ServiceAccount binds together: +// * a name, understood by users, and perhaps by peripheral systems, for an identity +// * a principal that can be authenticated and authorized +// * a set of secrets +type ServiceAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. + // Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". + // This field should not be used to find auto-generated service account token secrets for use outside of pods. + // Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. + // More info: https://kubernetes.io/docs/concepts/configuration/secret + // +optional + // +patchMergeKey=name + // +patchStrategy=merge + Secrets []*ObjectReference `protobuf:"bytes,2,rep,name=secrets" json:"secrets,omitempty"` + // ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images + // in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets + // can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. + // More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod + // +optional + ImagePullSecrets []*LocalObjectReference `protobuf:"bytes,3,rep,name=imagePullSecrets" json:"imagePullSecrets,omitempty"` + // AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. + // Can be overridden at the pod level. + // +optional + AutomountServiceAccountToken *bool `protobuf:"varint,4,opt,name=automountServiceAccountToken" json:"automountServiceAccountToken,omitempty"` +} + +func (x *ServiceAccount) Reset() { + *x = ServiceAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[189] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceAccount) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceAccount) ProtoMessage() {} + +func (x *ServiceAccount) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[189] + 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 ServiceAccount.ProtoReflect.Descriptor instead. +func (*ServiceAccount) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{189} +} + +func (x *ServiceAccount) GetMetadata() *v1.ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ServiceAccount) GetSecrets() []*ObjectReference { + if x != nil { + return x.Secrets + } + return nil +} + +func (x *ServiceAccount) GetImagePullSecrets() []*LocalObjectReference { + if x != nil { + return x.ImagePullSecrets + } + return nil +} + +func (x *ServiceAccount) GetAutomountServiceAccountToken() bool { + if x != nil && x.AutomountServiceAccountToken != nil { + return *x.AutomountServiceAccountToken + } + return false +} + +// ServiceAccountList is a list of ServiceAccount objects +type ServiceAccountList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of ServiceAccounts. + // More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + Items []*ServiceAccount `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *ServiceAccountList) Reset() { + *x = ServiceAccountList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[190] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceAccountList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceAccountList) ProtoMessage() {} + +func (x *ServiceAccountList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[190] + 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 ServiceAccountList.ProtoReflect.Descriptor instead. +func (*ServiceAccountList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{190} +} + +func (x *ServiceAccountList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ServiceAccountList) GetItems() []*ServiceAccount { + if x != nil { + return x.Items + } + return nil +} + +// ServiceAccountTokenProjection represents a projected service account token +// volume. This projection can be used to insert a service account token into +// the pods runtime filesystem for use against APIs (Kubernetes API Server or +// otherwise). +type ServiceAccountTokenProjection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // audience is the intended audience of the token. A recipient of a token + // must identify itself with an identifier specified in the audience of the + // token, and otherwise should reject the token. The audience defaults to the + // identifier of the apiserver. + // +optional + Audience *string `protobuf:"bytes,1,opt,name=audience" json:"audience,omitempty"` + // expirationSeconds is the requested duration of validity of the service + // account token. As the token approaches expiration, the kubelet volume + // plugin will proactively rotate the service account token. The kubelet will + // start trying to rotate the token if the token is older than 80 percent of + // its time to live or if the token is older than 24 hours.Defaults to 1 hour + // and must be at least 10 minutes. + // +optional + ExpirationSeconds *int64 `protobuf:"varint,2,opt,name=expirationSeconds" json:"expirationSeconds,omitempty"` + // path is the path relative to the mount point of the file to project the + // token into. + Path *string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` +} + +func (x *ServiceAccountTokenProjection) Reset() { + *x = ServiceAccountTokenProjection{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[191] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceAccountTokenProjection) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceAccountTokenProjection) ProtoMessage() {} + +func (x *ServiceAccountTokenProjection) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[191] + 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 ServiceAccountTokenProjection.ProtoReflect.Descriptor instead. +func (*ServiceAccountTokenProjection) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{191} +} + +func (x *ServiceAccountTokenProjection) GetAudience() string { + if x != nil && x.Audience != nil { + return *x.Audience + } + return "" +} + +func (x *ServiceAccountTokenProjection) GetExpirationSeconds() int64 { + if x != nil && x.ExpirationSeconds != nil { + return *x.ExpirationSeconds + } + return 0 +} + +func (x *ServiceAccountTokenProjection) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +// ServiceList holds a list of services. +type ServiceList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of services + Items []*Service `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *ServiceList) Reset() { + *x = ServiceList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[192] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceList) ProtoMessage() {} + +func (x *ServiceList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[192] + 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 ServiceList.ProtoReflect.Descriptor instead. +func (*ServiceList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{192} +} + +func (x *ServiceList) GetMetadata() *v1.ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *ServiceList) GetItems() []*Service { + if x != nil { + return x.Items + } + return nil +} + +// ServicePort contains information on service's port. +type ServicePort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of this port within the service. This must be a DNS_LABEL. + // All ports within a ServiceSpec must have unique names. When considering + // the endpoints for a Service, this must match the 'name' field in the + // EndpointPort. + // Optional if only one ServicePort is defined on this service. + // +optional + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". + // Default is TCP. + // +default="TCP" + // +optional + Protocol *string `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"` + // The application protocol for this port. + // This is used as a hint for implementations to offer richer behavior for protocols that they understand. + // This field follows standard Kubernetes label syntax. + // Valid values are either: + // + // * Un-prefixed protocol names - reserved for IANA standard service names (as per + // RFC-6335 and https://www.iana.org/assignments/service-names). + // + // * Kubernetes-defined prefixed names: + // - 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 + // - 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 + // - 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 + // + // * Other protocols should use implementation-defined prefixed names such as + // mycompany.com/my-custom-protocol. + // +optional + AppProtocol *string `protobuf:"bytes,6,opt,name=appProtocol" json:"appProtocol,omitempty"` + // The port that will be exposed by this service. + Port *int32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"` + // Number or name of the port to access on the pods targeted by the service. + // Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. + // If this is a string, it will be looked up as a named port in the + // target Pod's container ports. If this is not specified, the value + // of the 'port' field is used (an identity map). + // This field is ignored for services with clusterIP=None, and should be + // omitted or set equal to the 'port' field. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service + // +optional + TargetPort *intstr.IntOrString `protobuf:"bytes,4,opt,name=targetPort" json:"targetPort,omitempty"` + // The port on each node on which this service is exposed when type is + // NodePort or LoadBalancer. Usually assigned by the system. If a value is + // specified, in-range, and not in use it will be used, otherwise the + // operation will fail. If not specified, a port will be allocated if this + // Service requires one. If this field is specified when creating a + // Service which does not need it, creation will fail. This field will be + // wiped when updating a Service to no longer need it (e.g. changing type + // from NodePort to ClusterIP). + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport + // +optional + NodePort *int32 `protobuf:"varint,5,opt,name=nodePort" json:"nodePort,omitempty"` +} + +func (x *ServicePort) Reset() { + *x = ServicePort{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[193] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServicePort) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServicePort) ProtoMessage() {} + +func (x *ServicePort) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[193] + 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 ServicePort.ProtoReflect.Descriptor instead. +func (*ServicePort) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{193} +} + +func (x *ServicePort) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *ServicePort) GetProtocol() string { + if x != nil && x.Protocol != nil { + return *x.Protocol + } + return "" +} + +func (x *ServicePort) GetAppProtocol() string { + if x != nil && x.AppProtocol != nil { + return *x.AppProtocol + } + return "" +} + +func (x *ServicePort) GetPort() int32 { + if x != nil && x.Port != nil { + return *x.Port + } + return 0 +} + +func (x *ServicePort) GetTargetPort() *intstr.IntOrString { + if x != nil { + return x.TargetPort + } + return nil +} + +func (x *ServicePort) GetNodePort() int32 { + if x != nil && x.NodePort != nil { + return *x.NodePort + } + return 0 +} + +// ServiceProxyOptions is the query options to a Service's proxy call. +type ServiceProxyOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Path is the part of URLs that include service endpoints, suffixes, + // and parameters to use for the current proxy request to service. + // For example, the whole request URL is + // http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. + // Path is _search?q=user:kimchy. + // +optional + Path *string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` +} + +func (x *ServiceProxyOptions) Reset() { + *x = ServiceProxyOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[194] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceProxyOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceProxyOptions) ProtoMessage() {} + +func (x *ServiceProxyOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[194] + 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 ServiceProxyOptions.ProtoReflect.Descriptor instead. +func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{194} +} + +func (x *ServiceProxyOptions) GetPath() string { + if x != nil && x.Path != nil { + return *x.Path + } + return "" +} + +// ServiceSpec describes the attributes that a user creates on a service. +type ServiceSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of ports that are exposed by this service. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + // +patchMergeKey=port + // +patchStrategy=merge + // +listType=map + // +listMapKey=port + // +listMapKey=protocol + Ports []*ServicePort `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"` + // Route service traffic to pods with label keys and values matching this + // selector. If empty or not present, the service is assumed to have an + // external process managing its endpoints, which Kubernetes will not + // modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. + // Ignored if type is ExternalName. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/ + // +optional + // +mapType=atomic + Selector map[string]string `protobuf:"bytes,2,rep,name=selector" json:"selector,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // clusterIP is the IP address of the service and is usually assigned + // randomly. If an address is specified manually, is in-range (as per + // system configuration), and is not in use, it will be allocated to the + // service; otherwise creation of the service will fail. This field may not + // be changed through updates unless the type field is also being changed + // to ExternalName (which requires this field to be blank) or the type + // field is being changed from ExternalName (in which case this field may + // optionally be specified, as describe above). Valid values are "None", + // empty string (""), or a valid IP address. Setting this to "None" makes a + // "headless service" (no virtual IP), which is useful when direct endpoint + // connections are preferred and proxying is not required. Only applies to + // types ClusterIP, NodePort, and LoadBalancer. If this field is specified + // when creating a Service of type ExternalName, creation will fail. This + // field will be wiped when updating a Service to type ExternalName. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + // +optional + ClusterIP *string `protobuf:"bytes,3,opt,name=clusterIP" json:"clusterIP,omitempty"` + // ClusterIPs is a list of IP addresses assigned to this service, and are + // usually assigned randomly. If an address is specified manually, is + // in-range (as per system configuration), and is not in use, it will be + // allocated to the service; otherwise creation of the service will fail. + // This field may not be changed through updates unless the type field is + // also being changed to ExternalName (which requires this field to be + // empty) or the type field is being changed from ExternalName (in which + // case this field may optionally be specified, as describe above). Valid + // values are "None", empty string (""), or a valid IP address. Setting + // this to "None" makes a "headless service" (no virtual IP), which is + // useful when direct endpoint connections are preferred and proxying is + // not required. Only applies to types ClusterIP, NodePort, and + // LoadBalancer. If this field is specified when creating a Service of type + // ExternalName, creation will fail. This field will be wiped when updating + // a Service to type ExternalName. If this field is not specified, it will + // be initialized from the clusterIP field. If this field is specified, + // clients must ensure that clusterIPs[0] and clusterIP have the same + // value. + // + // This field may hold a maximum of two entries (dual-stack IPs, in either order). + // These IPs must correspond to the values of the ipFamilies field. Both + // clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + // +listType=atomic + // +optional + ClusterIPs []string `protobuf:"bytes,18,rep,name=clusterIPs" json:"clusterIPs,omitempty"` + // type determines how the Service is exposed. Defaults to ClusterIP. Valid + // options are ExternalName, ClusterIP, NodePort, and LoadBalancer. + // "ClusterIP" allocates a cluster-internal IP address for load-balancing + // to endpoints. Endpoints are determined by the selector or if that is not + // specified, by manual construction of an Endpoints object or + // EndpointSlice objects. If clusterIP is "None", no virtual IP is + // allocated and the endpoints are published as a set of endpoints rather + // than a virtual IP. + // "NodePort" builds on ClusterIP and allocates a port on every node which + // routes to the same endpoints as the clusterIP. + // "LoadBalancer" builds on NodePort and creates an external load-balancer + // (if supported in the current cloud) which routes to the same endpoints + // as the clusterIP. + // "ExternalName" aliases this service to the specified externalName. + // Several other fields do not apply to ExternalName services. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types + // +optional + Type *string `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"` + // externalIPs is a list of IP addresses for which nodes in the cluster + // will also accept traffic for this service. These IPs are not managed by + // Kubernetes. The user is responsible for ensuring that traffic arrives + // at a node with this IP. A common example is external load-balancers + // that are not part of the Kubernetes system. + // +optional + ExternalIPs []string `protobuf:"bytes,5,rep,name=externalIPs" json:"externalIPs,omitempty"` + // Supports "ClientIP" and "None". Used to maintain session affinity. + // Enable client IP based session affinity. + // Must be ClientIP or None. + // Defaults to None. + // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies + // +optional + SessionAffinity *string `protobuf:"bytes,7,opt,name=sessionAffinity" json:"sessionAffinity,omitempty"` + // Only applies to Service Type: LoadBalancer. + // This feature depends on whether the underlying cloud-provider supports specifying + // the loadBalancerIP when a load balancer is created. + // This field will be ignored if the cloud-provider does not support the feature. + // Deprecated: This field was under-specified and its meaning varies across implementations. + // Using it is non-portable and it may not support dual-stack. + // Users are encouraged to use implementation-specific annotations when available. + // +optional + LoadBalancerIP *string `protobuf:"bytes,8,opt,name=loadBalancerIP" json:"loadBalancerIP,omitempty"` + // If specified and supported by the platform, this will restrict traffic through the cloud-provider + // load-balancer will be restricted to the specified client IPs. This field will be ignored if the + // cloud-provider does not support the feature." + // More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/ + // +optional + LoadBalancerSourceRanges []string `protobuf:"bytes,9,rep,name=loadBalancerSourceRanges" json:"loadBalancerSourceRanges,omitempty"` + // externalName is the external reference that discovery mechanisms will + // return as an alias for this service (e.g. a DNS CNAME record). No + // proxying will be involved. Must be a lowercase RFC-1123 hostname + // (https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName". + // +optional + ExternalName *string `protobuf:"bytes,10,opt,name=externalName" json:"externalName,omitempty"` + // externalTrafficPolicy describes how nodes distribute service traffic they + // receive on one of the Service's "externally-facing" addresses (NodePorts, + // ExternalIPs, and LoadBalancer IPs). If set to "Local", the proxy will configure + // the service in a way that assumes that external load balancers will take care + // of balancing the service traffic between nodes, and so each node will deliver + // traffic only to the node-local endpoints of the service, without masquerading + // the client source IP. (Traffic mistakenly sent to a node with no endpoints will + // be dropped.) The default value, "Cluster", uses the standard behavior of + // routing to all endpoints evenly (possibly modified by topology and other + // features). Note that traffic sent to an External IP or LoadBalancer IP from + // within the cluster will always get "Cluster" semantics, but clients sending to + // a NodePort from within the cluster may need to take traffic policy into account + // when picking a node. + // +optional + ExternalTrafficPolicy *string `protobuf:"bytes,11,opt,name=externalTrafficPolicy" json:"externalTrafficPolicy,omitempty"` + // healthCheckNodePort specifies the healthcheck nodePort for the service. + // This only applies when type is set to LoadBalancer and + // externalTrafficPolicy is set to Local. If a value is specified, is + // in-range, and is not in use, it will be used. If not specified, a value + // will be automatically allocated. External systems (e.g. load-balancers) + // can use this port to determine if a given node holds endpoints for this + // service or not. If this field is specified when creating a Service + // which does not need it, creation will fail. This field will be wiped + // when updating a Service to no longer need it (e.g. changing type). + // This field cannot be updated once set. + // +optional + HealthCheckNodePort *int32 `protobuf:"varint,12,opt,name=healthCheckNodePort" json:"healthCheckNodePort,omitempty"` + // publishNotReadyAddresses indicates that any agent which deals with endpoints for this + // Service should disregard any indications of ready/not-ready. + // The primary use case for setting this field is for a StatefulSet's Headless Service to + // propagate SRV DNS records for its Pods for the purpose of peer discovery. + // The Kubernetes controllers that generate Endpoints and EndpointSlice resources for + // Services interpret this to mean that all endpoints are considered "ready" even if the + // Pods themselves are not. Agents which consume only Kubernetes generated endpoints + // through the Endpoints or EndpointSlice resources can safely assume this behavior. + // +optional + PublishNotReadyAddresses *bool `protobuf:"varint,13,opt,name=publishNotReadyAddresses" json:"publishNotReadyAddresses,omitempty"` + // sessionAffinityConfig contains the configurations of session affinity. + // +optional + SessionAffinityConfig *SessionAffinityConfig `protobuf:"bytes,14,opt,name=sessionAffinityConfig" json:"sessionAffinityConfig,omitempty"` + // IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this + // service. This field is usually assigned automatically based on cluster + // configuration and the ipFamilyPolicy field. If this field is specified + // manually, the requested family is available in the cluster, + // and ipFamilyPolicy allows it, it will be used; otherwise creation of + // the service will fail. This field is conditionally mutable: it allows + // for adding or removing a secondary IP family, but it does not allow + // changing the primary IP family of the Service. Valid values are "IPv4" + // and "IPv6". This field only applies to Services of types ClusterIP, + // NodePort, and LoadBalancer, and does apply to "headless" services. + // This field will be wiped when updating a Service to type ExternalName. + // + // This field may hold a maximum of two entries (dual-stack families, in + // either order). These families must correspond to the values of the + // clusterIPs field, if specified. Both clusterIPs and ipFamilies are + // governed by the ipFamilyPolicy field. + // +listType=atomic + // +optional + IpFamilies []string `protobuf:"bytes,19,rep,name=ipFamilies" json:"ipFamilies,omitempty"` + // IPFamilyPolicy represents the dual-stack-ness requested or required by + // this Service. If there is no value provided, then this field will be set + // to SingleStack. Services can be "SingleStack" (a single IP family), + // "PreferDualStack" (two IP families on dual-stack configured clusters or + // a single IP family on single-stack clusters), or "RequireDualStack" + // (two IP families on dual-stack configured clusters, otherwise fail). The + // ipFamilies and clusterIPs fields depend on the value of this field. This + // field will be wiped when updating a service to type ExternalName. + // +optional + IpFamilyPolicy *string `protobuf:"bytes,17,opt,name=ipFamilyPolicy" json:"ipFamilyPolicy,omitempty"` + // allocateLoadBalancerNodePorts defines if NodePorts will be automatically + // allocated for services with type LoadBalancer. Default is "true". It + // may be set to "false" if the cluster load-balancer does not rely on + // NodePorts. If the caller requests specific NodePorts (by specifying a + // value), those requests will be respected, regardless of this field. + // This field may only be set for services with type LoadBalancer and will + // be cleared if the type is changed to any other type. + // +optional + AllocateLoadBalancerNodePorts *bool `protobuf:"varint,20,opt,name=allocateLoadBalancerNodePorts" json:"allocateLoadBalancerNodePorts,omitempty"` + // loadBalancerClass is the class of the load balancer implementation this Service belongs to. + // If specified, the value of this field must be a label-style identifier, with an optional prefix, + // e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users. + // This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load + // balancer implementation is used, today this is typically done through the cloud provider integration, + // but should apply for any default implementation. If set, it is assumed that a load balancer + // implementation is watching for Services with a matching class. Any default load balancer + // implementation (e.g. cloud providers) should ignore Services that set this field. + // This field can only be set when creating or updating a Service to type 'LoadBalancer'. + // Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type. + // +optional + LoadBalancerClass *string `protobuf:"bytes,21,opt,name=loadBalancerClass" json:"loadBalancerClass,omitempty"` + // InternalTrafficPolicy describes how nodes distribute service traffic they + // receive on the ClusterIP. If set to "Local", the proxy will assume that pods + // only want to talk to endpoints of the service on the same node as the pod, + // dropping the traffic if there are no local endpoints. The default value, + // "Cluster", uses the standard behavior of routing to all endpoints evenly + // (possibly modified by topology and other features). + // +optional + InternalTrafficPolicy *string `protobuf:"bytes,22,opt,name=internalTrafficPolicy" json:"internalTrafficPolicy,omitempty"` +} + +func (x *ServiceSpec) Reset() { + *x = ServiceSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[195] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceSpec) ProtoMessage() {} + +func (x *ServiceSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[195] + 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 ServiceSpec.ProtoReflect.Descriptor instead. +func (*ServiceSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{195} +} + +func (x *ServiceSpec) GetPorts() []*ServicePort { + if x != nil { + return x.Ports + } + return nil +} + +func (x *ServiceSpec) GetSelector() map[string]string { + if x != nil { + return x.Selector + } + return nil +} + +func (x *ServiceSpec) GetClusterIP() string { + if x != nil && x.ClusterIP != nil { + return *x.ClusterIP + } + return "" +} + +func (x *ServiceSpec) GetClusterIPs() []string { + if x != nil { + return x.ClusterIPs + } + return nil +} + +func (x *ServiceSpec) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *ServiceSpec) GetExternalIPs() []string { + if x != nil { + return x.ExternalIPs + } + return nil +} + +func (x *ServiceSpec) GetSessionAffinity() string { + if x != nil && x.SessionAffinity != nil { + return *x.SessionAffinity + } + return "" +} + +func (x *ServiceSpec) GetLoadBalancerIP() string { + if x != nil && x.LoadBalancerIP != nil { + return *x.LoadBalancerIP + } + return "" +} + +func (x *ServiceSpec) GetLoadBalancerSourceRanges() []string { + if x != nil { + return x.LoadBalancerSourceRanges + } + return nil +} + +func (x *ServiceSpec) GetExternalName() string { + if x != nil && x.ExternalName != nil { + return *x.ExternalName + } + return "" +} + +func (x *ServiceSpec) GetExternalTrafficPolicy() string { + if x != nil && x.ExternalTrafficPolicy != nil { + return *x.ExternalTrafficPolicy + } + return "" +} + +func (x *ServiceSpec) GetHealthCheckNodePort() int32 { + if x != nil && x.HealthCheckNodePort != nil { + return *x.HealthCheckNodePort + } + return 0 +} + +func (x *ServiceSpec) GetPublishNotReadyAddresses() bool { + if x != nil && x.PublishNotReadyAddresses != nil { + return *x.PublishNotReadyAddresses + } + return false +} + +func (x *ServiceSpec) GetSessionAffinityConfig() *SessionAffinityConfig { + if x != nil { + return x.SessionAffinityConfig + } + return nil +} + +func (x *ServiceSpec) GetIpFamilies() []string { + if x != nil { + return x.IpFamilies + } + return nil +} + +func (x *ServiceSpec) GetIpFamilyPolicy() string { + if x != nil && x.IpFamilyPolicy != nil { + return *x.IpFamilyPolicy + } + return "" +} + +func (x *ServiceSpec) GetAllocateLoadBalancerNodePorts() bool { + if x != nil && x.AllocateLoadBalancerNodePorts != nil { + return *x.AllocateLoadBalancerNodePorts + } + return false +} + +func (x *ServiceSpec) GetLoadBalancerClass() string { + if x != nil && x.LoadBalancerClass != nil { + return *x.LoadBalancerClass + } + return "" +} + +func (x *ServiceSpec) GetInternalTrafficPolicy() string { + if x != nil && x.InternalTrafficPolicy != nil { + return *x.InternalTrafficPolicy + } + return "" +} + +// ServiceStatus represents the current status of a service. +type ServiceStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // LoadBalancer contains the current status of the load-balancer, + // if one is present. + // +optional + LoadBalancer *LoadBalancerStatus `protobuf:"bytes,1,opt,name=loadBalancer" json:"loadBalancer,omitempty"` + // Current service state + // +optional + // +patchMergeKey=type + // +patchStrategy=merge + // +listType=map + // +listMapKey=type + Conditions []*v1.Condition `protobuf:"bytes,2,rep,name=conditions" json:"conditions,omitempty"` +} + +func (x *ServiceStatus) Reset() { + *x = ServiceStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[196] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceStatus) ProtoMessage() {} + +func (x *ServiceStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[196] + 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 ServiceStatus.ProtoReflect.Descriptor instead. +func (*ServiceStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{196} +} + +func (x *ServiceStatus) GetLoadBalancer() *LoadBalancerStatus { + if x != nil { + return x.LoadBalancer + } + return nil +} + +func (x *ServiceStatus) GetConditions() []*v1.Condition { + if x != nil { + return x.Conditions + } + return nil +} + +// SessionAffinityConfig represents the configurations of session affinity. +type SessionAffinityConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // clientIP contains the configurations of Client IP based session affinity. + // +optional + ClientIP *ClientIPConfig `protobuf:"bytes,1,opt,name=clientIP" json:"clientIP,omitempty"` +} + +func (x *SessionAffinityConfig) Reset() { + *x = SessionAffinityConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[197] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SessionAffinityConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SessionAffinityConfig) ProtoMessage() {} + +func (x *SessionAffinityConfig) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[197] + 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 SessionAffinityConfig.ProtoReflect.Descriptor instead. +func (*SessionAffinityConfig) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{197} +} + +func (x *SessionAffinityConfig) GetClientIP() *ClientIPConfig { + if x != nil { + return x.ClientIP + } + return nil +} + +// Represents a StorageOS persistent volume resource. +type StorageOSPersistentVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // volumeName is the human-readable name of the StorageOS volume. Volume + // names are only unique within a namespace. + VolumeName *string `protobuf:"bytes,1,opt,name=volumeName" json:"volumeName,omitempty"` + // volumeNamespace specifies the scope of the volume within StorageOS. If no + // namespace is specified then the Pod's namespace will be used. This allows the + // Kubernetes name scoping to be mirrored within StorageOS for tighter integration. + // Set VolumeName to any name to override the default behaviour. + // Set to "default" if you are not using namespaces within StorageOS. + // Namespaces that do not pre-exist within StorageOS will be created. + // +optional + VolumeNamespace *string `protobuf:"bytes,2,opt,name=volumeNamespace" json:"volumeNamespace,omitempty"` + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional + FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"` + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"` + // secretRef specifies the secret to use for obtaining the StorageOS API + // credentials. If not specified, default values will be attempted. + // +optional + SecretRef *ObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"` +} + +func (x *StorageOSPersistentVolumeSource) Reset() { + *x = StorageOSPersistentVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[198] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StorageOSPersistentVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StorageOSPersistentVolumeSource) ProtoMessage() {} + +func (x *StorageOSPersistentVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[198] + 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 StorageOSPersistentVolumeSource.ProtoReflect.Descriptor instead. +func (*StorageOSPersistentVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{198} +} + +func (x *StorageOSPersistentVolumeSource) GetVolumeName() string { + if x != nil && x.VolumeName != nil { + return *x.VolumeName + } + return "" +} + +func (x *StorageOSPersistentVolumeSource) GetVolumeNamespace() string { + if x != nil && x.VolumeNamespace != nil { + return *x.VolumeNamespace + } + return "" +} + +func (x *StorageOSPersistentVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *StorageOSPersistentVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *StorageOSPersistentVolumeSource) GetSecretRef() *ObjectReference { + if x != nil { + return x.SecretRef + } + return nil +} + +// Represents a StorageOS persistent volume resource. +type StorageOSVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // volumeName is the human-readable name of the StorageOS volume. Volume + // names are only unique within a namespace. + VolumeName *string `protobuf:"bytes,1,opt,name=volumeName" json:"volumeName,omitempty"` + // volumeNamespace specifies the scope of the volume within StorageOS. If no + // namespace is specified then the Pod's namespace will be used. This allows the + // Kubernetes name scoping to be mirrored within StorageOS for tighter integration. + // Set VolumeName to any name to override the default behaviour. + // Set to "default" if you are not using namespaces within StorageOS. + // Namespaces that do not pre-exist within StorageOS will be created. + // +optional + VolumeNamespace *string `protobuf:"bytes,2,opt,name=volumeNamespace" json:"volumeNamespace,omitempty"` + // fsType is the filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional + FsType *string `protobuf:"bytes,3,opt,name=fsType" json:"fsType,omitempty"` + // readOnly defaults to false (read/write). ReadOnly here will force + // the ReadOnly setting in VolumeMounts. + // +optional + ReadOnly *bool `protobuf:"varint,4,opt,name=readOnly" json:"readOnly,omitempty"` + // secretRef specifies the secret to use for obtaining the StorageOS API + // credentials. If not specified, default values will be attempted. + // +optional + SecretRef *LocalObjectReference `protobuf:"bytes,5,opt,name=secretRef" json:"secretRef,omitempty"` +} + +func (x *StorageOSVolumeSource) Reset() { + *x = StorageOSVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[199] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StorageOSVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StorageOSVolumeSource) ProtoMessage() {} + +func (x *StorageOSVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[199] + 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 StorageOSVolumeSource.ProtoReflect.Descriptor instead. +func (*StorageOSVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{199} +} + +func (x *StorageOSVolumeSource) GetVolumeName() string { + if x != nil && x.VolumeName != nil { + return *x.VolumeName + } + return "" +} + +func (x *StorageOSVolumeSource) GetVolumeNamespace() string { + if x != nil && x.VolumeNamespace != nil { + return *x.VolumeNamespace + } + return "" +} + +func (x *StorageOSVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *StorageOSVolumeSource) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *StorageOSVolumeSource) GetSecretRef() *LocalObjectReference { + if x != nil { + return x.SecretRef + } + return nil +} + +// Sysctl defines a kernel parameter to be set +type Sysctl struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of a property to set + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // Value of a property to set + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` +} + +func (x *Sysctl) Reset() { + *x = Sysctl{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[200] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Sysctl) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Sysctl) ProtoMessage() {} + +func (x *Sysctl) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[200] + 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 Sysctl.ProtoReflect.Descriptor instead. +func (*Sysctl) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{200} +} + +func (x *Sysctl) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *Sysctl) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +// TCPSocketAction describes an action based on opening a socket +type TCPSocketAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Number or name of the port to access on the container. + // Number must be in the range 1 to 65535. + // Name must be an IANA_SVC_NAME. + Port *intstr.IntOrString `protobuf:"bytes,1,opt,name=port" json:"port,omitempty"` + // Optional: Host name to connect to, defaults to the pod IP. + // +optional + Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"` +} + +func (x *TCPSocketAction) Reset() { + *x = TCPSocketAction{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[201] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TCPSocketAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TCPSocketAction) ProtoMessage() {} + +func (x *TCPSocketAction) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[201] + 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 TCPSocketAction.ProtoReflect.Descriptor instead. +func (*TCPSocketAction) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{201} +} + +func (x *TCPSocketAction) GetPort() *intstr.IntOrString { + if x != nil { + return x.Port + } + return nil +} + +func (x *TCPSocketAction) GetHost() string { + if x != nil && x.Host != nil { + return *x.Host + } + return "" +} + +// The node this Taint is attached to has the "effect" on +// any pod that does not tolerate the Taint. +type Taint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. The taint key to be applied to a node. + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + // The taint value corresponding to the taint key. + // +optional + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` + // Required. The effect of the taint on pods + // that do not tolerate the taint. + // Valid effects are NoSchedule, PreferNoSchedule and NoExecute. + Effect *string `protobuf:"bytes,3,opt,name=effect" json:"effect,omitempty"` + // TimeAdded represents the time at which the taint was added. + // It is only written for NoExecute taints. + // +optional + TimeAdded *v1.Time `protobuf:"bytes,4,opt,name=timeAdded" json:"timeAdded,omitempty"` +} + +func (x *Taint) Reset() { + *x = Taint{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[202] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Taint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Taint) ProtoMessage() {} + +func (x *Taint) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[202] + 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 Taint.ProtoReflect.Descriptor instead. +func (*Taint) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{202} +} + +func (x *Taint) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *Taint) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +func (x *Taint) GetEffect() string { + if x != nil && x.Effect != nil { + return *x.Effect + } + return "" +} + +func (x *Taint) GetTimeAdded() *v1.Time { + if x != nil { + return x.TimeAdded + } + return nil +} + +// The pod this Toleration is attached to tolerates any taint that matches +// the triple using the matching operator . +type Toleration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key is the taint key that the toleration applies to. Empty means match all taint keys. + // If the key is empty, operator must be Exists; this combination means to match all values and all keys. + // +optional + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + // Operator represents a key's relationship to the value. + // Valid operators are Exists and Equal. Defaults to Equal. + // Exists is equivalent to wildcard for value, so that a pod can + // tolerate all taints of a particular category. + // +optional + Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"` + // Value is the taint value the toleration matches to. + // If the operator is Exists, the value should be empty, otherwise just a regular string. + // +optional + Value *string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` + // Effect indicates the taint effect to match. Empty means match all taint effects. + // When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + // +optional + Effect *string `protobuf:"bytes,4,opt,name=effect" json:"effect,omitempty"` + // TolerationSeconds represents the period of time the toleration (which must be + // of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + // it is not set, which means tolerate the taint forever (do not evict). Zero and + // negative values will be treated as 0 (evict immediately) by the system. + // +optional + TolerationSeconds *int64 `protobuf:"varint,5,opt,name=tolerationSeconds" json:"tolerationSeconds,omitempty"` +} + +func (x *Toleration) Reset() { + *x = Toleration{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[203] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Toleration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Toleration) ProtoMessage() {} + +func (x *Toleration) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[203] + 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 Toleration.ProtoReflect.Descriptor instead. +func (*Toleration) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{203} +} + +func (x *Toleration) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *Toleration) GetOperator() string { + if x != nil && x.Operator != nil { + return *x.Operator + } + return "" +} + +func (x *Toleration) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +func (x *Toleration) GetEffect() string { + if x != nil && x.Effect != nil { + return *x.Effect + } + return "" +} + +func (x *Toleration) GetTolerationSeconds() int64 { + if x != nil && x.TolerationSeconds != nil { + return *x.TolerationSeconds + } + return 0 +} + +// A topology selector requirement is a selector that matches given label. +// This is an alpha feature and may change in the future. +type TopologySelectorLabelRequirement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The label key that the selector applies to. + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + // An array of string values. One value must match the label to be selected. + // Each entry in Values is ORed. + Values []string `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"` +} + +func (x *TopologySelectorLabelRequirement) Reset() { + *x = TopologySelectorLabelRequirement{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[204] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopologySelectorLabelRequirement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopologySelectorLabelRequirement) ProtoMessage() {} + +func (x *TopologySelectorLabelRequirement) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[204] + 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 TopologySelectorLabelRequirement.ProtoReflect.Descriptor instead. +func (*TopologySelectorLabelRequirement) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{204} +} + +func (x *TopologySelectorLabelRequirement) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *TopologySelectorLabelRequirement) GetValues() []string { + if x != nil { + return x.Values + } + return nil +} + +// A topology selector term represents the result of label queries. +// A null or empty topology selector term matches no objects. +// The requirements of them are ANDed. +// It provides a subset of functionality as NodeSelectorTerm. +// This is an alpha feature and may change in the future. +// +structType=atomic +type TopologySelectorTerm struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of topology selector requirements by labels. + // +optional + MatchLabelExpressions []*TopologySelectorLabelRequirement `protobuf:"bytes,1,rep,name=matchLabelExpressions" json:"matchLabelExpressions,omitempty"` +} + +func (x *TopologySelectorTerm) Reset() { + *x = TopologySelectorTerm{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[205] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopologySelectorTerm) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopologySelectorTerm) ProtoMessage() {} + +func (x *TopologySelectorTerm) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[205] + 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 TopologySelectorTerm.ProtoReflect.Descriptor instead. +func (*TopologySelectorTerm) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{205} +} + +func (x *TopologySelectorTerm) GetMatchLabelExpressions() []*TopologySelectorLabelRequirement { + if x != nil { + return x.MatchLabelExpressions + } + return nil +} + +// TopologySpreadConstraint specifies how to spread matching pods among the given topology. +type TopologySpreadConstraint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // MaxSkew describes the degree to which pods may be unevenly distributed. + // When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference + // between the number of matching pods in the target topology and the global minimum. + // The global minimum is the minimum number of matching pods in an eligible domain + // or zero if the number of eligible domains is less than MinDomains. + // For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + // labelSelector spread as 2/2/1: + // In this case, the global minimum is 1. + // +-------+-------+-------+ + // | zone1 | zone2 | zone3 | + // +-------+-------+-------+ + // | P P | P P | P | + // +-------+-------+-------+ + // - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; + // scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) + // violate MaxSkew(1). + // - if MaxSkew is 2, incoming pod can be scheduled onto any zone. + // When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence + // to topologies that satisfy it. + // It's a required field. Default value is 1 and 0 is not allowed. + MaxSkew *int32 `protobuf:"varint,1,opt,name=maxSkew" json:"maxSkew,omitempty"` + // TopologyKey is the key of node labels. Nodes that have a label with this key + // and identical values are considered to be in the same topology. + // We consider each as a "bucket", and try to put balanced number + // of pods into each bucket. + // We define a domain as a particular instance of a topology. + // Also, we define an eligible domain as a domain whose nodes meet the requirements of + // nodeAffinityPolicy and nodeTaintsPolicy. + // e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. + // And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. + // It's a required field. + TopologyKey *string `protobuf:"bytes,2,opt,name=topologyKey" json:"topologyKey,omitempty"` + // WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy + // the spread constraint. + // - DoNotSchedule (default) tells the scheduler not to schedule it. + // - ScheduleAnyway tells the scheduler to schedule the pod in any location, + // but giving higher precedence to topologies that would help reduce the + // skew. + // + // A constraint is considered "Unsatisfiable" for an incoming pod + // if and only if every possible node assignment for that pod would violate + // "MaxSkew" on some topology. + // For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same + // labelSelector spread as 3/1/1: + // +-------+-------+-------+ + // | zone1 | zone2 | zone3 | + // +-------+-------+-------+ + // | P P P | P | P | + // +-------+-------+-------+ + // If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled + // to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies + // MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler + // won't make it *more* imbalanced. + // It's a required field. + WhenUnsatisfiable *string `protobuf:"bytes,3,opt,name=whenUnsatisfiable" json:"whenUnsatisfiable,omitempty"` + // LabelSelector is used to find matching pods. + // Pods that match this label selector are counted to determine the number of pods + // in their corresponding topology domain. + // +optional + LabelSelector *v1.LabelSelector `protobuf:"bytes,4,opt,name=labelSelector" json:"labelSelector,omitempty"` + // MinDomains indicates a minimum number of eligible domains. + // When the number of eligible domains with matching topology keys is less than minDomains, + // Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. + // And when the number of eligible domains with matching topology keys equals or greater than minDomains, + // this value has no effect on scheduling. + // As a result, when the number of eligible domains is less than minDomains, + // scheduler won't schedule more than maxSkew Pods to those domains. + // If value is nil, the constraint behaves as if MinDomains is equal to 1. + // Valid values are integers greater than 0. + // When value is not nil, WhenUnsatisfiable must be DoNotSchedule. + // + // For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same + // labelSelector spread as 2/2/2: + // +-------+-------+-------+ + // | zone1 | zone2 | zone3 | + // +-------+-------+-------+ + // | P P | P P | P P | + // +-------+-------+-------+ + // The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. + // In this situation, new pod with the same labelSelector cannot be scheduled, + // because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, + // it will violate MaxSkew. + // + // This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). + // +optional + MinDomains *int32 `protobuf:"varint,5,opt,name=minDomains" json:"minDomains,omitempty"` + // NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector + // when calculating pod topology spread skew. Options are: + // - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. + // - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations. + // + // If this value is nil, the behavior is equivalent to the Honor policy. + // This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + // +optional + NodeAffinityPolicy *string `protobuf:"bytes,6,opt,name=nodeAffinityPolicy" json:"nodeAffinityPolicy,omitempty"` + // NodeTaintsPolicy indicates how we will treat node taints when calculating + // pod topology spread skew. Options are: + // - Honor: nodes without taints, along with tainted nodes for which the incoming pod + // has a toleration, are included. + // - Ignore: node taints are ignored. All nodes are included. + // + // If this value is nil, the behavior is equivalent to the Ignore policy. + // This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. + // +optional + NodeTaintsPolicy *string `protobuf:"bytes,7,opt,name=nodeTaintsPolicy" json:"nodeTaintsPolicy,omitempty"` + // MatchLabelKeys is a set of pod label keys to select the pods over which + // spreading will be calculated. The keys are used to lookup values from the + // incoming pod labels, those key-value labels are ANDed with labelSelector + // to select the group of existing pods over which spreading will be calculated + // for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. + // MatchLabelKeys cannot be set when LabelSelector isn't set. + // Keys that don't exist in the incoming pod labels will + // be ignored. A null or empty list means only match against labelSelector. + // + // This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default). + // +listType=atomic + // +optional + MatchLabelKeys []string `protobuf:"bytes,8,rep,name=matchLabelKeys" json:"matchLabelKeys,omitempty"` +} + +func (x *TopologySpreadConstraint) Reset() { + *x = TopologySpreadConstraint{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[206] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TopologySpreadConstraint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TopologySpreadConstraint) ProtoMessage() {} + +func (x *TopologySpreadConstraint) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[206] + 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 TopologySpreadConstraint.ProtoReflect.Descriptor instead. +func (*TopologySpreadConstraint) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{206} +} + +func (x *TopologySpreadConstraint) GetMaxSkew() int32 { + if x != nil && x.MaxSkew != nil { + return *x.MaxSkew + } + return 0 +} + +func (x *TopologySpreadConstraint) GetTopologyKey() string { + if x != nil && x.TopologyKey != nil { + return *x.TopologyKey + } + return "" +} + +func (x *TopologySpreadConstraint) GetWhenUnsatisfiable() string { + if x != nil && x.WhenUnsatisfiable != nil { + return *x.WhenUnsatisfiable + } + return "" +} + +func (x *TopologySpreadConstraint) GetLabelSelector() *v1.LabelSelector { + if x != nil { + return x.LabelSelector + } + return nil +} + +func (x *TopologySpreadConstraint) GetMinDomains() int32 { + if x != nil && x.MinDomains != nil { + return *x.MinDomains + } + return 0 +} + +func (x *TopologySpreadConstraint) GetNodeAffinityPolicy() string { + if x != nil && x.NodeAffinityPolicy != nil { + return *x.NodeAffinityPolicy + } + return "" +} + +func (x *TopologySpreadConstraint) GetNodeTaintsPolicy() string { + if x != nil && x.NodeTaintsPolicy != nil { + return *x.NodeTaintsPolicy + } + return "" +} + +func (x *TopologySpreadConstraint) GetMatchLabelKeys() []string { + if x != nil { + return x.MatchLabelKeys + } + return nil +} + +// TypedLocalObjectReference contains enough information to let you locate the +// typed referenced object inside the same namespace. +// +structType=atomic +type TypedLocalObjectReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // APIGroup is the group for the resource being referenced. + // If APIGroup is not specified, the specified Kind must be in the core API group. + // For any other third-party types, APIGroup is required. + // +optional + ApiGroup *string `protobuf:"bytes,1,opt,name=apiGroup" json:"apiGroup,omitempty"` + // Kind is the type of resource being referenced + Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` + // Name is the name of resource being referenced + Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` +} + +func (x *TypedLocalObjectReference) Reset() { + *x = TypedLocalObjectReference{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[207] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypedLocalObjectReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypedLocalObjectReference) ProtoMessage() {} + +func (x *TypedLocalObjectReference) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[207] + 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 TypedLocalObjectReference.ProtoReflect.Descriptor instead. +func (*TypedLocalObjectReference) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{207} +} + +func (x *TypedLocalObjectReference) GetApiGroup() string { + if x != nil && x.ApiGroup != nil { + return *x.ApiGroup + } + return "" +} + +func (x *TypedLocalObjectReference) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +func (x *TypedLocalObjectReference) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +type TypedObjectReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // APIGroup is the group for the resource being referenced. + // If APIGroup is not specified, the specified Kind must be in the core API group. + // For any other third-party types, APIGroup is required. + // +optional + ApiGroup *string `protobuf:"bytes,1,opt,name=apiGroup" json:"apiGroup,omitempty"` + // Kind is the type of resource being referenced + Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` + // Name is the name of resource being referenced + Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` + // Namespace is the namespace of resource being referenced + // Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + // (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + // +featureGate=CrossNamespaceVolumeDataSource + // +optional + Namespace *string `protobuf:"bytes,4,opt,name=namespace" json:"namespace,omitempty"` +} + +func (x *TypedObjectReference) Reset() { + *x = TypedObjectReference{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[208] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypedObjectReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypedObjectReference) ProtoMessage() {} + +func (x *TypedObjectReference) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[208] + 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 TypedObjectReference.ProtoReflect.Descriptor instead. +func (*TypedObjectReference) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{208} +} + +func (x *TypedObjectReference) GetApiGroup() string { + if x != nil && x.ApiGroup != nil { + return *x.ApiGroup + } + return "" +} + +func (x *TypedObjectReference) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +func (x *TypedObjectReference) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *TypedObjectReference) GetNamespace() string { + if x != nil && x.Namespace != nil { + return *x.Namespace + } + return "" +} + +// Volume represents a named volume in a pod that may be accessed by any container in the pod. +type Volume struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name of the volume. + // Must be a DNS_LABEL and unique within the pod. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // volumeSource represents the location and type of the mounted volume. + // If not specified, the Volume is implied to be an EmptyDir. + // This implied behavior is deprecated and will be removed in a future version. + VolumeSource *VolumeSource `protobuf:"bytes,2,opt,name=volumeSource" json:"volumeSource,omitempty"` +} + +func (x *Volume) Reset() { + *x = Volume{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[209] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Volume) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Volume) ProtoMessage() {} + +func (x *Volume) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[209] + 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 Volume.ProtoReflect.Descriptor instead. +func (*Volume) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{209} +} + +func (x *Volume) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *Volume) GetVolumeSource() *VolumeSource { + if x != nil { + return x.VolumeSource + } + return nil +} + +// volumeDevice describes a mapping of a raw block device within a container. +type VolumeDevice struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name must match the name of a persistentVolumeClaim in the pod + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // devicePath is the path inside of the container that the device will be mapped to. + DevicePath *string `protobuf:"bytes,2,opt,name=devicePath" json:"devicePath,omitempty"` +} + +func (x *VolumeDevice) Reset() { + *x = VolumeDevice{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[210] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VolumeDevice) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VolumeDevice) ProtoMessage() {} + +func (x *VolumeDevice) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[210] + 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 VolumeDevice.ProtoReflect.Descriptor instead. +func (*VolumeDevice) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{210} +} + +func (x *VolumeDevice) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *VolumeDevice) GetDevicePath() string { + if x != nil && x.DevicePath != nil { + return *x.DevicePath + } + return "" +} + +// VolumeMount describes a mounting of a Volume within a container. +type VolumeMount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This must match the Name of a Volume. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // Mounted read-only if true, read-write otherwise (false or unspecified). + // Defaults to false. + // +optional + ReadOnly *bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly,omitempty"` + // Path within the container at which the volume should be mounted. Must + // not contain ':'. + MountPath *string `protobuf:"bytes,3,opt,name=mountPath" json:"mountPath,omitempty"` + // Path within the volume from which the container's volume should be mounted. + // Defaults to "" (volume's root). + // +optional + SubPath *string `protobuf:"bytes,4,opt,name=subPath" json:"subPath,omitempty"` + // mountPropagation determines how mounts are propagated from the host + // to container and the other way around. + // When not set, MountPropagationNone is used. + // This field is beta in 1.10. + // +optional + MountPropagation *string `protobuf:"bytes,5,opt,name=mountPropagation" json:"mountPropagation,omitempty"` + // Expanded path within the volume from which the container's volume should be mounted. + // Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + // Defaults to "" (volume's root). + // SubPathExpr and SubPath are mutually exclusive. + // +optional + SubPathExpr *string `protobuf:"bytes,6,opt,name=subPathExpr" json:"subPathExpr,omitempty"` +} + +func (x *VolumeMount) Reset() { + *x = VolumeMount{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[211] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VolumeMount) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VolumeMount) ProtoMessage() {} + +func (x *VolumeMount) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[211] + 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 VolumeMount.ProtoReflect.Descriptor instead. +func (*VolumeMount) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{211} +} + +func (x *VolumeMount) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *VolumeMount) GetReadOnly() bool { + if x != nil && x.ReadOnly != nil { + return *x.ReadOnly + } + return false +} + +func (x *VolumeMount) GetMountPath() string { + if x != nil && x.MountPath != nil { + return *x.MountPath + } + return "" +} + +func (x *VolumeMount) GetSubPath() string { + if x != nil && x.SubPath != nil { + return *x.SubPath + } + return "" +} + +func (x *VolumeMount) GetMountPropagation() string { + if x != nil && x.MountPropagation != nil { + return *x.MountPropagation + } + return "" +} + +func (x *VolumeMount) GetSubPathExpr() string { + if x != nil && x.SubPathExpr != nil { + return *x.SubPathExpr + } + return "" +} + +// VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. +type VolumeNodeAffinity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // required specifies hard node constraints that must be met. + Required *NodeSelector `protobuf:"bytes,1,opt,name=required" json:"required,omitempty"` +} + +func (x *VolumeNodeAffinity) Reset() { + *x = VolumeNodeAffinity{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[212] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VolumeNodeAffinity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VolumeNodeAffinity) ProtoMessage() {} + +func (x *VolumeNodeAffinity) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[212] + 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 VolumeNodeAffinity.ProtoReflect.Descriptor instead. +func (*VolumeNodeAffinity) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{212} +} + +func (x *VolumeNodeAffinity) GetRequired() *NodeSelector { + if x != nil { + return x.Required + } + return nil +} + +// Projection that may be projected along with other supported volume types +type VolumeProjection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // secret information about the secret data to project + // +optional + Secret *SecretProjection `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"` + // downwardAPI information about the downwardAPI data to project + // +optional + DownwardAPI *DownwardAPIProjection `protobuf:"bytes,2,opt,name=downwardAPI" json:"downwardAPI,omitempty"` + // configMap information about the configMap data to project + // +optional + ConfigMap *ConfigMapProjection `protobuf:"bytes,3,opt,name=configMap" json:"configMap,omitempty"` + // serviceAccountToken is information about the serviceAccountToken data to project + // +optional + ServiceAccountToken *ServiceAccountTokenProjection `protobuf:"bytes,4,opt,name=serviceAccountToken" json:"serviceAccountToken,omitempty"` +} + +func (x *VolumeProjection) Reset() { + *x = VolumeProjection{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[213] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VolumeProjection) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VolumeProjection) ProtoMessage() {} + +func (x *VolumeProjection) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[213] + 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 VolumeProjection.ProtoReflect.Descriptor instead. +func (*VolumeProjection) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{213} +} + +func (x *VolumeProjection) GetSecret() *SecretProjection { + if x != nil { + return x.Secret + } + return nil +} + +func (x *VolumeProjection) GetDownwardAPI() *DownwardAPIProjection { + if x != nil { + return x.DownwardAPI + } + return nil +} + +func (x *VolumeProjection) GetConfigMap() *ConfigMapProjection { + if x != nil { + return x.ConfigMap + } + return nil +} + +func (x *VolumeProjection) GetServiceAccountToken() *ServiceAccountTokenProjection { + if x != nil { + return x.ServiceAccountToken + } + return nil +} + +// Represents the source of a volume to mount. +// Only one of its members may be specified. +type VolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // hostPath represents a pre-existing file or directory on the host + // machine that is directly exposed to the container. This is generally + // used for system agents or other privileged things that are allowed + // to see the host machine. Most containers will NOT need this. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + // --- + // TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not + // mount host directories as read/write. + // +optional + HostPath *HostPathVolumeSource `protobuf:"bytes,1,opt,name=hostPath" json:"hostPath,omitempty"` + // emptyDir represents a temporary directory that shares a pod's lifetime. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir + // +optional + EmptyDir *EmptyDirVolumeSource `protobuf:"bytes,2,opt,name=emptyDir" json:"emptyDir,omitempty"` + // gcePersistentDisk represents a GCE Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + // +optional + GcePersistentDisk *GCEPersistentDiskVolumeSource `protobuf:"bytes,3,opt,name=gcePersistentDisk" json:"gcePersistentDisk,omitempty"` + // awsElasticBlockStore represents an AWS Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + // +optional + AwsElasticBlockStore *AWSElasticBlockStoreVolumeSource `protobuf:"bytes,4,opt,name=awsElasticBlockStore" json:"awsElasticBlockStore,omitempty"` + // gitRepo represents a git repository at a particular revision. + // DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an + // EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir + // into the Pod's container. + // +optional + GitRepo *GitRepoVolumeSource `protobuf:"bytes,5,opt,name=gitRepo" json:"gitRepo,omitempty"` + // secret represents a secret that should populate this volume. + // More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + // +optional + Secret *SecretVolumeSource `protobuf:"bytes,6,opt,name=secret" json:"secret,omitempty"` + // nfs represents an NFS mount on the host that shares a pod's lifetime + // More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + // +optional + Nfs *NFSVolumeSource `protobuf:"bytes,7,opt,name=nfs" json:"nfs,omitempty"` + // iscsi represents an ISCSI Disk resource that is attached to a + // kubelet's host machine and then exposed to the pod. + // More info: https://examples.k8s.io/volumes/iscsi/README.md + // +optional + Iscsi *ISCSIVolumeSource `protobuf:"bytes,8,opt,name=iscsi" json:"iscsi,omitempty"` + // glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + // More info: https://examples.k8s.io/volumes/glusterfs/README.md + // +optional + Glusterfs *GlusterfsVolumeSource `protobuf:"bytes,9,opt,name=glusterfs" json:"glusterfs,omitempty"` + // persistentVolumeClaimVolumeSource represents a reference to a + // PersistentVolumeClaim in the same namespace. + // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + // +optional + PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `protobuf:"bytes,10,opt,name=persistentVolumeClaim" json:"persistentVolumeClaim,omitempty"` + // rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + // More info: https://examples.k8s.io/volumes/rbd/README.md + // +optional + Rbd *RBDVolumeSource `protobuf:"bytes,11,opt,name=rbd" json:"rbd,omitempty"` + // flexVolume represents a generic volume resource that is + // provisioned/attached using an exec based plugin. + // +optional + FlexVolume *FlexVolumeSource `protobuf:"bytes,12,opt,name=flexVolume" json:"flexVolume,omitempty"` + // cinder represents a cinder volume attached and mounted on kubelets host machine. + // More info: https://examples.k8s.io/mysql-cinder-pd/README.md + // +optional + Cinder *CinderVolumeSource `protobuf:"bytes,13,opt,name=cinder" json:"cinder,omitempty"` + // cephFS represents a Ceph FS mount on the host that shares a pod's lifetime + // +optional + Cephfs *CephFSVolumeSource `protobuf:"bytes,14,opt,name=cephfs" json:"cephfs,omitempty"` + // flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running + // +optional + Flocker *FlockerVolumeSource `protobuf:"bytes,15,opt,name=flocker" json:"flocker,omitempty"` + // downwardAPI represents downward API about the pod that should populate this volume + // +optional + DownwardAPI *DownwardAPIVolumeSource `protobuf:"bytes,16,opt,name=downwardAPI" json:"downwardAPI,omitempty"` + // fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + // +optional + Fc *FCVolumeSource `protobuf:"bytes,17,opt,name=fc" json:"fc,omitempty"` + // azureFile represents an Azure File Service mount on the host and bind mount to the pod. + // +optional + AzureFile *AzureFileVolumeSource `protobuf:"bytes,18,opt,name=azureFile" json:"azureFile,omitempty"` + // configMap represents a configMap that should populate this volume + // +optional + ConfigMap *ConfigMapVolumeSource `protobuf:"bytes,19,opt,name=configMap" json:"configMap,omitempty"` + // vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + // +optional + VsphereVolume *VsphereVirtualDiskVolumeSource `protobuf:"bytes,20,opt,name=vsphereVolume" json:"vsphereVolume,omitempty"` + // quobyte represents a Quobyte mount on the host that shares a pod's lifetime + // +optional + Quobyte *QuobyteVolumeSource `protobuf:"bytes,21,opt,name=quobyte" json:"quobyte,omitempty"` + // azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + // +optional + AzureDisk *AzureDiskVolumeSource `protobuf:"bytes,22,opt,name=azureDisk" json:"azureDisk,omitempty"` + // photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine + PhotonPersistentDisk *PhotonPersistentDiskVolumeSource `protobuf:"bytes,23,opt,name=photonPersistentDisk" json:"photonPersistentDisk,omitempty"` + // projected items for all in one resources secrets, configmaps, and downward API + Projected *ProjectedVolumeSource `protobuf:"bytes,26,opt,name=projected" json:"projected,omitempty"` + // portworxVolume represents a portworx volume attached and mounted on kubelets host machine + // +optional + PortworxVolume *PortworxVolumeSource `protobuf:"bytes,24,opt,name=portworxVolume" json:"portworxVolume,omitempty"` + // scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + // +optional + ScaleIO *ScaleIOVolumeSource `protobuf:"bytes,25,opt,name=scaleIO" json:"scaleIO,omitempty"` + // storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + // +optional + Storageos *StorageOSVolumeSource `protobuf:"bytes,27,opt,name=storageos" json:"storageos,omitempty"` + // csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). + // +optional + Csi *CSIVolumeSource `protobuf:"bytes,28,opt,name=csi" json:"csi,omitempty"` + // ephemeral represents a volume that is handled by a cluster storage driver. + // The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + // and deleted when the pod is removed. + // + // Use this if: + // a) the volume is only needed while the pod runs, + // b) features of normal volumes like restoring from snapshot or capacity + // + // tracking are needed, + // + // c) the storage driver is specified through a storage class, and + // d) the storage driver supports dynamic volume provisioning through + // + // a PersistentVolumeClaim (see EphemeralVolumeSource for more + // information on the connection between this volume type + // and PersistentVolumeClaim). + // + // Use PersistentVolumeClaim or one of the vendor-specific + // APIs for volumes that persist for longer than the lifecycle + // of an individual pod. + // + // Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + // be used that way - see the documentation of the driver for + // more information. + // + // A pod can use both types of ephemeral volumes and + // persistent volumes at the same time. + // + // +optional + Ephemeral *EphemeralVolumeSource `protobuf:"bytes,29,opt,name=ephemeral" json:"ephemeral,omitempty"` +} + +func (x *VolumeSource) Reset() { + *x = VolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[214] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VolumeSource) ProtoMessage() {} + +func (x *VolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[214] + 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 VolumeSource.ProtoReflect.Descriptor instead. +func (*VolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{214} +} + +func (x *VolumeSource) GetHostPath() *HostPathVolumeSource { + if x != nil { + return x.HostPath + } + return nil +} + +func (x *VolumeSource) GetEmptyDir() *EmptyDirVolumeSource { + if x != nil { + return x.EmptyDir + } + return nil +} + +func (x *VolumeSource) GetGcePersistentDisk() *GCEPersistentDiskVolumeSource { + if x != nil { + return x.GcePersistentDisk + } + return nil +} + +func (x *VolumeSource) GetAwsElasticBlockStore() *AWSElasticBlockStoreVolumeSource { + if x != nil { + return x.AwsElasticBlockStore + } + return nil +} + +func (x *VolumeSource) GetGitRepo() *GitRepoVolumeSource { + if x != nil { + return x.GitRepo + } + return nil +} + +func (x *VolumeSource) GetSecret() *SecretVolumeSource { + if x != nil { + return x.Secret + } + return nil +} + +func (x *VolumeSource) GetNfs() *NFSVolumeSource { + if x != nil { + return x.Nfs + } + return nil +} + +func (x *VolumeSource) GetIscsi() *ISCSIVolumeSource { + if x != nil { + return x.Iscsi + } + return nil +} + +func (x *VolumeSource) GetGlusterfs() *GlusterfsVolumeSource { + if x != nil { + return x.Glusterfs + } + return nil +} + +func (x *VolumeSource) GetPersistentVolumeClaim() *PersistentVolumeClaimVolumeSource { + if x != nil { + return x.PersistentVolumeClaim + } + return nil +} + +func (x *VolumeSource) GetRbd() *RBDVolumeSource { + if x != nil { + return x.Rbd + } + return nil +} + +func (x *VolumeSource) GetFlexVolume() *FlexVolumeSource { + if x != nil { + return x.FlexVolume + } + return nil +} + +func (x *VolumeSource) GetCinder() *CinderVolumeSource { + if x != nil { + return x.Cinder + } + return nil +} + +func (x *VolumeSource) GetCephfs() *CephFSVolumeSource { + if x != nil { + return x.Cephfs + } + return nil +} + +func (x *VolumeSource) GetFlocker() *FlockerVolumeSource { + if x != nil { + return x.Flocker + } + return nil +} + +func (x *VolumeSource) GetDownwardAPI() *DownwardAPIVolumeSource { + if x != nil { + return x.DownwardAPI + } + return nil +} + +func (x *VolumeSource) GetFc() *FCVolumeSource { + if x != nil { + return x.Fc + } + return nil +} + +func (x *VolumeSource) GetAzureFile() *AzureFileVolumeSource { + if x != nil { + return x.AzureFile + } + return nil +} + +func (x *VolumeSource) GetConfigMap() *ConfigMapVolumeSource { + if x != nil { + return x.ConfigMap + } + return nil +} + +func (x *VolumeSource) GetVsphereVolume() *VsphereVirtualDiskVolumeSource { + if x != nil { + return x.VsphereVolume + } + return nil +} + +func (x *VolumeSource) GetQuobyte() *QuobyteVolumeSource { + if x != nil { + return x.Quobyte + } + return nil +} + +func (x *VolumeSource) GetAzureDisk() *AzureDiskVolumeSource { + if x != nil { + return x.AzureDisk + } + return nil +} + +func (x *VolumeSource) GetPhotonPersistentDisk() *PhotonPersistentDiskVolumeSource { + if x != nil { + return x.PhotonPersistentDisk + } + return nil +} + +func (x *VolumeSource) GetProjected() *ProjectedVolumeSource { + if x != nil { + return x.Projected + } + return nil +} + +func (x *VolumeSource) GetPortworxVolume() *PortworxVolumeSource { + if x != nil { + return x.PortworxVolume + } + return nil +} + +func (x *VolumeSource) GetScaleIO() *ScaleIOVolumeSource { + if x != nil { + return x.ScaleIO + } + return nil +} + +func (x *VolumeSource) GetStorageos() *StorageOSVolumeSource { + if x != nil { + return x.Storageos + } + return nil +} + +func (x *VolumeSource) GetCsi() *CSIVolumeSource { + if x != nil { + return x.Csi + } + return nil +} + +func (x *VolumeSource) GetEphemeral() *EphemeralVolumeSource { + if x != nil { + return x.Ephemeral + } + return nil +} + +// Represents a vSphere volume resource. +type VsphereVirtualDiskVolumeSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // volumePath is the path that identifies vSphere volume vmdk + VolumePath *string `protobuf:"bytes,1,opt,name=volumePath" json:"volumePath,omitempty"` + // fsType is filesystem type to mount. + // Must be a filesystem type supported by the host operating system. + // Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + // +optional + FsType *string `protobuf:"bytes,2,opt,name=fsType" json:"fsType,omitempty"` + // storagePolicyName is the storage Policy Based Management (SPBM) profile name. + // +optional + StoragePolicyName *string `protobuf:"bytes,3,opt,name=storagePolicyName" json:"storagePolicyName,omitempty"` + // storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. + // +optional + StoragePolicyID *string `protobuf:"bytes,4,opt,name=storagePolicyID" json:"storagePolicyID,omitempty"` +} + +func (x *VsphereVirtualDiskVolumeSource) Reset() { + *x = VsphereVirtualDiskVolumeSource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[215] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VsphereVirtualDiskVolumeSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {} + +func (x *VsphereVirtualDiskVolumeSource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[215] + 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 VsphereVirtualDiskVolumeSource.ProtoReflect.Descriptor instead. +func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{215} +} + +func (x *VsphereVirtualDiskVolumeSource) GetVolumePath() string { + if x != nil && x.VolumePath != nil { + return *x.VolumePath + } + return "" +} + +func (x *VsphereVirtualDiskVolumeSource) GetFsType() string { + if x != nil && x.FsType != nil { + return *x.FsType + } + return "" +} + +func (x *VsphereVirtualDiskVolumeSource) GetStoragePolicyName() string { + if x != nil && x.StoragePolicyName != nil { + return *x.StoragePolicyName + } + return "" +} + +func (x *VsphereVirtualDiskVolumeSource) GetStoragePolicyID() string { + if x != nil && x.StoragePolicyID != nil { + return *x.StoragePolicyID + } + return "" +} + +// The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) +type WeightedPodAffinityTerm struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // weight associated with matching the corresponding podAffinityTerm, + // in the range 1-100. + Weight *int32 `protobuf:"varint,1,opt,name=weight" json:"weight,omitempty"` + // Required. A pod affinity term, associated with the corresponding weight. + PodAffinityTerm *PodAffinityTerm `protobuf:"bytes,2,opt,name=podAffinityTerm" json:"podAffinityTerm,omitempty"` +} + +func (x *WeightedPodAffinityTerm) Reset() { + *x = WeightedPodAffinityTerm{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[216] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WeightedPodAffinityTerm) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WeightedPodAffinityTerm) ProtoMessage() {} + +func (x *WeightedPodAffinityTerm) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[216] + 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 WeightedPodAffinityTerm.ProtoReflect.Descriptor instead. +func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{216} +} + +func (x *WeightedPodAffinityTerm) GetWeight() int32 { + if x != nil && x.Weight != nil { + return *x.Weight + } + return 0 +} + +func (x *WeightedPodAffinityTerm) GetPodAffinityTerm() *PodAffinityTerm { + if x != nil { + return x.PodAffinityTerm + } + return nil +} + +// WindowsSecurityContextOptions contain Windows-specific options and credentials. +type WindowsSecurityContextOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // GMSACredentialSpecName is the name of the GMSA credential spec to use. + // +optional + GmsaCredentialSpecName *string `protobuf:"bytes,1,opt,name=gmsaCredentialSpecName" json:"gmsaCredentialSpecName,omitempty"` + // GMSACredentialSpec is where the GMSA admission webhook + // (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + // GMSA credential spec named by the GMSACredentialSpecName field. + // +optional + GmsaCredentialSpec *string `protobuf:"bytes,2,opt,name=gmsaCredentialSpec" json:"gmsaCredentialSpec,omitempty"` + // The UserName in Windows to run the entrypoint of the container process. + // Defaults to the user specified in image metadata if unspecified. + // May also be set in PodSecurityContext. If set in both SecurityContext and + // PodSecurityContext, the value specified in SecurityContext takes precedence. + // +optional + RunAsUserName *string `protobuf:"bytes,3,opt,name=runAsUserName" json:"runAsUserName,omitempty"` + // HostProcess determines if a container should be run as a 'Host Process' container. + // All of a Pod's containers must have the same effective HostProcess value + // (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + // In addition, if HostProcess is true then HostNetwork must also be set to true. + // +optional + HostProcess *bool `protobuf:"varint,4,opt,name=hostProcess" json:"hostProcess,omitempty"` +} + +func (x *WindowsSecurityContextOptions) Reset() { + *x = WindowsSecurityContextOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[217] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WindowsSecurityContextOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WindowsSecurityContextOptions) ProtoMessage() {} + +func (x *WindowsSecurityContextOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[217] + 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 WindowsSecurityContextOptions.ProtoReflect.Descriptor instead. +func (*WindowsSecurityContextOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP(), []int{217} +} + +func (x *WindowsSecurityContextOptions) GetGmsaCredentialSpecName() string { + if x != nil && x.GmsaCredentialSpecName != nil { + return *x.GmsaCredentialSpecName + } + return "" +} + +func (x *WindowsSecurityContextOptions) GetGmsaCredentialSpec() string { + if x != nil && x.GmsaCredentialSpec != nil { + return *x.GmsaCredentialSpec + } + return "" +} + +func (x *WindowsSecurityContextOptions) GetRunAsUserName() string { + if x != nil && x.RunAsUserName != nil { + return *x.RunAsUserName + } + return "" +} + +func (x *WindowsSecurityContextOptions) GetHostProcess() bool { + if x != nil && x.HostProcess != nil { + return *x.HostProcess + } + return false +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDesc = []byte{ + 0x0a, 0x5d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, + 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x12, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x1a, 0x6f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, + 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x6f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x65, + 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x6a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, + 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x71, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, + 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x6e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x69, 0x6e, + 0x74, 0x73, 0x74, 0x72, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x20, 0x41, 0x57, 0x53, 0x45, 0x6c, 0x61, 0x73, + 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xe2, 0x01, 0x0a, 0x08, 0x41, 0x66, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x79, 0x12, 0x44, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x6e, 0x6f, + 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x41, 0x0a, 0x0b, 0x70, 0x6f, + 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, + 0x52, 0x0b, 0x70, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x4d, 0x0a, + 0x0f, 0x70, 0x6f, 0x64, 0x41, 0x6e, 0x74, 0x69, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x41, + 0x6e, 0x74, 0x69, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x0f, 0x70, 0x6f, 0x64, + 0x41, 0x6e, 0x74, 0x69, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x22, 0x44, 0x0a, 0x0e, + 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, + 0x74, 0x68, 0x22, 0x5f, 0x0a, 0x09, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x50, 0x6f, 0x64, 0x73, 0x12, + 0x52, 0x0a, 0x0f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x50, 0x6f, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x50, 0x6f, 0x64, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x50, + 0x6f, 0x64, 0x73, 0x22, 0xb7, 0x01, 0x0a, 0x15, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, 0x73, + 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x64, 0x69, 0x73, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, + 0x6b, 0x55, 0x52, 0x49, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x6b, + 0x55, 0x52, 0x49, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x4d, 0x6f, + 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xa5, 0x01, + 0x0a, 0x1f, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x71, 0x0a, 0x15, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, + 0x6c, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, + 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x94, 0x01, 0x0a, 0x07, 0x42, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, + 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, + 0x8e, 0x06, 0x0a, 0x19, 0x43, 0x53, 0x49, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x72, 0x69, 0x76, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x48, + 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, + 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, + 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x6f, 0x0a, + 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x53, 0x49, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x63, + 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x66, 0x12, 0x53, 0x0a, 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, + 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x67, 0x65, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x57, 0x0a, 0x14, 0x6e, 0x6f, 0x64, 0x65, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x14, 0x6e, 0x6f, 0x64, + 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x66, 0x12, 0x61, 0x0a, 0x19, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x45, + 0x78, 0x70, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x19, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x66, 0x12, 0x55, 0x0a, 0x13, 0x6e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x70, 0x61, + 0x6e, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x13, 0x6e, 0x6f, 0x64, 0x65, 0x45, 0x78, 0x70, 0x61, + 0x6e, 0x64, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x1a, 0x43, 0x0a, 0x15, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 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, 0xe7, 0x02, 0x0a, 0x0f, 0x43, 0x53, 0x49, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, + 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, + 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x65, 0x0a, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x53, 0x49, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x5c, 0x0a, 0x14, 0x6e, 0x6f, 0x64, 0x65, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x14, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x52, 0x65, 0x66, 0x1a, 0x43, 0x0a, 0x15, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 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, 0x34, 0x0a, 0x0c, 0x43, 0x61, + 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x64, + 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x61, 0x64, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x72, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, + 0x22, 0xe1, 0x01, 0x0a, 0x1c, 0x43, 0x65, 0x70, 0x68, 0x46, 0x53, 0x50, 0x65, 0x72, 0x73, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x46, + 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, + 0x65, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xdc, 0x01, 0x0a, 0x12, 0x43, 0x65, 0x70, 0x68, 0x46, 0x53, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, + 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d, + 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x75, + 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, + 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, + 0x46, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, + 0x6e, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, + 0x6e, 0x6c, 0x79, 0x22, 0xb1, 0x01, 0x0a, 0x1c, 0x43, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x50, 0x65, + 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, + 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x22, 0xac, 0x01, 0x0a, 0x12, 0x43, 0x69, 0x6e, 0x64, + 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, + 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x46, + 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x22, 0x79, 0x0a, 0x0b, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x19, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x22, 0x38, 0x0a, 0x0e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x70, 0x0a, 0x12, 0x43, + 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xa7, 0x01, + 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x46, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, + 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x70, + 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x05, 0x69, + 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xfb, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x4d, 0x61, 0x70, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, + 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x6d, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x6d, 0x6d, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x3b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x2e, 0x44, 0x61, + 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4d, 0x0a, + 0x0a, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, + 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0a, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x37, 0x0a, 0x09, + 0x44, 0x61, 0x74, 0x61, 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, 0x1a, 0x3d, 0x0a, 0x0f, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x44, + 0x61, 0x74, 0x61, 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, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8e, 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, + 0x61, 0x70, 0x45, 0x6e, 0x76, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x14, 0x6c, + 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xa2, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4d, 0x61, 0x70, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x5c, + 0x0a, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, + 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x90, 0x01, 0x0a, 0x0d, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xb5, 0x01, + 0x0a, 0x19, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, + 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x6b, 0x75, 0x62, + 0x65, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x6b, 0x75, 0x62, 0x65, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x4b, 0x65, 0x79, 0x22, 0xc4, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4d, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, + 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x69, + 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4b, 0x65, 0x79, 0x54, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xe8, 0x01, 0x0a, + 0x15, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x14, + 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x54, 0x6f, 0x50, 0x61, + 0x74, 0x68, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xa4, 0x09, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 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, 0x69, 0x6d, 0x61, + 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x1e, 0x0a, + 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x12, 0x37, 0x0a, + 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x52, + 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x07, 0x65, 0x6e, 0x76, 0x46, 0x72, 0x6f, + 0x6d, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, + 0x46, 0x72, 0x6f, 0x6d, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x46, + 0x72, 0x6f, 0x6d, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x52, 0x03, 0x65, 0x6e, + 0x76, 0x12, 0x46, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x09, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0c, 0x72, 0x65, 0x73, + 0x69, 0x7a, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x69, 0x7a, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x69, + 0x7a, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x43, + 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x09, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x75, + 0x6e, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0d, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x6c, + 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x0d, 0x6c, + 0x69, 0x76, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x41, 0x0a, 0x0e, + 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, + 0x0e, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, + 0x3d, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x18, + 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, + 0x52, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x3b, + 0x0a, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, + 0x52, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x74, + 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x74, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x3a, 0x0a, 0x18, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, + 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, + 0x28, 0x0a, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, + 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4d, 0x0a, 0x0f, 0x73, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, + 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x4f, 0x6e, 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x09, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x4f, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x74, 0x74, 0x79, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x22, 0x44, + 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x22, 0x99, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, + 0x73, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x68, 0x6f, + 0x73, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x6f, 0x73, 0x74, + 0x49, 0x50, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x50, + 0x22, 0x61, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x69, 0x7a, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, + 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x22, 0xe8, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, + 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x57, 0x61, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x07, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x43, 0x0a, 0x07, 0x72, + 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, + 0x12, 0x4c, 0x0a, 0x0a, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, + 0x65, 0x64, 0x52, 0x0a, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x22, 0x61, + 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x48, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x22, 0xb8, 0x02, 0x0a, 0x18, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1a, + 0x0a, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x4a, + 0x0a, 0x0a, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0a, + 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x41, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x22, 0x49, 0x0a, 0x15, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x57, 0x61, + 0x69, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xf3, 0x04, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x6c, 0x61, 0x73, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, + 0x65, 0x61, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, + 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x6d, + 0x61, 0x67, 0x65, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, + 0x64, 0x12, 0x6b, 0x0a, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x46, + 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x1a, 0x75, 0x0a, 0x17, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x24, 0x0a, + 0x0e, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, + 0x6f, 0x72, 0x74, 0x22, 0x58, 0x0a, 0x15, 0x44, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x41, + 0x50, 0x49, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x05, + 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xdb, 0x01, + 0x0a, 0x15, 0x44, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x43, 0x0a, 0x08, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x65, 0x66, + 0x12, 0x55, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x52, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x7c, 0x0a, 0x17, 0x44, + 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x77, + 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, + 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x64, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x7c, 0x0a, 0x14, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x44, 0x69, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x12, 0x4c, 0x0a, 0x09, 0x73, 0x69, 0x7a, + 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x09, 0x73, 0x69, + 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x9c, 0x01, 0x0a, 0x0f, 0x45, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x68, + 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, + 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x22, 0x74, 0x0a, 0x0c, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, + 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x70, + 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x61, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xde, 0x01, 0x0a, + 0x0e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x12, + 0x41, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x12, 0x51, 0x0a, 0x11, 0x6e, 0x6f, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x52, 0x11, 0x6e, 0x6f, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0x97, 0x01, + 0x0a, 0x09, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x07, 0x73, 0x75, 0x62, + 0x73, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x65, 0x74, 0x52, 0x07, + 0x73, 0x75, 0x62, 0x73, 0x65, 0x74, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x0d, 0x45, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xb6, 0x01, 0x0a, 0x0d, 0x45, + 0x6e, 0x76, 0x46, 0x72, 0x6f, 0x6d, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, + 0x65, 0x66, 0x69, 0x78, 0x12, 0x4a, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, + 0x70, 0x52, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x76, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x52, 0x65, 0x66, + 0x12, 0x41, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x45, + 0x6e, 0x76, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x66, 0x22, 0x72, 0x0a, 0x06, 0x45, 0x6e, 0x76, 0x56, 0x61, 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, 0x3e, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x22, 0xc9, 0x02, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x56, + 0x61, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x52, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x12, 0x55, 0x0a, + 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x65, + 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x52, 0x65, 0x66, 0x12, 0x52, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, + 0x70, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x4b, 0x65, 0x79, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, + 0x61, 0x70, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x66, 0x12, 0x49, 0x0a, 0x0c, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0c, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x66, 0x22, 0xb0, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, + 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x68, 0x0a, 0x18, 0x65, 0x70, + 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52, 0x18, 0x65, 0x70, 0x68, 0x65, + 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x43, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb3, 0x09, 0x0a, 0x18, 0x45, 0x70, 0x68, 0x65, 0x6d, + 0x65, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6d, + 0x6d, 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, 0x69, 0x6d, 0x61, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x77, + 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x12, 0x37, 0x0a, 0x05, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x07, 0x65, 0x6e, 0x76, 0x46, 0x72, 0x6f, 0x6d, 0x18, + 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x46, 0x72, + 0x6f, 0x6d, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x46, 0x72, 0x6f, + 0x6d, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, + 0x46, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x69, 0x7a, + 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x69, + 0x7a, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x43, 0x0a, 0x0c, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x75, 0x6e, 0x74, + 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0d, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x6c, 0x69, 0x76, + 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x0d, 0x6c, 0x69, 0x76, + 0x65, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x72, 0x65, + 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x0e, 0x72, + 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x3d, 0x0a, + 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x16, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x52, 0x0c, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x3b, 0x0a, 0x09, + 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x09, + 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x74, 0x65, 0x72, + 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x74, 0x65, 0x72, 0x6d, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x12, 0x3a, 0x0a, 0x18, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x14, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x18, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x28, 0x0a, + 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, + 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4d, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, + 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x1c, 0x0a, 0x09, + 0x73, 0x74, 0x64, 0x69, 0x6e, 0x4f, 0x6e, 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x4f, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, + 0x79, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x22, 0x7c, 0x0a, 0x15, + 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x13, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x13, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, + 0x69, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x9a, 0x06, 0x0a, 0x05, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, + 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x4b, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x0e, 0x69, 0x6e, 0x76, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x37, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0e, 0x66, 0x69, + 0x72, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x50, + 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4d, 0x0a, 0x09, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x73, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x07, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x07, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x72, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, + 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x72, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x88, 0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x2f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x69, 0x74, 0x65, + 0x6d, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x69, + 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x5b, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, + 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, + 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x26, 0x0a, 0x0a, 0x45, 0x78, 0x65, 0x63, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x8c, + 0x01, 0x0a, 0x0e, 0x46, 0x43, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x57, 0x57, 0x4e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x57, 0x57, 0x4e, + 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x75, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, + 0x6c, 0x75, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x77, 0x69, 0x64, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x77, 0x77, 0x69, 0x64, 0x73, 0x22, 0xbe, 0x02, + 0x0a, 0x1a, 0x46, 0x6c, 0x65, 0x78, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, + 0x69, 0x76, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x09, + 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x55, 0x0a, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x6c, 0x65, 0x78, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0xaf, + 0x02, 0x0a, 0x10, 0x46, 0x6c, 0x65, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x66, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, + 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x72, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x4b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, + 0x65, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 0x59, 0x0a, 0x13, 0x46, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x73, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x61, 0x74, + 0x61, 0x73, 0x65, 0x74, 0x55, 0x55, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x55, 0x55, 0x49, 0x44, 0x22, 0x89, 0x01, 0x0a, 0x1d, + 0x47, 0x43, 0x45, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, + 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x70, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, + 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, + 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x3a, 0x0a, 0x0a, 0x47, 0x52, 0x50, 0x43, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x22, 0x6f, 0x0a, 0x13, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x79, 0x22, 0x9f, 0x01, 0x0a, 0x1f, 0x47, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x66, 0x73, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, + 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, + 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x12, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x65, 0x0a, 0x15, 0x47, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x66, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xd7, 0x01, + 0x0a, 0x0d, 0x48, 0x54, 0x54, 0x50, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x12, 0x44, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x75, 0x74, 0x69, 0x6c, + 0x2e, 0x69, 0x6e, 0x74, 0x73, 0x74, 0x72, 0x2e, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x48, 0x54, 0x54, 0x50, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x68, 0x74, 0x74, 0x70, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, 0x36, 0x0a, 0x0a, 0x48, 0x54, 0x54, 0x50, 0x48, + 0x65, 0x61, 0x64, 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, 0x22, + 0x39, 0x0a, 0x09, 0x48, 0x6f, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x09, + 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x09, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x18, 0x0a, 0x06, 0x48, 0x6f, + 0x73, 0x74, 0x49, 0x50, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x70, 0x22, 0x3e, 0x0a, 0x14, 0x48, 0x6f, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x22, 0x9c, 0x03, 0x0a, 0x1b, 0x49, 0x53, 0x43, 0x53, 0x49, 0x50, 0x65, + 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, + 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x71, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x75, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6c, 0x75, 0x6e, 0x12, 0x26, 0x0a, 0x0e, + 0x69, 0x73, 0x63, 0x73, 0x69, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x73, 0x63, 0x73, 0x69, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, + 0x61, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x61, + 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x70, 0x41, 0x75, 0x74, 0x68, 0x44, 0x69, + 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, + 0x68, 0x61, 0x70, 0x41, 0x75, 0x74, 0x68, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, + 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x70, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x70, 0x41, + 0x75, 0x74, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x09, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x24, 0x0a, + 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x22, 0x97, 0x03, 0x0a, 0x11, 0x49, 0x53, 0x43, 0x53, 0x49, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x12, 0x10, 0x0a, + 0x03, 0x69, 0x71, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x69, 0x71, 0x6e, 0x12, + 0x10, 0x0a, 0x03, 0x6c, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6c, 0x75, + 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x69, 0x73, 0x63, 0x73, 0x69, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x73, 0x63, 0x73, 0x69, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, + 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x18, 0x0a, + 0x07, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, + 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x70, 0x41, + 0x75, 0x74, 0x68, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x11, 0x63, 0x68, 0x61, 0x70, 0x41, 0x75, 0x74, 0x68, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x70, 0x41, 0x75, 0x74, + 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, + 0x63, 0x68, 0x61, 0x70, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x46, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x74, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, + 0x09, 0x4b, 0x65, 0x79, 0x54, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, + 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, + 0x6c, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x52, 0x09, 0x70, 0x6f, 0x73, + 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x53, 0x74, 0x6f, + 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x66, + 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x52, 0x07, 0x70, + 0x72, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x22, 0xc6, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x66, 0x65, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x04, 0x65, + 0x78, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x78, 0x65, 0x63, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x65, 0x78, 0x65, 0x63, 0x12, + 0x3b, 0x0a, 0x07, 0x68, 0x74, 0x74, 0x70, 0x47, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x68, 0x74, 0x74, 0x70, 0x47, 0x65, 0x74, 0x12, 0x41, 0x0a, 0x09, + 0x74, 0x63, 0x70, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x43, 0x50, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x74, 0x63, 0x70, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x22, + 0x92, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x4c, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x36, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x22, 0xe7, 0x07, 0x0a, 0x0e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, + 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x03, 0x6d, + 0x61, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4d, 0x61, 0x78, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x12, 0x3d, 0x0a, 0x03, 0x6d, 0x69, + 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4d, 0x69, 0x6e, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x6d, 0x69, 0x6e, 0x12, 0x49, 0x0a, 0x07, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x12, 0x5e, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, + 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x70, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, + 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x4d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x14, 0x6d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x1a, 0x66, 0x0a, 0x08, 0x4d, 0x61, 0x78, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x66, + 0x0a, 0x08, 0x4d, 0x69, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6a, 0x0a, 0x0c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 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, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x1a, 0x71, 0x0a, 0x13, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 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, 0x44, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x77, 0x0a, 0x19, 0x4d, 0x61, 0x78, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x92, + 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, + 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x34, 0x0a, + 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x05, 0x69, 0x74, + 0x65, 0x6d, 0x73, 0x22, 0x4c, 0x0a, 0x0e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x61, 0x6e, 0x67, + 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3a, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x73, 0x22, 0x97, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, + 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x77, 0x0a, 0x13, 0x4c, + 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, + 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x22, 0x57, 0x0a, 0x12, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x69, 0x6e, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x6e, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x2a, 0x0a, + 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x11, 0x4c, 0x6f, 0x63, + 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x59, 0x0a, 0x0f, 0x4e, 0x46, + 0x53, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, + 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, + 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xcd, 0x01, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x35, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, + 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xce, 0x01, 0x0a, 0x12, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5a, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x0d, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x2f, 0x0a, 0x0d, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, + 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, + 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x22, 0x6f, 0x0a, 0x0f, 0x4e, 0x61, + 0x6d, 0x65, 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, + 0x61, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x04, + 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, + 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x30, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x12, 0x36, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3b, 0x0a, 0x0b, + 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xb1, 0x02, 0x0a, 0x0c, 0x4e, 0x6f, + 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x88, 0x01, 0x0a, 0x2e, 0x72, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, + 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, + 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x49, + 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x95, 0x01, 0x0a, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x69, 0x6e, 0x67, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x53, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x2f, 0x70, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, + 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa3, 0x02, + 0x0a, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x58, 0x0a, 0x11, 0x6c, + 0x61, 0x73, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x54, 0x69, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, + 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x52, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, + 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x12, 0x6c, + 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x5f, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x4d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x4d, 0x61, 0x70, 0x22, 0xf4, 0x01, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x61, 0x73, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x06, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x6c, 0x61, 0x73, + 0x74, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x47, 0x6f, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x4b, 0x6e, 0x6f, 0x77, + 0x6e, 0x47, 0x6f, 0x6f, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x63, 0x0a, 0x13, 0x4e, + 0x6f, 0x64, 0x65, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x0f, 0x6b, 0x75, 0x62, 0x65, 0x6c, 0x65, 0x74, 0x45, 0x6e, 0x64, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, + 0x0f, 0x6b, 0x75, 0x62, 0x65, 0x6c, 0x65, 0x74, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x22, 0x86, 0x01, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x05, 0x69, 0x74, 0x65, + 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, + 0x64, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x26, 0x0a, 0x10, 0x4e, 0x6f, 0x64, + 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, + 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x1a, 0x6b, 0x0a, 0x0d, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x62, 0x0a, + 0x0c, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x52, 0x0a, + 0x11, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x72, + 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, + 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x11, + 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x72, 0x6d, + 0x73, 0x22, 0x5f, 0x0a, 0x17, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, + 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x57, 0x0a, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x10, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x4d, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, + 0xa3, 0x02, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x18, 0x0a, 0x07, + 0x70, 0x6f, 0x64, 0x43, 0x49, 0x44, 0x52, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, + 0x6f, 0x64, 0x43, 0x49, 0x44, 0x52, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x64, 0x43, 0x49, 0x44, + 0x52, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x64, 0x43, 0x49, 0x44, + 0x52, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x44, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x49, 0x44, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x6e, 0x73, 0x63, 0x68, + 0x65, 0x64, 0x75, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x74, 0x61, 0x69, 0x6e, + 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, + 0x69, 0x6e, 0x74, 0x52, 0x06, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x0c, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x49, 0x44, 0x22, 0x9d, 0x07, 0x0a, 0x0a, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x48, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x51, + 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, + 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x09, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x09, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x64, 0x61, 0x65, + 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x0f, 0x64, 0x61, 0x65, + 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x3e, 0x0a, 0x08, + 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x06, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x73, 0x49, 0x6e, 0x55, 0x73, 0x65, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x49, 0x6e, 0x55, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0f, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x73, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x06, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x6b, 0x0a, 0x0d, 0x43, 0x61, 0x70, 0x61, + 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6e, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x82, 0x03, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x55, 0x55, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x55, 0x55, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x6f, 0x74, 0x49, 0x44, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x6f, 0x6f, 0x74, 0x49, 0x44, 0x12, 0x24, + 0x0a, 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x73, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x73, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x38, + 0x0a, 0x17, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x75, 0x6e, 0x74, 0x69, + 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x17, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x6b, 0x75, 0x62, 0x65, + 0x6c, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x6b, 0x75, 0x62, 0x65, 0x6c, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x2a, 0x0a, 0x10, 0x6b, 0x75, 0x62, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6b, 0x75, 0x62, 0x65, + 0x50, 0x72, 0x6f, 0x78, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0f, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, + 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, + 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, + 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x22, 0x53, 0x0a, 0x13, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x22, + 0xd1, 0x01, 0x0a, 0x0f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, + 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, + 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, + 0x61, 0x74, 0x68, 0x22, 0xe2, 0x01, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xf1, 0x01, 0x0a, 0x15, 0x50, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, + 0x69, 0x6d, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x41, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x12, 0x47, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, + 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xac, 0x02, 0x0a, + 0x1e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x50, 0x0a, 0x0d, 0x6c, + 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0d, + 0x6c, 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5a, 0x0a, + 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, + 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x19, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, + 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xe1, 0x03, 0x0a, 0x19, 0x50, 0x65, 0x72, 0x73, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, + 0x53, 0x70, 0x65, 0x63, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, + 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x73, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x46, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, + 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x64, + 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, + 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x0d, 0x64, 0x61, + 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0d, 0x64, 0x61, 0x74, + 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x22, 0xbe, 0x06, 0x0a, 0x1b, 0x50, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 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, 0x61, 0x73, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, + 0x65, 0x73, 0x12, 0x59, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x52, 0x0a, + 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x43, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x77, 0x0a, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x47, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x41, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x8c, 0x01, 0x0a, 0x19, 0x61, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, + 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, + 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x1a, 0x6b, 0x0a, 0x0d, 0x43, 0x61, 0x70, + 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x75, 0x0a, 0x17, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4c, 0x0a, + 0x1e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 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, 0xb0, 0x01, 0x0a, 0x1d, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x41, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x5d, + 0x0a, 0x21, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x9e, 0x01, + 0x0a, 0x14, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xa9, + 0x0d, 0x0a, 0x16, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x11, 0x67, 0x63, 0x65, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x43, 0x45, 0x50, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x67, 0x63, 0x65, 0x50, 0x65, 0x72, 0x73, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x68, 0x0a, 0x14, 0x61, 0x77, + 0x73, 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, + 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x57, + 0x53, 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, + 0x72, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x14, + 0x61, 0x77, 0x73, 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, + 0x74, 0x6f, 0x72, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x6f, 0x73, 0x74, + 0x50, 0x61, 0x74, 0x68, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x51, 0x0a, 0x09, 0x67, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x66, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x66, 0x73, 0x50, 0x65, 0x72, 0x73, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x09, 0x67, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x66, 0x73, 0x12, 0x35, 0x0a, + 0x03, 0x6e, 0x66, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4e, 0x46, 0x53, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x03, 0x6e, 0x66, 0x73, 0x12, 0x3f, 0x0a, 0x03, 0x72, 0x62, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x42, 0x44, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x03, 0x72, 0x62, 0x64, 0x12, 0x45, 0x0a, 0x05, 0x69, 0x73, 0x63, 0x73, 0x69, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x53, 0x43, 0x53, 0x49, 0x50, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x05, 0x69, 0x73, 0x63, 0x73, 0x69, 0x12, 0x48, 0x0a, 0x06, + 0x63, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, + 0x63, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x06, 0x63, 0x65, 0x70, 0x68, 0x66, 0x73, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x65, 0x70, 0x68, + 0x46, 0x53, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x63, 0x65, 0x70, 0x68, 0x66, 0x73, + 0x12, 0x32, 0x0a, 0x02, 0x66, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x43, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x02, 0x66, 0x63, 0x12, 0x41, 0x0a, 0x07, 0x66, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x63, 0x6b, + 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, + 0x66, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x4e, 0x0a, 0x0a, 0x66, 0x6c, 0x65, 0x78, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x46, 0x6c, 0x65, 0x78, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0a, 0x66, 0x6c, 0x65, + 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, + 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x58, 0x0a, 0x0d, 0x76, 0x73, + 0x70, 0x68, 0x65, 0x72, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x73, 0x70, 0x68, 0x65, 0x72, 0x65, 0x56, 0x69, + 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0d, 0x76, 0x73, 0x70, 0x68, 0x65, 0x72, 0x65, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x07, 0x71, 0x75, 0x6f, 0x62, 0x79, 0x74, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x6f, 0x62, 0x79, + 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, + 0x71, 0x75, 0x6f, 0x62, 0x79, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, + 0x44, 0x69, 0x73, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, 0x73, 0x6b, + 0x12, 0x68, 0x0a, 0x14, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x14, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x50, 0x0a, 0x0e, 0x70, 0x6f, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x78, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0e, 0x70, 0x6f, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x07, + 0x73, 0x63, 0x61, 0x6c, 0x65, 0x49, 0x4f, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x49, 0x4f, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x49, 0x4f, 0x12, 0x3b, 0x0a, 0x05, 0x6c, 0x6f, 0x63, + 0x61, 0x6c, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, + 0x63, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x12, 0x51, 0x0a, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x6f, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4f, 0x53, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, + 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x6f, 0x73, 0x12, 0x3f, 0x0a, 0x03, 0x63, 0x73, 0x69, + 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x53, 0x49, 0x50, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x03, 0x63, 0x73, 0x69, 0x22, 0xa0, 0x05, 0x0a, 0x14, 0x50, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x70, 0x65, 0x63, 0x12, 0x52, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, + 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, + 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x62, 0x0a, 0x16, 0x70, 0x65, 0x72, 0x73, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x16, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x3f, 0x0a, + 0x08, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x65, 0x66, 0x12, 0x44, + 0x0a, 0x1d, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1d, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, + 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, + 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x4a, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x79, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, + 0x1a, 0x6b, 0x0a, 0x0d, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc6, 0x01, + 0x0a, 0x16, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 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, 0x61, 0x73, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x12, 0x64, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x68, 0x61, 0x73, 0x65, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x17, 0x6c, + 0x61, 0x73, 0x74, 0x50, 0x68, 0x61, 0x73, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x20, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x6e, + 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x64, + 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x64, 0x49, 0x44, 0x12, 0x16, + 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0xbb, 0x01, 0x0a, 0x03, 0x50, 0x6f, 0x64, 0x12, 0x4c, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x50, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x35, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x22, 0xb3, 0x02, 0x0a, 0x0b, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x79, 0x12, 0x8b, 0x01, 0x0a, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, + 0x67, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, + 0x72, 0x6d, 0x52, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, + 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x67, 0x6e, 0x6f, + 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x95, 0x01, 0x0a, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, + 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, + 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, + 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, + 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x91, 0x02, 0x0a, 0x0f, 0x50, + 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x59, + 0x0a, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, + 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x70, + 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x61, 0x0a, 0x11, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, + 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, + 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x11, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0xb7, + 0x02, 0x0a, 0x0f, 0x50, 0x6f, 0x64, 0x41, 0x6e, 0x74, 0x69, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x79, 0x12, 0x8b, 0x01, 0x0a, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, + 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x49, + 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, + 0x52, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, + 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, + 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x95, 0x01, 0x0a, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x44, 0x75, + 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x49, 0x67, + 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, + 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, + 0x6e, 0x67, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x44, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x88, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x64, + 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, + 0x64, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x64, + 0x65, 0x72, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x03, 0x74, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x22, 0x9a, 0x02, 0x0a, 0x0c, 0x50, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x8e, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x64, 0x44, 0x4e, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x73, 0x12, + 0x40, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x44, 0x4e, 0x53, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x3e, 0x0a, 0x12, 0x50, 0x6f, 0x64, 0x44, 0x4e, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 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, 0x22, 0xa0, 0x01, 0x0a, 0x0e, 0x50, 0x6f, 0x64, 0x45, 0x78, 0x65, 0x63, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x64, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, + 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x61, 0x6e, 0x64, 0x22, 0x17, 0x0a, 0x05, 0x50, 0x6f, 0x64, 0x49, 0x50, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x84, 0x01, + 0x0a, 0x07, 0x50, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x52, 0x05, 0x69, + 0x74, 0x65, 0x6d, 0x73, 0x22, 0xf1, 0x02, 0x0a, 0x0d, 0x50, 0x6f, 0x64, 0x4c, 0x6f, 0x67, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x63, + 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, + 0x73, 0x69, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x09, + 0x73, 0x69, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x73, 0x69, 0x6e, + 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x61, 0x69, 0x6c, 0x4c, 0x69, + 0x6e, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x61, 0x69, 0x6c, 0x4c, + 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x1c, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, + 0x53, 0x6b, 0x69, 0x70, 0x54, 0x4c, 0x53, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x42, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x69, 0x6e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x65, 0x53, 0x6b, 0x69, 0x70, 0x54, 0x4c, 0x53, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x79, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x22, 0x1b, 0x0a, 0x05, 0x50, 0x6f, 0x64, 0x4f, + 0x53, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2d, 0x0a, 0x15, 0x50, 0x6f, 0x64, 0x50, 0x6f, 0x72, 0x74, + 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, + 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x22, 0x25, 0x0a, 0x0f, 0x50, 0x6f, 0x64, 0x50, 0x72, 0x6f, 0x78, 0x79, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x38, 0x0a, 0x10, 0x50, + 0x6f, 0x64, 0x52, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x47, 0x61, 0x74, 0x65, 0x12, + 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x10, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, + 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x5a, 0x0a, 0x16, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4e, 0x61, + 0x6d, 0x65, 0x22, 0x27, 0x0a, 0x11, 0x50, 0x6f, 0x64, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x69, 0x6e, 0x67, 0x47, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9b, 0x04, 0x0a, 0x12, + 0x50, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x12, 0x4a, 0x0a, 0x0e, 0x73, 0x65, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x45, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, + 0x73, 0x65, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, + 0x0a, 0x0e, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x6e, 0x64, + 0x6f, 0x77, 0x73, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x77, 0x69, 0x6e, 0x64, 0x6f, + 0x77, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x75, 0x6e, + 0x41, 0x73, 0x55, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x75, + 0x6e, 0x41, 0x73, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x41, 0x73, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x75, 0x6e, + 0x41, 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x41, 0x73, + 0x4e, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, + 0x75, 0x6e, 0x41, 0x73, 0x4e, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x73, + 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x12, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x66, + 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x73, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x34, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x73, 0x63, + 0x74, 0x6c, 0x52, 0x07, 0x73, 0x79, 0x73, 0x63, 0x74, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x66, + 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x66, 0x73, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4a, 0x0a, + 0x0e, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x63, 0x6f, + 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0e, 0x73, 0x65, 0x63, 0x63, 0x6f, + 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x6a, 0x0a, 0x0c, 0x50, 0x6f, 0x64, + 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x5a, 0x0a, 0x0d, 0x70, 0x6f, 0x64, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0d, 0x70, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x92, 0x12, 0x0a, 0x07, 0x50, 0x6f, 0x64, 0x53, 0x70, 0x65, + 0x63, 0x12, 0x34, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x07, + 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x0e, 0x69, 0x6e, 0x69, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0e, + 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x3d, + 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x58, 0x0a, + 0x13, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x73, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x52, 0x13, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x44, 0x0a, + 0x1d, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x63, + 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x61, + 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x15, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, + 0x6e, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x6e, 0x73, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x6e, + 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x51, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6e, 0x6f, + 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x49, 0x44, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x49, 0x44, 0x12, 0x18, + 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x50, 0x43, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x50, 0x43, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x68, 0x61, 0x72, + 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x68, 0x61, 0x72, 0x65, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x50, + 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, + 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, + 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x12, 0x54, 0x0a, 0x10, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x52, 0x10, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x75, 0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x12, 0x38, 0x0a, 0x08, 0x61, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, + 0x52, 0x08, 0x61, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x63, + 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6c, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x3f, 0x0a, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, + 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x6f, 0x73, + 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, + 0x73, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, + 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x19, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3e, 0x0a, + 0x09, 0x64, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x44, 0x4e, 0x53, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4c, 0x0a, + 0x0e, 0x72, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x47, 0x61, 0x74, 0x65, 0x73, 0x18, + 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x52, 0x65, + 0x61, 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x47, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x61, + 0x64, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x47, 0x61, 0x74, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x72, + 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x1e, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x65, 0x6d, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x70, 0x72, 0x65, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x12, 0x45, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x18, + 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x70, + 0x65, 0x63, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x12, 0x6a, 0x0a, 0x19, 0x74, 0x6f, + 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x53, 0x70, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x73, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x53, 0x70, 0x72, 0x65, 0x61, + 0x64, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x19, 0x74, 0x6f, 0x70, + 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x53, 0x70, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, 0x73, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x65, 0x74, 0x48, 0x6f, 0x73, + 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x73, 0x46, 0x51, 0x44, 0x4e, 0x18, 0x23, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x11, 0x73, 0x65, 0x74, 0x48, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x73, + 0x46, 0x51, 0x44, 0x4e, 0x12, 0x29, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x4f, 0x53, 0x52, 0x02, 0x6f, 0x73, 0x12, + 0x1c, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x18, 0x25, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x4f, 0x0a, + 0x0f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x74, 0x65, 0x73, + 0x18, 0x26, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x73, + 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x74, 0x65, 0x73, 0x12, 0x4c, + 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, + 0x18, 0x27, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x0e, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x1a, 0x3f, 0x0a, 0x11, + 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 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, 0x1a, 0x6b, 0x0a, + 0x0d, 0x4f, 0x76, 0x65, 0x72, 0x68, 0x65, 0x61, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcd, 0x06, 0x0a, 0x09, 0x50, + 0x6f, 0x64, 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, 0x61, 0x73, 0x65, 0x12, 0x40, + 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x43, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x11, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6e, + 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x50, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x50, 0x12, 0x34, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, + 0x49, 0x50, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, + 0x6f, 0x73, 0x74, 0x49, 0x50, 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x50, 0x73, 0x12, 0x14, + 0x0a, 0x05, 0x70, 0x6f, 0x64, 0x49, 0x50, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, + 0x6f, 0x64, 0x49, 0x50, 0x12, 0x31, 0x0a, 0x06, 0x70, 0x6f, 0x64, 0x49, 0x50, 0x73, 0x18, 0x0c, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x49, 0x50, 0x52, + 0x06, 0x70, 0x6f, 0x64, 0x49, 0x50, 0x73, 0x12, 0x48, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x54, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x59, 0x0a, 0x15, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x15, 0x69, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x11, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, + 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, + 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x11, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, + 0x1a, 0x0a, 0x08, 0x71, 0x6f, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x71, 0x6f, 0x73, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x63, 0x0a, 0x1a, 0x65, + 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x1a, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, + 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x60, 0x0a, 0x15, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, + 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x15, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, + 0x69, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x0f, 0x50, + 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4c, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x35, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x0b, 0x50, 0x6f, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x3f, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x22, 0x94, 0x01, 0x0a, 0x0f, 0x50, 0x6f, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x35, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x0f, 0x50, 0x6f, + 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x4c, 0x0a, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x6f, 0x64, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x52, 0x0a, 0x0a, + 0x50, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, + 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x22, 0x66, 0x0a, 0x14, 0x50, 0x6f, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x78, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x21, 0x0a, 0x0d, 0x50, 0x72, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x14, + 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x41, 0x76, 0x6f, 0x69, 0x64, 0x50, 0x6f, 0x64, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x44, 0x0a, 0x0c, 0x70, 0x6f, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x50, 0x6f, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0c, 0x70, 0x6f, + 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x4e, 0x0a, 0x0c, 0x65, 0x76, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0c, 0x65, 0x76, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x77, 0x0a, 0x17, + 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, + 0x69, 0x6e, 0x67, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, + 0x44, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x72, 0x6d, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0xe1, 0x02, 0x0a, 0x05, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, + 0x3a, 0x0a, 0x07, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, + 0x65, 0x72, 0x52, 0x07, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x13, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, + 0x6c, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x26, 0x0a, + 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x70, 0x65, + 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x68, + 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x75, + 0x72, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x10, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, + 0x6f, 0x6c, 0x64, 0x12, 0x44, 0x0a, 0x1d, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x74, 0x65, 0x72, 0x6d, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, + 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x0c, 0x50, 0x72, + 0x6f, 0x62, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x04, 0x65, 0x78, + 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, + 0x65, 0x63, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x65, 0x78, 0x65, 0x63, 0x12, 0x3b, + 0x0a, 0x07, 0x68, 0x74, 0x74, 0x70, 0x47, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x07, 0x68, 0x74, 0x74, 0x70, 0x47, 0x65, 0x74, 0x12, 0x41, 0x0a, 0x09, 0x74, + 0x63, 0x70, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x43, 0x50, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x74, 0x63, 0x70, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x32, + 0x0a, 0x04, 0x67, 0x72, 0x70, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x47, 0x52, 0x50, 0x43, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x67, 0x72, + 0x70, 0x63, 0x22, 0x79, 0x0a, 0x15, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x07, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xa7, 0x01, + 0x0a, 0x13, 0x51, 0x75, 0x6f, 0x62, 0x79, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, + 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, + 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, + 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x22, 0x86, 0x02, 0x0a, 0x19, 0x52, 0x42, 0x44, 0x50, + 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x6f, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x72, 0x69, + 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x72, 0x69, 0x6e, + 0x67, 0x12, 0x41, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, + 0x22, 0x81, 0x02, 0x0a, 0x0f, 0x52, 0x42, 0x44, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, + 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x72, 0x69, 0x6e, + 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x72, 0x69, 0x6e, 0x67, + 0x12, 0x46, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x89, 0x01, 0x0a, 0x0f, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x41, 0x6c, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0xf1, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x41, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x47, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x5a, 0x0a, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x12, 0x6c, 0x61, 0x73, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x05, 0x69, + 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xb8, 0x02, 0x0a, + 0x19, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x61, + 0x64, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0f, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x12, 0x57, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x70, 0x65, + 0x63, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x3f, 0x0a, 0x08, 0x74, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x6f, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x70, 0x65, 0x63, + 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 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, 0xc5, 0x02, 0x0a, 0x1b, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x4c, 0x61, 0x62, 0x65, + 0x6c, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x65, 0x64, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x61, 0x64, 0x79, + 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x2c, 0x0a, + 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6f, + 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x0a, 0x63, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x32, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x23, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x24, + 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x12, 0x48, 0x0a, 0x07, 0x64, 0x69, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x52, 0x07, 0x64, 0x69, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x22, 0xd9, 0x01, 0x0a, 0x0d, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x4c, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, + 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x53, 0x70, 0x65, 0x63, 0x52, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x98, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x22, 0xa2, 0x02, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x51, 0x75, + 0x6f, 0x74, 0x61, 0x53, 0x70, 0x65, 0x63, 0x12, 0x43, 0x0a, 0x04, 0x68, 0x61, 0x72, 0x64, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x48, 0x61, 0x72, + 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x68, 0x61, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, + 0x6f, 0x70, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0d, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d, + 0x73, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x1a, 0x67, 0x0a, + 0x09, 0x48, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf5, 0x02, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x45, + 0x0a, 0x04, 0x68, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x48, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x04, 0x68, 0x61, 0x72, 0x64, 0x12, 0x45, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x55, 0x73, 0x65, + 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x1a, 0x67, 0x0a, 0x09, + 0x48, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x67, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcb, + 0x03, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x52, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x63, 0x6c, 0x61, + 0x69, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x52, 0x06, 0x63, 0x6c, + 0x61, 0x69, 0x6d, 0x73, 0x1a, 0x69, 0x0a, 0x0b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 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, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, + 0x6b, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x62, 0x0a, 0x0e, + 0x53, 0x45, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, + 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x22, 0xf8, 0x02, 0x0a, 0x1d, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x49, 0x4f, 0x50, 0x65, 0x72, 0x73, + 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x12, 0x41, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, + 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x73, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x73, 0x6c, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, + 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xf3, 0x02, 0x0a, 0x13, + 0x53, 0x63, 0x61, 0x6c, 0x65, 0x49, 0x4f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x46, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, + 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, + 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x1e, 0x0a, + 0x0a, 0x73, 0x73, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0a, 0x73, 0x73, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2a, 0x0a, + 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, + 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, + 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, + 0x79, 0x22, 0x72, 0x0a, 0x0d, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x12, 0x61, 0x0a, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x75, 0x0a, 0x21, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x63, + 0x6f, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, + 0x63, 0x6f, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x50, 0x0a, 0x0e, + 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x50, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x6f, + 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x86, + 0x03, 0x0a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6d, 0x6d, 0x75, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x6d, 0x6d, 0x75, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, + 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x4a, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x0a, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, + 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 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, 0x0c, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 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, 0x8b, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x45, 0x6e, 0x76, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x14, 0x6c, + 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x9f, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x4b, 0x65, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x5c, 0x0a, 0x14, 0x6c, + 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x8a, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x30, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x05, 0x69, + 0x74, 0x65, 0x6d, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x14, 0x6c, 0x6f, 0x63, + 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, + 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x54, + 0x6f, 0x50, 0x61, 0x74, 0x68, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0x43, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xa7, 0x01, + 0x0a, 0x12, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x54, 0x6f, 0x50, 0x61, + 0x74, 0x68, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xde, 0x04, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x44, 0x0a, 0x0c, 0x63, + 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x0c, 0x63, 0x61, 0x70, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, + 0x64, 0x12, 0x4a, 0x0a, 0x0e, 0x73, 0x65, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x45, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x73, + 0x65, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, + 0x0e, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, + 0x77, 0x73, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0e, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, + 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x75, 0x6e, 0x41, + 0x73, 0x55, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x75, 0x6e, + 0x41, 0x73, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x41, 0x73, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x75, 0x6e, 0x41, + 0x73, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x41, 0x73, 0x4e, + 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x75, + 0x6e, 0x41, 0x73, 0x4e, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, + 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x72, 0x65, 0x61, 0x64, + 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x6f, 0x6f, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x12, 0x3a, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x76, 0x69, + 0x6c, 0x65, 0x67, 0x65, 0x45, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x50, 0x72, 0x69, 0x76, 0x69, + 0x6c, 0x65, 0x67, 0x65, 0x45, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, + 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x0e, + 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x63, 0x6f, 0x6d, + 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0e, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, + 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x58, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x69, + 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, + 0x41, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4c, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x33, 0x0a, 0x04, + 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xb7, 0x02, 0x0a, + 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x4c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, + 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3d, 0x0a, + 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x54, 0x0a, 0x10, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, + 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x52, 0x10, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x73, 0x12, 0x42, 0x0a, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x05, 0x69, 0x74, 0x65, + 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x05, 0x69, 0x74, + 0x65, 0x6d, 0x73, 0x22, 0x7d, 0x0a, 0x1d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, + 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x22, 0x8c, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, + 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x22, 0xe1, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x50, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x69, 0x6e, 0x74, 0x73, 0x74, + 0x72, 0x2e, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, + 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6e, 0x6f, 0x64, + 0x65, 0x50, 0x6f, 0x72, 0x74, 0x22, 0x29, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x22, 0xe9, 0x07, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, + 0x12, 0x35, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, + 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x49, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x50, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x50, + 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x50, 0x73, 0x18, 0x12, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x50, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x49, 0x50, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x49, 0x50, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, + 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, + 0x49, 0x50, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x49, 0x50, 0x12, 0x3a, 0x0a, 0x18, 0x6c, 0x6f, 0x61, 0x64, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x61, + 0x6e, 0x67, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6c, 0x6f, 0x61, 0x64, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x61, + 0x6e, 0x67, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x30, + 0x0a, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, + 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x68, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x6f, 0x72, 0x74, + 0x12, 0x3a, 0x0a, 0x18, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x52, 0x65, + 0x61, 0x64, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x18, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x52, 0x65, + 0x61, 0x64, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x15, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, + 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1e, 0x0a, + 0x0a, 0x69, 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x69, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0a, 0x69, 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, + 0x0e, 0x69, 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x70, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x44, 0x0a, 0x1d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x4e, 0x6f, 0x64, + 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x61, 0x6c, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x6c, + 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, + 0x3b, 0x0a, 0x0d, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 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, 0xac, 0x01, 0x0a, + 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4a, + 0x0a, 0x0c, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x6c, 0x6f, + 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x0a, 0x63, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x57, 0x0a, 0x15, 0x53, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3e, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x49, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x49, 0x50, 0x22, 0xe2, 0x01, 0x0a, 0x1f, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x4f, 0x53, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, + 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, + 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x52, 0x65, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, + 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x22, 0xdd, 0x01, 0x0a, 0x15, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4f, 0x53, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, + 0x79, 0x12, 0x46, 0x0a, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, + 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52, 0x65, 0x66, 0x22, 0x32, 0x0a, 0x06, 0x53, 0x79, 0x73, + 0x63, 0x74, 0x6c, 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, 0x22, 0x6b, 0x0a, + 0x0f, 0x54, 0x43, 0x50, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x44, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x69, 0x6e, + 0x74, 0x73, 0x74, 0x72, 0x2e, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x05, 0x54, + 0x61, 0x69, 0x6e, 0x74, 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, 0x12, 0x16, 0x0a, 0x06, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x12, 0x48, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x65, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x41, 0x64, 0x64, 0x65, 0x64, 0x22, 0x96, + 0x01, 0x0a, 0x0a, 0x54, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x74, 0x6f, 0x6c, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x4c, 0x0a, 0x20, 0x54, 0x6f, 0x70, 0x6f, 0x6c, + 0x6f, 0x67, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x16, 0x0a, + 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x82, 0x01, 0x0a, 0x14, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, + 0x67, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x6a, + 0x0a, 0x15, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x45, 0x78, 0x70, 0x72, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x15, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x45, + 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x83, 0x03, 0x0a, 0x18, 0x54, + 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x53, 0x70, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x6e, + 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x6b, + 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x6b, 0x65, + 0x77, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x4b, 0x65, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, + 0x4b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x11, 0x77, 0x68, 0x65, 0x6e, 0x55, 0x6e, 0x73, 0x61, 0x74, + 0x69, 0x73, 0x66, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, + 0x77, 0x68, 0x65, 0x6e, 0x55, 0x6e, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x61, 0x62, 0x6c, + 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, + 0x6d, 0x69, 0x6e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0a, 0x6d, 0x69, 0x6e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x12, + 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x66, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2a, 0x0a, 0x10, + 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x69, 0x6e, + 0x74, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x4b, 0x65, 0x79, 0x73, + 0x22, 0x5f, 0x0a, 0x19, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x61, 0x70, 0x69, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x78, 0x0a, 0x14, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x70, 0x69, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x70, 0x69, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x62, 0x0a, 0x06, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, + 0x42, 0x0a, 0x0c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x22, 0xc3, 0x01, 0x0a, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, + 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, + 0x6e, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x74, + 0x68, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x50, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x10, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, + 0x61, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x50, 0x61, + 0x74, 0x68, 0x45, 0x78, 0x70, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x75, + 0x62, 0x50, 0x61, 0x74, 0x68, 0x45, 0x78, 0x70, 0x72, 0x22, 0x52, 0x0a, 0x12, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x12, + 0x3c, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xc9, 0x02, + 0x0a, 0x10, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x12, 0x4b, 0x0a, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x77, + 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x12, 0x45, 0x0a, + 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x4d, 0x61, 0x70, 0x12, 0x63, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xde, 0x10, 0x0a, 0x0c, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x68, 0x6f, + 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x44, 0x0a, 0x08, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x44, 0x69, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x44, 0x69, 0x72, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x65, 0x6d, + 0x70, 0x74, 0x79, 0x44, 0x69, 0x72, 0x12, 0x5f, 0x0a, 0x11, 0x67, 0x63, 0x65, 0x50, 0x65, 0x72, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x43, 0x45, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, + 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x67, 0x63, 0x65, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, + 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x68, 0x0a, 0x14, 0x61, 0x77, 0x73, 0x45, 0x6c, + 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x57, 0x53, 0x45, 0x6c, + 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x14, 0x61, 0x77, 0x73, + 0x45, 0x6c, 0x61, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x6f, 0x72, + 0x65, 0x12, 0x41, 0x0a, 0x07, 0x67, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, + 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x67, 0x69, 0x74, + 0x52, 0x65, 0x70, 0x6f, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x03, 0x6e, 0x66, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, + 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x46, 0x53, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x03, 0x6e, 0x66, 0x73, 0x12, 0x3b, 0x0a, 0x05, 0x69, + 0x73, 0x63, 0x73, 0x69, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x49, 0x53, 0x43, 0x53, 0x49, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x05, 0x69, 0x73, 0x63, 0x73, 0x69, 0x12, 0x47, 0x0a, 0x09, 0x67, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x66, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x66, 0x73, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x67, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x66, + 0x73, 0x12, 0x6b, 0x0a, 0x15, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x56, + 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x35, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, + 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x15, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, + 0x65, 0x6e, 0x74, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x35, + 0x0a, 0x03, 0x72, 0x62, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x52, 0x42, 0x44, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x03, 0x72, 0x62, 0x64, 0x12, 0x44, 0x0a, 0x0a, 0x66, 0x6c, 0x65, 0x78, 0x56, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, + 0x6c, 0x65, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x0a, 0x66, 0x6c, 0x65, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x63, + 0x69, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x06, 0x63, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x06, 0x63, + 0x65, 0x70, 0x68, 0x66, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x65, 0x70, 0x68, 0x46, 0x53, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x06, 0x63, 0x65, 0x70, 0x68, 0x66, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x66, + 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x66, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x4d, + 0x0a, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x18, 0x10, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, + 0x64, 0x41, 0x50, 0x49, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x41, 0x50, 0x49, 0x12, 0x32, 0x0a, + 0x02, 0x66, 0x63, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, + 0x43, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x02, 0x66, + 0x63, 0x12, 0x47, 0x0a, 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x12, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x46, + 0x69, 0x6c, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x47, 0x0a, 0x09, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4d, 0x61, 0x70, 0x12, 0x58, 0x0a, 0x0d, 0x76, 0x73, 0x70, 0x68, 0x65, 0x72, 0x65, 0x56, 0x6f, + 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x56, 0x73, 0x70, 0x68, 0x65, 0x72, 0x65, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x69, + 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0d, + 0x76, 0x73, 0x70, 0x68, 0x65, 0x72, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x41, 0x0a, + 0x07, 0x71, 0x75, 0x6f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x6f, 0x62, 0x79, 0x74, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x71, 0x75, 0x6f, 0x62, 0x79, 0x74, 0x65, + 0x12, 0x47, 0x0a, 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x18, 0x16, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, + 0x73, 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, + 0x61, 0x7a, 0x75, 0x72, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x68, 0x0a, 0x14, 0x70, 0x68, 0x6f, + 0x74, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, + 0x6b, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x6f, + 0x74, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, + 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x14, 0x70, + 0x68, 0x6f, 0x74, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, + 0x69, 0x73, 0x6b, 0x12, 0x47, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x50, 0x0a, 0x0e, + 0x70, 0x6f, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x18, 0x18, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x77, 0x6f, + 0x72, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0e, + 0x70, 0x6f, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x41, + 0x0a, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x49, 0x4f, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x49, 0x4f, 0x56, 0x6f, 0x6c, 0x75, + 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x49, + 0x4f, 0x12, 0x47, 0x0a, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x6f, 0x73, 0x18, 0x1b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x4f, 0x53, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x6f, 0x73, 0x12, 0x35, 0x0a, 0x03, 0x63, 0x73, + 0x69, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x53, 0x49, + 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x03, 0x63, 0x73, + 0x69, 0x12, 0x47, 0x0a, 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x18, 0x1d, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, + 0x72, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x09, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x22, 0xb0, 0x01, 0x0a, 0x1e, 0x56, + 0x73, 0x70, 0x68, 0x65, 0x72, 0x65, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x44, 0x69, 0x73, + 0x6b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, + 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, + 0x06, 0x66, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x11, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x44, 0x22, 0x80, 0x01, + 0x0a, 0x17, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x12, 0x4d, 0x0a, 0x0f, 0x70, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, + 0x54, 0x65, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x50, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, 0x52, + 0x0f, 0x70, 0x6f, 0x64, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x54, 0x65, 0x72, 0x6d, + 0x22, 0xcf, 0x01, 0x0a, 0x1d, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x53, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x36, 0x0a, 0x16, 0x67, 0x6d, 0x73, 0x61, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x61, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x16, 0x67, 0x6d, 0x73, 0x61, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x61, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x67, 0x6d, + 0x73, 0x61, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x70, 0x65, 0x63, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x67, 0x6d, 0x73, 0x61, 0x43, 0x72, 0x65, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x75, + 0x6e, 0x41, 0x73, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x72, 0x75, 0x6e, 0x41, 0x73, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x42, 0x53, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, + 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes = make([]protoimpl.MessageInfo, 248) +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_goTypes = []interface{}{ + (*AWSElasticBlockStoreVolumeSource)(nil), // 0: k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource + (*Affinity)(nil), // 1: k8s.io.api.core.v1.Affinity + (*AttachedVolume)(nil), // 2: k8s.io.api.core.v1.AttachedVolume + (*AvoidPods)(nil), // 3: k8s.io.api.core.v1.AvoidPods + (*AzureDiskVolumeSource)(nil), // 4: k8s.io.api.core.v1.AzureDiskVolumeSource + (*AzureFilePersistentVolumeSource)(nil), // 5: k8s.io.api.core.v1.AzureFilePersistentVolumeSource + (*AzureFileVolumeSource)(nil), // 6: k8s.io.api.core.v1.AzureFileVolumeSource + (*Binding)(nil), // 7: k8s.io.api.core.v1.Binding + (*CSIPersistentVolumeSource)(nil), // 8: k8s.io.api.core.v1.CSIPersistentVolumeSource + (*CSIVolumeSource)(nil), // 9: k8s.io.api.core.v1.CSIVolumeSource + (*Capabilities)(nil), // 10: k8s.io.api.core.v1.Capabilities + (*CephFSPersistentVolumeSource)(nil), // 11: k8s.io.api.core.v1.CephFSPersistentVolumeSource + (*CephFSVolumeSource)(nil), // 12: k8s.io.api.core.v1.CephFSVolumeSource + (*CinderPersistentVolumeSource)(nil), // 13: k8s.io.api.core.v1.CinderPersistentVolumeSource + (*CinderVolumeSource)(nil), // 14: k8s.io.api.core.v1.CinderVolumeSource + (*ClaimSource)(nil), // 15: k8s.io.api.core.v1.ClaimSource + (*ClientIPConfig)(nil), // 16: k8s.io.api.core.v1.ClientIPConfig + (*ComponentCondition)(nil), // 17: k8s.io.api.core.v1.ComponentCondition + (*ComponentStatus)(nil), // 18: k8s.io.api.core.v1.ComponentStatus + (*ComponentStatusList)(nil), // 19: k8s.io.api.core.v1.ComponentStatusList + (*ConfigMap)(nil), // 20: k8s.io.api.core.v1.ConfigMap + (*ConfigMapEnvSource)(nil), // 21: k8s.io.api.core.v1.ConfigMapEnvSource + (*ConfigMapKeySelector)(nil), // 22: k8s.io.api.core.v1.ConfigMapKeySelector + (*ConfigMapList)(nil), // 23: k8s.io.api.core.v1.ConfigMapList + (*ConfigMapNodeConfigSource)(nil), // 24: k8s.io.api.core.v1.ConfigMapNodeConfigSource + (*ConfigMapProjection)(nil), // 25: k8s.io.api.core.v1.ConfigMapProjection + (*ConfigMapVolumeSource)(nil), // 26: k8s.io.api.core.v1.ConfigMapVolumeSource + (*Container)(nil), // 27: k8s.io.api.core.v1.Container + (*ContainerImage)(nil), // 28: k8s.io.api.core.v1.ContainerImage + (*ContainerPort)(nil), // 29: k8s.io.api.core.v1.ContainerPort + (*ContainerResizePolicy)(nil), // 30: k8s.io.api.core.v1.ContainerResizePolicy + (*ContainerState)(nil), // 31: k8s.io.api.core.v1.ContainerState + (*ContainerStateRunning)(nil), // 32: k8s.io.api.core.v1.ContainerStateRunning + (*ContainerStateTerminated)(nil), // 33: k8s.io.api.core.v1.ContainerStateTerminated + (*ContainerStateWaiting)(nil), // 34: k8s.io.api.core.v1.ContainerStateWaiting + (*ContainerStatus)(nil), // 35: k8s.io.api.core.v1.ContainerStatus + (*DaemonEndpoint)(nil), // 36: k8s.io.api.core.v1.DaemonEndpoint + (*DownwardAPIProjection)(nil), // 37: k8s.io.api.core.v1.DownwardAPIProjection + (*DownwardAPIVolumeFile)(nil), // 38: k8s.io.api.core.v1.DownwardAPIVolumeFile + (*DownwardAPIVolumeSource)(nil), // 39: k8s.io.api.core.v1.DownwardAPIVolumeSource + (*EmptyDirVolumeSource)(nil), // 40: k8s.io.api.core.v1.EmptyDirVolumeSource + (*EndpointAddress)(nil), // 41: k8s.io.api.core.v1.EndpointAddress + (*EndpointPort)(nil), // 42: k8s.io.api.core.v1.EndpointPort + (*EndpointSubset)(nil), // 43: k8s.io.api.core.v1.EndpointSubset + (*Endpoints)(nil), // 44: k8s.io.api.core.v1.Endpoints + (*EndpointsList)(nil), // 45: k8s.io.api.core.v1.EndpointsList + (*EnvFromSource)(nil), // 46: k8s.io.api.core.v1.EnvFromSource + (*EnvVar)(nil), // 47: k8s.io.api.core.v1.EnvVar + (*EnvVarSource)(nil), // 48: k8s.io.api.core.v1.EnvVarSource + (*EphemeralContainer)(nil), // 49: k8s.io.api.core.v1.EphemeralContainer + (*EphemeralContainerCommon)(nil), // 50: k8s.io.api.core.v1.EphemeralContainerCommon + (*EphemeralVolumeSource)(nil), // 51: k8s.io.api.core.v1.EphemeralVolumeSource + (*Event)(nil), // 52: k8s.io.api.core.v1.Event + (*EventList)(nil), // 53: k8s.io.api.core.v1.EventList + (*EventSeries)(nil), // 54: k8s.io.api.core.v1.EventSeries + (*EventSource)(nil), // 55: k8s.io.api.core.v1.EventSource + (*ExecAction)(nil), // 56: k8s.io.api.core.v1.ExecAction + (*FCVolumeSource)(nil), // 57: k8s.io.api.core.v1.FCVolumeSource + (*FlexPersistentVolumeSource)(nil), // 58: k8s.io.api.core.v1.FlexPersistentVolumeSource + (*FlexVolumeSource)(nil), // 59: k8s.io.api.core.v1.FlexVolumeSource + (*FlockerVolumeSource)(nil), // 60: k8s.io.api.core.v1.FlockerVolumeSource + (*GCEPersistentDiskVolumeSource)(nil), // 61: k8s.io.api.core.v1.GCEPersistentDiskVolumeSource + (*GRPCAction)(nil), // 62: k8s.io.api.core.v1.GRPCAction + (*GitRepoVolumeSource)(nil), // 63: k8s.io.api.core.v1.GitRepoVolumeSource + (*GlusterfsPersistentVolumeSource)(nil), // 64: k8s.io.api.core.v1.GlusterfsPersistentVolumeSource + (*GlusterfsVolumeSource)(nil), // 65: k8s.io.api.core.v1.GlusterfsVolumeSource + (*HTTPGetAction)(nil), // 66: k8s.io.api.core.v1.HTTPGetAction + (*HTTPHeader)(nil), // 67: k8s.io.api.core.v1.HTTPHeader + (*HostAlias)(nil), // 68: k8s.io.api.core.v1.HostAlias + (*HostIP)(nil), // 69: k8s.io.api.core.v1.HostIP + (*HostPathVolumeSource)(nil), // 70: k8s.io.api.core.v1.HostPathVolumeSource + (*ISCSIPersistentVolumeSource)(nil), // 71: k8s.io.api.core.v1.ISCSIPersistentVolumeSource + (*ISCSIVolumeSource)(nil), // 72: k8s.io.api.core.v1.ISCSIVolumeSource + (*KeyToPath)(nil), // 73: k8s.io.api.core.v1.KeyToPath + (*Lifecycle)(nil), // 74: k8s.io.api.core.v1.Lifecycle + (*LifecycleHandler)(nil), // 75: k8s.io.api.core.v1.LifecycleHandler + (*LimitRange)(nil), // 76: k8s.io.api.core.v1.LimitRange + (*LimitRangeItem)(nil), // 77: k8s.io.api.core.v1.LimitRangeItem + (*LimitRangeList)(nil), // 78: k8s.io.api.core.v1.LimitRangeList + (*LimitRangeSpec)(nil), // 79: k8s.io.api.core.v1.LimitRangeSpec + (*List)(nil), // 80: k8s.io.api.core.v1.List + (*LoadBalancerIngress)(nil), // 81: k8s.io.api.core.v1.LoadBalancerIngress + (*LoadBalancerStatus)(nil), // 82: k8s.io.api.core.v1.LoadBalancerStatus + (*LocalObjectReference)(nil), // 83: k8s.io.api.core.v1.LocalObjectReference + (*LocalVolumeSource)(nil), // 84: k8s.io.api.core.v1.LocalVolumeSource + (*NFSVolumeSource)(nil), // 85: k8s.io.api.core.v1.NFSVolumeSource + (*Namespace)(nil), // 86: k8s.io.api.core.v1.Namespace + (*NamespaceCondition)(nil), // 87: k8s.io.api.core.v1.NamespaceCondition + (*NamespaceList)(nil), // 88: k8s.io.api.core.v1.NamespaceList + (*NamespaceSpec)(nil), // 89: k8s.io.api.core.v1.NamespaceSpec + (*NamespaceStatus)(nil), // 90: k8s.io.api.core.v1.NamespaceStatus + (*Node)(nil), // 91: k8s.io.api.core.v1.Node + (*NodeAddress)(nil), // 92: k8s.io.api.core.v1.NodeAddress + (*NodeAffinity)(nil), // 93: k8s.io.api.core.v1.NodeAffinity + (*NodeCondition)(nil), // 94: k8s.io.api.core.v1.NodeCondition + (*NodeConfigSource)(nil), // 95: k8s.io.api.core.v1.NodeConfigSource + (*NodeConfigStatus)(nil), // 96: k8s.io.api.core.v1.NodeConfigStatus + (*NodeDaemonEndpoints)(nil), // 97: k8s.io.api.core.v1.NodeDaemonEndpoints + (*NodeList)(nil), // 98: k8s.io.api.core.v1.NodeList + (*NodeProxyOptions)(nil), // 99: k8s.io.api.core.v1.NodeProxyOptions + (*NodeResources)(nil), // 100: k8s.io.api.core.v1.NodeResources + (*NodeSelector)(nil), // 101: k8s.io.api.core.v1.NodeSelector + (*NodeSelectorRequirement)(nil), // 102: k8s.io.api.core.v1.NodeSelectorRequirement + (*NodeSelectorTerm)(nil), // 103: k8s.io.api.core.v1.NodeSelectorTerm + (*NodeSpec)(nil), // 104: k8s.io.api.core.v1.NodeSpec + (*NodeStatus)(nil), // 105: k8s.io.api.core.v1.NodeStatus + (*NodeSystemInfo)(nil), // 106: k8s.io.api.core.v1.NodeSystemInfo + (*ObjectFieldSelector)(nil), // 107: k8s.io.api.core.v1.ObjectFieldSelector + (*ObjectReference)(nil), // 108: k8s.io.api.core.v1.ObjectReference + (*PersistentVolume)(nil), // 109: k8s.io.api.core.v1.PersistentVolume + (*PersistentVolumeClaim)(nil), // 110: k8s.io.api.core.v1.PersistentVolumeClaim + (*PersistentVolumeClaimCondition)(nil), // 111: k8s.io.api.core.v1.PersistentVolumeClaimCondition + (*PersistentVolumeClaimList)(nil), // 112: k8s.io.api.core.v1.PersistentVolumeClaimList + (*PersistentVolumeClaimSpec)(nil), // 113: k8s.io.api.core.v1.PersistentVolumeClaimSpec + (*PersistentVolumeClaimStatus)(nil), // 114: k8s.io.api.core.v1.PersistentVolumeClaimStatus + (*PersistentVolumeClaimTemplate)(nil), // 115: k8s.io.api.core.v1.PersistentVolumeClaimTemplate + (*PersistentVolumeClaimVolumeSource)(nil), // 116: k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource + (*PersistentVolumeList)(nil), // 117: k8s.io.api.core.v1.PersistentVolumeList + (*PersistentVolumeSource)(nil), // 118: k8s.io.api.core.v1.PersistentVolumeSource + (*PersistentVolumeSpec)(nil), // 119: k8s.io.api.core.v1.PersistentVolumeSpec + (*PersistentVolumeStatus)(nil), // 120: k8s.io.api.core.v1.PersistentVolumeStatus + (*PhotonPersistentDiskVolumeSource)(nil), // 121: k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource + (*Pod)(nil), // 122: k8s.io.api.core.v1.Pod + (*PodAffinity)(nil), // 123: k8s.io.api.core.v1.PodAffinity + (*PodAffinityTerm)(nil), // 124: k8s.io.api.core.v1.PodAffinityTerm + (*PodAntiAffinity)(nil), // 125: k8s.io.api.core.v1.PodAntiAffinity + (*PodAttachOptions)(nil), // 126: k8s.io.api.core.v1.PodAttachOptions + (*PodCondition)(nil), // 127: k8s.io.api.core.v1.PodCondition + (*PodDNSConfig)(nil), // 128: k8s.io.api.core.v1.PodDNSConfig + (*PodDNSConfigOption)(nil), // 129: k8s.io.api.core.v1.PodDNSConfigOption + (*PodExecOptions)(nil), // 130: k8s.io.api.core.v1.PodExecOptions + (*PodIP)(nil), // 131: k8s.io.api.core.v1.PodIP + (*PodList)(nil), // 132: k8s.io.api.core.v1.PodList + (*PodLogOptions)(nil), // 133: k8s.io.api.core.v1.PodLogOptions + (*PodOS)(nil), // 134: k8s.io.api.core.v1.PodOS + (*PodPortForwardOptions)(nil), // 135: k8s.io.api.core.v1.PodPortForwardOptions + (*PodProxyOptions)(nil), // 136: k8s.io.api.core.v1.PodProxyOptions + (*PodReadinessGate)(nil), // 137: k8s.io.api.core.v1.PodReadinessGate + (*PodResourceClaim)(nil), // 138: k8s.io.api.core.v1.PodResourceClaim + (*PodResourceClaimStatus)(nil), // 139: k8s.io.api.core.v1.PodResourceClaimStatus + (*PodSchedulingGate)(nil), // 140: k8s.io.api.core.v1.PodSchedulingGate + (*PodSecurityContext)(nil), // 141: k8s.io.api.core.v1.PodSecurityContext + (*PodSignature)(nil), // 142: k8s.io.api.core.v1.PodSignature + (*PodSpec)(nil), // 143: k8s.io.api.core.v1.PodSpec + (*PodStatus)(nil), // 144: k8s.io.api.core.v1.PodStatus + (*PodStatusResult)(nil), // 145: k8s.io.api.core.v1.PodStatusResult + (*PodTemplate)(nil), // 146: k8s.io.api.core.v1.PodTemplate + (*PodTemplateList)(nil), // 147: k8s.io.api.core.v1.PodTemplateList + (*PodTemplateSpec)(nil), // 148: k8s.io.api.core.v1.PodTemplateSpec + (*PortStatus)(nil), // 149: k8s.io.api.core.v1.PortStatus + (*PortworxVolumeSource)(nil), // 150: k8s.io.api.core.v1.PortworxVolumeSource + (*Preconditions)(nil), // 151: k8s.io.api.core.v1.Preconditions + (*PreferAvoidPodsEntry)(nil), // 152: k8s.io.api.core.v1.PreferAvoidPodsEntry + (*PreferredSchedulingTerm)(nil), // 153: k8s.io.api.core.v1.PreferredSchedulingTerm + (*Probe)(nil), // 154: k8s.io.api.core.v1.Probe + (*ProbeHandler)(nil), // 155: k8s.io.api.core.v1.ProbeHandler + (*ProjectedVolumeSource)(nil), // 156: k8s.io.api.core.v1.ProjectedVolumeSource + (*QuobyteVolumeSource)(nil), // 157: k8s.io.api.core.v1.QuobyteVolumeSource + (*RBDPersistentVolumeSource)(nil), // 158: k8s.io.api.core.v1.RBDPersistentVolumeSource + (*RBDVolumeSource)(nil), // 159: k8s.io.api.core.v1.RBDVolumeSource + (*RangeAllocation)(nil), // 160: k8s.io.api.core.v1.RangeAllocation + (*ReplicationController)(nil), // 161: k8s.io.api.core.v1.ReplicationController + (*ReplicationControllerCondition)(nil), // 162: k8s.io.api.core.v1.ReplicationControllerCondition + (*ReplicationControllerList)(nil), // 163: k8s.io.api.core.v1.ReplicationControllerList + (*ReplicationControllerSpec)(nil), // 164: k8s.io.api.core.v1.ReplicationControllerSpec + (*ReplicationControllerStatus)(nil), // 165: k8s.io.api.core.v1.ReplicationControllerStatus + (*ResourceClaim)(nil), // 166: k8s.io.api.core.v1.ResourceClaim + (*ResourceFieldSelector)(nil), // 167: k8s.io.api.core.v1.ResourceFieldSelector + (*ResourceQuota)(nil), // 168: k8s.io.api.core.v1.ResourceQuota + (*ResourceQuotaList)(nil), // 169: k8s.io.api.core.v1.ResourceQuotaList + (*ResourceQuotaSpec)(nil), // 170: k8s.io.api.core.v1.ResourceQuotaSpec + (*ResourceQuotaStatus)(nil), // 171: k8s.io.api.core.v1.ResourceQuotaStatus + (*ResourceRequirements)(nil), // 172: k8s.io.api.core.v1.ResourceRequirements + (*SELinuxOptions)(nil), // 173: k8s.io.api.core.v1.SELinuxOptions + (*ScaleIOPersistentVolumeSource)(nil), // 174: k8s.io.api.core.v1.ScaleIOPersistentVolumeSource + (*ScaleIOVolumeSource)(nil), // 175: k8s.io.api.core.v1.ScaleIOVolumeSource + (*ScopeSelector)(nil), // 176: k8s.io.api.core.v1.ScopeSelector + (*ScopedResourceSelectorRequirement)(nil), // 177: k8s.io.api.core.v1.ScopedResourceSelectorRequirement + (*SeccompProfile)(nil), // 178: k8s.io.api.core.v1.SeccompProfile + (*Secret)(nil), // 179: k8s.io.api.core.v1.Secret + (*SecretEnvSource)(nil), // 180: k8s.io.api.core.v1.SecretEnvSource + (*SecretKeySelector)(nil), // 181: k8s.io.api.core.v1.SecretKeySelector + (*SecretList)(nil), // 182: k8s.io.api.core.v1.SecretList + (*SecretProjection)(nil), // 183: k8s.io.api.core.v1.SecretProjection + (*SecretReference)(nil), // 184: k8s.io.api.core.v1.SecretReference + (*SecretVolumeSource)(nil), // 185: k8s.io.api.core.v1.SecretVolumeSource + (*SecurityContext)(nil), // 186: k8s.io.api.core.v1.SecurityContext + (*SerializedReference)(nil), // 187: k8s.io.api.core.v1.SerializedReference + (*Service)(nil), // 188: k8s.io.api.core.v1.Service + (*ServiceAccount)(nil), // 189: k8s.io.api.core.v1.ServiceAccount + (*ServiceAccountList)(nil), // 190: k8s.io.api.core.v1.ServiceAccountList + (*ServiceAccountTokenProjection)(nil), // 191: k8s.io.api.core.v1.ServiceAccountTokenProjection + (*ServiceList)(nil), // 192: k8s.io.api.core.v1.ServiceList + (*ServicePort)(nil), // 193: k8s.io.api.core.v1.ServicePort + (*ServiceProxyOptions)(nil), // 194: k8s.io.api.core.v1.ServiceProxyOptions + (*ServiceSpec)(nil), // 195: k8s.io.api.core.v1.ServiceSpec + (*ServiceStatus)(nil), // 196: k8s.io.api.core.v1.ServiceStatus + (*SessionAffinityConfig)(nil), // 197: k8s.io.api.core.v1.SessionAffinityConfig + (*StorageOSPersistentVolumeSource)(nil), // 198: k8s.io.api.core.v1.StorageOSPersistentVolumeSource + (*StorageOSVolumeSource)(nil), // 199: k8s.io.api.core.v1.StorageOSVolumeSource + (*Sysctl)(nil), // 200: k8s.io.api.core.v1.Sysctl + (*TCPSocketAction)(nil), // 201: k8s.io.api.core.v1.TCPSocketAction + (*Taint)(nil), // 202: k8s.io.api.core.v1.Taint + (*Toleration)(nil), // 203: k8s.io.api.core.v1.Toleration + (*TopologySelectorLabelRequirement)(nil), // 204: k8s.io.api.core.v1.TopologySelectorLabelRequirement + (*TopologySelectorTerm)(nil), // 205: k8s.io.api.core.v1.TopologySelectorTerm + (*TopologySpreadConstraint)(nil), // 206: k8s.io.api.core.v1.TopologySpreadConstraint + (*TypedLocalObjectReference)(nil), // 207: k8s.io.api.core.v1.TypedLocalObjectReference + (*TypedObjectReference)(nil), // 208: k8s.io.api.core.v1.TypedObjectReference + (*Volume)(nil), // 209: k8s.io.api.core.v1.Volume + (*VolumeDevice)(nil), // 210: k8s.io.api.core.v1.VolumeDevice + (*VolumeMount)(nil), // 211: k8s.io.api.core.v1.VolumeMount + (*VolumeNodeAffinity)(nil), // 212: k8s.io.api.core.v1.VolumeNodeAffinity + (*VolumeProjection)(nil), // 213: k8s.io.api.core.v1.VolumeProjection + (*VolumeSource)(nil), // 214: k8s.io.api.core.v1.VolumeSource + (*VsphereVirtualDiskVolumeSource)(nil), // 215: k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource + (*WeightedPodAffinityTerm)(nil), // 216: k8s.io.api.core.v1.WeightedPodAffinityTerm + (*WindowsSecurityContextOptions)(nil), // 217: k8s.io.api.core.v1.WindowsSecurityContextOptions + nil, // 218: k8s.io.api.core.v1.CSIPersistentVolumeSource.VolumeAttributesEntry + nil, // 219: k8s.io.api.core.v1.CSIVolumeSource.VolumeAttributesEntry + nil, // 220: k8s.io.api.core.v1.ConfigMap.DataEntry + nil, // 221: k8s.io.api.core.v1.ConfigMap.BinaryDataEntry + nil, // 222: k8s.io.api.core.v1.ContainerStatus.AllocatedResourcesEntry + nil, // 223: k8s.io.api.core.v1.FlexPersistentVolumeSource.OptionsEntry + nil, // 224: k8s.io.api.core.v1.FlexVolumeSource.OptionsEntry + nil, // 225: k8s.io.api.core.v1.LimitRangeItem.MaxEntry + nil, // 226: k8s.io.api.core.v1.LimitRangeItem.MinEntry + nil, // 227: k8s.io.api.core.v1.LimitRangeItem.DefaultEntry + nil, // 228: k8s.io.api.core.v1.LimitRangeItem.DefaultRequestEntry + nil, // 229: k8s.io.api.core.v1.LimitRangeItem.MaxLimitRequestRatioEntry + nil, // 230: k8s.io.api.core.v1.NodeResources.CapacityEntry + nil, // 231: k8s.io.api.core.v1.NodeStatus.CapacityEntry + nil, // 232: k8s.io.api.core.v1.NodeStatus.AllocatableEntry + nil, // 233: k8s.io.api.core.v1.PersistentVolumeClaimStatus.CapacityEntry + nil, // 234: k8s.io.api.core.v1.PersistentVolumeClaimStatus.AllocatedResourcesEntry + nil, // 235: k8s.io.api.core.v1.PersistentVolumeClaimStatus.AllocatedResourceStatusesEntry + nil, // 236: k8s.io.api.core.v1.PersistentVolumeSpec.CapacityEntry + nil, // 237: k8s.io.api.core.v1.PodSpec.NodeSelectorEntry + nil, // 238: k8s.io.api.core.v1.PodSpec.OverheadEntry + nil, // 239: k8s.io.api.core.v1.ReplicationControllerSpec.SelectorEntry + nil, // 240: k8s.io.api.core.v1.ResourceQuotaSpec.HardEntry + nil, // 241: k8s.io.api.core.v1.ResourceQuotaStatus.HardEntry + nil, // 242: k8s.io.api.core.v1.ResourceQuotaStatus.UsedEntry + nil, // 243: k8s.io.api.core.v1.ResourceRequirements.LimitsEntry + nil, // 244: k8s.io.api.core.v1.ResourceRequirements.RequestsEntry + nil, // 245: k8s.io.api.core.v1.Secret.DataEntry + nil, // 246: k8s.io.api.core.v1.Secret.StringDataEntry + nil, // 247: k8s.io.api.core.v1.ServiceSpec.SelectorEntry + (*v1.ObjectMeta)(nil), // 248: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + (*v1.ListMeta)(nil), // 249: k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + (*v1.Time)(nil), // 250: k8s.io.apimachinery.pkg.apis.meta.v1.Time + (*resource.Quantity)(nil), // 251: k8s.io.apimachinery.pkg.api.resource.Quantity + (*v1.MicroTime)(nil), // 252: k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime + (*intstr.IntOrString)(nil), // 253: k8s.io.apimachinery.pkg.util.intstr.IntOrString + (*runtime.RawExtension)(nil), // 254: k8s.io.apimachinery.pkg.runtime.RawExtension + (*v1.LabelSelector)(nil), // 255: k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector + (*v1.OwnerReference)(nil), // 256: k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference + (*v1.Condition)(nil), // 257: k8s.io.apimachinery.pkg.apis.meta.v1.Condition +} +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_depIdxs = []int32{ + 93, // 0: k8s.io.api.core.v1.Affinity.nodeAffinity:type_name -> k8s.io.api.core.v1.NodeAffinity + 123, // 1: k8s.io.api.core.v1.Affinity.podAffinity:type_name -> k8s.io.api.core.v1.PodAffinity + 125, // 2: k8s.io.api.core.v1.Affinity.podAntiAffinity:type_name -> k8s.io.api.core.v1.PodAntiAffinity + 152, // 3: k8s.io.api.core.v1.AvoidPods.preferAvoidPods:type_name -> k8s.io.api.core.v1.PreferAvoidPodsEntry + 248, // 4: k8s.io.api.core.v1.Binding.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 108, // 5: k8s.io.api.core.v1.Binding.target:type_name -> k8s.io.api.core.v1.ObjectReference + 218, // 6: k8s.io.api.core.v1.CSIPersistentVolumeSource.volumeAttributes:type_name -> k8s.io.api.core.v1.CSIPersistentVolumeSource.VolumeAttributesEntry + 184, // 7: k8s.io.api.core.v1.CSIPersistentVolumeSource.controllerPublishSecretRef:type_name -> k8s.io.api.core.v1.SecretReference + 184, // 8: k8s.io.api.core.v1.CSIPersistentVolumeSource.nodeStageSecretRef:type_name -> k8s.io.api.core.v1.SecretReference + 184, // 9: k8s.io.api.core.v1.CSIPersistentVolumeSource.nodePublishSecretRef:type_name -> k8s.io.api.core.v1.SecretReference + 184, // 10: k8s.io.api.core.v1.CSIPersistentVolumeSource.controllerExpandSecretRef:type_name -> k8s.io.api.core.v1.SecretReference + 184, // 11: k8s.io.api.core.v1.CSIPersistentVolumeSource.nodeExpandSecretRef:type_name -> k8s.io.api.core.v1.SecretReference + 219, // 12: k8s.io.api.core.v1.CSIVolumeSource.volumeAttributes:type_name -> k8s.io.api.core.v1.CSIVolumeSource.VolumeAttributesEntry + 83, // 13: k8s.io.api.core.v1.CSIVolumeSource.nodePublishSecretRef:type_name -> k8s.io.api.core.v1.LocalObjectReference + 184, // 14: k8s.io.api.core.v1.CephFSPersistentVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.SecretReference + 83, // 15: k8s.io.api.core.v1.CephFSVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.LocalObjectReference + 184, // 16: k8s.io.api.core.v1.CinderPersistentVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.SecretReference + 83, // 17: k8s.io.api.core.v1.CinderVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.LocalObjectReference + 248, // 18: k8s.io.api.core.v1.ComponentStatus.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 17, // 19: k8s.io.api.core.v1.ComponentStatus.conditions:type_name -> k8s.io.api.core.v1.ComponentCondition + 249, // 20: k8s.io.api.core.v1.ComponentStatusList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 18, // 21: k8s.io.api.core.v1.ComponentStatusList.items:type_name -> k8s.io.api.core.v1.ComponentStatus + 248, // 22: k8s.io.api.core.v1.ConfigMap.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 220, // 23: k8s.io.api.core.v1.ConfigMap.data:type_name -> k8s.io.api.core.v1.ConfigMap.DataEntry + 221, // 24: k8s.io.api.core.v1.ConfigMap.binaryData:type_name -> k8s.io.api.core.v1.ConfigMap.BinaryDataEntry + 83, // 25: k8s.io.api.core.v1.ConfigMapEnvSource.localObjectReference:type_name -> k8s.io.api.core.v1.LocalObjectReference + 83, // 26: k8s.io.api.core.v1.ConfigMapKeySelector.localObjectReference:type_name -> k8s.io.api.core.v1.LocalObjectReference + 249, // 27: k8s.io.api.core.v1.ConfigMapList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 20, // 28: k8s.io.api.core.v1.ConfigMapList.items:type_name -> k8s.io.api.core.v1.ConfigMap + 83, // 29: k8s.io.api.core.v1.ConfigMapProjection.localObjectReference:type_name -> k8s.io.api.core.v1.LocalObjectReference + 73, // 30: k8s.io.api.core.v1.ConfigMapProjection.items:type_name -> k8s.io.api.core.v1.KeyToPath + 83, // 31: k8s.io.api.core.v1.ConfigMapVolumeSource.localObjectReference:type_name -> k8s.io.api.core.v1.LocalObjectReference + 73, // 32: k8s.io.api.core.v1.ConfigMapVolumeSource.items:type_name -> k8s.io.api.core.v1.KeyToPath + 29, // 33: k8s.io.api.core.v1.Container.ports:type_name -> k8s.io.api.core.v1.ContainerPort + 46, // 34: k8s.io.api.core.v1.Container.envFrom:type_name -> k8s.io.api.core.v1.EnvFromSource + 47, // 35: k8s.io.api.core.v1.Container.env:type_name -> k8s.io.api.core.v1.EnvVar + 172, // 36: k8s.io.api.core.v1.Container.resources:type_name -> k8s.io.api.core.v1.ResourceRequirements + 30, // 37: k8s.io.api.core.v1.Container.resizePolicy:type_name -> k8s.io.api.core.v1.ContainerResizePolicy + 211, // 38: k8s.io.api.core.v1.Container.volumeMounts:type_name -> k8s.io.api.core.v1.VolumeMount + 210, // 39: k8s.io.api.core.v1.Container.volumeDevices:type_name -> k8s.io.api.core.v1.VolumeDevice + 154, // 40: k8s.io.api.core.v1.Container.livenessProbe:type_name -> k8s.io.api.core.v1.Probe + 154, // 41: k8s.io.api.core.v1.Container.readinessProbe:type_name -> k8s.io.api.core.v1.Probe + 154, // 42: k8s.io.api.core.v1.Container.startupProbe:type_name -> k8s.io.api.core.v1.Probe + 74, // 43: k8s.io.api.core.v1.Container.lifecycle:type_name -> k8s.io.api.core.v1.Lifecycle + 186, // 44: k8s.io.api.core.v1.Container.securityContext:type_name -> k8s.io.api.core.v1.SecurityContext + 34, // 45: k8s.io.api.core.v1.ContainerState.waiting:type_name -> k8s.io.api.core.v1.ContainerStateWaiting + 32, // 46: k8s.io.api.core.v1.ContainerState.running:type_name -> k8s.io.api.core.v1.ContainerStateRunning + 33, // 47: k8s.io.api.core.v1.ContainerState.terminated:type_name -> k8s.io.api.core.v1.ContainerStateTerminated + 250, // 48: k8s.io.api.core.v1.ContainerStateRunning.startedAt:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 250, // 49: k8s.io.api.core.v1.ContainerStateTerminated.startedAt:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 250, // 50: k8s.io.api.core.v1.ContainerStateTerminated.finishedAt:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 31, // 51: k8s.io.api.core.v1.ContainerStatus.state:type_name -> k8s.io.api.core.v1.ContainerState + 31, // 52: k8s.io.api.core.v1.ContainerStatus.lastState:type_name -> k8s.io.api.core.v1.ContainerState + 222, // 53: k8s.io.api.core.v1.ContainerStatus.allocatedResources:type_name -> k8s.io.api.core.v1.ContainerStatus.AllocatedResourcesEntry + 172, // 54: k8s.io.api.core.v1.ContainerStatus.resources:type_name -> k8s.io.api.core.v1.ResourceRequirements + 38, // 55: k8s.io.api.core.v1.DownwardAPIProjection.items:type_name -> k8s.io.api.core.v1.DownwardAPIVolumeFile + 107, // 56: k8s.io.api.core.v1.DownwardAPIVolumeFile.fieldRef:type_name -> k8s.io.api.core.v1.ObjectFieldSelector + 167, // 57: k8s.io.api.core.v1.DownwardAPIVolumeFile.resourceFieldRef:type_name -> k8s.io.api.core.v1.ResourceFieldSelector + 38, // 58: k8s.io.api.core.v1.DownwardAPIVolumeSource.items:type_name -> k8s.io.api.core.v1.DownwardAPIVolumeFile + 251, // 59: k8s.io.api.core.v1.EmptyDirVolumeSource.sizeLimit:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 108, // 60: k8s.io.api.core.v1.EndpointAddress.targetRef:type_name -> k8s.io.api.core.v1.ObjectReference + 41, // 61: k8s.io.api.core.v1.EndpointSubset.addresses:type_name -> k8s.io.api.core.v1.EndpointAddress + 41, // 62: k8s.io.api.core.v1.EndpointSubset.notReadyAddresses:type_name -> k8s.io.api.core.v1.EndpointAddress + 42, // 63: k8s.io.api.core.v1.EndpointSubset.ports:type_name -> k8s.io.api.core.v1.EndpointPort + 248, // 64: k8s.io.api.core.v1.Endpoints.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 43, // 65: k8s.io.api.core.v1.Endpoints.subsets:type_name -> k8s.io.api.core.v1.EndpointSubset + 249, // 66: k8s.io.api.core.v1.EndpointsList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 44, // 67: k8s.io.api.core.v1.EndpointsList.items:type_name -> k8s.io.api.core.v1.Endpoints + 21, // 68: k8s.io.api.core.v1.EnvFromSource.configMapRef:type_name -> k8s.io.api.core.v1.ConfigMapEnvSource + 180, // 69: k8s.io.api.core.v1.EnvFromSource.secretRef:type_name -> k8s.io.api.core.v1.SecretEnvSource + 48, // 70: k8s.io.api.core.v1.EnvVar.valueFrom:type_name -> k8s.io.api.core.v1.EnvVarSource + 107, // 71: k8s.io.api.core.v1.EnvVarSource.fieldRef:type_name -> k8s.io.api.core.v1.ObjectFieldSelector + 167, // 72: k8s.io.api.core.v1.EnvVarSource.resourceFieldRef:type_name -> k8s.io.api.core.v1.ResourceFieldSelector + 22, // 73: k8s.io.api.core.v1.EnvVarSource.configMapKeyRef:type_name -> k8s.io.api.core.v1.ConfigMapKeySelector + 181, // 74: k8s.io.api.core.v1.EnvVarSource.secretKeyRef:type_name -> k8s.io.api.core.v1.SecretKeySelector + 50, // 75: k8s.io.api.core.v1.EphemeralContainer.ephemeralContainerCommon:type_name -> k8s.io.api.core.v1.EphemeralContainerCommon + 29, // 76: k8s.io.api.core.v1.EphemeralContainerCommon.ports:type_name -> k8s.io.api.core.v1.ContainerPort + 46, // 77: k8s.io.api.core.v1.EphemeralContainerCommon.envFrom:type_name -> k8s.io.api.core.v1.EnvFromSource + 47, // 78: k8s.io.api.core.v1.EphemeralContainerCommon.env:type_name -> k8s.io.api.core.v1.EnvVar + 172, // 79: k8s.io.api.core.v1.EphemeralContainerCommon.resources:type_name -> k8s.io.api.core.v1.ResourceRequirements + 30, // 80: k8s.io.api.core.v1.EphemeralContainerCommon.resizePolicy:type_name -> k8s.io.api.core.v1.ContainerResizePolicy + 211, // 81: k8s.io.api.core.v1.EphemeralContainerCommon.volumeMounts:type_name -> k8s.io.api.core.v1.VolumeMount + 210, // 82: k8s.io.api.core.v1.EphemeralContainerCommon.volumeDevices:type_name -> k8s.io.api.core.v1.VolumeDevice + 154, // 83: k8s.io.api.core.v1.EphemeralContainerCommon.livenessProbe:type_name -> k8s.io.api.core.v1.Probe + 154, // 84: k8s.io.api.core.v1.EphemeralContainerCommon.readinessProbe:type_name -> k8s.io.api.core.v1.Probe + 154, // 85: k8s.io.api.core.v1.EphemeralContainerCommon.startupProbe:type_name -> k8s.io.api.core.v1.Probe + 74, // 86: k8s.io.api.core.v1.EphemeralContainerCommon.lifecycle:type_name -> k8s.io.api.core.v1.Lifecycle + 186, // 87: k8s.io.api.core.v1.EphemeralContainerCommon.securityContext:type_name -> k8s.io.api.core.v1.SecurityContext + 115, // 88: k8s.io.api.core.v1.EphemeralVolumeSource.volumeClaimTemplate:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimTemplate + 248, // 89: k8s.io.api.core.v1.Event.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 108, // 90: k8s.io.api.core.v1.Event.involvedObject:type_name -> k8s.io.api.core.v1.ObjectReference + 55, // 91: k8s.io.api.core.v1.Event.source:type_name -> k8s.io.api.core.v1.EventSource + 250, // 92: k8s.io.api.core.v1.Event.firstTimestamp:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 250, // 93: k8s.io.api.core.v1.Event.lastTimestamp:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 252, // 94: k8s.io.api.core.v1.Event.eventTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime + 54, // 95: k8s.io.api.core.v1.Event.series:type_name -> k8s.io.api.core.v1.EventSeries + 108, // 96: k8s.io.api.core.v1.Event.related:type_name -> k8s.io.api.core.v1.ObjectReference + 249, // 97: k8s.io.api.core.v1.EventList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 52, // 98: k8s.io.api.core.v1.EventList.items:type_name -> k8s.io.api.core.v1.Event + 252, // 99: k8s.io.api.core.v1.EventSeries.lastObservedTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime + 184, // 100: k8s.io.api.core.v1.FlexPersistentVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.SecretReference + 223, // 101: k8s.io.api.core.v1.FlexPersistentVolumeSource.options:type_name -> k8s.io.api.core.v1.FlexPersistentVolumeSource.OptionsEntry + 83, // 102: k8s.io.api.core.v1.FlexVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.LocalObjectReference + 224, // 103: k8s.io.api.core.v1.FlexVolumeSource.options:type_name -> k8s.io.api.core.v1.FlexVolumeSource.OptionsEntry + 253, // 104: k8s.io.api.core.v1.HTTPGetAction.port:type_name -> k8s.io.apimachinery.pkg.util.intstr.IntOrString + 67, // 105: k8s.io.api.core.v1.HTTPGetAction.httpHeaders:type_name -> k8s.io.api.core.v1.HTTPHeader + 184, // 106: k8s.io.api.core.v1.ISCSIPersistentVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.SecretReference + 83, // 107: k8s.io.api.core.v1.ISCSIVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.LocalObjectReference + 75, // 108: k8s.io.api.core.v1.Lifecycle.postStart:type_name -> k8s.io.api.core.v1.LifecycleHandler + 75, // 109: k8s.io.api.core.v1.Lifecycle.preStop:type_name -> k8s.io.api.core.v1.LifecycleHandler + 56, // 110: k8s.io.api.core.v1.LifecycleHandler.exec:type_name -> k8s.io.api.core.v1.ExecAction + 66, // 111: k8s.io.api.core.v1.LifecycleHandler.httpGet:type_name -> k8s.io.api.core.v1.HTTPGetAction + 201, // 112: k8s.io.api.core.v1.LifecycleHandler.tcpSocket:type_name -> k8s.io.api.core.v1.TCPSocketAction + 248, // 113: k8s.io.api.core.v1.LimitRange.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 79, // 114: k8s.io.api.core.v1.LimitRange.spec:type_name -> k8s.io.api.core.v1.LimitRangeSpec + 225, // 115: k8s.io.api.core.v1.LimitRangeItem.max:type_name -> k8s.io.api.core.v1.LimitRangeItem.MaxEntry + 226, // 116: k8s.io.api.core.v1.LimitRangeItem.min:type_name -> k8s.io.api.core.v1.LimitRangeItem.MinEntry + 227, // 117: k8s.io.api.core.v1.LimitRangeItem.default:type_name -> k8s.io.api.core.v1.LimitRangeItem.DefaultEntry + 228, // 118: k8s.io.api.core.v1.LimitRangeItem.defaultRequest:type_name -> k8s.io.api.core.v1.LimitRangeItem.DefaultRequestEntry + 229, // 119: k8s.io.api.core.v1.LimitRangeItem.maxLimitRequestRatio:type_name -> k8s.io.api.core.v1.LimitRangeItem.MaxLimitRequestRatioEntry + 249, // 120: k8s.io.api.core.v1.LimitRangeList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 76, // 121: k8s.io.api.core.v1.LimitRangeList.items:type_name -> k8s.io.api.core.v1.LimitRange + 77, // 122: k8s.io.api.core.v1.LimitRangeSpec.limits:type_name -> k8s.io.api.core.v1.LimitRangeItem + 249, // 123: k8s.io.api.core.v1.List.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 254, // 124: k8s.io.api.core.v1.List.items:type_name -> k8s.io.apimachinery.pkg.runtime.RawExtension + 149, // 125: k8s.io.api.core.v1.LoadBalancerIngress.ports:type_name -> k8s.io.api.core.v1.PortStatus + 81, // 126: k8s.io.api.core.v1.LoadBalancerStatus.ingress:type_name -> k8s.io.api.core.v1.LoadBalancerIngress + 248, // 127: k8s.io.api.core.v1.Namespace.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 89, // 128: k8s.io.api.core.v1.Namespace.spec:type_name -> k8s.io.api.core.v1.NamespaceSpec + 90, // 129: k8s.io.api.core.v1.Namespace.status:type_name -> k8s.io.api.core.v1.NamespaceStatus + 250, // 130: k8s.io.api.core.v1.NamespaceCondition.lastTransitionTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 249, // 131: k8s.io.api.core.v1.NamespaceList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 86, // 132: k8s.io.api.core.v1.NamespaceList.items:type_name -> k8s.io.api.core.v1.Namespace + 87, // 133: k8s.io.api.core.v1.NamespaceStatus.conditions:type_name -> k8s.io.api.core.v1.NamespaceCondition + 248, // 134: k8s.io.api.core.v1.Node.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 104, // 135: k8s.io.api.core.v1.Node.spec:type_name -> k8s.io.api.core.v1.NodeSpec + 105, // 136: k8s.io.api.core.v1.Node.status:type_name -> k8s.io.api.core.v1.NodeStatus + 101, // 137: k8s.io.api.core.v1.NodeAffinity.requiredDuringSchedulingIgnoredDuringExecution:type_name -> k8s.io.api.core.v1.NodeSelector + 153, // 138: k8s.io.api.core.v1.NodeAffinity.preferredDuringSchedulingIgnoredDuringExecution:type_name -> k8s.io.api.core.v1.PreferredSchedulingTerm + 250, // 139: k8s.io.api.core.v1.NodeCondition.lastHeartbeatTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 250, // 140: k8s.io.api.core.v1.NodeCondition.lastTransitionTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 24, // 141: k8s.io.api.core.v1.NodeConfigSource.configMap:type_name -> k8s.io.api.core.v1.ConfigMapNodeConfigSource + 95, // 142: k8s.io.api.core.v1.NodeConfigStatus.assigned:type_name -> k8s.io.api.core.v1.NodeConfigSource + 95, // 143: k8s.io.api.core.v1.NodeConfigStatus.active:type_name -> k8s.io.api.core.v1.NodeConfigSource + 95, // 144: k8s.io.api.core.v1.NodeConfigStatus.lastKnownGood:type_name -> k8s.io.api.core.v1.NodeConfigSource + 36, // 145: k8s.io.api.core.v1.NodeDaemonEndpoints.kubeletEndpoint:type_name -> k8s.io.api.core.v1.DaemonEndpoint + 249, // 146: k8s.io.api.core.v1.NodeList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 91, // 147: k8s.io.api.core.v1.NodeList.items:type_name -> k8s.io.api.core.v1.Node + 230, // 148: k8s.io.api.core.v1.NodeResources.capacity:type_name -> k8s.io.api.core.v1.NodeResources.CapacityEntry + 103, // 149: k8s.io.api.core.v1.NodeSelector.nodeSelectorTerms:type_name -> k8s.io.api.core.v1.NodeSelectorTerm + 102, // 150: k8s.io.api.core.v1.NodeSelectorTerm.matchExpressions:type_name -> k8s.io.api.core.v1.NodeSelectorRequirement + 102, // 151: k8s.io.api.core.v1.NodeSelectorTerm.matchFields:type_name -> k8s.io.api.core.v1.NodeSelectorRequirement + 202, // 152: k8s.io.api.core.v1.NodeSpec.taints:type_name -> k8s.io.api.core.v1.Taint + 95, // 153: k8s.io.api.core.v1.NodeSpec.configSource:type_name -> k8s.io.api.core.v1.NodeConfigSource + 231, // 154: k8s.io.api.core.v1.NodeStatus.capacity:type_name -> k8s.io.api.core.v1.NodeStatus.CapacityEntry + 232, // 155: k8s.io.api.core.v1.NodeStatus.allocatable:type_name -> k8s.io.api.core.v1.NodeStatus.AllocatableEntry + 94, // 156: k8s.io.api.core.v1.NodeStatus.conditions:type_name -> k8s.io.api.core.v1.NodeCondition + 92, // 157: k8s.io.api.core.v1.NodeStatus.addresses:type_name -> k8s.io.api.core.v1.NodeAddress + 97, // 158: k8s.io.api.core.v1.NodeStatus.daemonEndpoints:type_name -> k8s.io.api.core.v1.NodeDaemonEndpoints + 106, // 159: k8s.io.api.core.v1.NodeStatus.nodeInfo:type_name -> k8s.io.api.core.v1.NodeSystemInfo + 28, // 160: k8s.io.api.core.v1.NodeStatus.images:type_name -> k8s.io.api.core.v1.ContainerImage + 2, // 161: k8s.io.api.core.v1.NodeStatus.volumesAttached:type_name -> k8s.io.api.core.v1.AttachedVolume + 96, // 162: k8s.io.api.core.v1.NodeStatus.config:type_name -> k8s.io.api.core.v1.NodeConfigStatus + 248, // 163: k8s.io.api.core.v1.PersistentVolume.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 119, // 164: k8s.io.api.core.v1.PersistentVolume.spec:type_name -> k8s.io.api.core.v1.PersistentVolumeSpec + 120, // 165: k8s.io.api.core.v1.PersistentVolume.status:type_name -> k8s.io.api.core.v1.PersistentVolumeStatus + 248, // 166: k8s.io.api.core.v1.PersistentVolumeClaim.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 113, // 167: k8s.io.api.core.v1.PersistentVolumeClaim.spec:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimSpec + 114, // 168: k8s.io.api.core.v1.PersistentVolumeClaim.status:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimStatus + 250, // 169: k8s.io.api.core.v1.PersistentVolumeClaimCondition.lastProbeTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 250, // 170: k8s.io.api.core.v1.PersistentVolumeClaimCondition.lastTransitionTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 249, // 171: k8s.io.api.core.v1.PersistentVolumeClaimList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 110, // 172: k8s.io.api.core.v1.PersistentVolumeClaimList.items:type_name -> k8s.io.api.core.v1.PersistentVolumeClaim + 255, // 173: k8s.io.api.core.v1.PersistentVolumeClaimSpec.selector:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector + 172, // 174: k8s.io.api.core.v1.PersistentVolumeClaimSpec.resources:type_name -> k8s.io.api.core.v1.ResourceRequirements + 207, // 175: k8s.io.api.core.v1.PersistentVolumeClaimSpec.dataSource:type_name -> k8s.io.api.core.v1.TypedLocalObjectReference + 208, // 176: k8s.io.api.core.v1.PersistentVolumeClaimSpec.dataSourceRef:type_name -> k8s.io.api.core.v1.TypedObjectReference + 233, // 177: k8s.io.api.core.v1.PersistentVolumeClaimStatus.capacity:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimStatus.CapacityEntry + 111, // 178: k8s.io.api.core.v1.PersistentVolumeClaimStatus.conditions:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimCondition + 234, // 179: k8s.io.api.core.v1.PersistentVolumeClaimStatus.allocatedResources:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimStatus.AllocatedResourcesEntry + 235, // 180: k8s.io.api.core.v1.PersistentVolumeClaimStatus.allocatedResourceStatuses:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimStatus.AllocatedResourceStatusesEntry + 248, // 181: k8s.io.api.core.v1.PersistentVolumeClaimTemplate.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 113, // 182: k8s.io.api.core.v1.PersistentVolumeClaimTemplate.spec:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimSpec + 249, // 183: k8s.io.api.core.v1.PersistentVolumeList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 109, // 184: k8s.io.api.core.v1.PersistentVolumeList.items:type_name -> k8s.io.api.core.v1.PersistentVolume + 61, // 185: k8s.io.api.core.v1.PersistentVolumeSource.gcePersistentDisk:type_name -> k8s.io.api.core.v1.GCEPersistentDiskVolumeSource + 0, // 186: k8s.io.api.core.v1.PersistentVolumeSource.awsElasticBlockStore:type_name -> k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource + 70, // 187: k8s.io.api.core.v1.PersistentVolumeSource.hostPath:type_name -> k8s.io.api.core.v1.HostPathVolumeSource + 64, // 188: k8s.io.api.core.v1.PersistentVolumeSource.glusterfs:type_name -> k8s.io.api.core.v1.GlusterfsPersistentVolumeSource + 85, // 189: k8s.io.api.core.v1.PersistentVolumeSource.nfs:type_name -> k8s.io.api.core.v1.NFSVolumeSource + 158, // 190: k8s.io.api.core.v1.PersistentVolumeSource.rbd:type_name -> k8s.io.api.core.v1.RBDPersistentVolumeSource + 71, // 191: k8s.io.api.core.v1.PersistentVolumeSource.iscsi:type_name -> k8s.io.api.core.v1.ISCSIPersistentVolumeSource + 13, // 192: k8s.io.api.core.v1.PersistentVolumeSource.cinder:type_name -> k8s.io.api.core.v1.CinderPersistentVolumeSource + 11, // 193: k8s.io.api.core.v1.PersistentVolumeSource.cephfs:type_name -> k8s.io.api.core.v1.CephFSPersistentVolumeSource + 57, // 194: k8s.io.api.core.v1.PersistentVolumeSource.fc:type_name -> k8s.io.api.core.v1.FCVolumeSource + 60, // 195: k8s.io.api.core.v1.PersistentVolumeSource.flocker:type_name -> k8s.io.api.core.v1.FlockerVolumeSource + 58, // 196: k8s.io.api.core.v1.PersistentVolumeSource.flexVolume:type_name -> k8s.io.api.core.v1.FlexPersistentVolumeSource + 5, // 197: k8s.io.api.core.v1.PersistentVolumeSource.azureFile:type_name -> k8s.io.api.core.v1.AzureFilePersistentVolumeSource + 215, // 198: k8s.io.api.core.v1.PersistentVolumeSource.vsphereVolume:type_name -> k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource + 157, // 199: k8s.io.api.core.v1.PersistentVolumeSource.quobyte:type_name -> k8s.io.api.core.v1.QuobyteVolumeSource + 4, // 200: k8s.io.api.core.v1.PersistentVolumeSource.azureDisk:type_name -> k8s.io.api.core.v1.AzureDiskVolumeSource + 121, // 201: k8s.io.api.core.v1.PersistentVolumeSource.photonPersistentDisk:type_name -> k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource + 150, // 202: k8s.io.api.core.v1.PersistentVolumeSource.portworxVolume:type_name -> k8s.io.api.core.v1.PortworxVolumeSource + 174, // 203: k8s.io.api.core.v1.PersistentVolumeSource.scaleIO:type_name -> k8s.io.api.core.v1.ScaleIOPersistentVolumeSource + 84, // 204: k8s.io.api.core.v1.PersistentVolumeSource.local:type_name -> k8s.io.api.core.v1.LocalVolumeSource + 198, // 205: k8s.io.api.core.v1.PersistentVolumeSource.storageos:type_name -> k8s.io.api.core.v1.StorageOSPersistentVolumeSource + 8, // 206: k8s.io.api.core.v1.PersistentVolumeSource.csi:type_name -> k8s.io.api.core.v1.CSIPersistentVolumeSource + 236, // 207: k8s.io.api.core.v1.PersistentVolumeSpec.capacity:type_name -> k8s.io.api.core.v1.PersistentVolumeSpec.CapacityEntry + 118, // 208: k8s.io.api.core.v1.PersistentVolumeSpec.persistentVolumeSource:type_name -> k8s.io.api.core.v1.PersistentVolumeSource + 108, // 209: k8s.io.api.core.v1.PersistentVolumeSpec.claimRef:type_name -> k8s.io.api.core.v1.ObjectReference + 212, // 210: k8s.io.api.core.v1.PersistentVolumeSpec.nodeAffinity:type_name -> k8s.io.api.core.v1.VolumeNodeAffinity + 250, // 211: k8s.io.api.core.v1.PersistentVolumeStatus.lastPhaseTransitionTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 248, // 212: k8s.io.api.core.v1.Pod.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 143, // 213: k8s.io.api.core.v1.Pod.spec:type_name -> k8s.io.api.core.v1.PodSpec + 144, // 214: k8s.io.api.core.v1.Pod.status:type_name -> k8s.io.api.core.v1.PodStatus + 124, // 215: k8s.io.api.core.v1.PodAffinity.requiredDuringSchedulingIgnoredDuringExecution:type_name -> k8s.io.api.core.v1.PodAffinityTerm + 216, // 216: k8s.io.api.core.v1.PodAffinity.preferredDuringSchedulingIgnoredDuringExecution:type_name -> k8s.io.api.core.v1.WeightedPodAffinityTerm + 255, // 217: k8s.io.api.core.v1.PodAffinityTerm.labelSelector:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector + 255, // 218: k8s.io.api.core.v1.PodAffinityTerm.namespaceSelector:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector + 124, // 219: k8s.io.api.core.v1.PodAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution:type_name -> k8s.io.api.core.v1.PodAffinityTerm + 216, // 220: k8s.io.api.core.v1.PodAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution:type_name -> k8s.io.api.core.v1.WeightedPodAffinityTerm + 250, // 221: k8s.io.api.core.v1.PodCondition.lastProbeTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 250, // 222: k8s.io.api.core.v1.PodCondition.lastTransitionTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 129, // 223: k8s.io.api.core.v1.PodDNSConfig.options:type_name -> k8s.io.api.core.v1.PodDNSConfigOption + 249, // 224: k8s.io.api.core.v1.PodList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 122, // 225: k8s.io.api.core.v1.PodList.items:type_name -> k8s.io.api.core.v1.Pod + 250, // 226: k8s.io.api.core.v1.PodLogOptions.sinceTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 15, // 227: k8s.io.api.core.v1.PodResourceClaim.source:type_name -> k8s.io.api.core.v1.ClaimSource + 173, // 228: k8s.io.api.core.v1.PodSecurityContext.seLinuxOptions:type_name -> k8s.io.api.core.v1.SELinuxOptions + 217, // 229: k8s.io.api.core.v1.PodSecurityContext.windowsOptions:type_name -> k8s.io.api.core.v1.WindowsSecurityContextOptions + 200, // 230: k8s.io.api.core.v1.PodSecurityContext.sysctls:type_name -> k8s.io.api.core.v1.Sysctl + 178, // 231: k8s.io.api.core.v1.PodSecurityContext.seccompProfile:type_name -> k8s.io.api.core.v1.SeccompProfile + 256, // 232: k8s.io.api.core.v1.PodSignature.podController:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference + 209, // 233: k8s.io.api.core.v1.PodSpec.volumes:type_name -> k8s.io.api.core.v1.Volume + 27, // 234: k8s.io.api.core.v1.PodSpec.initContainers:type_name -> k8s.io.api.core.v1.Container + 27, // 235: k8s.io.api.core.v1.PodSpec.containers:type_name -> k8s.io.api.core.v1.Container + 49, // 236: k8s.io.api.core.v1.PodSpec.ephemeralContainers:type_name -> k8s.io.api.core.v1.EphemeralContainer + 237, // 237: k8s.io.api.core.v1.PodSpec.nodeSelector:type_name -> k8s.io.api.core.v1.PodSpec.NodeSelectorEntry + 141, // 238: k8s.io.api.core.v1.PodSpec.securityContext:type_name -> k8s.io.api.core.v1.PodSecurityContext + 83, // 239: k8s.io.api.core.v1.PodSpec.imagePullSecrets:type_name -> k8s.io.api.core.v1.LocalObjectReference + 1, // 240: k8s.io.api.core.v1.PodSpec.affinity:type_name -> k8s.io.api.core.v1.Affinity + 203, // 241: k8s.io.api.core.v1.PodSpec.tolerations:type_name -> k8s.io.api.core.v1.Toleration + 68, // 242: k8s.io.api.core.v1.PodSpec.hostAliases:type_name -> k8s.io.api.core.v1.HostAlias + 128, // 243: k8s.io.api.core.v1.PodSpec.dnsConfig:type_name -> k8s.io.api.core.v1.PodDNSConfig + 137, // 244: k8s.io.api.core.v1.PodSpec.readinessGates:type_name -> k8s.io.api.core.v1.PodReadinessGate + 238, // 245: k8s.io.api.core.v1.PodSpec.overhead:type_name -> k8s.io.api.core.v1.PodSpec.OverheadEntry + 206, // 246: k8s.io.api.core.v1.PodSpec.topologySpreadConstraints:type_name -> k8s.io.api.core.v1.TopologySpreadConstraint + 134, // 247: k8s.io.api.core.v1.PodSpec.os:type_name -> k8s.io.api.core.v1.PodOS + 140, // 248: k8s.io.api.core.v1.PodSpec.schedulingGates:type_name -> k8s.io.api.core.v1.PodSchedulingGate + 138, // 249: k8s.io.api.core.v1.PodSpec.resourceClaims:type_name -> k8s.io.api.core.v1.PodResourceClaim + 127, // 250: k8s.io.api.core.v1.PodStatus.conditions:type_name -> k8s.io.api.core.v1.PodCondition + 69, // 251: k8s.io.api.core.v1.PodStatus.hostIPs:type_name -> k8s.io.api.core.v1.HostIP + 131, // 252: k8s.io.api.core.v1.PodStatus.podIPs:type_name -> k8s.io.api.core.v1.PodIP + 250, // 253: k8s.io.api.core.v1.PodStatus.startTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 35, // 254: k8s.io.api.core.v1.PodStatus.initContainerStatuses:type_name -> k8s.io.api.core.v1.ContainerStatus + 35, // 255: k8s.io.api.core.v1.PodStatus.containerStatuses:type_name -> k8s.io.api.core.v1.ContainerStatus + 35, // 256: k8s.io.api.core.v1.PodStatus.ephemeralContainerStatuses:type_name -> k8s.io.api.core.v1.ContainerStatus + 139, // 257: k8s.io.api.core.v1.PodStatus.resourceClaimStatuses:type_name -> k8s.io.api.core.v1.PodResourceClaimStatus + 248, // 258: k8s.io.api.core.v1.PodStatusResult.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 144, // 259: k8s.io.api.core.v1.PodStatusResult.status:type_name -> k8s.io.api.core.v1.PodStatus + 248, // 260: k8s.io.api.core.v1.PodTemplate.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 148, // 261: k8s.io.api.core.v1.PodTemplate.template:type_name -> k8s.io.api.core.v1.PodTemplateSpec + 249, // 262: k8s.io.api.core.v1.PodTemplateList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 146, // 263: k8s.io.api.core.v1.PodTemplateList.items:type_name -> k8s.io.api.core.v1.PodTemplate + 248, // 264: k8s.io.api.core.v1.PodTemplateSpec.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 143, // 265: k8s.io.api.core.v1.PodTemplateSpec.spec:type_name -> k8s.io.api.core.v1.PodSpec + 142, // 266: k8s.io.api.core.v1.PreferAvoidPodsEntry.podSignature:type_name -> k8s.io.api.core.v1.PodSignature + 250, // 267: k8s.io.api.core.v1.PreferAvoidPodsEntry.evictionTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 103, // 268: k8s.io.api.core.v1.PreferredSchedulingTerm.preference:type_name -> k8s.io.api.core.v1.NodeSelectorTerm + 155, // 269: k8s.io.api.core.v1.Probe.handler:type_name -> k8s.io.api.core.v1.ProbeHandler + 56, // 270: k8s.io.api.core.v1.ProbeHandler.exec:type_name -> k8s.io.api.core.v1.ExecAction + 66, // 271: k8s.io.api.core.v1.ProbeHandler.httpGet:type_name -> k8s.io.api.core.v1.HTTPGetAction + 201, // 272: k8s.io.api.core.v1.ProbeHandler.tcpSocket:type_name -> k8s.io.api.core.v1.TCPSocketAction + 62, // 273: k8s.io.api.core.v1.ProbeHandler.grpc:type_name -> k8s.io.api.core.v1.GRPCAction + 213, // 274: k8s.io.api.core.v1.ProjectedVolumeSource.sources:type_name -> k8s.io.api.core.v1.VolumeProjection + 184, // 275: k8s.io.api.core.v1.RBDPersistentVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.SecretReference + 83, // 276: k8s.io.api.core.v1.RBDVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.LocalObjectReference + 248, // 277: k8s.io.api.core.v1.RangeAllocation.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 248, // 278: k8s.io.api.core.v1.ReplicationController.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 164, // 279: k8s.io.api.core.v1.ReplicationController.spec:type_name -> k8s.io.api.core.v1.ReplicationControllerSpec + 165, // 280: k8s.io.api.core.v1.ReplicationController.status:type_name -> k8s.io.api.core.v1.ReplicationControllerStatus + 250, // 281: k8s.io.api.core.v1.ReplicationControllerCondition.lastTransitionTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 249, // 282: k8s.io.api.core.v1.ReplicationControllerList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 161, // 283: k8s.io.api.core.v1.ReplicationControllerList.items:type_name -> k8s.io.api.core.v1.ReplicationController + 239, // 284: k8s.io.api.core.v1.ReplicationControllerSpec.selector:type_name -> k8s.io.api.core.v1.ReplicationControllerSpec.SelectorEntry + 148, // 285: k8s.io.api.core.v1.ReplicationControllerSpec.template:type_name -> k8s.io.api.core.v1.PodTemplateSpec + 162, // 286: k8s.io.api.core.v1.ReplicationControllerStatus.conditions:type_name -> k8s.io.api.core.v1.ReplicationControllerCondition + 251, // 287: k8s.io.api.core.v1.ResourceFieldSelector.divisor:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 248, // 288: k8s.io.api.core.v1.ResourceQuota.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 170, // 289: k8s.io.api.core.v1.ResourceQuota.spec:type_name -> k8s.io.api.core.v1.ResourceQuotaSpec + 171, // 290: k8s.io.api.core.v1.ResourceQuota.status:type_name -> k8s.io.api.core.v1.ResourceQuotaStatus + 249, // 291: k8s.io.api.core.v1.ResourceQuotaList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 168, // 292: k8s.io.api.core.v1.ResourceQuotaList.items:type_name -> k8s.io.api.core.v1.ResourceQuota + 240, // 293: k8s.io.api.core.v1.ResourceQuotaSpec.hard:type_name -> k8s.io.api.core.v1.ResourceQuotaSpec.HardEntry + 176, // 294: k8s.io.api.core.v1.ResourceQuotaSpec.scopeSelector:type_name -> k8s.io.api.core.v1.ScopeSelector + 241, // 295: k8s.io.api.core.v1.ResourceQuotaStatus.hard:type_name -> k8s.io.api.core.v1.ResourceQuotaStatus.HardEntry + 242, // 296: k8s.io.api.core.v1.ResourceQuotaStatus.used:type_name -> k8s.io.api.core.v1.ResourceQuotaStatus.UsedEntry + 243, // 297: k8s.io.api.core.v1.ResourceRequirements.limits:type_name -> k8s.io.api.core.v1.ResourceRequirements.LimitsEntry + 244, // 298: k8s.io.api.core.v1.ResourceRequirements.requests:type_name -> k8s.io.api.core.v1.ResourceRequirements.RequestsEntry + 166, // 299: k8s.io.api.core.v1.ResourceRequirements.claims:type_name -> k8s.io.api.core.v1.ResourceClaim + 184, // 300: k8s.io.api.core.v1.ScaleIOPersistentVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.SecretReference + 83, // 301: k8s.io.api.core.v1.ScaleIOVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.LocalObjectReference + 177, // 302: k8s.io.api.core.v1.ScopeSelector.matchExpressions:type_name -> k8s.io.api.core.v1.ScopedResourceSelectorRequirement + 248, // 303: k8s.io.api.core.v1.Secret.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 245, // 304: k8s.io.api.core.v1.Secret.data:type_name -> k8s.io.api.core.v1.Secret.DataEntry + 246, // 305: k8s.io.api.core.v1.Secret.stringData:type_name -> k8s.io.api.core.v1.Secret.StringDataEntry + 83, // 306: k8s.io.api.core.v1.SecretEnvSource.localObjectReference:type_name -> k8s.io.api.core.v1.LocalObjectReference + 83, // 307: k8s.io.api.core.v1.SecretKeySelector.localObjectReference:type_name -> k8s.io.api.core.v1.LocalObjectReference + 249, // 308: k8s.io.api.core.v1.SecretList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 179, // 309: k8s.io.api.core.v1.SecretList.items:type_name -> k8s.io.api.core.v1.Secret + 83, // 310: k8s.io.api.core.v1.SecretProjection.localObjectReference:type_name -> k8s.io.api.core.v1.LocalObjectReference + 73, // 311: k8s.io.api.core.v1.SecretProjection.items:type_name -> k8s.io.api.core.v1.KeyToPath + 73, // 312: k8s.io.api.core.v1.SecretVolumeSource.items:type_name -> k8s.io.api.core.v1.KeyToPath + 10, // 313: k8s.io.api.core.v1.SecurityContext.capabilities:type_name -> k8s.io.api.core.v1.Capabilities + 173, // 314: k8s.io.api.core.v1.SecurityContext.seLinuxOptions:type_name -> k8s.io.api.core.v1.SELinuxOptions + 217, // 315: k8s.io.api.core.v1.SecurityContext.windowsOptions:type_name -> k8s.io.api.core.v1.WindowsSecurityContextOptions + 178, // 316: k8s.io.api.core.v1.SecurityContext.seccompProfile:type_name -> k8s.io.api.core.v1.SeccompProfile + 108, // 317: k8s.io.api.core.v1.SerializedReference.reference:type_name -> k8s.io.api.core.v1.ObjectReference + 248, // 318: k8s.io.api.core.v1.Service.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 195, // 319: k8s.io.api.core.v1.Service.spec:type_name -> k8s.io.api.core.v1.ServiceSpec + 196, // 320: k8s.io.api.core.v1.Service.status:type_name -> k8s.io.api.core.v1.ServiceStatus + 248, // 321: k8s.io.api.core.v1.ServiceAccount.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 108, // 322: k8s.io.api.core.v1.ServiceAccount.secrets:type_name -> k8s.io.api.core.v1.ObjectReference + 83, // 323: k8s.io.api.core.v1.ServiceAccount.imagePullSecrets:type_name -> k8s.io.api.core.v1.LocalObjectReference + 249, // 324: k8s.io.api.core.v1.ServiceAccountList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 189, // 325: k8s.io.api.core.v1.ServiceAccountList.items:type_name -> k8s.io.api.core.v1.ServiceAccount + 249, // 326: k8s.io.api.core.v1.ServiceList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 188, // 327: k8s.io.api.core.v1.ServiceList.items:type_name -> k8s.io.api.core.v1.Service + 253, // 328: k8s.io.api.core.v1.ServicePort.targetPort:type_name -> k8s.io.apimachinery.pkg.util.intstr.IntOrString + 193, // 329: k8s.io.api.core.v1.ServiceSpec.ports:type_name -> k8s.io.api.core.v1.ServicePort + 247, // 330: k8s.io.api.core.v1.ServiceSpec.selector:type_name -> k8s.io.api.core.v1.ServiceSpec.SelectorEntry + 197, // 331: k8s.io.api.core.v1.ServiceSpec.sessionAffinityConfig:type_name -> k8s.io.api.core.v1.SessionAffinityConfig + 82, // 332: k8s.io.api.core.v1.ServiceStatus.loadBalancer:type_name -> k8s.io.api.core.v1.LoadBalancerStatus + 257, // 333: k8s.io.api.core.v1.ServiceStatus.conditions:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Condition + 16, // 334: k8s.io.api.core.v1.SessionAffinityConfig.clientIP:type_name -> k8s.io.api.core.v1.ClientIPConfig + 108, // 335: k8s.io.api.core.v1.StorageOSPersistentVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.ObjectReference + 83, // 336: k8s.io.api.core.v1.StorageOSVolumeSource.secretRef:type_name -> k8s.io.api.core.v1.LocalObjectReference + 253, // 337: k8s.io.api.core.v1.TCPSocketAction.port:type_name -> k8s.io.apimachinery.pkg.util.intstr.IntOrString + 250, // 338: k8s.io.api.core.v1.Taint.timeAdded:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 204, // 339: k8s.io.api.core.v1.TopologySelectorTerm.matchLabelExpressions:type_name -> k8s.io.api.core.v1.TopologySelectorLabelRequirement + 255, // 340: k8s.io.api.core.v1.TopologySpreadConstraint.labelSelector:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector + 214, // 341: k8s.io.api.core.v1.Volume.volumeSource:type_name -> k8s.io.api.core.v1.VolumeSource + 101, // 342: k8s.io.api.core.v1.VolumeNodeAffinity.required:type_name -> k8s.io.api.core.v1.NodeSelector + 183, // 343: k8s.io.api.core.v1.VolumeProjection.secret:type_name -> k8s.io.api.core.v1.SecretProjection + 37, // 344: k8s.io.api.core.v1.VolumeProjection.downwardAPI:type_name -> k8s.io.api.core.v1.DownwardAPIProjection + 25, // 345: k8s.io.api.core.v1.VolumeProjection.configMap:type_name -> k8s.io.api.core.v1.ConfigMapProjection + 191, // 346: k8s.io.api.core.v1.VolumeProjection.serviceAccountToken:type_name -> k8s.io.api.core.v1.ServiceAccountTokenProjection + 70, // 347: k8s.io.api.core.v1.VolumeSource.hostPath:type_name -> k8s.io.api.core.v1.HostPathVolumeSource + 40, // 348: k8s.io.api.core.v1.VolumeSource.emptyDir:type_name -> k8s.io.api.core.v1.EmptyDirVolumeSource + 61, // 349: k8s.io.api.core.v1.VolumeSource.gcePersistentDisk:type_name -> k8s.io.api.core.v1.GCEPersistentDiskVolumeSource + 0, // 350: k8s.io.api.core.v1.VolumeSource.awsElasticBlockStore:type_name -> k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource + 63, // 351: k8s.io.api.core.v1.VolumeSource.gitRepo:type_name -> k8s.io.api.core.v1.GitRepoVolumeSource + 185, // 352: k8s.io.api.core.v1.VolumeSource.secret:type_name -> k8s.io.api.core.v1.SecretVolumeSource + 85, // 353: k8s.io.api.core.v1.VolumeSource.nfs:type_name -> k8s.io.api.core.v1.NFSVolumeSource + 72, // 354: k8s.io.api.core.v1.VolumeSource.iscsi:type_name -> k8s.io.api.core.v1.ISCSIVolumeSource + 65, // 355: k8s.io.api.core.v1.VolumeSource.glusterfs:type_name -> k8s.io.api.core.v1.GlusterfsVolumeSource + 116, // 356: k8s.io.api.core.v1.VolumeSource.persistentVolumeClaim:type_name -> k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource + 159, // 357: k8s.io.api.core.v1.VolumeSource.rbd:type_name -> k8s.io.api.core.v1.RBDVolumeSource + 59, // 358: k8s.io.api.core.v1.VolumeSource.flexVolume:type_name -> k8s.io.api.core.v1.FlexVolumeSource + 14, // 359: k8s.io.api.core.v1.VolumeSource.cinder:type_name -> k8s.io.api.core.v1.CinderVolumeSource + 12, // 360: k8s.io.api.core.v1.VolumeSource.cephfs:type_name -> k8s.io.api.core.v1.CephFSVolumeSource + 60, // 361: k8s.io.api.core.v1.VolumeSource.flocker:type_name -> k8s.io.api.core.v1.FlockerVolumeSource + 39, // 362: k8s.io.api.core.v1.VolumeSource.downwardAPI:type_name -> k8s.io.api.core.v1.DownwardAPIVolumeSource + 57, // 363: k8s.io.api.core.v1.VolumeSource.fc:type_name -> k8s.io.api.core.v1.FCVolumeSource + 6, // 364: k8s.io.api.core.v1.VolumeSource.azureFile:type_name -> k8s.io.api.core.v1.AzureFileVolumeSource + 26, // 365: k8s.io.api.core.v1.VolumeSource.configMap:type_name -> k8s.io.api.core.v1.ConfigMapVolumeSource + 215, // 366: k8s.io.api.core.v1.VolumeSource.vsphereVolume:type_name -> k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource + 157, // 367: k8s.io.api.core.v1.VolumeSource.quobyte:type_name -> k8s.io.api.core.v1.QuobyteVolumeSource + 4, // 368: k8s.io.api.core.v1.VolumeSource.azureDisk:type_name -> k8s.io.api.core.v1.AzureDiskVolumeSource + 121, // 369: k8s.io.api.core.v1.VolumeSource.photonPersistentDisk:type_name -> k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource + 156, // 370: k8s.io.api.core.v1.VolumeSource.projected:type_name -> k8s.io.api.core.v1.ProjectedVolumeSource + 150, // 371: k8s.io.api.core.v1.VolumeSource.portworxVolume:type_name -> k8s.io.api.core.v1.PortworxVolumeSource + 175, // 372: k8s.io.api.core.v1.VolumeSource.scaleIO:type_name -> k8s.io.api.core.v1.ScaleIOVolumeSource + 199, // 373: k8s.io.api.core.v1.VolumeSource.storageos:type_name -> k8s.io.api.core.v1.StorageOSVolumeSource + 9, // 374: k8s.io.api.core.v1.VolumeSource.csi:type_name -> k8s.io.api.core.v1.CSIVolumeSource + 51, // 375: k8s.io.api.core.v1.VolumeSource.ephemeral:type_name -> k8s.io.api.core.v1.EphemeralVolumeSource + 124, // 376: k8s.io.api.core.v1.WeightedPodAffinityTerm.podAffinityTerm:type_name -> k8s.io.api.core.v1.PodAffinityTerm + 251, // 377: k8s.io.api.core.v1.ContainerStatus.AllocatedResourcesEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 378: k8s.io.api.core.v1.LimitRangeItem.MaxEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 379: k8s.io.api.core.v1.LimitRangeItem.MinEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 380: k8s.io.api.core.v1.LimitRangeItem.DefaultEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 381: k8s.io.api.core.v1.LimitRangeItem.DefaultRequestEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 382: k8s.io.api.core.v1.LimitRangeItem.MaxLimitRequestRatioEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 383: k8s.io.api.core.v1.NodeResources.CapacityEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 384: k8s.io.api.core.v1.NodeStatus.CapacityEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 385: k8s.io.api.core.v1.NodeStatus.AllocatableEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 386: k8s.io.api.core.v1.PersistentVolumeClaimStatus.CapacityEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 387: k8s.io.api.core.v1.PersistentVolumeClaimStatus.AllocatedResourcesEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 388: k8s.io.api.core.v1.PersistentVolumeSpec.CapacityEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 389: k8s.io.api.core.v1.PodSpec.OverheadEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 390: k8s.io.api.core.v1.ResourceQuotaSpec.HardEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 391: k8s.io.api.core.v1.ResourceQuotaStatus.HardEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 392: k8s.io.api.core.v1.ResourceQuotaStatus.UsedEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 393: k8s.io.api.core.v1.ResourceRequirements.LimitsEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 251, // 394: k8s.io.api.core.v1.ResourceRequirements.RequestsEntry.value:type_name -> k8s.io.apimachinery.pkg.api.resource.Quantity + 395, // [395:395] is the sub-list for method output_type + 395, // [395:395] is the sub-list for method input_type + 395, // [395:395] is the sub-list for extension type_name + 395, // [395:395] is the sub-list for extension extendee + 0, // [0:395] is the sub-list for field type_name +} + +func init() { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_init() +} +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AWSElasticBlockStoreVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Affinity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AttachedVolume); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AvoidPods); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AzureDiskVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AzureFilePersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AzureFileVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Binding); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CSIPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CSIVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Capabilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CephFSPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CephFSVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CinderPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CinderVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClaimSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientIPConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComponentCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComponentStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ComponentStatusList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigMapEnvSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigMapKeySelector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigMapList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigMapNodeConfigSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigMapProjection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigMapVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Container); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerPort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerResizePolicy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerStateRunning); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerStateTerminated); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerStateWaiting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DaemonEndpoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DownwardAPIProjection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DownwardAPIVolumeFile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DownwardAPIVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmptyDirVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EndpointAddress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EndpointPort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EndpointSubset); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Endpoints); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EndpointsList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvFromSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvVar); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvVarSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EphemeralContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EphemeralContainerCommon); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EphemeralVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Event); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventSeries); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FCVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlexPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlexVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FlockerVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GCEPersistentDiskVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GRPCAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GitRepoVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GlusterfsPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GlusterfsVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HTTPGetAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HTTPHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HostAlias); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HostIP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HostPathVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ISCSIPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ISCSIVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyToPath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Lifecycle); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LifecycleHandler); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LimitRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LimitRangeItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LimitRangeList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LimitRangeSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*List); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LoadBalancerIngress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LoadBalancerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocalObjectReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LocalVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NFSVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[86].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 + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Node); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeAddress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeAffinity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeConfigSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeConfigStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeDaemonEndpoints); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeProxyOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeResources); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeSelector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeSelectorRequirement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeSelectorTerm); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeSystemInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectFieldSelector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolume); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaim); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeClaimVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PersistentVolumeStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PhotonPersistentDiskVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodAffinity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodAffinityTerm); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodAntiAffinity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodAttachOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodDNSConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodDNSConfigOption); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodExecOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodIP); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodLogOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodOS); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodPortForwardOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodProxyOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodReadinessGate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodResourceClaim); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodResourceClaimStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodSchedulingGate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodSecurityContext); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodSignature); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodStatusResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodTemplateList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PodTemplateSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PortStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PortworxVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Preconditions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreferAvoidPodsEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreferredSchedulingTerm); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Probe); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProbeHandler); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProjectedVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuobyteVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RBDPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RBDVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RangeAllocation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicationController); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicationControllerCondition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicationControllerList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicationControllerSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicationControllerStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceClaim); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceFieldSelector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceQuota); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceQuotaList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceQuotaSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceQuotaStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceRequirements); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SELinuxOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScaleIOPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScaleIOVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScopeSelector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ScopedResourceSelectorRequirement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SeccompProfile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Secret); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecretEnvSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecretKeySelector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecretList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecretProjection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecretReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecretVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SecurityContext); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SerializedReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Service); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccountList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceAccountTokenProjection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServicePort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceProxyOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SessionAffinityConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StorageOSPersistentVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StorageOSVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Sysctl); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TCPSocketAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Taint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Toleration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopologySelectorLabelRequirement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopologySelectorTerm); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TopologySpreadConstraint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypedLocalObjectReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypedObjectReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Volume); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeDevice); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeMount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeNodeAffinity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeProjection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VsphereVirtualDiskVolumeSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WeightedPodAffinityTerm); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WindowsSecurityContextOptions); 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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDesc, + NumEnums: 0, + NumMessages: 248, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_api_core_v1_generated_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/api/resource/generated.pb.go b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/api/resource/generated.pb.go new file mode 100644 index 00000000000..26aaab95fd0 --- /dev/null +++ b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/api/resource/generated.pb.go @@ -0,0 +1,318 @@ +// +//Copyright The Kubernetes Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/api/resource/generated.proto +// with the go_package changed to a gloo path. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/api/resource/generated.proto + +package resource + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Quantity is a fixed-point representation of a number. +// It provides convenient marshaling/unmarshaling in JSON and YAML, +// in addition to String() and AsInt64() accessors. +// +// The serialization format is: +// +// ``` +// ::= +// +// (Note that may be empty, from the "" case in .) +// +// ::= 0 | 1 | ... | 9 +// ::= | +// ::= | . | . | . +// ::= "+" | "-" +// ::= | +// ::= | | +// ::= Ki | Mi | Gi | Ti | Pi | Ei +// +// (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) +// +// ::= m | "" | k | M | G | T | P | E +// +// (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) +// +// ::= "e" | "E" +// ``` +// +// No matter which of the three exponent forms is used, no quantity may represent +// a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal +// places. Numbers larger or more precise will be capped or rounded up. +// (E.g.: 0.1m will rounded up to 1m.) +// This may be extended in the future if we require larger or smaller quantities. +// +// When a Quantity is parsed from a string, it will remember the type of suffix +// it had, and will use the same type again when it is serialized. +// +// Before serializing, Quantity will be put in "canonical form". +// This means that Exponent/suffix will be adjusted up or down (with a +// corresponding increase or decrease in Mantissa) such that: +// +// - No precision is lost +// - No fractional digits will be emitted +// - The exponent (or suffix) is as large as possible. +// +// The sign will be omitted unless the number is negative. +// +// Examples: +// +// - 1.5 will be serialized as "1500m" +// - 1.5Gi will be serialized as "1536Mi" +// +// Note that the quantity will NEVER be internally represented by a +// floating point number. That is the whole point of this exercise. +// +// Non-canonical values will still parse as long as they are well formed, +// but will be re-emitted in their canonical form. (So always use canonical +// form, or don't diff.) +// +// This format is intended to make it difficult to use these numbers without +// writing some sort of special handling code in the hopes that that will +// cause implementors to also use a fixed point implementation. +// +// +protobuf=true +// +protobuf.embed=string +// +protobuf.options.marshal=false +// +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:deepcopy-gen=true +// +k8s:openapi-gen=true +type Quantity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + String_ *string `protobuf:"bytes,1,opt,name=string" json:"string,omitempty"` +} + +func (x *Quantity) Reset() { + *x = Quantity{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Quantity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Quantity) ProtoMessage() {} + +func (x *Quantity) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_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 Quantity.ProtoReflect.Descriptor instead. +func (*Quantity) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescGZIP(), []int{0} +} + +func (x *Quantity) GetString_() string { + if x != nil && x.String_ != nil { + return *x.String_ + } + return "" +} + +// QuantityValue makes it possible to use a Quantity as value for a command +// line parameter. +// +// +protobuf=true +// +protobuf.embed=string +// +protobuf.options.marshal=false +// +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:deepcopy-gen=true +type QuantityValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + String_ *string `protobuf:"bytes,1,opt,name=string" json:"string,omitempty"` +} + +func (x *QuantityValue) Reset() { + *x = QuantityValue{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QuantityValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QuantityValue) ProtoMessage() {} + +func (x *QuantityValue) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_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 QuantityValue.ProtoReflect.Descriptor instead. +func (*QuantityValue) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescGZIP(), []int{1} +} + +func (x *QuantityValue) GetString_() string { + if x != nil && x.String_ != nil { + return *x.String_ + } + return "" +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDesc = []byte{ + 0x0a, 0x6f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, + 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x24, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x22, 0x0a, 0x08, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x27, 0x0a, 0x0d, 0x51, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x42, 0x65, 0x5a, 0x63, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x32, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, + 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_goTypes = []interface{}{ + (*Quantity)(nil), // 0: k8s.io.apimachinery.pkg.api.resource.Quantity + (*QuantityValue)(nil), // 1: k8s.io.apimachinery.pkg.api.resource.QuantityValue +} +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_init() +} +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Quantity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QuantityValue); 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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_api_resource_generated_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.pb.go b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.pb.go new file mode 100644 index 00000000000..c6b7bf3c976 --- /dev/null +++ b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.pb.go @@ -0,0 +1,4815 @@ +// +//Copyright The Kubernetes Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/apis/meta/v1/generated.proto +// with the imports and go_package changed to gloo paths. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/apis/meta/v1/generated.proto + +package v1 + +import ( + reflect "reflect" + sync "sync" + + runtime "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime" + _ "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/schema" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// APIGroup contains the name, the supported versions, and the preferred version +// of a group. +type APIGroup struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name is the name of the group. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // versions are the versions supported in this group. + Versions []*GroupVersionForDiscovery `protobuf:"bytes,2,rep,name=versions" json:"versions,omitempty"` + // preferredVersion is the version preferred by the API server, which + // probably is the storage version. + // +optional + PreferredVersion *GroupVersionForDiscovery `protobuf:"bytes,3,opt,name=preferredVersion" json:"preferredVersion,omitempty"` + // a map of client CIDR to server address that is serving this group. + // This is to help clients reach servers in the most network-efficient way possible. + // Clients can use the appropriate server address as per the CIDR that they match. + // In case of multiple matches, clients should use the longest matching CIDR. + // The server returns only those CIDRs that it thinks that the client can match. + // For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. + // Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + // +optional + ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,4,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"` +} + +func (x *APIGroup) Reset() { + *x = APIGroup{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *APIGroup) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*APIGroup) ProtoMessage() {} + +func (x *APIGroup) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_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 APIGroup.ProtoReflect.Descriptor instead. +func (*APIGroup) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{0} +} + +func (x *APIGroup) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *APIGroup) GetVersions() []*GroupVersionForDiscovery { + if x != nil { + return x.Versions + } + return nil +} + +func (x *APIGroup) GetPreferredVersion() *GroupVersionForDiscovery { + if x != nil { + return x.PreferredVersion + } + return nil +} + +func (x *APIGroup) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR { + if x != nil { + return x.ServerAddressByClientCIDRs + } + return nil +} + +// APIGroupList is a list of APIGroup, to allow clients to discover the API at +// /apis. +type APIGroupList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // groups is a list of APIGroup. + Groups []*APIGroup `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"` +} + +func (x *APIGroupList) Reset() { + *x = APIGroupList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *APIGroupList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*APIGroupList) ProtoMessage() {} + +func (x *APIGroupList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_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 APIGroupList.ProtoReflect.Descriptor instead. +func (*APIGroupList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{1} +} + +func (x *APIGroupList) GetGroups() []*APIGroup { + if x != nil { + return x.Groups + } + return nil +} + +// APIResource specifies the name of a resource and whether it is namespaced. +type APIResource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name is the plural name of the resource. + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. + // The singularName is more correct for reporting status on a single item and both singular and plural are allowed + // from the kubectl CLI interface. + SingularName *string `protobuf:"bytes,6,opt,name=singularName" json:"singularName,omitempty"` + // namespaced indicates if a resource is namespaced or not. + Namespaced *bool `protobuf:"varint,2,opt,name=namespaced" json:"namespaced,omitempty"` + // group is the preferred group of the resource. Empty implies the group of the containing resource list. + // For subresources, this may have a different value, for example: Scale". + Group *string `protobuf:"bytes,8,opt,name=group" json:"group,omitempty"` + // version is the preferred version of the resource. Empty implies the version of the containing resource list + // For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)". + Version *string `protobuf:"bytes,9,opt,name=version" json:"version,omitempty"` + // kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') + Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` + // verbs is a list of supported kube verbs (this includes get, list, watch, create, + // update, patch, delete, deletecollection, and proxy) + Verbs *Verbs `protobuf:"bytes,4,opt,name=verbs" json:"verbs,omitempty"` + // shortNames is a list of suggested short names of the resource. + ShortNames []string `protobuf:"bytes,5,rep,name=shortNames" json:"shortNames,omitempty"` + // categories is a list of the grouped resources this resource belongs to (e.g. 'all') + Categories []string `protobuf:"bytes,7,rep,name=categories" json:"categories,omitempty"` + // The hash value of the storage version, the version this resource is + // converted to when written to the data store. Value must be treated + // as opaque by clients. Only equality comparison on the value is valid. + // This is an alpha feature and may change or be removed in the future. + // The field is populated by the apiserver only if the + // StorageVersionHash feature gate is enabled. + // This field will remain optional even if it graduates. + // +optional + StorageVersionHash *string `protobuf:"bytes,10,opt,name=storageVersionHash" json:"storageVersionHash,omitempty"` +} + +func (x *APIResource) Reset() { + *x = APIResource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *APIResource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*APIResource) ProtoMessage() {} + +func (x *APIResource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_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 APIResource.ProtoReflect.Descriptor instead. +func (*APIResource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{2} +} + +func (x *APIResource) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *APIResource) GetSingularName() string { + if x != nil && x.SingularName != nil { + return *x.SingularName + } + return "" +} + +func (x *APIResource) GetNamespaced() bool { + if x != nil && x.Namespaced != nil { + return *x.Namespaced + } + return false +} + +func (x *APIResource) GetGroup() string { + if x != nil && x.Group != nil { + return *x.Group + } + return "" +} + +func (x *APIResource) GetVersion() string { + if x != nil && x.Version != nil { + return *x.Version + } + return "" +} + +func (x *APIResource) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +func (x *APIResource) GetVerbs() *Verbs { + if x != nil { + return x.Verbs + } + return nil +} + +func (x *APIResource) GetShortNames() []string { + if x != nil { + return x.ShortNames + } + return nil +} + +func (x *APIResource) GetCategories() []string { + if x != nil { + return x.Categories + } + return nil +} + +func (x *APIResource) GetStorageVersionHash() string { + if x != nil && x.StorageVersionHash != nil { + return *x.StorageVersionHash + } + return "" +} + +// APIResourceList is a list of APIResource, it is used to expose the name of the +// resources supported in a specific group and version, and if the resource +// is namespaced. +type APIResourceList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // groupVersion is the group and version this APIResourceList is for. + GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion" json:"groupVersion,omitempty"` + // resources contains the name of the resources and if they are namespaced. + Resources []*APIResource `protobuf:"bytes,2,rep,name=resources" json:"resources,omitempty"` +} + +func (x *APIResourceList) Reset() { + *x = APIResourceList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *APIResourceList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*APIResourceList) ProtoMessage() {} + +func (x *APIResourceList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_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 APIResourceList.ProtoReflect.Descriptor instead. +func (*APIResourceList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{3} +} + +func (x *APIResourceList) GetGroupVersion() string { + if x != nil && x.GroupVersion != nil { + return *x.GroupVersion + } + return "" +} + +func (x *APIResourceList) GetResources() []*APIResource { + if x != nil { + return x.Resources + } + return nil +} + +// APIVersions lists the versions that are available, to allow clients to +// discover the API at /api, which is the root path of the legacy v1 API. +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +type APIVersions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // versions are the api versions that are available. + Versions []string `protobuf:"bytes,1,rep,name=versions" json:"versions,omitempty"` + // a map of client CIDR to server address that is serving this group. + // This is to help clients reach servers in the most network-efficient way possible. + // Clients can use the appropriate server address as per the CIDR that they match. + // In case of multiple matches, clients should use the longest matching CIDR. + // The server returns only those CIDRs that it thinks that the client can match. + // For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. + // Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. + ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,2,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"` +} + +func (x *APIVersions) Reset() { + *x = APIVersions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *APIVersions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*APIVersions) ProtoMessage() {} + +func (x *APIVersions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_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 APIVersions.ProtoReflect.Descriptor instead. +func (*APIVersions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{4} +} + +func (x *APIVersions) GetVersions() []string { + if x != nil { + return x.Versions + } + return nil +} + +func (x *APIVersions) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR { + if x != nil { + return x.ServerAddressByClientCIDRs + } + return nil +} + +// ApplyOptions may be provided when applying an API object. +// FieldManager is required for apply requests. +// ApplyOptions is equivalent to PatchOptions. It is provided as a convenience with documentation +// that speaks specifically to how the options fields relate to apply. +type ApplyOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + DryRun []string `protobuf:"bytes,1,rep,name=dryRun" json:"dryRun,omitempty"` + // Force is going to "force" Apply requests. It means user will + // re-acquire conflicting fields owned by other people. + Force *bool `protobuf:"varint,2,opt,name=force" json:"force,omitempty"` + // fieldManager is a name associated with the actor or entity + // that is making these changes. The value must be less than or + // 128 characters long, and only contain printable characters, + // as defined by https://golang.org/pkg/unicode/#IsPrint. This + // field is required. + FieldManager *string `protobuf:"bytes,3,opt,name=fieldManager" json:"fieldManager,omitempty"` +} + +func (x *ApplyOptions) Reset() { + *x = ApplyOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyOptions) ProtoMessage() {} + +func (x *ApplyOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyOptions.ProtoReflect.Descriptor instead. +func (*ApplyOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{5} +} + +func (x *ApplyOptions) GetDryRun() []string { + if x != nil { + return x.DryRun + } + return nil +} + +func (x *ApplyOptions) GetForce() bool { + if x != nil && x.Force != nil { + return *x.Force + } + return false +} + +func (x *ApplyOptions) GetFieldManager() string { + if x != nil && x.FieldManager != nil { + return *x.FieldManager + } + return "" +} + +// Condition contains details for one aspect of the current state of this API Resource. +// --- +// This struct is intended for direct use as an array at the field path .status.conditions. For example, +// +// type FooStatus struct{ +// // Represents the observations of a foo's current state. +// // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" +// // +patchMergeKey=type +// // +patchStrategy=merge +// // +listType=map +// // +listMapKey=type +// Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` +// +// // other fields +// } +type Condition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // type of condition in CamelCase or in foo.example.com/CamelCase. + // --- + // Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be + // useful (see .node.status.conditions), the ability to deconflict is important. + // The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$` + // +kubebuilder:validation:MaxLength=316 + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // status of the condition, one of True, False, Unknown. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:Enum=True;False;Unknown + Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + // observedGeneration represents the .metadata.generation that the condition was set based upon. + // For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date + // with respect to the current state of the instance. + // +optional + // +kubebuilder:validation:Minimum=0 + ObservedGeneration *int64 `protobuf:"varint,3,opt,name=observedGeneration" json:"observedGeneration,omitempty"` + // lastTransitionTime is the last time the condition transitioned from one status to another. + // This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:Type=string + // +kubebuilder:validation:Format=date-time + LastTransitionTime *Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"` + // reason contains a programmatic identifier indicating the reason for the condition's last transition. + // Producers of specific condition types may define expected values and meanings for this field, + // and whether the values are considered a guaranteed API. + // The value should be a CamelCase string. + // This field may not be empty. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:MaxLength=1024 + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$` + Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"` + // message is a human readable message indicating details about the transition. + // This may be an empty string. + // +required + // +kubebuilder:validation:Required + // +kubebuilder:validation:MaxLength=32768 + Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` +} + +func (x *Condition) Reset() { + *x = Condition{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Condition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Condition) ProtoMessage() {} + +func (x *Condition) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Condition.ProtoReflect.Descriptor instead. +func (*Condition) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{6} +} + +func (x *Condition) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *Condition) GetStatus() string { + if x != nil && x.Status != nil { + return *x.Status + } + return "" +} + +func (x *Condition) GetObservedGeneration() int64 { + if x != nil && x.ObservedGeneration != nil { + return *x.ObservedGeneration + } + return 0 +} + +func (x *Condition) GetLastTransitionTime() *Time { + if x != nil { + return x.LastTransitionTime + } + return nil +} + +func (x *Condition) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *Condition) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +// CreateOptions may be provided when creating an API object. +type CreateOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + DryRun []string `protobuf:"bytes,1,rep,name=dryRun" json:"dryRun,omitempty"` + // fieldManager is a name associated with the actor or entity + // that is making these changes. The value must be less than or + // 128 characters long, and only contain printable characters, + // as defined by https://golang.org/pkg/unicode/#IsPrint. + // +optional + FieldManager *string `protobuf:"bytes,3,opt,name=fieldManager" json:"fieldManager,omitempty"` + // fieldValidation instructs the server on how to handle + // objects in the request (POST/PUT/PATCH) containing unknown + // or duplicate fields. Valid values are: + // - Ignore: This will ignore any unknown fields that are silently + // dropped from the object, and will ignore all but the last duplicate + // field that the decoder encounters. This is the default behavior + // prior to v1.23. + // - Warn: This will send a warning via the standard warning response + // header for each unknown field that is dropped from the object, and + // for each duplicate field that is encountered. The request will + // still succeed if there are no other errors, and will only persist + // the last of any duplicate fields. This is the default in v1.23+ + // - Strict: This will fail the request with a BadRequest error if + // any unknown fields would be dropped from the object, or if any + // duplicate fields are present. The error returned from the server + // will contain all unknown and duplicate fields encountered. + // +optional + FieldValidation *string `protobuf:"bytes,4,opt,name=fieldValidation" json:"fieldValidation,omitempty"` +} + +func (x *CreateOptions) Reset() { + *x = CreateOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateOptions) ProtoMessage() {} + +func (x *CreateOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateOptions.ProtoReflect.Descriptor instead. +func (*CreateOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{7} +} + +func (x *CreateOptions) GetDryRun() []string { + if x != nil { + return x.DryRun + } + return nil +} + +func (x *CreateOptions) GetFieldManager() string { + if x != nil && x.FieldManager != nil { + return *x.FieldManager + } + return "" +} + +func (x *CreateOptions) GetFieldValidation() string { + if x != nil && x.FieldValidation != nil { + return *x.FieldValidation + } + return "" +} + +// DeleteOptions may be provided when deleting an API object. +type DeleteOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The duration in seconds before the object should be deleted. Value must be non-negative integer. + // The value zero indicates delete immediately. If this value is nil, the default grace period for the + // specified type will be used. + // Defaults to a per object value if not specified. zero means delete immediately. + // +optional + GracePeriodSeconds *int64 `protobuf:"varint,1,opt,name=gracePeriodSeconds" json:"gracePeriodSeconds,omitempty"` + // Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be + // returned. + // +k8s:conversion-gen=false + // +optional + Preconditions *Preconditions `protobuf:"bytes,2,opt,name=preconditions" json:"preconditions,omitempty"` + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. + // Should the dependent objects be orphaned. If true/false, the "orphan" + // finalizer will be added to/removed from the object's finalizers list. + // Either this field or PropagationPolicy may be set, but not both. + // +optional + OrphanDependents *bool `protobuf:"varint,3,opt,name=orphanDependents" json:"orphanDependents,omitempty"` + // Whether and how garbage collection will be performed. + // Either this field or OrphanDependents may be set, but not both. + // The default policy is decided by the existing finalizer set in the + // metadata.finalizers and the resource-specific default policy. + // Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - + // allow the garbage collector to delete the dependents in the background; + // 'Foreground' - a cascading policy that deletes all dependents in the + // foreground. + // +optional + PropagationPolicy *string `protobuf:"bytes,4,opt,name=propagationPolicy" json:"propagationPolicy,omitempty"` + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + DryRun []string `protobuf:"bytes,5,rep,name=dryRun" json:"dryRun,omitempty"` +} + +func (x *DeleteOptions) Reset() { + *x = DeleteOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteOptions) ProtoMessage() {} + +func (x *DeleteOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead. +func (*DeleteOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{8} +} + +func (x *DeleteOptions) GetGracePeriodSeconds() int64 { + if x != nil && x.GracePeriodSeconds != nil { + return *x.GracePeriodSeconds + } + return 0 +} + +func (x *DeleteOptions) GetPreconditions() *Preconditions { + if x != nil { + return x.Preconditions + } + return nil +} + +func (x *DeleteOptions) GetOrphanDependents() bool { + if x != nil && x.OrphanDependents != nil { + return *x.OrphanDependents + } + return false +} + +func (x *DeleteOptions) GetPropagationPolicy() string { + if x != nil && x.PropagationPolicy != nil { + return *x.PropagationPolicy + } + return "" +} + +func (x *DeleteOptions) GetDryRun() []string { + if x != nil { + return x.DryRun + } + return nil +} + +// Duration is a wrapper around time.Duration which supports correct +// marshaling to YAML and JSON. In particular, it marshals into strings, which +// can be used as map keys in json. +type Duration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Duration *int64 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"` +} + +func (x *Duration) Reset() { + *x = Duration{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Duration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Duration) ProtoMessage() {} + +func (x *Duration) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_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 Duration.ProtoReflect.Descriptor instead. +func (*Duration) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{9} +} + +func (x *Duration) GetDuration() int64 { + if x != nil && x.Duration != nil { + return *x.Duration + } + return 0 +} + +// FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. +// +// Each key is either a '.' representing the field itself, and will always map to an empty set, +// or a string representing a sub-field or item. The string will follow one of these four formats: +// 'f:', where is the name of a field in a struct, or key in a map +// 'v:', where is the exact json formatted value of a list item +// 'i:', where is position of a item in a list +// 'k:', where is a map of a list item's key fields to their unique values +// If a key maps to an empty Fields value, the field that key represents is part of the set. +// +// The exact format is defined in sigs.k8s.io/structured-merge-diff +// +protobuf.options.(gogoproto.goproto_stringer)=false +type FieldsV1 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Raw is the underlying serialization of this object. + Raw []byte `protobuf:"bytes,1,opt,name=Raw" json:"Raw,omitempty"` +} + +func (x *FieldsV1) Reset() { + *x = FieldsV1{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldsV1) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldsV1) ProtoMessage() {} + +func (x *FieldsV1) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[10] + 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 FieldsV1.ProtoReflect.Descriptor instead. +func (*FieldsV1) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{10} +} + +func (x *FieldsV1) GetRaw() []byte { + if x != nil { + return x.Raw + } + return nil +} + +// GetOptions is the standard query options to the standard REST get call. +type GetOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // resourceVersion sets a constraint on what resource versions a request may be served from. + // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for + // details. + // + // Defaults to unset + // +optional + ResourceVersion *string `protobuf:"bytes,1,opt,name=resourceVersion" json:"resourceVersion,omitempty"` +} + +func (x *GetOptions) Reset() { + *x = GetOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOptions) ProtoMessage() {} + +func (x *GetOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_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 GetOptions.ProtoReflect.Descriptor instead. +func (*GetOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{11} +} + +func (x *GetOptions) GetResourceVersion() string { + if x != nil && x.ResourceVersion != nil { + return *x.ResourceVersion + } + return "" +} + +// GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying +// concepts during lookup stages without having partially valid types +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +type GroupKind struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` + Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` +} + +func (x *GroupKind) Reset() { + *x = GroupKind{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupKind) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupKind) ProtoMessage() {} + +func (x *GroupKind) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[12] + 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 GroupKind.ProtoReflect.Descriptor instead. +func (*GroupKind) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{12} +} + +func (x *GroupKind) GetGroup() string { + if x != nil && x.Group != nil { + return *x.Group + } + return "" +} + +func (x *GroupKind) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +// GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying +// concepts during lookup stages without having partially valid types +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +type GroupResource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` + Resource *string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"` +} + +func (x *GroupResource) Reset() { + *x = GroupResource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupResource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupResource) ProtoMessage() {} + +func (x *GroupResource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[13] + 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 GroupResource.ProtoReflect.Descriptor instead. +func (*GroupResource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{13} +} + +func (x *GroupResource) GetGroup() string { + if x != nil && x.Group != nil { + return *x.Group + } + return "" +} + +func (x *GroupResource) GetResource() string { + if x != nil && x.Resource != nil { + return *x.Resource + } + return "" +} + +// GroupVersion contains the "group" and the "version", which uniquely identifies the API. +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +type GroupVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` + Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` +} + +func (x *GroupVersion) Reset() { + *x = GroupVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupVersion) ProtoMessage() {} + +func (x *GroupVersion) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[14] + 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 GroupVersion.ProtoReflect.Descriptor instead. +func (*GroupVersion) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{14} +} + +func (x *GroupVersion) GetGroup() string { + if x != nil && x.Group != nil { + return *x.Group + } + return "" +} + +func (x *GroupVersion) GetVersion() string { + if x != nil && x.Version != nil { + return *x.Version + } + return "" +} + +// GroupVersion contains the "group/version" and "version" string of a version. +// It is made a struct to keep extensibility. +type GroupVersionForDiscovery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // groupVersion specifies the API group and version in the form "group/version" + GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion" json:"groupVersion,omitempty"` + // version specifies the version in the form of "version". This is to save + // the clients the trouble of splitting the GroupVersion. + Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` +} + +func (x *GroupVersionForDiscovery) Reset() { + *x = GroupVersionForDiscovery{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupVersionForDiscovery) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupVersionForDiscovery) ProtoMessage() {} + +func (x *GroupVersionForDiscovery) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[15] + 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 GroupVersionForDiscovery.ProtoReflect.Descriptor instead. +func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{15} +} + +func (x *GroupVersionForDiscovery) GetGroupVersion() string { + if x != nil && x.GroupVersion != nil { + return *x.GroupVersion + } + return "" +} + +func (x *GroupVersionForDiscovery) GetVersion() string { + if x != nil && x.Version != nil { + return *x.Version + } + return "" +} + +// GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion +// to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +type GroupVersionKind struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` + Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` + Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` +} + +func (x *GroupVersionKind) Reset() { + *x = GroupVersionKind{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupVersionKind) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupVersionKind) ProtoMessage() {} + +func (x *GroupVersionKind) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[16] + 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 GroupVersionKind.ProtoReflect.Descriptor instead. +func (*GroupVersionKind) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{16} +} + +func (x *GroupVersionKind) GetGroup() string { + if x != nil && x.Group != nil { + return *x.Group + } + return "" +} + +func (x *GroupVersionKind) GetVersion() string { + if x != nil && x.Version != nil { + return *x.Version + } + return "" +} + +func (x *GroupVersionKind) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +// GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion +// to avoid automatic coercion. It doesn't use a GroupVersion to avoid custom marshalling +// +// +protobuf.options.(gogoproto.goproto_stringer)=false +type GroupVersionResource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` + Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` + Resource *string `protobuf:"bytes,3,opt,name=resource" json:"resource,omitempty"` +} + +func (x *GroupVersionResource) Reset() { + *x = GroupVersionResource{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupVersionResource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupVersionResource) ProtoMessage() {} + +func (x *GroupVersionResource) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[17] + 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 GroupVersionResource.ProtoReflect.Descriptor instead. +func (*GroupVersionResource) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{17} +} + +func (x *GroupVersionResource) GetGroup() string { + if x != nil && x.Group != nil { + return *x.Group + } + return "" +} + +func (x *GroupVersionResource) GetVersion() string { + if x != nil && x.Version != nil { + return *x.Version + } + return "" +} + +func (x *GroupVersionResource) GetResource() string { + if x != nil && x.Resource != nil { + return *x.Resource + } + return "" +} + +// A label selector is a label query over a set of resources. The result of matchLabels and +// matchExpressions are ANDed. An empty label selector matches all objects. A null +// label selector matches no objects. +// +structType=atomic +type LabelSelector struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + // map is equivalent to an element of matchExpressions, whose key field is "key", the + // operator is "In", and the values array contains only "value". The requirements are ANDed. + // +optional + MatchLabels map[string]string `protobuf:"bytes,1,rep,name=matchLabels" json:"matchLabels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // matchExpressions is a list of label selector requirements. The requirements are ANDed. + // +optional + MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchExpressions" json:"matchExpressions,omitempty"` +} + +func (x *LabelSelector) Reset() { + *x = LabelSelector{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LabelSelector) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LabelSelector) ProtoMessage() {} + +func (x *LabelSelector) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[18] + 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 LabelSelector.ProtoReflect.Descriptor instead. +func (*LabelSelector) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{18} +} + +func (x *LabelSelector) GetMatchLabels() map[string]string { + if x != nil { + return x.MatchLabels + } + return nil +} + +func (x *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement { + if x != nil { + return x.MatchExpressions + } + return nil +} + +// A label selector requirement is a selector that contains values, a key, and an operator that +// relates the key and values. +type LabelSelectorRequirement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // key is the label key that the selector applies to. + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + // operator represents a key's relationship to a set of values. + // Valid operators are In, NotIn, Exists and DoesNotExist. + Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"` + // values is an array of string values. If the operator is In or NotIn, + // the values array must be non-empty. If the operator is Exists or DoesNotExist, + // the values array must be empty. This array is replaced during a strategic + // merge patch. + // +optional + Values []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"` +} + +func (x *LabelSelectorRequirement) Reset() { + *x = LabelSelectorRequirement{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LabelSelectorRequirement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LabelSelectorRequirement) ProtoMessage() {} + +func (x *LabelSelectorRequirement) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[19] + 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 LabelSelectorRequirement.ProtoReflect.Descriptor instead. +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{19} +} + +func (x *LabelSelectorRequirement) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *LabelSelectorRequirement) GetOperator() string { + if x != nil && x.Operator != nil { + return *x.Operator + } + return "" +} + +func (x *LabelSelectorRequirement) GetValues() []string { + if x != nil { + return x.Values + } + return nil +} + +// List holds a list of objects, which may not be known by the server. +type List struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // List of objects + Items []*runtime.RawExtension `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *List) Reset() { + *x = List{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *List) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*List) ProtoMessage() {} + +func (x *List) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[20] + 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 List.ProtoReflect.Descriptor instead. +func (*List) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{20} +} + +func (x *List) GetMetadata() *ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *List) GetItems() []*runtime.RawExtension { + if x != nil { + return x.Items + } + return nil +} + +// ListMeta describes metadata that synthetic resources must have, including lists and +// various status objects. A resource may have only one of {ObjectMeta, ListMeta}. +type ListMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. + // +optional + SelfLink *string `protobuf:"bytes,1,opt,name=selfLink" json:"selfLink,omitempty"` + // String that identifies the server's internal version of this object that + // can be used by clients to determine when objects have changed. + // Value must be treated as opaque by clients and passed unmodified back to the server. + // Populated by the system. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + // +optional + ResourceVersion *string `protobuf:"bytes,2,opt,name=resourceVersion" json:"resourceVersion,omitempty"` + // continue may be set if the user set a limit on the number of items returned, and indicates that + // the server has more data available. The value is opaque and may be used to issue another request + // to the endpoint that served this list to retrieve the next set of available objects. Continuing a + // consistent list may not be possible if the server configuration has changed or more than a few + // minutes have passed. The resourceVersion field returned when using this continue value will be + // identical to the value in the first response, unless you have received this token from an error + // message. + Continue *string `protobuf:"bytes,3,opt,name=continue" json:"continue,omitempty"` + // remainingItemCount is the number of subsequent items in the list which are not included in this + // list response. If the list request contained label or field selectors, then the number of + // remaining items is unknown and the field will be left unset and omitted during serialization. + // If the list is complete (either because it is not chunking or because this is the last chunk), + // then there are no more remaining items and this field will be left unset and omitted during + // serialization. + // Servers older than v1.15 do not set this field. + // The intended use of the remainingItemCount is *estimating* the size of a collection. Clients + // should not rely on the remainingItemCount to be set or to be exact. + // +optional + RemainingItemCount *int64 `protobuf:"varint,4,opt,name=remainingItemCount" json:"remainingItemCount,omitempty"` +} + +func (x *ListMeta) Reset() { + *x = ListMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMeta) ProtoMessage() {} + +func (x *ListMeta) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[21] + 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 ListMeta.ProtoReflect.Descriptor instead. +func (*ListMeta) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{21} +} + +func (x *ListMeta) GetSelfLink() string { + if x != nil && x.SelfLink != nil { + return *x.SelfLink + } + return "" +} + +func (x *ListMeta) GetResourceVersion() string { + if x != nil && x.ResourceVersion != nil { + return *x.ResourceVersion + } + return "" +} + +func (x *ListMeta) GetContinue() string { + if x != nil && x.Continue != nil { + return *x.Continue + } + return "" +} + +func (x *ListMeta) GetRemainingItemCount() int64 { + if x != nil && x.RemainingItemCount != nil { + return *x.RemainingItemCount + } + return 0 +} + +// ListOptions is the query options to a standard REST list call. +type ListOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A selector to restrict the list of returned objects by their labels. + // Defaults to everything. + // +optional + LabelSelector *string `protobuf:"bytes,1,opt,name=labelSelector" json:"labelSelector,omitempty"` + // A selector to restrict the list of returned objects by their fields. + // Defaults to everything. + // +optional + FieldSelector *string `protobuf:"bytes,2,opt,name=fieldSelector" json:"fieldSelector,omitempty"` + // Watch for changes to the described resources and return them as a stream of + // add, update, and remove notifications. Specify resourceVersion. + // +optional + Watch *bool `protobuf:"varint,3,opt,name=watch" json:"watch,omitempty"` + // allowWatchBookmarks requests watch events with type "BOOKMARK". + // Servers that do not implement bookmarks may ignore this flag and + // bookmarks are sent at the server's discretion. Clients should not + // assume bookmarks are returned at any specific interval, nor may they + // assume the server will send any BOOKMARK event during a session. + // If this is not a watch, this field is ignored. + // +optional + AllowWatchBookmarks *bool `protobuf:"varint,9,opt,name=allowWatchBookmarks" json:"allowWatchBookmarks,omitempty"` + // resourceVersion sets a constraint on what resource versions a request may be served from. + // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for + // details. + // + // Defaults to unset + // +optional + ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"` + // resourceVersionMatch determines how resourceVersion is applied to list calls. + // It is highly recommended that resourceVersionMatch be set for list calls where + // resourceVersion is set + // See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for + // details. + // + // Defaults to unset + // +optional + ResourceVersionMatch *string `protobuf:"bytes,10,opt,name=resourceVersionMatch" json:"resourceVersionMatch,omitempty"` + // Timeout for the list/watch call. + // This limits the duration of the call, regardless of any activity or inactivity. + // +optional + TimeoutSeconds *int64 `protobuf:"varint,5,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"` + // limit is a maximum number of responses to return for a list call. If more items exist, the + // server will set the `continue` field on the list metadata to a value that can be used with the + // same initial query to retrieve the next set of results. Setting a limit may return fewer than + // the requested amount of items (up to zero items) in the event all requested objects are + // filtered out and clients should only use the presence of the continue field to determine whether + // more results are available. Servers may choose not to support the limit argument and will return + // all of the available results. If limit is specified and the continue field is empty, clients may + // assume that no more results are available. This field is not supported if watch is true. + // + // The server guarantees that the objects returned when using continue will be identical to issuing + // a single list call without a limit - that is, no objects created, modified, or deleted after the + // first request is issued will be included in any subsequent continued requests. This is sometimes + // referred to as a consistent snapshot, and ensures that a client that is using limit to receive + // smaller chunks of a very large result can ensure they see all possible objects. If objects are + // updated during a chunked list the version of the object that was present at the time the first list + // result was calculated is returned. + Limit *int64 `protobuf:"varint,7,opt,name=limit" json:"limit,omitempty"` + // The continue option should be set when retrieving more results from the server. Since this value is + // server defined, clients may only use the continue value from a previous query result with identical + // query parameters (except for the value of continue) and the server may reject a continue value it + // does not recognize. If the specified continue value is no longer valid whether due to expiration + // (generally five to fifteen minutes) or a configuration change on the server, the server will + // respond with a 410 ResourceExpired error together with a continue token. If the client needs a + // consistent list, it must restart their list without the continue field. Otherwise, the client may + // send another list request with the token received with the 410 error, the server will respond with + // a list starting from the next key, but from the latest snapshot, which is inconsistent from the + // previous list results - objects that are created, modified, or deleted after the first list request + // will be included in the response, as long as their keys are after the "next key". + // + // This field is not supported when watch is true. Clients may start a watch from the last + // resourceVersion value returned by the server and not miss any modifications. + Continue *string `protobuf:"bytes,8,opt,name=continue" json:"continue,omitempty"` + // `sendInitialEvents=true` may be set together with `watch=true`. + // In that case, the watch stream will begin with synthetic events to + // produce the current state of objects in the collection. Once all such + // events have been sent, a synthetic "Bookmark" event will be sent. + // The bookmark will report the ResourceVersion (RV) corresponding to the + // set of objects, and be marked with `"k8s.io/initial-events-end": "true"` annotation. + // Afterwards, the watch stream will proceed as usual, sending watch events + // corresponding to changes (subsequent to the RV) to objects watched. + // + // When `sendInitialEvents` option is set, we require `resourceVersionMatch` + // option to also be set. The semantic of the watch request is as following: + // - `resourceVersionMatch` = NotOlderThan + // is interpreted as "data at least as new as the provided `resourceVersion`" + // and the bookmark event is send when the state is synced + // to a `resourceVersion` at least as fresh as the one provided by the ListOptions. + // If `resourceVersion` is unset, this is interpreted as "consistent read" and the + // bookmark event is send when the state is synced at least to the moment + // when request started being processed. + // - `resourceVersionMatch` set to any other value or unset + // Invalid error is returned. + // + // Defaults to true if `resourceVersion=""` or `resourceVersion="0"` (for backward + // compatibility reasons) and to false otherwise. + // +optional + SendInitialEvents *bool `protobuf:"varint,11,opt,name=sendInitialEvents" json:"sendInitialEvents,omitempty"` +} + +func (x *ListOptions) Reset() { + *x = ListOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListOptions) ProtoMessage() {} + +func (x *ListOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[22] + 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 ListOptions.ProtoReflect.Descriptor instead. +func (*ListOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{22} +} + +func (x *ListOptions) GetLabelSelector() string { + if x != nil && x.LabelSelector != nil { + return *x.LabelSelector + } + return "" +} + +func (x *ListOptions) GetFieldSelector() string { + if x != nil && x.FieldSelector != nil { + return *x.FieldSelector + } + return "" +} + +func (x *ListOptions) GetWatch() bool { + if x != nil && x.Watch != nil { + return *x.Watch + } + return false +} + +func (x *ListOptions) GetAllowWatchBookmarks() bool { + if x != nil && x.AllowWatchBookmarks != nil { + return *x.AllowWatchBookmarks + } + return false +} + +func (x *ListOptions) GetResourceVersion() string { + if x != nil && x.ResourceVersion != nil { + return *x.ResourceVersion + } + return "" +} + +func (x *ListOptions) GetResourceVersionMatch() string { + if x != nil && x.ResourceVersionMatch != nil { + return *x.ResourceVersionMatch + } + return "" +} + +func (x *ListOptions) GetTimeoutSeconds() int64 { + if x != nil && x.TimeoutSeconds != nil { + return *x.TimeoutSeconds + } + return 0 +} + +func (x *ListOptions) GetLimit() int64 { + if x != nil && x.Limit != nil { + return *x.Limit + } + return 0 +} + +func (x *ListOptions) GetContinue() string { + if x != nil && x.Continue != nil { + return *x.Continue + } + return "" +} + +func (x *ListOptions) GetSendInitialEvents() bool { + if x != nil && x.SendInitialEvents != nil { + return *x.SendInitialEvents + } + return false +} + +// ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource +// that the fieldset applies to. +type ManagedFieldsEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Manager is an identifier of the workflow managing these fields. + Manager *string `protobuf:"bytes,1,opt,name=manager" json:"manager,omitempty"` + // Operation is the type of operation which lead to this ManagedFieldsEntry being created. + // The only valid values for this field are 'Apply' and 'Update'. + Operation *string `protobuf:"bytes,2,opt,name=operation" json:"operation,omitempty"` + // APIVersion defines the version of this resource that this field set + // applies to. The format is "group/version" just like the top-level + // APIVersion field. It is necessary to track the version of a field + // set because it cannot be automatically converted. + ApiVersion *string `protobuf:"bytes,3,opt,name=apiVersion" json:"apiVersion,omitempty"` + // Time is the timestamp of when the ManagedFields entry was added. The + // timestamp will also be updated if a field is added, the manager + // changes any of the owned fields value or removes a field. The + // timestamp does not update when a field is removed from the entry + // because another manager took it over. + // +optional + Time *Time `protobuf:"bytes,4,opt,name=time" json:"time,omitempty"` + // FieldsType is the discriminator for the different fields format and version. + // There is currently only one possible value: "FieldsV1" + FieldsType *string `protobuf:"bytes,6,opt,name=fieldsType" json:"fieldsType,omitempty"` + // FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. + // +optional + FieldsV1 *FieldsV1 `protobuf:"bytes,7,opt,name=fieldsV1" json:"fieldsV1,omitempty"` + // Subresource is the name of the subresource used to update that object, or + // empty string if the object was updated through the main resource. The + // value of this field is used to distinguish between managers, even if they + // share the same name. For example, a status update will be distinct from a + // regular update using the same manager name. + // Note that the APIVersion field is not related to the Subresource field and + // it always corresponds to the version of the main resource. + Subresource *string `protobuf:"bytes,8,opt,name=subresource" json:"subresource,omitempty"` +} + +func (x *ManagedFieldsEntry) Reset() { + *x = ManagedFieldsEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ManagedFieldsEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ManagedFieldsEntry) ProtoMessage() {} + +func (x *ManagedFieldsEntry) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[23] + 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 ManagedFieldsEntry.ProtoReflect.Descriptor instead. +func (*ManagedFieldsEntry) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{23} +} + +func (x *ManagedFieldsEntry) GetManager() string { + if x != nil && x.Manager != nil { + return *x.Manager + } + return "" +} + +func (x *ManagedFieldsEntry) GetOperation() string { + if x != nil && x.Operation != nil { + return *x.Operation + } + return "" +} + +func (x *ManagedFieldsEntry) GetApiVersion() string { + if x != nil && x.ApiVersion != nil { + return *x.ApiVersion + } + return "" +} + +func (x *ManagedFieldsEntry) GetTime() *Time { + if x != nil { + return x.Time + } + return nil +} + +func (x *ManagedFieldsEntry) GetFieldsType() string { + if x != nil && x.FieldsType != nil { + return *x.FieldsType + } + return "" +} + +func (x *ManagedFieldsEntry) GetFieldsV1() *FieldsV1 { + if x != nil { + return x.FieldsV1 + } + return nil +} + +func (x *ManagedFieldsEntry) GetSubresource() string { + if x != nil && x.Subresource != nil { + return *x.Subresource + } + return "" +} + +// MicroTime is version of Time with microsecond level precision. +// +// +protobuf.options.marshal=false +// +protobuf.as=Timestamp +// +protobuf.options.(gogoproto.goproto_stringer)=false +type MicroTime struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + Seconds *int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"` + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. This field may be limited in precision depending on context. + Nanos *int32 `protobuf:"varint,2,opt,name=nanos" json:"nanos,omitempty"` +} + +func (x *MicroTime) Reset() { + *x = MicroTime{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MicroTime) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MicroTime) ProtoMessage() {} + +func (x *MicroTime) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[24] + 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 MicroTime.ProtoReflect.Descriptor instead. +func (*MicroTime) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{24} +} + +func (x *MicroTime) GetSeconds() int64 { + if x != nil && x.Seconds != nil { + return *x.Seconds + } + return 0 +} + +func (x *MicroTime) GetNanos() int32 { + if x != nil && x.Nanos != nil { + return *x.Nanos + } + return 0 +} + +// ObjectMeta is metadata that all persisted resources must have, which includes all objects +// users must create. +type ObjectMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name must be unique within a namespace. Is required when creating resources, although + // some resources may allow a client to request the generation of an appropriate name + // automatically. Name is primarily intended for creation idempotence and configuration + // definition. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names + // +optional + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // GenerateName is an optional prefix, used by the server, to generate a unique + // name ONLY IF the Name field has not been provided. + // If this field is used, the name returned to the client will be different + // than the name passed. This value will also be combined with a unique suffix. + // The provided value has the same validation rules as the Name field, + // and may be truncated by the length of the suffix required to make the value + // unique on the server. + // + // If this field is specified and the generated name exists, the server will return a 409. + // + // Applied only if Name is not specified. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency + // +optional + GenerateName *string `protobuf:"bytes,2,opt,name=generateName" json:"generateName,omitempty"` + // Namespace defines the space within which each name must be unique. An empty namespace is + // equivalent to the "default" namespace, but "default" is the canonical representation. + // Not all objects are required to be scoped to a namespace - the value of this field for + // those objects will be empty. + // + // Must be a DNS_LABEL. + // Cannot be updated. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces + // +optional + Namespace *string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` + // Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. + // +optional + SelfLink *string `protobuf:"bytes,4,opt,name=selfLink" json:"selfLink,omitempty"` + // UID is the unique in time and space value for this object. It is typically generated by + // the server on successful creation of a resource and is not allowed to change on PUT + // operations. + // + // Populated by the system. + // Read-only. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids + // +optional + Uid *string `protobuf:"bytes,5,opt,name=uid" json:"uid,omitempty"` + // An opaque value that represents the internal version of this object that can + // be used by clients to determine when objects have changed. May be used for optimistic + // concurrency, change detection, and the watch operation on a resource or set of resources. + // Clients must treat these values as opaque and passed unmodified back to the server. + // They may only be valid for a particular resource or set of resources. + // + // Populated by the system. + // Read-only. + // Value must be treated as opaque by clients and . + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + // +optional + ResourceVersion *string `protobuf:"bytes,6,opt,name=resourceVersion" json:"resourceVersion,omitempty"` + // A sequence number representing a specific generation of the desired state. + // Populated by the system. Read-only. + // +optional + Generation *int64 `protobuf:"varint,7,opt,name=generation" json:"generation,omitempty"` + // CreationTimestamp is a timestamp representing the server time when this object was + // created. It is not guaranteed to be set in happens-before order across separate operations. + // Clients may not set this value. It is represented in RFC3339 form and is in UTC. + // + // Populated by the system. + // Read-only. + // Null for lists. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + CreationTimestamp *Time `protobuf:"bytes,8,opt,name=creationTimestamp" json:"creationTimestamp,omitempty"` + // DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This + // field is set by the server when a graceful deletion is requested by the user, and is not + // directly settable by a client. The resource is expected to be deleted (no longer visible + // from resource lists, and not reachable by name) after the time in this field, once the + // finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + // Once the deletionTimestamp is set, this value may not be unset or be set further into the + // future, although it may be shortened or the resource may be deleted prior to this time. + // For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + // by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + // the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + // remove the pod from the API. In the presence of network partitions, this object may still + // exist after this timestamp, until an administrator or automated process can determine the + // resource is fully terminated. + // If not set, graceful deletion of the object has not been requested. + // + // Populated by the system when a graceful deletion is requested. + // Read-only. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + DeletionTimestamp *Time `protobuf:"bytes,9,opt,name=deletionTimestamp" json:"deletionTimestamp,omitempty"` + // Number of seconds allowed for this object to gracefully terminate before + // it will be removed from the system. Only set when deletionTimestamp is also set. + // May only be shortened. + // Read-only. + // +optional + DeletionGracePeriodSeconds *int64 `protobuf:"varint,10,opt,name=deletionGracePeriodSeconds" json:"deletionGracePeriodSeconds,omitempty"` + // Map of string keys and values that can be used to organize and categorize + // (scope and select) objects. May match selectors of replication controllers + // and services. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels + // +optional + Labels map[string]string `protobuf:"bytes,11,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Annotations is an unstructured key value map stored with a resource that may be + // set by external tools to store and retrieve arbitrary metadata. They are not + // queryable and should be preserved when modifying objects. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations + // +optional + Annotations map[string]string `protobuf:"bytes,12,rep,name=annotations" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // List of objects depended by this object. If ALL objects in the list have + // been deleted, this object will be garbage collected. If this object is managed by a controller, + // then an entry in this list will point to this controller, with the controller field set to true. + // There cannot be more than one managing controller. + // +optional + // +patchMergeKey=uid + // +patchStrategy=merge + OwnerReferences []*OwnerReference `protobuf:"bytes,13,rep,name=ownerReferences" json:"ownerReferences,omitempty"` + // Must be empty before the object is deleted from the registry. Each entry + // is an identifier for the responsible component that will remove the entry + // from the list. If the deletionTimestamp of the object is non-nil, entries + // in this list can only be removed. + // Finalizers may be processed and removed in any order. Order is NOT enforced + // because it introduces significant risk of stuck finalizers. + // finalizers is a shared field, any actor with permission can reorder it. + // If the finalizer list is processed in order, then this can lead to a situation + // in which the component responsible for the first finalizer in the list is + // waiting for a signal (field value, external system, or other) produced by a + // component responsible for a finalizer later in the list, resulting in a deadlock. + // Without enforced ordering finalizers are free to order amongst themselves and + // are not vulnerable to ordering changes in the list. + // +optional + // +patchStrategy=merge + Finalizers []string `protobuf:"bytes,14,rep,name=finalizers" json:"finalizers,omitempty"` + // ManagedFields maps workflow-id and version to the set of fields + // that are managed by that workflow. This is mostly for internal + // housekeeping, and users typically shouldn't need to set or + // understand this field. A workflow can be the user's name, a + // controller's name, or the name of a specific apply path like + // "ci-cd". The set of fields is always in the version that the + // workflow used when modifying the object. + // + // +optional + ManagedFields []*ManagedFieldsEntry `protobuf:"bytes,17,rep,name=managedFields" json:"managedFields,omitempty"` +} + +func (x *ObjectMeta) Reset() { + *x = ObjectMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ObjectMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ObjectMeta) ProtoMessage() {} + +func (x *ObjectMeta) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[25] + 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 ObjectMeta.ProtoReflect.Descriptor instead. +func (*ObjectMeta) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{25} +} + +func (x *ObjectMeta) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *ObjectMeta) GetGenerateName() string { + if x != nil && x.GenerateName != nil { + return *x.GenerateName + } + return "" +} + +func (x *ObjectMeta) GetNamespace() string { + if x != nil && x.Namespace != nil { + return *x.Namespace + } + return "" +} + +func (x *ObjectMeta) GetSelfLink() string { + if x != nil && x.SelfLink != nil { + return *x.SelfLink + } + return "" +} + +func (x *ObjectMeta) GetUid() string { + if x != nil && x.Uid != nil { + return *x.Uid + } + return "" +} + +func (x *ObjectMeta) GetResourceVersion() string { + if x != nil && x.ResourceVersion != nil { + return *x.ResourceVersion + } + return "" +} + +func (x *ObjectMeta) GetGeneration() int64 { + if x != nil && x.Generation != nil { + return *x.Generation + } + return 0 +} + +func (x *ObjectMeta) GetCreationTimestamp() *Time { + if x != nil { + return x.CreationTimestamp + } + return nil +} + +func (x *ObjectMeta) GetDeletionTimestamp() *Time { + if x != nil { + return x.DeletionTimestamp + } + return nil +} + +func (x *ObjectMeta) GetDeletionGracePeriodSeconds() int64 { + if x != nil && x.DeletionGracePeriodSeconds != nil { + return *x.DeletionGracePeriodSeconds + } + return 0 +} + +func (x *ObjectMeta) GetLabels() map[string]string { + if x != nil { + return x.Labels + } + return nil +} + +func (x *ObjectMeta) GetAnnotations() map[string]string { + if x != nil { + return x.Annotations + } + return nil +} + +func (x *ObjectMeta) GetOwnerReferences() []*OwnerReference { + if x != nil { + return x.OwnerReferences + } + return nil +} + +func (x *ObjectMeta) GetFinalizers() []string { + if x != nil { + return x.Finalizers + } + return nil +} + +func (x *ObjectMeta) GetManagedFields() []*ManagedFieldsEntry { + if x != nil { + return x.ManagedFields + } + return nil +} + +// OwnerReference contains enough information to let you identify an owning +// object. An owning object must be in the same namespace as the dependent, or +// be cluster-scoped, so there is no namespace field. +// +structType=atomic +type OwnerReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // API version of the referent. + ApiVersion *string `protobuf:"bytes,5,opt,name=apiVersion" json:"apiVersion,omitempty"` + // Kind of the referent. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"` + // Name of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names + Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` + // UID of the referent. + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids + Uid *string `protobuf:"bytes,4,opt,name=uid" json:"uid,omitempty"` + // If true, this reference points to the managing controller. + // +optional + Controller *bool `protobuf:"varint,6,opt,name=controller" json:"controller,omitempty"` + // If true, AND if the owner has the "foregroundDeletion" finalizer, then + // the owner cannot be deleted from the key-value store until this + // reference is removed. + // See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion + // for how the garbage collector interacts with this field and enforces the foreground deletion. + // Defaults to false. + // To set this field, a user needs "delete" permission of the owner, + // otherwise 422 (Unprocessable Entity) will be returned. + // +optional + BlockOwnerDeletion *bool `protobuf:"varint,7,opt,name=blockOwnerDeletion" json:"blockOwnerDeletion,omitempty"` +} + +func (x *OwnerReference) Reset() { + *x = OwnerReference{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OwnerReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OwnerReference) ProtoMessage() {} + +func (x *OwnerReference) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[26] + 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 OwnerReference.ProtoReflect.Descriptor instead. +func (*OwnerReference) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{26} +} + +func (x *OwnerReference) GetApiVersion() string { + if x != nil && x.ApiVersion != nil { + return *x.ApiVersion + } + return "" +} + +func (x *OwnerReference) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +func (x *OwnerReference) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *OwnerReference) GetUid() string { + if x != nil && x.Uid != nil { + return *x.Uid + } + return "" +} + +func (x *OwnerReference) GetController() bool { + if x != nil && x.Controller != nil { + return *x.Controller + } + return false +} + +func (x *OwnerReference) GetBlockOwnerDeletion() bool { + if x != nil && x.BlockOwnerDeletion != nil { + return *x.BlockOwnerDeletion + } + return false +} + +// PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients +// to get access to a particular ObjectMeta schema without knowing the details of the version. +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +type PartialObjectMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + Metadata *ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` +} + +func (x *PartialObjectMetadata) Reset() { + *x = PartialObjectMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PartialObjectMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PartialObjectMetadata) ProtoMessage() {} + +func (x *PartialObjectMetadata) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[27] + 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 PartialObjectMetadata.ProtoReflect.Descriptor instead. +func (*PartialObjectMetadata) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{27} +} + +func (x *PartialObjectMetadata) GetMetadata() *ObjectMeta { + if x != nil { + return x.Metadata + } + return nil +} + +// PartialObjectMetadataList contains a list of objects containing only their metadata +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +type PartialObjectMetadataList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // items contains each of the included items. + Items []*PartialObjectMetadata `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` +} + +func (x *PartialObjectMetadataList) Reset() { + *x = PartialObjectMetadataList{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PartialObjectMetadataList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PartialObjectMetadataList) ProtoMessage() {} + +func (x *PartialObjectMetadataList) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[28] + 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 PartialObjectMetadataList.ProtoReflect.Descriptor instead. +func (*PartialObjectMetadataList) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{28} +} + +func (x *PartialObjectMetadataList) GetMetadata() *ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *PartialObjectMetadataList) GetItems() []*PartialObjectMetadata { + if x != nil { + return x.Items + } + return nil +} + +// Patch is provided to give a concrete name and type to the Kubernetes PATCH request body. +type Patch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Patch) Reset() { + *x = Patch{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Patch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Patch) ProtoMessage() {} + +func (x *Patch) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[29] + 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 Patch.ProtoReflect.Descriptor instead. +func (*Patch) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{29} +} + +// PatchOptions may be provided when patching an API object. +// PatchOptions is meant to be a superset of UpdateOptions. +type PatchOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + DryRun []string `protobuf:"bytes,1,rep,name=dryRun" json:"dryRun,omitempty"` + // Force is going to "force" Apply requests. It means user will + // re-acquire conflicting fields owned by other people. Force + // flag must be unset for non-apply patch requests. + // +optional + Force *bool `protobuf:"varint,2,opt,name=force" json:"force,omitempty"` + // fieldManager is a name associated with the actor or entity + // that is making these changes. The value must be less than or + // 128 characters long, and only contain printable characters, + // as defined by https://golang.org/pkg/unicode/#IsPrint. This + // field is required for apply requests + // (application/apply-patch) but optional for non-apply patch + // types (JsonPatch, MergePatch, StrategicMergePatch). + // +optional + FieldManager *string `protobuf:"bytes,3,opt,name=fieldManager" json:"fieldManager,omitempty"` + // fieldValidation instructs the server on how to handle + // objects in the request (POST/PUT/PATCH) containing unknown + // or duplicate fields. Valid values are: + // - Ignore: This will ignore any unknown fields that are silently + // dropped from the object, and will ignore all but the last duplicate + // field that the decoder encounters. This is the default behavior + // prior to v1.23. + // - Warn: This will send a warning via the standard warning response + // header for each unknown field that is dropped from the object, and + // for each duplicate field that is encountered. The request will + // still succeed if there are no other errors, and will only persist + // the last of any duplicate fields. This is the default in v1.23+ + // - Strict: This will fail the request with a BadRequest error if + // any unknown fields would be dropped from the object, or if any + // duplicate fields are present. The error returned from the server + // will contain all unknown and duplicate fields encountered. + // +optional + FieldValidation *string `protobuf:"bytes,4,opt,name=fieldValidation" json:"fieldValidation,omitempty"` +} + +func (x *PatchOptions) Reset() { + *x = PatchOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PatchOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PatchOptions) ProtoMessage() {} + +func (x *PatchOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[30] + 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 PatchOptions.ProtoReflect.Descriptor instead. +func (*PatchOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{30} +} + +func (x *PatchOptions) GetDryRun() []string { + if x != nil { + return x.DryRun + } + return nil +} + +func (x *PatchOptions) GetForce() bool { + if x != nil && x.Force != nil { + return *x.Force + } + return false +} + +func (x *PatchOptions) GetFieldManager() string { + if x != nil && x.FieldManager != nil { + return *x.FieldManager + } + return "" +} + +func (x *PatchOptions) GetFieldValidation() string { + if x != nil && x.FieldValidation != nil { + return *x.FieldValidation + } + return "" +} + +// Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. +type Preconditions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Specifies the target UID. + // +optional + Uid *string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"` + // Specifies the target ResourceVersion + // +optional + ResourceVersion *string `protobuf:"bytes,2,opt,name=resourceVersion" json:"resourceVersion,omitempty"` +} + +func (x *Preconditions) Reset() { + *x = Preconditions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Preconditions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Preconditions) ProtoMessage() {} + +func (x *Preconditions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[31] + 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 Preconditions.ProtoReflect.Descriptor instead. +func (*Preconditions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{31} +} + +func (x *Preconditions) GetUid() string { + if x != nil && x.Uid != nil { + return *x.Uid + } + return "" +} + +func (x *Preconditions) GetResourceVersion() string { + if x != nil && x.ResourceVersion != nil { + return *x.ResourceVersion + } + return "" +} + +// RootPaths lists the paths available at root. +// For example: "/healthz", "/apis". +type RootPaths struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // paths are the paths available at root. + Paths []string `protobuf:"bytes,1,rep,name=paths" json:"paths,omitempty"` +} + +func (x *RootPaths) Reset() { + *x = RootPaths{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RootPaths) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RootPaths) ProtoMessage() {} + +func (x *RootPaths) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[32] + 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 RootPaths.ProtoReflect.Descriptor instead. +func (*RootPaths) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{32} +} + +func (x *RootPaths) GetPaths() []string { + if x != nil { + return x.Paths + } + return nil +} + +// ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. +type ServerAddressByClientCIDR struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The CIDR with which clients can match their IP to figure out the server address that they should use. + ClientCIDR *string `protobuf:"bytes,1,opt,name=clientCIDR" json:"clientCIDR,omitempty"` + // Address of this server, suitable for a client that matches the above CIDR. + // This can be a hostname, hostname:port, IP or IP:port. + ServerAddress *string `protobuf:"bytes,2,opt,name=serverAddress" json:"serverAddress,omitempty"` +} + +func (x *ServerAddressByClientCIDR) Reset() { + *x = ServerAddressByClientCIDR{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerAddressByClientCIDR) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerAddressByClientCIDR) ProtoMessage() {} + +func (x *ServerAddressByClientCIDR) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[33] + 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 ServerAddressByClientCIDR.ProtoReflect.Descriptor instead. +func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{33} +} + +func (x *ServerAddressByClientCIDR) GetClientCIDR() string { + if x != nil && x.ClientCIDR != nil { + return *x.ClientCIDR + } + return "" +} + +func (x *ServerAddressByClientCIDR) GetServerAddress() string { + if x != nil && x.ServerAddress != nil { + return *x.ServerAddress + } + return "" +} + +// Status is a return value for calls that don't return other objects. +type Status struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Standard list metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` + // Status of the operation. + // One of: "Success" or "Failure". + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + // A human-readable description of the status of this operation. + // +optional + Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` + // A machine-readable description of why this operation is in the + // "Failure" status. If this value is empty there + // is no information available. A Reason clarifies an HTTP status + // code but does not override it. + // +optional + Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"` + // Extended data associated with the reason. Each reason may define its + // own extended details. This field is optional and the data returned + // is not guaranteed to conform to any schema except that defined by + // the reason type. + // +optional + Details *StatusDetails `protobuf:"bytes,5,opt,name=details" json:"details,omitempty"` + // Suggested HTTP return code for this status, 0 if not set. + // +optional + Code *int32 `protobuf:"varint,6,opt,name=code" json:"code,omitempty"` +} + +func (x *Status) Reset() { + *x = Status{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Status) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Status) ProtoMessage() {} + +func (x *Status) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[34] + 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 Status.ProtoReflect.Descriptor instead. +func (*Status) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{34} +} + +func (x *Status) GetMetadata() *ListMeta { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Status) GetStatus() string { + if x != nil && x.Status != nil { + return *x.Status + } + return "" +} + +func (x *Status) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *Status) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *Status) GetDetails() *StatusDetails { + if x != nil { + return x.Details + } + return nil +} + +func (x *Status) GetCode() int32 { + if x != nil && x.Code != nil { + return *x.Code + } + return 0 +} + +// StatusCause provides more information about an api.Status failure, including +// cases when multiple errors are encountered. +type StatusCause struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A machine-readable description of the cause of the error. If this value is + // empty there is no information available. + // +optional + Reason *string `protobuf:"bytes,1,opt,name=reason" json:"reason,omitempty"` + // A human-readable description of the cause of the error. This field may be + // presented as-is to a reader. + // +optional + Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` + // The field of the resource that has caused this error, as named by its JSON + // serialization. May include dot and postfix notation for nested attributes. + // Arrays are zero-indexed. Fields may appear more than once in an array of + // causes due to fields having multiple errors. + // Optional. + // + // Examples: + // + // "name" - the field "name" on the current resource + // "items[0].name" - the field "name" on the first array entry in "items" + // + // +optional + Field *string `protobuf:"bytes,3,opt,name=field" json:"field,omitempty"` +} + +func (x *StatusCause) Reset() { + *x = StatusCause{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatusCause) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatusCause) ProtoMessage() {} + +func (x *StatusCause) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[35] + 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 StatusCause.ProtoReflect.Descriptor instead. +func (*StatusCause) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{35} +} + +func (x *StatusCause) GetReason() string { + if x != nil && x.Reason != nil { + return *x.Reason + } + return "" +} + +func (x *StatusCause) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +func (x *StatusCause) GetField() string { + if x != nil && x.Field != nil { + return *x.Field + } + return "" +} + +// StatusDetails is a set of additional properties that MAY be set by the +// server to provide additional information about a response. The Reason +// field of a Status object defines what attributes will be set. Clients +// must ignore fields that do not match the defined type of each attribute, +// and should assume that any attribute may be empty, invalid, or under +// defined. +type StatusDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name attribute of the resource associated with the status StatusReason + // (when there is a single name which can be described). + // +optional + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + // The group attribute of the resource associated with the status StatusReason. + // +optional + Group *string `protobuf:"bytes,2,opt,name=group" json:"group,omitempty"` + // The kind attribute of the resource associated with the status StatusReason. + // On some operations may differ from the requested resource Kind. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"` + // UID of the resource. + // (when there is a single resource which can be described). + // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids + // +optional + Uid *string `protobuf:"bytes,6,opt,name=uid" json:"uid,omitempty"` + // The Causes array includes more details associated with the StatusReason + // failure. Not all StatusReasons may provide detailed causes. + // +optional + Causes []*StatusCause `protobuf:"bytes,4,rep,name=causes" json:"causes,omitempty"` + // If specified, the time in seconds before the operation should be retried. Some errors may indicate + // the client must take an alternate action - for those errors this field may indicate how long to wait + // before taking the alternate action. + // +optional + RetryAfterSeconds *int32 `protobuf:"varint,5,opt,name=retryAfterSeconds" json:"retryAfterSeconds,omitempty"` +} + +func (x *StatusDetails) Reset() { + *x = StatusDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatusDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatusDetails) ProtoMessage() {} + +func (x *StatusDetails) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[36] + 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 StatusDetails.ProtoReflect.Descriptor instead. +func (*StatusDetails) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{36} +} + +func (x *StatusDetails) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *StatusDetails) GetGroup() string { + if x != nil && x.Group != nil { + return *x.Group + } + return "" +} + +func (x *StatusDetails) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +func (x *StatusDetails) GetUid() string { + if x != nil && x.Uid != nil { + return *x.Uid + } + return "" +} + +func (x *StatusDetails) GetCauses() []*StatusCause { + if x != nil { + return x.Causes + } + return nil +} + +func (x *StatusDetails) GetRetryAfterSeconds() int32 { + if x != nil && x.RetryAfterSeconds != nil { + return *x.RetryAfterSeconds + } + return 0 +} + +// TableOptions are used when a Table is requested by the caller. +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +type TableOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // includeObject decides whether to include each object along with its columnar information. + // Specifying "None" will return no object, specifying "Object" will return the full object contents, and + // specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind + // in version v1beta1 of the meta.k8s.io API group. + IncludeObject *string `protobuf:"bytes,1,opt,name=includeObject" json:"includeObject,omitempty"` +} + +func (x *TableOptions) Reset() { + *x = TableOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableOptions) ProtoMessage() {} + +func (x *TableOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[37] + 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 TableOptions.ProtoReflect.Descriptor instead. +func (*TableOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{37} +} + +func (x *TableOptions) GetIncludeObject() string { + if x != nil && x.IncludeObject != nil { + return *x.IncludeObject + } + return "" +} + +// Time is a wrapper around time.Time which supports correct +// marshaling to YAML and JSON. Wrappers are provided for many +// of the factory methods that the time package offers. +// +// +protobuf.options.marshal=false +// +protobuf.as=Timestamp +// +protobuf.options.(gogoproto.goproto_stringer)=false +type Time struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + Seconds *int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"` + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. This field may be limited in precision depending on context. + Nanos *int32 `protobuf:"varint,2,opt,name=nanos" json:"nanos,omitempty"` +} + +func (x *Time) Reset() { + *x = Time{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Time) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Time) ProtoMessage() {} + +func (x *Time) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[38] + 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 Time.ProtoReflect.Descriptor instead. +func (*Time) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{38} +} + +func (x *Time) GetSeconds() int64 { + if x != nil && x.Seconds != nil { + return *x.Seconds + } + return 0 +} + +func (x *Time) GetNanos() int32 { + if x != nil && x.Nanos != nil { + return *x.Nanos + } + return 0 +} + +// Timestamp is a struct that is equivalent to Time, but intended for +// protobuf marshalling/unmarshalling. It is generated into a serialization +// that matches Time. Do not use in Go structs. +type Timestamp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Represents seconds of UTC time since Unix epoch + // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to + // 9999-12-31T23:59:59Z inclusive. + Seconds *int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"` + // Non-negative fractions of a second at nanosecond resolution. Negative + // second values with fractions must still have non-negative nanos values + // that count forward in time. Must be from 0 to 999,999,999 + // inclusive. This field may be limited in precision depending on context. + Nanos *int32 `protobuf:"varint,2,opt,name=nanos" json:"nanos,omitempty"` +} + +func (x *Timestamp) Reset() { + *x = Timestamp{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Timestamp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Timestamp) ProtoMessage() {} + +func (x *Timestamp) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[39] + 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 Timestamp.ProtoReflect.Descriptor instead. +func (*Timestamp) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{39} +} + +func (x *Timestamp) GetSeconds() int64 { + if x != nil && x.Seconds != nil { + return *x.Seconds + } + return 0 +} + +func (x *Timestamp) GetNanos() int32 { + if x != nil && x.Nanos != nil { + return *x.Nanos + } + return 0 +} + +// TypeMeta describes an individual object in an API response or request +// with strings representing the type of the object and its API schema version. +// Structures that are versioned or persisted should inline TypeMeta. +// +// +k8s:deepcopy-gen=false +type TypeMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Kind is a string value representing the REST resource this object represents. + // Servers may infer this from the endpoint the client submits requests to. + // Cannot be updated. + // In CamelCase. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + // +optional + Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"` + // APIVersion defines the versioned schema of this representation of an object. + // Servers should convert recognized schemas to the latest internal value, and + // may reject unrecognized values. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + // +optional + ApiVersion *string `protobuf:"bytes,2,opt,name=apiVersion" json:"apiVersion,omitempty"` +} + +func (x *TypeMeta) Reset() { + *x = TypeMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypeMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypeMeta) ProtoMessage() {} + +func (x *TypeMeta) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[40] + 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 TypeMeta.ProtoReflect.Descriptor instead. +func (*TypeMeta) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{40} +} + +func (x *TypeMeta) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +func (x *TypeMeta) GetApiVersion() string { + if x != nil && x.ApiVersion != nil { + return *x.ApiVersion + } + return "" +} + +// UpdateOptions may be provided when updating an API object. +// All fields in UpdateOptions should also be present in PatchOptions. +type UpdateOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When present, indicates that modifications should not be + // persisted. An invalid or unrecognized dryRun directive will + // result in an error response and no further processing of the + // request. Valid values are: + // - All: all dry run stages will be processed + // +optional + DryRun []string `protobuf:"bytes,1,rep,name=dryRun" json:"dryRun,omitempty"` + // fieldManager is a name associated with the actor or entity + // that is making these changes. The value must be less than or + // 128 characters long, and only contain printable characters, + // as defined by https://golang.org/pkg/unicode/#IsPrint. + // +optional + FieldManager *string `protobuf:"bytes,2,opt,name=fieldManager" json:"fieldManager,omitempty"` + // fieldValidation instructs the server on how to handle + // objects in the request (POST/PUT/PATCH) containing unknown + // or duplicate fields. Valid values are: + // - Ignore: This will ignore any unknown fields that are silently + // dropped from the object, and will ignore all but the last duplicate + // field that the decoder encounters. This is the default behavior + // prior to v1.23. + // - Warn: This will send a warning via the standard warning response + // header for each unknown field that is dropped from the object, and + // for each duplicate field that is encountered. The request will + // still succeed if there are no other errors, and will only persist + // the last of any duplicate fields. This is the default in v1.23+ + // - Strict: This will fail the request with a BadRequest error if + // any unknown fields would be dropped from the object, or if any + // duplicate fields are present. The error returned from the server + // will contain all unknown and duplicate fields encountered. + // +optional + FieldValidation *string `protobuf:"bytes,3,opt,name=fieldValidation" json:"fieldValidation,omitempty"` +} + +func (x *UpdateOptions) Reset() { + *x = UpdateOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateOptions) ProtoMessage() {} + +func (x *UpdateOptions) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[41] + 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 UpdateOptions.ProtoReflect.Descriptor instead. +func (*UpdateOptions) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{41} +} + +func (x *UpdateOptions) GetDryRun() []string { + if x != nil { + return x.DryRun + } + return nil +} + +func (x *UpdateOptions) GetFieldManager() string { + if x != nil && x.FieldManager != nil { + return *x.FieldManager + } + return "" +} + +func (x *UpdateOptions) GetFieldValidation() string { + if x != nil && x.FieldValidation != nil { + return *x.FieldValidation + } + return "" +} + +// Verbs masks the value so protobuf can generate +// +// +protobuf.nullable=true +// +protobuf.options.(gogoproto.goproto_stringer)=false +type Verbs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Items []string `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` +} + +func (x *Verbs) Reset() { + *x = Verbs{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Verbs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Verbs) ProtoMessage() {} + +func (x *Verbs) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[42] + 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 Verbs.ProtoReflect.Descriptor instead. +func (*Verbs) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{42} +} + +func (x *Verbs) GetItems() []string { + if x != nil { + return x.Items + } + return nil +} + +// Event represents a single event to a watched resource. +// +// +protobuf=true +// +k8s:deepcopy-gen=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +type WatchEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"` + // Object is: + // - If Type is Added or Modified: the new state of the object. + // - If Type is Deleted: the state of the object immediately before deletion. + // - If Type is Error: *Status is recommended; other types may make sense + // depending on context. + Object *runtime.RawExtension `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"` +} + +func (x *WatchEvent) Reset() { + *x = WatchEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WatchEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WatchEvent) ProtoMessage() {} + +func (x *WatchEvent) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[43] + 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 WatchEvent.ProtoReflect.Descriptor instead. +func (*WatchEvent) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP(), []int{43} +} + +func (x *WatchEvent) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *WatchEvent) GetObject() *runtime.RawExtension { + if x != nil { + return x.Object + } + return nil +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDesc = []byte{ + 0x0a, 0x6f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, + 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x76, + 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x24, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x6a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, + 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, + 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, 0x75, 0x6e, 0x74, + 0x69, 0x6d, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x71, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, + 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2f, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x02, 0x0a, 0x08, 0x41, 0x50, 0x49, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, + 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, + 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, + 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x6a, 0x0a, 0x10, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x46, 0x6f, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x10, 0x70, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x7f, 0x0a, 0x1a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x42, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x49, 0x44, 0x52, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x43, 0x49, 0x44, 0x52, 0x52, 0x1a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x49, 0x44, 0x52, 0x73, + 0x22, 0x56, 0x0a, 0x0c, 0x41, 0x50, 0x49, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x46, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0xdc, 0x02, 0x0a, 0x0b, 0x41, 0x50, 0x49, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, + 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x41, 0x0a, 0x05, 0x76, 0x65, 0x72, 0x62, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x62, 0x73, + 0x52, 0x05, 0x76, 0x65, 0x72, 0x62, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x72, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x68, 0x6f, + 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, + 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, + 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x22, 0x86, 0x01, 0x0a, 0x0f, 0x41, 0x50, 0x49, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x4f, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x50, 0x49, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x22, 0xaa, 0x01, 0x0a, 0x0b, 0x41, 0x50, 0x49, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x7f, 0x0a, 0x1a, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x49, 0x44, 0x52, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x3f, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x49, 0x44, + 0x52, 0x52, 0x1a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x42, 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x49, 0x44, 0x52, 0x73, 0x22, 0x60, 0x0a, + 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, + 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x22, + 0xf5, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6f, 0x62, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x12, 0x6c, 0x61, 0x73, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x75, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x52, + 0x75, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, + 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8c, + 0x02, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x2e, 0x0a, 0x12, 0x67, 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x67, 0x72, + 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x12, 0x59, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x70, 0x72, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x6f, + 0x72, 0x70, 0x68, 0x61, 0x6e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6f, 0x72, 0x70, 0x68, 0x61, 0x6e, 0x44, 0x65, 0x70, + 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x61, + 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x61, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0x26, 0x0a, + 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1c, 0x0a, 0x08, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x56, + 0x31, 0x12, 0x10, 0x0a, 0x03, 0x52, 0x61, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, + 0x52, 0x61, 0x77, 0x22, 0x36, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x0a, 0x09, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, + 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, + 0x6e, 0x64, 0x22, 0x41, 0x0a, 0x0d, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x3e, 0x0a, 0x0c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0x22, 0x58, 0x0a, 0x18, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, + 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 0x22, + 0x56, 0x0a, 0x10, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4b, + 0x69, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 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, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x62, 0x0a, 0x14, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x67, 0x72, 0x6f, 0x75, 0x70, 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, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xa3, 0x02, 0x0a, 0x0d, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x66, 0x0a, + 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x61, 0x62, + 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4c, + 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x6a, 0x0a, 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, + 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x10, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x60, 0x0a, 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x22, 0x97, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x9c, 0x01, + 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, + 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, + 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x12, + 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x87, 0x03, 0x0a, + 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0d, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x61, 0x74, 0x63, + 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x77, 0x61, 0x74, 0x63, 0x68, 0x12, 0x30, + 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x57, 0x61, 0x74, 0x63, 0x68, 0x42, 0x6f, 0x6f, 0x6b, + 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x57, 0x61, 0x74, 0x63, 0x68, 0x42, 0x6f, 0x6f, 0x6b, 0x6d, 0x61, 0x72, 0x6b, 0x73, + 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x14, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x74, + 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, + 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x65, 0x6e, 0x64, + 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x11, 0x73, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xba, 0x02, 0x0a, 0x12, 0x4d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x54, + 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4a, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x56, + 0x31, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x56, 0x31, 0x52, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x56, + 0x31, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x22, 0x3b, 0x0a, 0x09, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, + 0x6e, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x61, 0x6e, 0x6f, 0x73, + 0x22, 0xe4, 0x07, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, + 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, + 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, + 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, + 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x58, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x11, + 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x12, 0x3e, 0x0a, 0x1a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, + 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x47, + 0x72, 0x61, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x12, 0x54, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x3c, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, + 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x63, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x2e, 0x41, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5e, 0x0a, 0x0f, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0f, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, + 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x12, 0x5e, 0x0a, 0x0d, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x11, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, + 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x39, 0x0a, 0x0b, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0xba, 0x01, 0x0a, 0x0e, 0x4f, 0x77, 0x6e, 0x65, + 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, + 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, + 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x75, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x12, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x65, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x4c, 0x0a, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xba, 0x01, 0x0a, 0x19, + 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x51, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x61, 0x6c, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x07, 0x0a, 0x05, 0x50, 0x61, 0x74, 0x63, + 0x68, 0x22, 0x8a, 0x01, 0x0a, 0x0c, 0x50, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, + 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4b, + 0x0a, 0x0d, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, + 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x21, 0x0a, 0x09, 0x52, + 0x6f, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0x61, + 0x0a, 0x19, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, + 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x49, 0x44, 0x52, 0x12, 0x1e, 0x0a, 0x0a, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x49, 0x44, 0x52, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x49, 0x44, 0x52, 0x12, 0x24, 0x0a, 0x0d, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x22, 0x81, 0x02, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4a, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x55, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, + 0x61, 0x75, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd8, 0x01, 0x0a, + 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x49, + 0x0a, 0x06, 0x63, 0x61, 0x75, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, + 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x61, 0x75, 0x73, + 0x65, 0x52, 0x06, 0x63, 0x61, 0x75, 0x73, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x72, 0x65, 0x74, + 0x72, 0x79, 0x41, 0x66, 0x74, 0x65, 0x72, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x74, 0x72, 0x79, 0x41, 0x66, 0x74, 0x65, 0x72, + 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x34, 0x0a, 0x0c, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x36, 0x0a, + 0x04, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x22, 0x3b, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x14, 0x0a, 0x05, + 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x61, 0x6e, + 0x6f, 0x73, 0x22, 0x3e, 0x0a, 0x08, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x12, + 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, + 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, + 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1d, 0x0a, 0x05, 0x56, 0x65, 0x72, + 0x62, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x67, 0x0a, 0x0a, 0x57, 0x61, 0x74, 0x63, + 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x52, 0x61, 0x77, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x42, 0x65, 0x5a, 0x63, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x70, + 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, + 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x76, 0x31, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes = make([]protoimpl.MessageInfo, 47) +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_goTypes = []interface{}{ + (*APIGroup)(nil), // 0: k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup + (*APIGroupList)(nil), // 1: k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList + (*APIResource)(nil), // 2: k8s.io.apimachinery.pkg.apis.meta.v1.APIResource + (*APIResourceList)(nil), // 3: k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList + (*APIVersions)(nil), // 4: k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions + (*ApplyOptions)(nil), // 5: k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions + (*Condition)(nil), // 6: k8s.io.apimachinery.pkg.apis.meta.v1.Condition + (*CreateOptions)(nil), // 7: k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions + (*DeleteOptions)(nil), // 8: k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions + (*Duration)(nil), // 9: k8s.io.apimachinery.pkg.apis.meta.v1.Duration + (*FieldsV1)(nil), // 10: k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 + (*GetOptions)(nil), // 11: k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions + (*GroupKind)(nil), // 12: k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind + (*GroupResource)(nil), // 13: k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource + (*GroupVersion)(nil), // 14: k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion + (*GroupVersionForDiscovery)(nil), // 15: k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery + (*GroupVersionKind)(nil), // 16: k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind + (*GroupVersionResource)(nil), // 17: k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource + (*LabelSelector)(nil), // 18: k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector + (*LabelSelectorRequirement)(nil), // 19: k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement + (*List)(nil), // 20: k8s.io.apimachinery.pkg.apis.meta.v1.List + (*ListMeta)(nil), // 21: k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + (*ListOptions)(nil), // 22: k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions + (*ManagedFieldsEntry)(nil), // 23: k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry + (*MicroTime)(nil), // 24: k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime + (*ObjectMeta)(nil), // 25: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + (*OwnerReference)(nil), // 26: k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference + (*PartialObjectMetadata)(nil), // 27: k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata + (*PartialObjectMetadataList)(nil), // 28: k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList + (*Patch)(nil), // 29: k8s.io.apimachinery.pkg.apis.meta.v1.Patch + (*PatchOptions)(nil), // 30: k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions + (*Preconditions)(nil), // 31: k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions + (*RootPaths)(nil), // 32: k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths + (*ServerAddressByClientCIDR)(nil), // 33: k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR + (*Status)(nil), // 34: k8s.io.apimachinery.pkg.apis.meta.v1.Status + (*StatusCause)(nil), // 35: k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause + (*StatusDetails)(nil), // 36: k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails + (*TableOptions)(nil), // 37: k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions + (*Time)(nil), // 38: k8s.io.apimachinery.pkg.apis.meta.v1.Time + (*Timestamp)(nil), // 39: k8s.io.apimachinery.pkg.apis.meta.v1.Timestamp + (*TypeMeta)(nil), // 40: k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta + (*UpdateOptions)(nil), // 41: k8s.io.apimachinery.pkg.apis.meta.v1.UpdateOptions + (*Verbs)(nil), // 42: k8s.io.apimachinery.pkg.apis.meta.v1.Verbs + (*WatchEvent)(nil), // 43: k8s.io.apimachinery.pkg.apis.meta.v1.WatchEvent + nil, // 44: k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector.MatchLabelsEntry + nil, // 45: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.LabelsEntry + nil, // 46: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.AnnotationsEntry + (*runtime.RawExtension)(nil), // 47: k8s.io.apimachinery.pkg.runtime.RawExtension +} +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_depIdxs = []int32{ + 15, // 0: k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup.versions:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery + 15, // 1: k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup.preferredVersion:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery + 33, // 2: k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup.serverAddressByClientCIDRs:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR + 0, // 3: k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList.groups:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup + 42, // 4: k8s.io.apimachinery.pkg.apis.meta.v1.APIResource.verbs:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Verbs + 2, // 5: k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList.resources:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.APIResource + 33, // 6: k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions.serverAddressByClientCIDRs:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR + 38, // 7: k8s.io.apimachinery.pkg.apis.meta.v1.Condition.lastTransitionTime:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 31, // 8: k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions.preconditions:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions + 44, // 9: k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector.matchLabels:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector.MatchLabelsEntry + 19, // 10: k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector.matchExpressions:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement + 21, // 11: k8s.io.apimachinery.pkg.apis.meta.v1.List.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 47, // 12: k8s.io.apimachinery.pkg.apis.meta.v1.List.items:type_name -> k8s.io.apimachinery.pkg.runtime.RawExtension + 38, // 13: k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry.time:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 10, // 14: k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry.fieldsV1:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1 + 38, // 15: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.creationTimestamp:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 38, // 16: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.deletionTimestamp:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.Time + 45, // 17: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.labels:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.LabelsEntry + 46, // 18: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.annotations:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.AnnotationsEntry + 26, // 19: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.ownerReferences:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference + 23, // 20: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.managedFields:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry + 25, // 21: k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta + 21, // 22: k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 27, // 23: k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList.items:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata + 21, // 24: k8s.io.apimachinery.pkg.apis.meta.v1.Status.metadata:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta + 36, // 25: k8s.io.apimachinery.pkg.apis.meta.v1.Status.details:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails + 35, // 26: k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails.causes:type_name -> k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause + 47, // 27: k8s.io.apimachinery.pkg.apis.meta.v1.WatchEvent.object:type_name -> k8s.io.apimachinery.pkg.runtime.RawExtension + 28, // [28:28] is the sub-list for method output_type + 28, // [28:28] is the sub-list for method input_type + 28, // [28:28] is the sub-list for extension type_name + 28, // [28:28] is the sub-list for extension extendee + 0, // [0:28] is the sub-list for field type_name +} + +func init() { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_init() +} +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIGroup); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIGroupList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIResource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIResourceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*APIVersions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Condition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Duration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FieldsV1); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupKind); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupResource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupVersionForDiscovery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupVersionKind); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupVersionResource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelSelector); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelSelectorRequirement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*List); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ManagedFieldsEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MicroTime); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OwnerReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartialObjectMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartialObjectMetadataList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Patch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PatchOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Preconditions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RootPaths); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerAddressByClientCIDR); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Status); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusCause); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TableOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Time); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Timestamp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypeMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Verbs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WatchEvent); 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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDesc, + NumEnums: 0, + NumMessages: 47, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_apis_meta_v1_generated_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/generated.pb.go b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/generated.pb.go new file mode 100644 index 00000000000..fa1387932b9 --- /dev/null +++ b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/generated.pb.go @@ -0,0 +1,434 @@ +// +//Copyright The Kubernetes Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/runtime/generated.proto +// with the go_package changed to a gloo path. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/generated.proto + +package runtime + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// RawExtension is used to hold extensions in external versions. +// +// To use this, make a field which has RawExtension as its type in your external, versioned +// struct, and Object in your internal struct. You also need to register your +// various plugin types. +// +// // Internal package: +// +// type MyAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// MyPlugin runtime.Object `json:"myPlugin"` +// } +// +// type PluginA struct { +// AOption string `json:"aOption"` +// } +// +// // External package: +// +// type MyAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// MyPlugin runtime.RawExtension `json:"myPlugin"` +// } +// +// type PluginA struct { +// AOption string `json:"aOption"` +// } +// +// // On the wire, the JSON will look something like this: +// +// { +// "kind":"MyAPIObject", +// "apiVersion":"v1", +// "myPlugin": { +// "kind":"PluginA", +// "aOption":"foo", +// }, +// } +// +// So what happens? Decode first uses json or yaml to unmarshal the serialized data into +// your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. +// The next step is to copy (using pkg/conversion) into the internal struct. The runtime +// package's DefaultScheme has conversion functions installed which will unpack the +// JSON stored in RawExtension, turning it into the correct object type, and storing it +// in the Object. (TODO: In the case where the object is of an unknown type, a +// runtime.Unknown object will be created and stored.) +// +// +k8s:deepcopy-gen=true +// +protobuf=true +// +k8s:openapi-gen=true +type RawExtension struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Raw is the underlying serialization of this object. + // + // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data. + Raw []byte `protobuf:"bytes,1,opt,name=raw" json:"raw,omitempty"` +} + +func (x *RawExtension) Reset() { + *x = RawExtension{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RawExtension) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RawExtension) ProtoMessage() {} + +func (x *RawExtension) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_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 RawExtension.ProtoReflect.Descriptor instead. +func (*RawExtension) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescGZIP(), []int{0} +} + +func (x *RawExtension) GetRaw() []byte { + if x != nil { + return x.Raw + } + return nil +} + +// TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, +// like this: +// +// type MyAwesomeAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// ... // other fields +// } +// +// func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind +// +// TypeMeta is provided here for convenience. You may use it directly from this package or define +// your own with the same fields. +// +// +k8s:deepcopy-gen=false +// +protobuf=true +// +k8s:openapi-gen=true +type TypeMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // +optional + ApiVersion *string `protobuf:"bytes,1,opt,name=apiVersion" json:"apiVersion,omitempty"` + // +optional + Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` +} + +func (x *TypeMeta) Reset() { + *x = TypeMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypeMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypeMeta) ProtoMessage() {} + +func (x *TypeMeta) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_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 TypeMeta.ProtoReflect.Descriptor instead. +func (*TypeMeta) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescGZIP(), []int{1} +} + +func (x *TypeMeta) GetApiVersion() string { + if x != nil && x.ApiVersion != nil { + return *x.ApiVersion + } + return "" +} + +func (x *TypeMeta) GetKind() string { + if x != nil && x.Kind != nil { + return *x.Kind + } + return "" +} + +// Unknown allows api objects with unknown types to be passed-through. This can be used +// to deal with the API objects from a plug-in. Unknown objects still have functioning +// TypeMeta features-- kind, version, etc. +// TODO: Make this object have easy access to field based accessors and settors for +// metadata and field mutatation. +// +// +k8s:deepcopy-gen=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +protobuf=true +// +k8s:openapi-gen=true +type Unknown struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TypeMeta *TypeMeta `protobuf:"bytes,1,opt,name=typeMeta" json:"typeMeta,omitempty"` + // Raw will hold the complete serialized object which couldn't be matched + // with a registered type. Most likely, nothing should be done with this + // except for passing it through the system. + Raw []byte `protobuf:"bytes,2,opt,name=raw" json:"raw,omitempty"` + // ContentEncoding is encoding used to encode 'Raw' data. + // Unspecified means no encoding. + ContentEncoding *string `protobuf:"bytes,3,opt,name=contentEncoding" json:"contentEncoding,omitempty"` + // ContentType is serialization method used to serialize 'Raw'. + // Unspecified means ContentTypeJSON. + ContentType *string `protobuf:"bytes,4,opt,name=contentType" json:"contentType,omitempty"` +} + +func (x *Unknown) Reset() { + *x = Unknown{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Unknown) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Unknown) ProtoMessage() {} + +func (x *Unknown) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_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 Unknown.ProtoReflect.Descriptor instead. +func (*Unknown) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescGZIP(), []int{2} +} + +func (x *Unknown) GetTypeMeta() *TypeMeta { + if x != nil { + return x.TypeMeta + } + return nil +} + +func (x *Unknown) GetRaw() []byte { + if x != nil { + return x.Raw + } + return nil +} + +func (x *Unknown) GetContentEncoding() string { + if x != nil && x.ContentEncoding != nil { + return *x.ContentEncoding + } + return "" +} + +func (x *Unknown) GetContentType() string { + if x != nil && x.ContentType != nil { + return *x.ContentType + } + return "" +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDesc = []byte{ + 0x0a, 0x6a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, + 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x6b, 0x38, + 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x20, 0x0a, + 0x0c, 0x52, 0x61, 0x77, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, + 0x03, 0x72, 0x61, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x22, + 0x3e, 0x0a, 0x08, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x0a, 0x61, + 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6b, + 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, + 0xae, 0x01, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x12, 0x45, 0x0a, 0x08, 0x74, + 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x72, 0x61, 0x77, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, + 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x20, + 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x60, 0x5a, 0x5e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, + 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x70, 0x6b, + 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, + 0x6d, 0x65, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_goTypes = []interface{}{ + (*RawExtension)(nil), // 0: k8s.io.apimachinery.pkg.runtime.RawExtension + (*TypeMeta)(nil), // 1: k8s.io.apimachinery.pkg.runtime.TypeMeta + (*Unknown)(nil), // 2: k8s.io.apimachinery.pkg.runtime.Unknown +} +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_depIdxs = []int32{ + 1, // 0: k8s.io.apimachinery.pkg.runtime.Unknown.typeMeta:type_name -> k8s.io.apimachinery.pkg.runtime.TypeMeta + 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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_init() +} +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawExtension); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypeMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Unknown); 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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_generated_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.pb.go b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.pb.go new file mode 100644 index 00000000000..99bddff7c69 --- /dev/null +++ b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.pb.go @@ -0,0 +1,99 @@ +// +//Copyright The Kubernetes Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/runtime/schema/generated.proto +// with the go_package changed to a gloo path. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/runtime/schema/generated.proto + +package schema + +import ( + reflect "reflect" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_rawDesc = []byte{ + 0x0a, 0x71, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, + 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x72, 0x75, 0x6e, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x67, 0x5a, 0x65, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, + 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, + 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, + 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_goTypes = []interface{}{} +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_init() +} +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_depIdxs, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_runtime_schema_generated_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/util/intstr/generated.pb.go b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/util/intstr/generated.pb.go new file mode 100644 index 00000000000..806060c1e17 --- /dev/null +++ b/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/util/intstr/generated.pb.go @@ -0,0 +1,206 @@ +// +//Copyright The Kubernetes Authors. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. + +// This is a copy of https://github.com/kubernetes/apimachinery/blob/v0.28.3/pkg/util/intstr/generated.proto +// with the go_package changed to a gloo path. +// Ideally we should update this proto every time we upgrade our k8s.io/apimachinery dependency. + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/external/kubernetes/apimachinery/pkg/util/intstr/generated.proto + +package intstr + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// IntOrString is a type that can hold an int32 or a string. When used in +// JSON or YAML marshalling and unmarshalling, it produces or consumes the +// inner type. This allows you to have, for example, a JSON field that can +// accept a name or number. +// TODO: Rename to Int32OrString +// +// +protobuf=true +// +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:openapi-gen=true +type IntOrString struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type *int64 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` + IntVal *int32 `protobuf:"varint,2,opt,name=intVal" json:"intVal,omitempty"` + StrVal *string `protobuf:"bytes,3,opt,name=strVal" json:"strVal,omitempty"` +} + +func (x *IntOrString) Reset() { + *x = IntOrString{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IntOrString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IntOrString) ProtoMessage() {} + +func (x *IntOrString) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_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 IntOrString.ProtoReflect.Descriptor instead. +func (*IntOrString) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDescGZIP(), []int{0} +} + +func (x *IntOrString) GetType() int64 { + if x != nil && x.Type != nil { + return *x.Type + } + return 0 +} + +func (x *IntOrString) GetIntVal() int32 { + if x != nil && x.IntVal != nil { + return *x.IntVal + } + return 0 +} + +func (x *IntOrString) GetStrVal() string { + if x != nil && x.StrVal != nil { + return *x.StrVal + } + return "" +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDesc = []byte{ + 0x0a, 0x6e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, + 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x69, 0x6e, 0x74, 0x73, 0x74, 0x72, + 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x23, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x69, + 0x6e, 0x74, 0x73, 0x74, 0x72, 0x22, 0x51, 0x0a, 0x0b, 0x49, 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x56, + 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x42, 0x64, 0x5a, 0x62, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, + 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, + 0x6b, 0x67, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x69, 0x6e, 0x74, 0x73, 0x74, 0x72, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_goTypes = []interface{}{ + (*IntOrString)(nil), // 0: k8s.io.apimachinery.pkg.util.intstr.IntOrString +} +var file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_init() +} +func file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IntOrString); 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_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_external_kubernetes_apimachinery_pkg_util_intstr_generated_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/doc.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/doc.go new file mode 100644 index 00000000000..573e512df29 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/doc.go @@ -0,0 +1,6 @@ +// Code generated by skv2. DO NOT EDIT. + +// Package v1alpha1 contains API Schema definitions for the gateway.gloo.solo.io v1alpha1 API group +// +k8s:deepcopy-gen=package,register +// +groupName=gateway.gloo.solo.io +package v1alpha1 diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.equal.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.equal.go new file mode 100644 index 00000000000..3d4f228c3e8 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.equal.go @@ -0,0 +1,323 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/gateway_parameters.proto + +package v1alpha1 + +import ( + "bytes" + "encoding/binary" + "errors" + "fmt" + "strings" + + "github.com/golang/protobuf/proto" + equality "github.com/solo-io/protoc-gen-ext/pkg/equality" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = bytes.Compare + _ = strings.Compare + _ = equality.Equalizer(nil) + _ = proto.Message(nil) +) + +// Equal function +func (m *GatewayParametersSpec) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*GatewayParametersSpec) + if !ok { + that2, ok := that.(GatewayParametersSpec) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + switch m.EnvironmentType.(type) { + + case *GatewayParametersSpec_Kube: + if _, ok := target.EnvironmentType.(*GatewayParametersSpec_Kube); !ok { + return false + } + + if h, ok := interface{}(m.GetKube()).(equality.Equalizer); ok { + if !h.Equal(target.GetKube()) { + return false + } + } else { + if !proto.Equal(m.GetKube(), target.GetKube()) { + return false + } + } + + default: + // m is nil but target is not nil + if m.EnvironmentType != target.EnvironmentType { + return false + } + } + + return true +} + +// Equal function +func (m *KubernetesProxyConfig) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*KubernetesProxyConfig) + if !ok { + that2, ok := that.(KubernetesProxyConfig) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if h, ok := interface{}(m.GetEnvoyContainer()).(equality.Equalizer); ok { + if !h.Equal(target.GetEnvoyContainer()) { + return false + } + } else { + if !proto.Equal(m.GetEnvoyContainer(), target.GetEnvoyContainer()) { + return false + } + } + + if h, ok := interface{}(m.GetPodTemplate()).(equality.Equalizer); ok { + if !h.Equal(target.GetPodTemplate()) { + return false + } + } else { + if !proto.Equal(m.GetPodTemplate(), target.GetPodTemplate()) { + return false + } + } + + if h, ok := interface{}(m.GetService()).(equality.Equalizer); ok { + if !h.Equal(target.GetService()) { + return false + } + } else { + if !proto.Equal(m.GetService(), target.GetService()) { + return false + } + } + + if h, ok := interface{}(m.GetAutoscaling()).(equality.Equalizer); ok { + if !h.Equal(target.GetAutoscaling()) { + return false + } + } else { + if !proto.Equal(m.GetAutoscaling(), target.GetAutoscaling()) { + return false + } + } + + switch m.WorkloadType.(type) { + + case *KubernetesProxyConfig_Deployment: + if _, ok := target.WorkloadType.(*KubernetesProxyConfig_Deployment); !ok { + return false + } + + if h, ok := interface{}(m.GetDeployment()).(equality.Equalizer); ok { + if !h.Equal(target.GetDeployment()) { + return false + } + } else { + if !proto.Equal(m.GetDeployment(), target.GetDeployment()) { + return false + } + } + + default: + // m is nil but target is not nil + if m.WorkloadType != target.WorkloadType { + return false + } + } + + return true +} + +// Equal function +func (m *ProxyDeployment) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*ProxyDeployment) + if !ok { + that2, ok := that.(ProxyDeployment) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if h, ok := interface{}(m.GetReplicas()).(equality.Equalizer); ok { + if !h.Equal(target.GetReplicas()) { + return false + } + } else { + if !proto.Equal(m.GetReplicas(), target.GetReplicas()) { + return false + } + } + + return true +} + +// Equal function +func (m *EnvoyContainer) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*EnvoyContainer) + if !ok { + that2, ok := that.(EnvoyContainer) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if h, ok := interface{}(m.GetBootstrap()).(equality.Equalizer); ok { + if !h.Equal(target.GetBootstrap()) { + return false + } + } else { + if !proto.Equal(m.GetBootstrap(), target.GetBootstrap()) { + return false + } + } + + if h, ok := interface{}(m.GetImage()).(equality.Equalizer); ok { + if !h.Equal(target.GetImage()) { + return false + } + } else { + if !proto.Equal(m.GetImage(), target.GetImage()) { + return false + } + } + + if h, ok := interface{}(m.GetSecurityContext()).(equality.Equalizer); ok { + if !h.Equal(target.GetSecurityContext()) { + return false + } + } else { + if !proto.Equal(m.GetSecurityContext(), target.GetSecurityContext()) { + return false + } + } + + if h, ok := interface{}(m.GetResources()).(equality.Equalizer); ok { + if !h.Equal(target.GetResources()) { + return false + } + } else { + if !proto.Equal(m.GetResources(), target.GetResources()) { + return false + } + } + + return true +} + +// Equal function +func (m *EnvoyBootstrap) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*EnvoyBootstrap) + if !ok { + that2, ok := that.(EnvoyBootstrap) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if strings.Compare(m.GetLogLevel(), target.GetLogLevel()) != 0 { + return false + } + + if len(m.GetComponentLogLevels()) != len(target.GetComponentLogLevels()) { + return false + } + for k, v := range m.GetComponentLogLevels() { + + if strings.Compare(v, target.GetComponentLogLevels()[k]) != 0 { + return false + } + + } + + return true +} + +// Equal function +func (m *GatewayParametersStatus) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*GatewayParametersStatus) + if !ok { + that2, ok := that.(GatewayParametersStatus) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + return true +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.go new file mode 100644 index 00000000000..6eb4ebfff88 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.go @@ -0,0 +1,743 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/gateway_parameters.proto + +package v1alpha1 + +import ( + reflect "reflect" + sync "sync" + + wrappers "github.com/golang/protobuf/ptypes/wrappers" + v1 "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/api/core/v1" + _ "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/apimachinery/pkg/apis/meta/v1" + kube "github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube" + _ "github.com/solo-io/protoc-gen-ext/extproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// A GatewayParameters contains configuration that is used to dynamically +// provision Gloo Gateway's data plane (Envoy proxy instance), based on a +// Kubernetes Gateway. +type GatewayParametersSpec struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The type of environment/platform in which the proxy will be provisioned. + // + // Types that are assignable to EnvironmentType: + // + // *GatewayParametersSpec_Kube + EnvironmentType isGatewayParametersSpec_EnvironmentType `protobuf_oneof:"environment_type"` +} + +func (x *GatewayParametersSpec) Reset() { + *x = GatewayParametersSpec{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GatewayParametersSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GatewayParametersSpec) ProtoMessage() {} + +func (x *GatewayParametersSpec) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_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 GatewayParametersSpec.ProtoReflect.Descriptor instead. +func (*GatewayParametersSpec) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescGZIP(), []int{0} +} + +func (m *GatewayParametersSpec) GetEnvironmentType() isGatewayParametersSpec_EnvironmentType { + if m != nil { + return m.EnvironmentType + } + return nil +} + +func (x *GatewayParametersSpec) GetKube() *KubernetesProxyConfig { + if x, ok := x.GetEnvironmentType().(*GatewayParametersSpec_Kube); ok { + return x.Kube + } + return nil +} + +type isGatewayParametersSpec_EnvironmentType interface { + isGatewayParametersSpec_EnvironmentType() +} + +type GatewayParametersSpec_Kube struct { + // The proxy will be deployed on Kubernetes. + Kube *KubernetesProxyConfig `protobuf:"bytes,1,opt,name=kube,proto3,oneof"` +} + +func (*GatewayParametersSpec_Kube) isGatewayParametersSpec_EnvironmentType() {} + +// Configuration for the set of Kubernetes resources that will be provisioned +// for a given Gateway. +type KubernetesProxyConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The workload type of the proxy + // + // Types that are assignable to WorkloadType: + // + // *KubernetesProxyConfig_Deployment + WorkloadType isKubernetesProxyConfig_WorkloadType `protobuf_oneof:"workload_type"` + // Configuration for the container running Envoy. + EnvoyContainer *EnvoyContainer `protobuf:"bytes,2,opt,name=envoy_container,json=envoyContainer,proto3" json:"envoy_container,omitempty"` + // Configuration for the pods that will be created. + PodTemplate *kube.Pod `protobuf:"bytes,3,opt,name=pod_template,json=podTemplate,proto3" json:"pod_template,omitempty"` + // Configuration for the Kubernetes Service that exposes the Envoy proxy over + // the network. + Service *kube.Service `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"` + // Autoscaling configuration. + Autoscaling *kube.Autoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` +} + +func (x *KubernetesProxyConfig) Reset() { + *x = KubernetesProxyConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KubernetesProxyConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KubernetesProxyConfig) ProtoMessage() {} + +func (x *KubernetesProxyConfig) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_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 KubernetesProxyConfig.ProtoReflect.Descriptor instead. +func (*KubernetesProxyConfig) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescGZIP(), []int{1} +} + +func (m *KubernetesProxyConfig) GetWorkloadType() isKubernetesProxyConfig_WorkloadType { + if m != nil { + return m.WorkloadType + } + return nil +} + +func (x *KubernetesProxyConfig) GetDeployment() *ProxyDeployment { + if x, ok := x.GetWorkloadType().(*KubernetesProxyConfig_Deployment); ok { + return x.Deployment + } + return nil +} + +func (x *KubernetesProxyConfig) GetEnvoyContainer() *EnvoyContainer { + if x != nil { + return x.EnvoyContainer + } + return nil +} + +func (x *KubernetesProxyConfig) GetPodTemplate() *kube.Pod { + if x != nil { + return x.PodTemplate + } + return nil +} + +func (x *KubernetesProxyConfig) GetService() *kube.Service { + if x != nil { + return x.Service + } + return nil +} + +func (x *KubernetesProxyConfig) GetAutoscaling() *kube.Autoscaling { + if x != nil { + return x.Autoscaling + } + return nil +} + +type isKubernetesProxyConfig_WorkloadType interface { + isKubernetesProxyConfig_WorkloadType() +} + +type KubernetesProxyConfig_Deployment struct { + // Use a Kubernetes deployment as the proxy workload type. + Deployment *ProxyDeployment `protobuf:"bytes,1,opt,name=deployment,proto3,oneof"` +} + +func (*KubernetesProxyConfig_Deployment) isKubernetesProxyConfig_WorkloadType() {} + +// Configuration for the Proxy deployment in Kubernetes. +type ProxyDeployment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The number of desired pods. Defaults to 1. + Replicas *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=replicas,proto3" json:"replicas,omitempty"` +} + +func (x *ProxyDeployment) Reset() { + *x = ProxyDeployment{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProxyDeployment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProxyDeployment) ProtoMessage() {} + +func (x *ProxyDeployment) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_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 ProxyDeployment.ProtoReflect.Descriptor instead. +func (*ProxyDeployment) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescGZIP(), []int{2} +} + +func (x *ProxyDeployment) GetReplicas() *wrappers.UInt32Value { + if x != nil { + return x.Replicas + } + return nil +} + +// Configuration for the container running Envoy. +type EnvoyContainer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Initial envoy configuration. + Bootstrap *EnvoyBootstrap `protobuf:"bytes,1,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"` + // The envoy container image. See + // https://kubernetes.io/docs/concepts/containers/images + // for details. + // + // Default values, which may be overridden individually: + // + // registry: quay.io/solo-io + // repository: gloo-envoy-wrapper (OSS) / gloo-ee-envoy-wrapper (EE) + // tag: (OSS) / (EE) + // pullPolicy: IfNotPresent + Image *kube.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` + // The security context for this container. See + // https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#securitycontext-v1-core + // for details. + SecurityContext *v1.SecurityContext `protobuf:"bytes,3,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` + // The compute resources required by this container. See + // https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + // for details. + Resources *kube.ResourceRequirements `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"` +} + +func (x *EnvoyContainer) Reset() { + *x = EnvoyContainer{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnvoyContainer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnvoyContainer) ProtoMessage() {} + +func (x *EnvoyContainer) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_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 EnvoyContainer.ProtoReflect.Descriptor instead. +func (*EnvoyContainer) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescGZIP(), []int{3} +} + +func (x *EnvoyContainer) GetBootstrap() *EnvoyBootstrap { + if x != nil { + return x.Bootstrap + } + return nil +} + +func (x *EnvoyContainer) GetImage() *kube.Image { + if x != nil { + return x.Image + } + return nil +} + +func (x *EnvoyContainer) GetSecurityContext() *v1.SecurityContext { + if x != nil { + return x.SecurityContext + } + return nil +} + +func (x *EnvoyContainer) GetResources() *kube.ResourceRequirements { + if x != nil { + return x.Resources + } + return nil +} + +// Configuration for the Envoy proxy instance that is provisioned from a +// Kubernetes Gateway. +type EnvoyBootstrap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Envoy log level. Options include "trace", "debug", "info", "warn", "error", + // "critical" and "off". Defaults to "info". See + // https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy + // for more information. + LogLevel string `protobuf:"bytes,1,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` + // Envoy log levels for specific components. The keys are component names and + // the values are one of "trace", "debug", "info", "warn", "error", + // "critical", or "off", e.g. + // + // ```yaml + // componentLogLevels: + // upstream: debug + // connection: trace + // ``` + // + // These will be converted to the `--component-log-level` Envoy argument + // value. See + // https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy + // for more information. + // + // Note: the keys and values cannot be empty, but they are not otherwise validated. + ComponentLogLevels map[string]string `protobuf:"bytes,2,rep,name=component_log_levels,json=componentLogLevels,proto3" json:"component_log_levels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EnvoyBootstrap) Reset() { + *x = EnvoyBootstrap{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EnvoyBootstrap) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EnvoyBootstrap) ProtoMessage() {} + +func (x *EnvoyBootstrap) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_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 EnvoyBootstrap.ProtoReflect.Descriptor instead. +func (*EnvoyBootstrap) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescGZIP(), []int{4} +} + +func (x *EnvoyBootstrap) GetLogLevel() string { + if x != nil { + return x.LogLevel + } + return "" +} + +func (x *EnvoyBootstrap) GetComponentLogLevels() map[string]string { + if x != nil { + return x.ComponentLogLevels + } + return nil +} + +type GatewayParametersStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GatewayParametersStatus) Reset() { + *x = GatewayParametersStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GatewayParametersStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GatewayParametersStatus) ProtoMessage() {} + +func (x *GatewayParametersStatus) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GatewayParametersStatus.ProtoReflect.Descriptor instead. +func (*GatewayParametersStatus) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescGZIP(), []int{5} +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDesc = []byte{ + 0x0a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x14, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, + 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x1a, 0x12, 0x65, 0x78, 0x74, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x4d, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, + 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, + 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x4b, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, + 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, + 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, + 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x49, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, + 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x73, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x5d, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, + 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x6f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, + 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, + 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6e, 0x0a, 0x15, 0x47, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x53, 0x70, + 0x65, 0x63, 0x12, 0x41, 0x0a, 0x04, 0x6b, 0x75, 0x62, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, + 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, + 0x65, 0x73, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, + 0x04, 0x6b, 0x75, 0x62, 0x65, 0x42, 0x12, 0x0a, 0x10, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x8b, 0x03, 0x0a, 0x15, 0x4b, 0x75, + 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x47, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x50, + 0x72, 0x6f, 0x78, 0x79, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, + 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x0f, + 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, + 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x45, 0x6e, 0x76, + 0x6f, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0e, 0x65, 0x6e, 0x76, + 0x6f, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0c, 0x70, + 0x6f, 0x64, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x50, 0x6f, + 0x64, 0x52, 0x0b, 0x70, 0x6f, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x3c, + 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, + 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x0b, + 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x41, 0x75, + 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x73, + 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x0f, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, + 0x61, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x78, 0x79, + 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, + 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x22, 0xab, 0x02, 0x0a, 0x0e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x09, 0x62, 0x6f, 0x6f, 0x74, 0x73, + 0x74, 0x72, 0x61, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, + 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, + 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x36, 0x0a, 0x05, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6b, 0x75, 0x62, + 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, + 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05, 0x69, 0x6d, + 0x61, 0x67, 0x65, 0x12, 0x4e, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x12, 0x4d, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, + 0x69, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x42, 0x6f, 0x6f, 0x74, + 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x76, + 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x6e, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, + 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x3c, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, + 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x42, 0x6f, 0x6f, + 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, + 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, + 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x73, 0x1a, 0x45, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4c, + 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 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, 0x19, 0x0a, 0x17, 0x47, 0x61, 0x74, + 0x65, 0x77, 0x61, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x42, 0x59, 0xb8, 0xf5, 0x04, 0x01, 0xc0, 0xf5, 0x04, 0x01, 0x5a, 0x4f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, + 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, + 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_goTypes = []interface{}{ + (*GatewayParametersSpec)(nil), // 0: gateway.gloo.solo.io.GatewayParametersSpec + (*KubernetesProxyConfig)(nil), // 1: gateway.gloo.solo.io.KubernetesProxyConfig + (*ProxyDeployment)(nil), // 2: gateway.gloo.solo.io.ProxyDeployment + (*EnvoyContainer)(nil), // 3: gateway.gloo.solo.io.EnvoyContainer + (*EnvoyBootstrap)(nil), // 4: gateway.gloo.solo.io.EnvoyBootstrap + (*GatewayParametersStatus)(nil), // 5: gateway.gloo.solo.io.GatewayParametersStatus + nil, // 6: gateway.gloo.solo.io.EnvoyBootstrap.ComponentLogLevelsEntry + (*kube.Pod)(nil), // 7: kube.gateway.gloo.solo.io.Pod + (*kube.Service)(nil), // 8: kube.gateway.gloo.solo.io.Service + (*kube.Autoscaling)(nil), // 9: kube.gateway.gloo.solo.io.Autoscaling + (*wrappers.UInt32Value)(nil), // 10: google.protobuf.UInt32Value + (*kube.Image)(nil), // 11: kube.gateway.gloo.solo.io.Image + (*v1.SecurityContext)(nil), // 12: k8s.io.api.core.v1.SecurityContext + (*kube.ResourceRequirements)(nil), // 13: kube.gateway.gloo.solo.io.ResourceRequirements +} +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_depIdxs = []int32{ + 1, // 0: gateway.gloo.solo.io.GatewayParametersSpec.kube:type_name -> gateway.gloo.solo.io.KubernetesProxyConfig + 2, // 1: gateway.gloo.solo.io.KubernetesProxyConfig.deployment:type_name -> gateway.gloo.solo.io.ProxyDeployment + 3, // 2: gateway.gloo.solo.io.KubernetesProxyConfig.envoy_container:type_name -> gateway.gloo.solo.io.EnvoyContainer + 7, // 3: gateway.gloo.solo.io.KubernetesProxyConfig.pod_template:type_name -> kube.gateway.gloo.solo.io.Pod + 8, // 4: gateway.gloo.solo.io.KubernetesProxyConfig.service:type_name -> kube.gateway.gloo.solo.io.Service + 9, // 5: gateway.gloo.solo.io.KubernetesProxyConfig.autoscaling:type_name -> kube.gateway.gloo.solo.io.Autoscaling + 10, // 6: gateway.gloo.solo.io.ProxyDeployment.replicas:type_name -> google.protobuf.UInt32Value + 4, // 7: gateway.gloo.solo.io.EnvoyContainer.bootstrap:type_name -> gateway.gloo.solo.io.EnvoyBootstrap + 11, // 8: gateway.gloo.solo.io.EnvoyContainer.image:type_name -> kube.gateway.gloo.solo.io.Image + 12, // 9: gateway.gloo.solo.io.EnvoyContainer.security_context:type_name -> k8s.io.api.core.v1.SecurityContext + 13, // 10: gateway.gloo.solo.io.EnvoyContainer.resources:type_name -> kube.gateway.gloo.solo.io.ResourceRequirements + 6, // 11: gateway.gloo.solo.io.EnvoyBootstrap.component_log_levels:type_name -> gateway.gloo.solo.io.EnvoyBootstrap.ComponentLogLevelsEntry + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_init() +} +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GatewayParametersSpec); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KubernetesProxyConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProxyDeployment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvoyContainer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EnvoyBootstrap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GatewayParametersStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*GatewayParametersSpec_Kube)(nil), + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*KubernetesProxyConfig_Deployment)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_gateway_parameters_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.hash.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.hash.go new file mode 100644 index 00000000000..6a0a8133a97 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/gateway_parameters.pb.hash.go @@ -0,0 +1,381 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/gateway_parameters.proto + +package v1alpha1 + +import ( + "encoding/binary" + "errors" + "fmt" + "hash" + "hash/fnv" + + safe_hasher "github.com/solo-io/protoc-gen-ext/pkg/hasher" + "github.com/solo-io/protoc-gen-ext/pkg/hasher/hashstructure" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = new(hash.Hash64) + _ = fnv.New64 + _ = hashstructure.Hash + _ = new(safe_hasher.SafeHasher) +) + +// Hash function +func (m *GatewayParametersSpec) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1.GatewayParametersSpec")); err != nil { + return 0, err + } + + switch m.EnvironmentType.(type) { + + case *GatewayParametersSpec_Kube: + + if h, ok := interface{}(m.GetKube()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Kube")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetKube(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Kube")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + } + + return hasher.Sum64(), nil +} + +// Hash function +func (m *KubernetesProxyConfig) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1.KubernetesProxyConfig")); err != nil { + return 0, err + } + + if h, ok := interface{}(m.GetEnvoyContainer()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("EnvoyContainer")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetEnvoyContainer(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("EnvoyContainer")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetPodTemplate()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("PodTemplate")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetPodTemplate(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("PodTemplate")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetService()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Service")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetService(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Service")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetAutoscaling()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Autoscaling")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetAutoscaling(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Autoscaling")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + switch m.WorkloadType.(type) { + + case *KubernetesProxyConfig_Deployment: + + if h, ok := interface{}(m.GetDeployment()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Deployment")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetDeployment(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Deployment")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + } + + return hasher.Sum64(), nil +} + +// Hash function +func (m *ProxyDeployment) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1.ProxyDeployment")); err != nil { + return 0, err + } + + if h, ok := interface{}(m.GetReplicas()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Replicas")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetReplicas(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Replicas")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + return hasher.Sum64(), nil +} + +// Hash function +func (m *EnvoyContainer) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1.EnvoyContainer")); err != nil { + return 0, err + } + + if h, ok := interface{}(m.GetBootstrap()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Bootstrap")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetBootstrap(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Bootstrap")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetImage()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Image")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetImage(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Image")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetSecurityContext()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("SecurityContext")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetSecurityContext(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("SecurityContext")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetResources()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Resources")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetResources(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Resources")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + return hasher.Sum64(), nil +} + +// Hash function +func (m *EnvoyBootstrap) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1.EnvoyBootstrap")); err != nil { + return 0, err + } + + if _, err = hasher.Write([]byte(m.GetLogLevel())); err != nil { + return 0, err + } + + { + var result uint64 + innerHash := fnv.New64() + for k, v := range m.GetComponentLogLevels() { + innerHash.Reset() + + if _, err = innerHash.Write([]byte(v)); err != nil { + return 0, err + } + + if _, err = innerHash.Write([]byte(k)); err != nil { + return 0, err + } + + result = result ^ innerHash.Sum64() + } + err = binary.Write(hasher, binary.LittleEndian, result) + if err != nil { + return 0, err + } + + } + + return hasher.Sum64(), nil +} + +// Hash function +func (m *GatewayParametersStatus) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1.GatewayParametersStatus")); err != nil { + return 0, err + } + + return hasher.Sum64(), nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/json.gen.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/json.gen.go new file mode 100644 index 00000000000..8256ecec975 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/json.gen.go @@ -0,0 +1,50 @@ +// Code generated by skv2. DO NOT EDIT. + +// Generated json marshal and unmarshal functions + +package v1alpha1 + +import ( + bytes "bytes" + fmt "fmt" + math "math" + + jsonpb "github.com/golang/protobuf/jsonpb" + proto "github.com/golang/protobuf/proto" + skv2jsonpb "github.com/solo-io/skv2/pkg/kube_jsonpb" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +var ( + marshaller = &skv2jsonpb.Marshaler{} + unmarshaller = &jsonpb.Unmarshaler{ + AllowUnknownFields: true, + } + strictUnmarshaller = &jsonpb.Unmarshaler{} +) + +// MarshalJSON is a custom marshaler for GatewayParametersSpec +func (this *GatewayParametersSpec) MarshalJSON() ([]byte, error) { + str, err := marshaller.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for GatewayParametersSpec +func (this *GatewayParametersSpec) UnmarshalJSON(b []byte) error { + return unmarshaller.Unmarshal(bytes.NewReader(b), this) +} + +// MarshalJSON is a custom marshaler for GatewayParametersStatus +func (this *GatewayParametersStatus) MarshalJSON() ([]byte, error) { + str, err := marshaller.MarshalToString(this) + return []byte(str), err +} + +// UnmarshalJSON is a custom unmarshaler for GatewayParametersStatus +func (this *GatewayParametersStatus) UnmarshalJSON(b []byte) error { + return unmarshaller.Unmarshal(bytes.NewReader(b), this) +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.equal.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.equal.go new file mode 100644 index 00000000000..b48ba563c9b --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.equal.go @@ -0,0 +1,124 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/autoscaling.proto + +package kube + +import ( + "bytes" + "encoding/binary" + "errors" + "fmt" + "strings" + + "github.com/golang/protobuf/proto" + equality "github.com/solo-io/protoc-gen-ext/pkg/equality" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = bytes.Compare + _ = strings.Compare + _ = equality.Equalizer(nil) + _ = proto.Message(nil) +) + +// Equal function +func (m *Autoscaling) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*Autoscaling) + if !ok { + that2, ok := that.(Autoscaling) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if h, ok := interface{}(m.GetHorizontalPodAutoscaler()).(equality.Equalizer); ok { + if !h.Equal(target.GetHorizontalPodAutoscaler()) { + return false + } + } else { + if !proto.Equal(m.GetHorizontalPodAutoscaler(), target.GetHorizontalPodAutoscaler()) { + return false + } + } + + return true +} + +// Equal function +func (m *HorizontalPodAutoscaler) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*HorizontalPodAutoscaler) + if !ok { + that2, ok := that.(HorizontalPodAutoscaler) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if h, ok := interface{}(m.GetMinReplicas()).(equality.Equalizer); ok { + if !h.Equal(target.GetMinReplicas()) { + return false + } + } else { + if !proto.Equal(m.GetMinReplicas(), target.GetMinReplicas()) { + return false + } + } + + if h, ok := interface{}(m.GetMaxReplicas()).(equality.Equalizer); ok { + if !h.Equal(target.GetMaxReplicas()) { + return false + } + } else { + if !proto.Equal(m.GetMaxReplicas(), target.GetMaxReplicas()) { + return false + } + } + + if h, ok := interface{}(m.GetTargetCpuUtilizationPercentage()).(equality.Equalizer); ok { + if !h.Equal(target.GetTargetCpuUtilizationPercentage()) { + return false + } + } else { + if !proto.Equal(m.GetTargetCpuUtilizationPercentage(), target.GetTargetCpuUtilizationPercentage()) { + return false + } + } + + if h, ok := interface{}(m.GetTargetMemoryUtilizationPercentage()).(equality.Equalizer); ok { + if !h.Equal(target.GetTargetMemoryUtilizationPercentage()) { + return false + } + } else { + if !proto.Equal(m.GetTargetMemoryUtilizationPercentage(), target.GetTargetMemoryUtilizationPercentage()) { + return false + } + } + + return true +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.go new file mode 100644 index 00000000000..1eb2ceb6848 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.go @@ -0,0 +1,297 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/autoscaling.proto + +package kube + +import ( + reflect "reflect" + sync "sync" + + wrappers "github.com/golang/protobuf/ptypes/wrappers" + _ "github.com/solo-io/protoc-gen-ext/extproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Kubernetes autoscaling configuration. +type Autoscaling struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If set, a Kubernetes HorizontalPodAutoscaler will be created to scale the + // workload to match demand. See + // https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ + // for details. + HorizontalPodAutoscaler *HorizontalPodAutoscaler `protobuf:"bytes,1,opt,name=horizontal_pod_autoscaler,json=horizontalPodAutoscaler,proto3" json:"horizontal_pod_autoscaler,omitempty"` +} + +func (x *Autoscaling) Reset() { + *x = Autoscaling{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Autoscaling) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Autoscaling) ProtoMessage() {} + +func (x *Autoscaling) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_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 Autoscaling.ProtoReflect.Descriptor instead. +func (*Autoscaling) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescGZIP(), []int{0} +} + +func (x *Autoscaling) GetHorizontalPodAutoscaler() *HorizontalPodAutoscaler { + if x != nil { + return x.HorizontalPodAutoscaler + } + return nil +} + +// Horizontal pod autoscaling configuration. See +// https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ +// for details. +type HorizontalPodAutoscaler struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The lower limit for the number of replicas to which the autoscaler can + // scale down. Defaults to 1. + MinReplicas *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=min_replicas,json=minReplicas,proto3" json:"min_replicas,omitempty"` + // The upper limit for the number of replicas to which the autoscaler can + // scale up. Cannot be less than `minReplicas`. Defaults to 100. + MaxReplicas *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` + // The target value of the average CPU utilization across all relevant pods, + // represented as a percentage of the requested value of the resource for the + // pods. Defaults to 80. + TargetCpuUtilizationPercentage *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=target_cpu_utilization_percentage,json=targetCpuUtilizationPercentage,proto3" json:"target_cpu_utilization_percentage,omitempty"` + // The target value of the average memory utilization across all relevant + // pods, represented as a percentage of the requested value of the resource + // for the pods. Defaults to 80. + TargetMemoryUtilizationPercentage *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=target_memory_utilization_percentage,json=targetMemoryUtilizationPercentage,proto3" json:"target_memory_utilization_percentage,omitempty"` +} + +func (x *HorizontalPodAutoscaler) Reset() { + *x = HorizontalPodAutoscaler{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HorizontalPodAutoscaler) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HorizontalPodAutoscaler) ProtoMessage() {} + +func (x *HorizontalPodAutoscaler) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_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 HorizontalPodAutoscaler.ProtoReflect.Descriptor instead. +func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescGZIP(), []int{1} +} + +func (x *HorizontalPodAutoscaler) GetMinReplicas() *wrappers.UInt32Value { + if x != nil { + return x.MinReplicas + } + return nil +} + +func (x *HorizontalPodAutoscaler) GetMaxReplicas() *wrappers.UInt32Value { + if x != nil { + return x.MaxReplicas + } + return nil +} + +func (x *HorizontalPodAutoscaler) GetTargetCpuUtilizationPercentage() *wrappers.UInt32Value { + if x != nil { + return x.TargetCpuUtilizationPercentage + } + return nil +} + +func (x *HorizontalPodAutoscaler) GetTargetMemoryUtilizationPercentage() *wrappers.UInt32Value { + if x != nil { + return x.TargetMemoryUtilizationPercentage + } + return nil +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDesc = []byte{ + 0x0a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x61, 0x75, + 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x19, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, + 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x1a, 0x12, 0x65, 0x78, 0x74, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7d, + 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x6e, 0x0a, + 0x19, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x64, 0x5f, + 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x32, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, + 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x48, 0x6f, 0x72, + 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, + 0x61, 0x6c, 0x65, 0x72, 0x52, 0x17, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, + 0x50, 0x6f, 0x64, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x22, 0xf3, 0x02, + 0x0a, 0x17, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x64, 0x41, + 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, + 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x6d, + 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x3f, 0x0a, 0x0c, 0x6d, 0x61, + 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, + 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x67, 0x0a, 0x21, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x1e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x70, 0x75, 0x55, + 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, + 0x74, 0x61, 0x67, 0x65, 0x12, 0x6d, 0x0a, 0x24, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x74, 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x21, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x74, + 0x69, 0x6c, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, + 0x61, 0x67, 0x65, 0x42, 0x5e, 0xb8, 0xf5, 0x04, 0x01, 0xc0, 0xf5, 0x04, 0x01, 0x5a, 0x54, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, + 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, + 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, + 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_goTypes = []interface{}{ + (*Autoscaling)(nil), // 0: kube.gateway.gloo.solo.io.Autoscaling + (*HorizontalPodAutoscaler)(nil), // 1: kube.gateway.gloo.solo.io.HorizontalPodAutoscaler + (*wrappers.UInt32Value)(nil), // 2: google.protobuf.UInt32Value +} +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_depIdxs = []int32{ + 1, // 0: kube.gateway.gloo.solo.io.Autoscaling.horizontal_pod_autoscaler:type_name -> kube.gateway.gloo.solo.io.HorizontalPodAutoscaler + 2, // 1: kube.gateway.gloo.solo.io.HorizontalPodAutoscaler.min_replicas:type_name -> google.protobuf.UInt32Value + 2, // 2: kube.gateway.gloo.solo.io.HorizontalPodAutoscaler.max_replicas:type_name -> google.protobuf.UInt32Value + 2, // 3: kube.gateway.gloo.solo.io.HorizontalPodAutoscaler.target_cpu_utilization_percentage:type_name -> google.protobuf.UInt32Value + 2, // 4: kube.gateway.gloo.solo.io.HorizontalPodAutoscaler.target_memory_utilization_percentage:type_name -> google.protobuf.UInt32Value + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_init() +} +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Autoscaling); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HorizontalPodAutoscaler); 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_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_autoscaling_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.hash.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.hash.go new file mode 100644 index 00000000000..ce49d0b45db --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/autoscaling.pb.hash.go @@ -0,0 +1,158 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/autoscaling.proto + +package kube + +import ( + "encoding/binary" + "errors" + "fmt" + "hash" + "hash/fnv" + + safe_hasher "github.com/solo-io/protoc-gen-ext/pkg/hasher" + "github.com/solo-io/protoc-gen-ext/pkg/hasher/hashstructure" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = new(hash.Hash64) + _ = fnv.New64 + _ = hashstructure.Hash + _ = new(safe_hasher.SafeHasher) +) + +// Hash function +func (m *Autoscaling) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("kube.gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube.Autoscaling")); err != nil { + return 0, err + } + + if h, ok := interface{}(m.GetHorizontalPodAutoscaler()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("HorizontalPodAutoscaler")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetHorizontalPodAutoscaler(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("HorizontalPodAutoscaler")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + return hasher.Sum64(), nil +} + +// Hash function +func (m *HorizontalPodAutoscaler) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("kube.gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube.HorizontalPodAutoscaler")); err != nil { + return 0, err + } + + if h, ok := interface{}(m.GetMinReplicas()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("MinReplicas")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetMinReplicas(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("MinReplicas")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetMaxReplicas()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("MaxReplicas")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetMaxReplicas(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("MaxReplicas")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetTargetCpuUtilizationPercentage()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("TargetCpuUtilizationPercentage")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetTargetCpuUtilizationPercentage(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("TargetCpuUtilizationPercentage")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + if h, ok := interface{}(m.GetTargetMemoryUtilizationPercentage()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("TargetMemoryUtilizationPercentage")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetTargetMemoryUtilizationPercentage(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("TargetMemoryUtilizationPercentage")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + return hasher.Sum64(), nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.equal.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.equal.go new file mode 100644 index 00000000000..027fff5b6b7 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.equal.go @@ -0,0 +1,116 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/container.proto + +package kube + +import ( + "bytes" + "encoding/binary" + "errors" + "fmt" + "strings" + + "github.com/golang/protobuf/proto" + equality "github.com/solo-io/protoc-gen-ext/pkg/equality" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = bytes.Compare + _ = strings.Compare + _ = equality.Equalizer(nil) + _ = proto.Message(nil) +) + +// Equal function +func (m *Image) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*Image) + if !ok { + that2, ok := that.(Image) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if strings.Compare(m.GetRegistry(), target.GetRegistry()) != 0 { + return false + } + + if strings.Compare(m.GetRepository(), target.GetRepository()) != 0 { + return false + } + + if strings.Compare(m.GetTag(), target.GetTag()) != 0 { + return false + } + + if strings.Compare(m.GetDigest(), target.GetDigest()) != 0 { + return false + } + + if m.GetPullPolicy() != target.GetPullPolicy() { + return false + } + + return true +} + +// Equal function +func (m *ResourceRequirements) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*ResourceRequirements) + if !ok { + that2, ok := that.(ResourceRequirements) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if len(m.GetLimits()) != len(target.GetLimits()) { + return false + } + for k, v := range m.GetLimits() { + + if strings.Compare(v, target.GetLimits()[k]) != 0 { + return false + } + + } + + if len(m.GetRequests()) != len(target.GetRequests()) { + return false + } + for k, v := range m.GetRequests() { + + if strings.Compare(v, target.GetRequests()[k]) != 0 { + return false + } + + } + + return true +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.go new file mode 100644 index 00000000000..eca0ab90f18 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.go @@ -0,0 +1,380 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/container.proto + +package kube + +import ( + reflect "reflect" + sync "sync" + + _ "github.com/solo-io/protoc-gen-ext/extproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Image_PullPolicy int32 + +const ( + // The image pull policy will be defaulted based on the image tag or digest. + // See + // https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting + // for details. + Image_Unspecified Image_PullPolicy = 0 + // The image is pulled only if it is not already present locally. + // See + // https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + // for details. + Image_IfNotPresent Image_PullPolicy = 1 + // Every time the kubelet launches a container, the kubelet queries the + // container image registry to resolve the name to an image digest. See + // https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + // for details. + Image_Always Image_PullPolicy = 2 + // The kubelet does not try fetching the image. If the image is somehow + // already present locally, the kubelet attempts to start the container; + // otherwise, startup fails. See + // https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + // for details. + Image_Never Image_PullPolicy = 3 +) + +// Enum value maps for Image_PullPolicy. +var ( + Image_PullPolicy_name = map[int32]string{ + 0: "Unspecified", + 1: "IfNotPresent", + 2: "Always", + 3: "Never", + } + Image_PullPolicy_value = map[string]int32{ + "Unspecified": 0, + "IfNotPresent": 1, + "Always": 2, + "Never": 3, + } +) + +func (x Image_PullPolicy) Enum() *Image_PullPolicy { + p := new(Image_PullPolicy) + *p = x + return p +} + +func (x Image_PullPolicy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Image_PullPolicy) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_enumTypes[0].Descriptor() +} + +func (Image_PullPolicy) Type() protoreflect.EnumType { + return &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_enumTypes[0] +} + +func (x Image_PullPolicy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Image_PullPolicy.Descriptor instead. +func (Image_PullPolicy) EnumDescriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescGZIP(), []int{0, 0} +} + +// A container image. See https://kubernetes.io/docs/concepts/containers/images +// for details. +type Image struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The image registry. + Registry string `protobuf:"bytes,1,opt,name=registry,proto3" json:"registry,omitempty"` + // The image repository (name). + Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + // The image tag. + Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` + // The hash digest of the image, e.g. `sha256:12345...` + Digest string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"` + // The image pull policy for the container. See + // https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy + // for details. + PullPolicy Image_PullPolicy `protobuf:"varint,5,opt,name=pull_policy,json=pullPolicy,proto3,enum=kube.gateway.gloo.solo.io.Image_PullPolicy" json:"pull_policy,omitempty"` +} + +func (x *Image) Reset() { + *x = Image{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Image) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Image) ProtoMessage() {} + +func (x *Image) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_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 Image.ProtoReflect.Descriptor instead. +func (*Image) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescGZIP(), []int{0} +} + +func (x *Image) GetRegistry() string { + if x != nil { + return x.Registry + } + return "" +} + +func (x *Image) GetRepository() string { + if x != nil { + return x.Repository + } + return "" +} + +func (x *Image) GetTag() string { + if x != nil { + return x.Tag + } + return "" +} + +func (x *Image) GetDigest() string { + if x != nil { + return x.Digest + } + return "" +} + +func (x *Image) GetPullPolicy() Image_PullPolicy { + if x != nil { + return x.PullPolicy + } + return Image_Unspecified +} + +// Compute resources required by this container. See +// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ +// for details. +type ResourceRequirements struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The maximum amount of compute resources allowed. + Limits map[string]string `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // The minimum amount of compute resources required. + Requests map[string]string `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ResourceRequirements) Reset() { + *x = ResourceRequirements{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceRequirements) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceRequirements) ProtoMessage() {} + +func (x *ResourceRequirements) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_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 ResourceRequirements.ProtoReflect.Descriptor instead. +func (*ResourceRequirements) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescGZIP(), []int{1} +} + +func (x *ResourceRequirements) GetLimits() map[string]string { + if x != nil { + return x.Limits + } + return nil +} + +func (x *ResourceRequirements) GetRequests() map[string]string { + if x != nil { + return x.Requests + } + return nil +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDesc = []byte{ + 0x0a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x6b, + 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, + 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x1a, 0x12, 0x65, 0x78, 0x74, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x02, 0x0a, + 0x05, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x74, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x0b, + 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x2b, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x2e, 0x50, 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0a, + 0x70, 0x75, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x46, 0x0a, 0x0a, 0x50, 0x75, + 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x6e, 0x73, 0x70, + 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x66, 0x4e, + 0x6f, 0x74, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, + 0x6c, 0x77, 0x61, 0x79, 0x73, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x4e, 0x65, 0x76, 0x65, 0x72, + 0x10, 0x03, 0x22, 0xbe, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x06, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6b, 0x75, + 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, + 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, + 0x12, 0x59, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 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, 0x1a, 0x3b, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 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, 0x42, 0x5e, 0xb8, 0xf5, 0x04, 0x01, 0xc0, 0xf5, 0x04, 0x01, 0x5a, 0x54, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, + 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, + 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, + 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_goTypes = []interface{}{ + (Image_PullPolicy)(0), // 0: kube.gateway.gloo.solo.io.Image.PullPolicy + (*Image)(nil), // 1: kube.gateway.gloo.solo.io.Image + (*ResourceRequirements)(nil), // 2: kube.gateway.gloo.solo.io.ResourceRequirements + nil, // 3: kube.gateway.gloo.solo.io.ResourceRequirements.LimitsEntry + nil, // 4: kube.gateway.gloo.solo.io.ResourceRequirements.RequestsEntry +} +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_depIdxs = []int32{ + 0, // 0: kube.gateway.gloo.solo.io.Image.pull_policy:type_name -> kube.gateway.gloo.solo.io.Image.PullPolicy + 3, // 1: kube.gateway.gloo.solo.io.ResourceRequirements.limits:type_name -> kube.gateway.gloo.solo.io.ResourceRequirements.LimitsEntry + 4, // 2: kube.gateway.gloo.solo.io.ResourceRequirements.requests:type_name -> kube.gateway.gloo.solo.io.ResourceRequirements.RequestsEntry + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_init() } +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Image); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceRequirements); 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_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDesc, + NumEnums: 1, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_depIdxs, + EnumInfos: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_enumTypes, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_container_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.hash.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.hash.go new file mode 100644 index 00000000000..7b4b342a8f1 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/container.pb.hash.go @@ -0,0 +1,125 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/container.proto + +package kube + +import ( + "encoding/binary" + "errors" + "fmt" + "hash" + "hash/fnv" + + safe_hasher "github.com/solo-io/protoc-gen-ext/pkg/hasher" + "github.com/solo-io/protoc-gen-ext/pkg/hasher/hashstructure" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = new(hash.Hash64) + _ = fnv.New64 + _ = hashstructure.Hash + _ = new(safe_hasher.SafeHasher) +) + +// Hash function +func (m *Image) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("kube.gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube.Image")); err != nil { + return 0, err + } + + if _, err = hasher.Write([]byte(m.GetRegistry())); err != nil { + return 0, err + } + + if _, err = hasher.Write([]byte(m.GetRepository())); err != nil { + return 0, err + } + + if _, err = hasher.Write([]byte(m.GetTag())); err != nil { + return 0, err + } + + if _, err = hasher.Write([]byte(m.GetDigest())); err != nil { + return 0, err + } + + err = binary.Write(hasher, binary.LittleEndian, m.GetPullPolicy()) + if err != nil { + return 0, err + } + + return hasher.Sum64(), nil +} + +// Hash function +func (m *ResourceRequirements) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("kube.gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube.ResourceRequirements")); err != nil { + return 0, err + } + + { + var result uint64 + innerHash := fnv.New64() + for k, v := range m.GetLimits() { + innerHash.Reset() + + if _, err = innerHash.Write([]byte(v)); err != nil { + return 0, err + } + + if _, err = innerHash.Write([]byte(k)); err != nil { + return 0, err + } + + result = result ^ innerHash.Sum64() + } + err = binary.Write(hasher, binary.LittleEndian, result) + if err != nil { + return 0, err + } + + } + + { + var result uint64 + innerHash := fnv.New64() + for k, v := range m.GetRequests() { + innerHash.Reset() + + if _, err = innerHash.Write([]byte(v)); err != nil { + return 0, err + } + + if _, err = innerHash.Write([]byte(k)); err != nil { + return 0, err + } + + result = result ^ innerHash.Sum64() + } + err = binary.Write(hasher, binary.LittleEndian, result) + if err != nil { + return 0, err + } + + } + + return hasher.Sum64(), nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.equal.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.equal.go new file mode 100644 index 00000000000..b48faf7fd55 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.equal.go @@ -0,0 +1,137 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/pod.proto + +package kube + +import ( + "bytes" + "encoding/binary" + "errors" + "fmt" + "strings" + + "github.com/golang/protobuf/proto" + equality "github.com/solo-io/protoc-gen-ext/pkg/equality" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = bytes.Compare + _ = strings.Compare + _ = equality.Equalizer(nil) + _ = proto.Message(nil) +) + +// Equal function +func (m *Pod) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*Pod) + if !ok { + that2, ok := that.(Pod) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if len(m.GetExtraLabels()) != len(target.GetExtraLabels()) { + return false + } + for k, v := range m.GetExtraLabels() { + + if strings.Compare(v, target.GetExtraLabels()[k]) != 0 { + return false + } + + } + + if len(m.GetExtraAnnotations()) != len(target.GetExtraAnnotations()) { + return false + } + for k, v := range m.GetExtraAnnotations() { + + if strings.Compare(v, target.GetExtraAnnotations()[k]) != 0 { + return false + } + + } + + if h, ok := interface{}(m.GetSecurityContext()).(equality.Equalizer); ok { + if !h.Equal(target.GetSecurityContext()) { + return false + } + } else { + if !proto.Equal(m.GetSecurityContext(), target.GetSecurityContext()) { + return false + } + } + + if len(m.GetImagePullSecrets()) != len(target.GetImagePullSecrets()) { + return false + } + for idx, v := range m.GetImagePullSecrets() { + + if h, ok := interface{}(v).(equality.Equalizer); ok { + if !h.Equal(target.GetImagePullSecrets()[idx]) { + return false + } + } else { + if !proto.Equal(v, target.GetImagePullSecrets()[idx]) { + return false + } + } + + } + + if len(m.GetNodeSelector()) != len(target.GetNodeSelector()) { + return false + } + for k, v := range m.GetNodeSelector() { + + if strings.Compare(v, target.GetNodeSelector()[k]) != 0 { + return false + } + + } + + if h, ok := interface{}(m.GetAffinity()).(equality.Equalizer); ok { + if !h.Equal(target.GetAffinity()) { + return false + } + } else { + if !proto.Equal(m.GetAffinity(), target.GetAffinity()) { + return false + } + } + + if len(m.GetTolerations()) != len(target.GetTolerations()) { + return false + } + for idx, v := range m.GetTolerations() { + + if h, ok := interface{}(v).(equality.Equalizer); ok { + if !h.Equal(target.GetTolerations()[idx]) { + return false + } + } else { + if !proto.Equal(v, target.GetTolerations()[idx]) { + return false + } + } + + } + + return true +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.go new file mode 100644 index 00000000000..0289dd16e8b --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.go @@ -0,0 +1,288 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/pod.proto + +package kube + +import ( + reflect "reflect" + sync "sync" + + v1 "github.com/solo-io/gloo/projects/gateway2/pkg/api/external/kubernetes/api/core/v1" + _ "github.com/solo-io/protoc-gen-ext/extproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Configuration for a Kubernetes Pod template. +type Pod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Additional labels to add to the Pod object metadata. + ExtraLabels map[string]string `protobuf:"bytes,1,rep,name=extra_labels,json=extraLabels,proto3" json:"extra_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Additional annotations to add to the Pod object metadata. + ExtraAnnotations map[string]string `protobuf:"bytes,2,rep,name=extra_annotations,json=extraAnnotations,proto3" json:"extra_annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // The pod security context. See + // https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#podsecuritycontext-v1-core + // for details. + SecurityContext *v1.PodSecurityContext `protobuf:"bytes,3,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"` + // An optional list of references to secrets in the same namespace to use for + // pulling any of the images used by this Pod spec. See + // https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod + // for details. + ImagePullSecrets []*v1.LocalObjectReference `protobuf:"bytes,4,rep,name=image_pull_secrets,json=imagePullSecrets,proto3" json:"image_pull_secrets,omitempty"` + // A selector which must be true for the pod to fit on a node. See + // https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ for + // details. + NodeSelector map[string]string `protobuf:"bytes,5,rep,name=node_selector,json=nodeSelector,proto3" json:"node_selector,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // If specified, the pod's scheduling constraints. See + // https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#affinity-v1-core + // for details. + Affinity *v1.Affinity `protobuf:"bytes,6,opt,name=affinity,proto3" json:"affinity,omitempty"` + // If specified, the pod's tolerations. See + // https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#toleration-v1-core + // for details. + Tolerations []*v1.Toleration `protobuf:"bytes,7,rep,name=tolerations,proto3" json:"tolerations,omitempty"` +} + +func (x *Pod) Reset() { + *x = Pod{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Pod) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Pod) ProtoMessage() {} + +func (x *Pod) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_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 Pod.ProtoReflect.Descriptor instead. +func (*Pod) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDescGZIP(), []int{0} +} + +func (x *Pod) GetExtraLabels() map[string]string { + if x != nil { + return x.ExtraLabels + } + return nil +} + +func (x *Pod) GetExtraAnnotations() map[string]string { + if x != nil { + return x.ExtraAnnotations + } + return nil +} + +func (x *Pod) GetSecurityContext() *v1.PodSecurityContext { + if x != nil { + return x.SecurityContext + } + return nil +} + +func (x *Pod) GetImagePullSecrets() []*v1.LocalObjectReference { + if x != nil { + return x.ImagePullSecrets + } + return nil +} + +func (x *Pod) GetNodeSelector() map[string]string { + if x != nil { + return x.NodeSelector + } + return nil +} + +func (x *Pod) GetAffinity() *v1.Affinity { + if x != nil { + return x.Affinity + } + return nil +} + +func (x *Pod) GetTolerations() []*v1.Toleration { + if x != nil { + return x.Tolerations + } + return nil +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDesc = []byte{ + 0x0a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x70, 0x6f, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, + 0x69, 0x6f, 0x1a, 0x12, 0x65, 0x78, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x5d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x06, 0x0a, 0x03, 0x50, 0x6f, 0x64, 0x12, 0x52, 0x0a, + 0x0c, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, + 0x50, 0x6f, 0x64, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 0x73, 0x12, 0x61, 0x0a, 0x11, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6b, + 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, + 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x50, 0x6f, 0x64, 0x2e, 0x45, 0x78, 0x74, + 0x72, 0x61, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x10, 0x65, 0x78, 0x74, 0x72, 0x61, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x56, 0x0a, 0x12, 0x69, 0x6d, 0x61, 0x67, 0x65, + 0x5f, 0x70, 0x75, 0x6c, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x10, 0x69, + 0x6d, 0x61, 0x67, 0x65, 0x50, 0x75, 0x6c, 0x6c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, + 0x55, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, + 0x69, 0x6f, 0x2e, 0x50, 0x6f, 0x64, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x38, 0x0a, 0x08, 0x61, 0x66, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x52, 0x08, 0x61, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, + 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, + 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6c, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x6f, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 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, 0x1a, 0x43, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x72, 0x61, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x1a, 0x3f, 0x0a, 0x11, 0x4e, 0x6f, 0x64, 0x65, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 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, 0x42, 0x5e, 0xb8, 0xf5, 0x04, 0x01, 0xc0, 0xf5, + 0x04, 0x01, 0x5a, 0x54, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, + 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x70, 0x6b, + 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, + 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_goTypes = []interface{}{ + (*Pod)(nil), // 0: kube.gateway.gloo.solo.io.Pod + nil, // 1: kube.gateway.gloo.solo.io.Pod.ExtraLabelsEntry + nil, // 2: kube.gateway.gloo.solo.io.Pod.ExtraAnnotationsEntry + nil, // 3: kube.gateway.gloo.solo.io.Pod.NodeSelectorEntry + (*v1.PodSecurityContext)(nil), // 4: k8s.io.api.core.v1.PodSecurityContext + (*v1.LocalObjectReference)(nil), // 5: k8s.io.api.core.v1.LocalObjectReference + (*v1.Affinity)(nil), // 6: k8s.io.api.core.v1.Affinity + (*v1.Toleration)(nil), // 7: k8s.io.api.core.v1.Toleration +} +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_depIdxs = []int32{ + 1, // 0: kube.gateway.gloo.solo.io.Pod.extra_labels:type_name -> kube.gateway.gloo.solo.io.Pod.ExtraLabelsEntry + 2, // 1: kube.gateway.gloo.solo.io.Pod.extra_annotations:type_name -> kube.gateway.gloo.solo.io.Pod.ExtraAnnotationsEntry + 4, // 2: kube.gateway.gloo.solo.io.Pod.security_context:type_name -> k8s.io.api.core.v1.PodSecurityContext + 5, // 3: kube.gateway.gloo.solo.io.Pod.image_pull_secrets:type_name -> k8s.io.api.core.v1.LocalObjectReference + 3, // 4: kube.gateway.gloo.solo.io.Pod.node_selector:type_name -> kube.gateway.gloo.solo.io.Pod.NodeSelectorEntry + 6, // 5: kube.gateway.gloo.solo.io.Pod.affinity:type_name -> k8s.io.api.core.v1.Affinity + 7, // 6: kube.gateway.gloo.solo.io.Pod.tolerations:type_name -> k8s.io.api.core.v1.Toleration + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_init() } +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Pod); 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_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_pod_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.hash.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.hash.go new file mode 100644 index 00000000000..d1f1883c556 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/pod.pb.hash.go @@ -0,0 +1,199 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/pod.proto + +package kube + +import ( + "encoding/binary" + "errors" + "fmt" + "hash" + "hash/fnv" + + safe_hasher "github.com/solo-io/protoc-gen-ext/pkg/hasher" + "github.com/solo-io/protoc-gen-ext/pkg/hasher/hashstructure" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = new(hash.Hash64) + _ = fnv.New64 + _ = hashstructure.Hash + _ = new(safe_hasher.SafeHasher) +) + +// Hash function +func (m *Pod) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("kube.gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube.Pod")); err != nil { + return 0, err + } + + { + var result uint64 + innerHash := fnv.New64() + for k, v := range m.GetExtraLabels() { + innerHash.Reset() + + if _, err = innerHash.Write([]byte(v)); err != nil { + return 0, err + } + + if _, err = innerHash.Write([]byte(k)); err != nil { + return 0, err + } + + result = result ^ innerHash.Sum64() + } + err = binary.Write(hasher, binary.LittleEndian, result) + if err != nil { + return 0, err + } + + } + + { + var result uint64 + innerHash := fnv.New64() + for k, v := range m.GetExtraAnnotations() { + innerHash.Reset() + + if _, err = innerHash.Write([]byte(v)); err != nil { + return 0, err + } + + if _, err = innerHash.Write([]byte(k)); err != nil { + return 0, err + } + + result = result ^ innerHash.Sum64() + } + err = binary.Write(hasher, binary.LittleEndian, result) + if err != nil { + return 0, err + } + + } + + if h, ok := interface{}(m.GetSecurityContext()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("SecurityContext")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetSecurityContext(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("SecurityContext")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + for _, v := range m.GetImagePullSecrets() { + + if h, ok := interface{}(v).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(v, nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + } + + { + var result uint64 + innerHash := fnv.New64() + for k, v := range m.GetNodeSelector() { + innerHash.Reset() + + if _, err = innerHash.Write([]byte(v)); err != nil { + return 0, err + } + + if _, err = innerHash.Write([]byte(k)); err != nil { + return 0, err + } + + result = result ^ innerHash.Sum64() + } + err = binary.Write(hasher, binary.LittleEndian, result) + if err != nil { + return 0, err + } + + } + + if h, ok := interface{}(m.GetAffinity()).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("Affinity")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(m.GetAffinity(), nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("Affinity")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + for _, v := range m.GetTolerations() { + + if h, ok := interface{}(v).(safe_hasher.SafeHasher); ok { + if _, err = hasher.Write([]byte("")); err != nil { + return 0, err + } + if _, err = h.Hash(hasher); err != nil { + return 0, err + } + } else { + if fieldValue, err := hashstructure.Hash(v, nil); err != nil { + return 0, err + } else { + if _, err = hasher.Write([]byte("")); err != nil { + return 0, err + } + if err := binary.Write(hasher, binary.LittleEndian, fieldValue); err != nil { + return 0, err + } + } + } + + } + + return hasher.Sum64(), nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.equal.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.equal.go new file mode 100644 index 00000000000..22ab6181706 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.equal.go @@ -0,0 +1,80 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/service.proto + +package kube + +import ( + "bytes" + "encoding/binary" + "errors" + "fmt" + "strings" + + "github.com/golang/protobuf/proto" + equality "github.com/solo-io/protoc-gen-ext/pkg/equality" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = bytes.Compare + _ = strings.Compare + _ = equality.Equalizer(nil) + _ = proto.Message(nil) +) + +// Equal function +func (m *Service) Equal(that interface{}) bool { + if that == nil { + return m == nil + } + + target, ok := that.(*Service) + if !ok { + that2, ok := that.(Service) + if ok { + target = &that2 + } else { + return false + } + } + if target == nil { + return m == nil + } else if m == nil { + return false + } + + if m.GetType() != target.GetType() { + return false + } + + if strings.Compare(m.GetClusterIP(), target.GetClusterIP()) != 0 { + return false + } + + if len(m.GetExtraLabels()) != len(target.GetExtraLabels()) { + return false + } + for k, v := range m.GetExtraLabels() { + + if strings.Compare(v, target.GetExtraLabels()[k]) != 0 { + return false + } + + } + + if len(m.GetExtraAnnotations()) != len(target.GetExtraAnnotations()) { + return false + } + for k, v := range m.GetExtraAnnotations() { + + if strings.Compare(v, target.GetExtraAnnotations()[k]) != 0 { + return false + } + + } + + return true +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.go new file mode 100644 index 00000000000..b26e0a60e60 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.go @@ -0,0 +1,278 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/service.proto + +package kube + +import ( + reflect "reflect" + sync "sync" + + _ "github.com/solo-io/protoc-gen-ext/extproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Kubernetes Service type. If not specified, defaults to `ClusterIP`. +// See +// https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types +// for details on each service type. +// Currently, only ClusterIP and LoadBalancer are supported. +type Service_ServiceType int32 + +const ( + // Exposes the Service on a cluster-internal IP. This is the default. + Service_ClusterIP Service_ServiceType = 0 + // Exposes the Service externally using an external load balancer. + Service_LoadBalancer Service_ServiceType = 1 +) + +// Enum value maps for Service_ServiceType. +var ( + Service_ServiceType_name = map[int32]string{ + 0: "ClusterIP", + 1: "LoadBalancer", + } + Service_ServiceType_value = map[string]int32{ + "ClusterIP": 0, + "LoadBalancer": 1, + } +) + +func (x Service_ServiceType) Enum() *Service_ServiceType { + p := new(Service_ServiceType) + *p = x + return p +} + +func (x Service_ServiceType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Service_ServiceType) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_enumTypes[0].Descriptor() +} + +func (Service_ServiceType) Type() protoreflect.EnumType { + return &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_enumTypes[0] +} + +func (x Service_ServiceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Service_ServiceType.Descriptor instead. +func (Service_ServiceType) EnumDescriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescGZIP(), []int{0, 0} +} + +// Configuration for a Kubernetes Service. +type Service struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Kubernetes Service type. + Type Service_ServiceType `protobuf:"varint,1,opt,name=type,proto3,enum=kube.gateway.gloo.solo.io.Service_ServiceType" json:"type,omitempty"` + // The manually specified IP address of the service, if a randomly assigned + // IP is not desired. See + // https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address + // and + // https://kubernetes.io/docs/concepts/services-networking/service/#headless-services + // on the implications of setting `clusterIP`. + ClusterIP string `protobuf:"bytes,2,opt,name=clusterIP,proto3" json:"clusterIP,omitempty"` + // Additional labels to add to the Service object metadata. + ExtraLabels map[string]string `protobuf:"bytes,3,rep,name=extra_labels,json=extraLabels,proto3" json:"extra_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Additional annotations to add to the Service object metadata. + ExtraAnnotations map[string]string `protobuf:"bytes,4,rep,name=extra_annotations,json=extraAnnotations,proto3" json:"extra_annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *Service) Reset() { + *x = Service{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Service) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Service) ProtoMessage() {} + +func (x *Service) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_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 Service.ProtoReflect.Descriptor instead. +func (*Service) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescGZIP(), []int{0} +} + +func (x *Service) GetType() Service_ServiceType { + if x != nil { + return x.Type + } + return Service_ClusterIP +} + +func (x *Service) GetClusterIP() string { + if x != nil { + return x.ClusterIP + } + return "" +} + +func (x *Service) GetExtraLabels() map[string]string { + if x != nil { + return x.ExtraLabels + } + return nil +} + +func (x *Service) GetExtraAnnotations() map[string]string { + if x != nil { + return x.ExtraAnnotations + } + return nil +} + +var File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDesc = []byte{ + 0x0a, 0x49, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x6b, 0x75, 0x62, + 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, + 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x1a, 0x12, 0x65, 0x78, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdf, 0x03, 0x0a, 0x07, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x42, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x50, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x50, 0x12, 0x56, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x72, + 0x61, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, + 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, + 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x72, 0x61, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, + 0x12, 0x65, 0x0a, 0x11, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6b, 0x75, + 0x62, 0x65, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, + 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, + 0x45, 0x78, 0x74, 0x72, 0x61, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x65, 0x78, 0x74, 0x72, 0x61, 0x41, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x45, 0x78, 0x74, 0x72, 0x61, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x1a, 0x43, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x72, 0x61, + 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x2e, 0x0a, 0x0b, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x50, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x6f, + 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x10, 0x01, 0x42, 0x5e, 0xb8, 0xf5, + 0x04, 0x01, 0xc0, 0xf5, 0x04, 0x01, 0x5a, 0x54, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, + 0x32, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, + 0x79, 0x2e, 0x67, 0x6c, 0x6f, 0x6f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescData = file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_goTypes = []interface{}{ + (Service_ServiceType)(0), // 0: kube.gateway.gloo.solo.io.Service.ServiceType + (*Service)(nil), // 1: kube.gateway.gloo.solo.io.Service + nil, // 2: kube.gateway.gloo.solo.io.Service.ExtraLabelsEntry + nil, // 3: kube.gateway.gloo.solo.io.Service.ExtraAnnotationsEntry +} +var file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_depIdxs = []int32{ + 0, // 0: kube.gateway.gloo.solo.io.Service.type:type_name -> kube.gateway.gloo.solo.io.Service.ServiceType + 2, // 1: kube.gateway.gloo.solo.io.Service.extra_labels:type_name -> kube.gateway.gloo.solo.io.Service.ExtraLabelsEntry + 3, // 2: kube.gateway.gloo.solo.io.Service.extra_annotations:type_name -> kube.gateway.gloo.solo.io.Service.ExtraAnnotationsEntry + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_init() } +func file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_init() { + if File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Service); 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_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDesc, + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_depIdxs, + EnumInfos: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_enumTypes, + MessageInfos: file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_msgTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto = out.File + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gateway2_api_v1alpha1_kube_service_proto_depIdxs = nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.hash.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.hash.go new file mode 100644 index 00000000000..e48a28a25fd --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube/service.pb.hash.go @@ -0,0 +1,97 @@ +// Code generated by protoc-gen-ext. DO NOT EDIT. +// source: github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/kube/service.proto + +package kube + +import ( + "encoding/binary" + "errors" + "fmt" + "hash" + "hash/fnv" + + safe_hasher "github.com/solo-io/protoc-gen-ext/pkg/hasher" + "github.com/solo-io/protoc-gen-ext/pkg/hasher/hashstructure" +) + +// ensure the imports are used +var ( + _ = errors.New("") + _ = fmt.Print + _ = binary.LittleEndian + _ = new(hash.Hash64) + _ = fnv.New64 + _ = hashstructure.Hash + _ = new(safe_hasher.SafeHasher) +) + +// Hash function +func (m *Service) Hash(hasher hash.Hash64) (uint64, error) { + if m == nil { + return 0, nil + } + if hasher == nil { + hasher = fnv.New64() + } + var err error + if _, err = hasher.Write([]byte("kube.gateway.gloo.solo.io.github.com/solo-io/gloo/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/kube.Service")); err != nil { + return 0, err + } + + err = binary.Write(hasher, binary.LittleEndian, m.GetType()) + if err != nil { + return 0, err + } + + if _, err = hasher.Write([]byte(m.GetClusterIP())); err != nil { + return 0, err + } + + { + var result uint64 + innerHash := fnv.New64() + for k, v := range m.GetExtraLabels() { + innerHash.Reset() + + if _, err = innerHash.Write([]byte(v)); err != nil { + return 0, err + } + + if _, err = innerHash.Write([]byte(k)); err != nil { + return 0, err + } + + result = result ^ innerHash.Sum64() + } + err = binary.Write(hasher, binary.LittleEndian, result) + if err != nil { + return 0, err + } + + } + + { + var result uint64 + innerHash := fnv.New64() + for k, v := range m.GetExtraAnnotations() { + innerHash.Reset() + + if _, err = innerHash.Write([]byte(v)); err != nil { + return 0, err + } + + if _, err = innerHash.Write([]byte(k)); err != nil { + return 0, err + } + + result = result ^ innerHash.Sum64() + } + err = binary.Write(hasher, binary.LittleEndian, result) + if err != nil { + return 0, err + } + + } + + return hasher.Sum64(), nil +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/proto_deepcopy.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/proto_deepcopy.go new file mode 100644 index 00000000000..d60874f9a54 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/proto_deepcopy.go @@ -0,0 +1,32 @@ +// Code generated by skv2. DO NOT EDIT. + +// This file contains generated Deepcopy methods for proto-based Spec and Status fields + +package v1alpha1 + +import ( + proto "github.com/golang/protobuf/proto" + "github.com/solo-io/protoc-gen-ext/pkg/clone" +) + +// DeepCopyInto for the GatewayParameters.Spec +func (in *GatewayParametersSpec) DeepCopyInto(out *GatewayParametersSpec) { + var p *GatewayParametersSpec + if h, ok := interface{}(in).(clone.Cloner); ok { + p = h.Clone().(*GatewayParametersSpec) + } else { + p = proto.Clone(in).(*GatewayParametersSpec) + } + *out = *p +} + +// DeepCopyInto for the GatewayParameters.Status +func (in *GatewayParametersStatus) DeepCopyInto(out *GatewayParametersStatus) { + var p *GatewayParametersStatus + if h, ok := interface{}(in).(clone.Cloner); ok { + p = h.Clone().(*GatewayParametersStatus) + } else { + p = proto.Clone(in).(*GatewayParametersStatus) + } + *out = *p +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/register.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/register.go new file mode 100644 index 00000000000..a7c88497f22 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/register.go @@ -0,0 +1,33 @@ +// Code generated by skv2. DO NOT EDIT. + +// NOTE: Boilerplate only. Ignore this file. +// Used to register the Go types with the Kubernetes +// internal scheme +package v1alpha1 + +import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/controller-runtime/pkg/scheme" +) + +// AddToSchemes may be used to add all resources defined in the project to a Scheme + +// AddToScheme adds all Resources to the Scheme + +var ( + // SchemeGroupVersion is group version used to register these objects + SchemeGroupVersion = schema.GroupVersion{Group: "gateway.gloo.solo.io", Version: "v1alpha1"} + + // SchemeBuilder is used to add go types to the GroupVersionKind scheme + SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} +) + +// Resource takes an unqualified resource and returns a Group qualified GroupResource +func Resource(resource string) schema.GroupResource { + return SchemeGroupVersion.WithResource(resource).GroupResource() +} + +func AddToScheme(s *runtime.Scheme) error { + return SchemeBuilder.AddToScheme(s) +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/types.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/types.go new file mode 100644 index 00000000000..4ed27abbd7b --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/types.go @@ -0,0 +1,48 @@ +// Code generated by skv2. DO NOT EDIT. + +// Definitions for the Kubernetes types +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +// +genclient +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +k8s:openapi-gen=true +// +kubebuilder:subresource:status + +// GroupVersionKind for GatewayParameters +var GatewayParametersGVK = schema.GroupVersionKind{ + Group: "gateway.gloo.solo.io", + Version: "v1alpha1", + Kind: "GatewayParameters", +} + +// GatewayParameters is the Schema for the gatewayParameters API +type GatewayParameters struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec GatewayParametersSpec `json:"spec,omitempty"` + Status GatewayParametersStatus `json:"status,omitempty"` +} + +// GVK returns the GroupVersionKind associated with the resource type. +func (GatewayParameters) GVK() schema.GroupVersionKind { + return GatewayParametersGVK +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// GatewayParametersList contains a list of GatewayParameters +type GatewayParametersList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []GatewayParameters `json:"items"` +} + +func init() { + SchemeBuilder.Register(&GatewayParameters{}, &GatewayParametersList{}) +} diff --git a/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/zz_generated.deepcopy.go b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 00000000000..771b662c114 --- /dev/null +++ b/projects/gateway2/pkg/api/gateway.gloo.solo.io/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,69 @@ +// Code generated by skv2. DO NOT EDIT. + +// This file contains generated Deepcopy methods for gateway.gloo.solo.io/v1alpha1 resources + +package v1alpha1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// Generated Deepcopy methods for GatewayParameters + +func (in *GatewayParameters) DeepCopyInto(out *GatewayParameters) { + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + + // deepcopy spec + in.Spec.DeepCopyInto(&out.Spec) + // deepcopy status + in.Status.DeepCopyInto(&out.Status) + + return +} + +func (in *GatewayParameters) DeepCopy() *GatewayParameters { + if in == nil { + return nil + } + out := new(GatewayParameters) + in.DeepCopyInto(out) + return out +} + +func (in *GatewayParameters) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +func (in *GatewayParametersList) DeepCopyInto(out *GatewayParametersList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]GatewayParameters, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +func (in *GatewayParametersList) DeepCopy() *GatewayParametersList { + if in == nil { + return nil + } + out := new(GatewayParametersList) + in.DeepCopyInto(out) + return out +} + +func (in *GatewayParametersList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} diff --git a/projects/gateway2/wellknown/controller.go b/projects/gateway2/wellknown/controller.go index 7e861e5e846..3df065442ab 100644 --- a/projects/gateway2/wellknown/controller.go +++ b/projects/gateway2/wellknown/controller.go @@ -7,4 +7,10 @@ const ( // GatewayControllerName is the name of the controller that has implemented the Gateway API // It is configured to manage GatewayClasses with the name GatewayClassName GatewayControllerName = "solo.io/gloo-gateway" + + // GatewayParametersAnnotationName is the name of the Gateway annotation that specifies + // the name of a GatewayParameters CR, which is used to dynamically provision the data plane + // resources for the Gateway. The GatewayParameters is assumed to be in the same namespace + // as the Gateway. + GatewayParametersAnnotationName = "gateway.gloo.solo.io/gateway-parameters-name" ) diff --git a/projects/gloo/cli/pkg/cmd/install/util.go b/projects/gloo/cli/pkg/cmd/install/util.go index c20e0fc57e1..b4390cf328d 100644 --- a/projects/gloo/cli/pkg/cmd/install/util.go +++ b/projects/gloo/cli/pkg/cmd/install/util.go @@ -50,6 +50,8 @@ func init() { "virtualhostoptions.gateway.solo.io", "routeoptions.gateway.solo.io", "graphqlapis.graphql.gloo.solo.io", + // CRDs used for k8s gateway API integration: + "gatewayparameters.gateway.gloo.solo.io", // gloo-fed CRDs: "glooinstances.fed.solo.io", "failoverschemes.fed.solo.io", diff --git a/projects/gloo/constants/gloo_gateway.go b/projects/gloo/constants/gloo_gateway.go index 2ec7e73b5be..89904ebe925 100644 --- a/projects/gloo/constants/gloo_gateway.go +++ b/projects/gloo/constants/gloo_gateway.go @@ -2,11 +2,4 @@ package constants const ( GlooGatewayEnableK8sGwControllerEnv = "GG_EXPERIMENTAL_K8S_GW_CONTROLLER" - - // GlooGatewayDeployerImage is an experimental API that allows users to inject the image - // that the deployer should provision. The value should be in the form: - // [image_repository:image_tag] --> quay.io/solo-io/gloo-envoy-wrapper:1.17.0-beta1 - // This API is intended to be short-lived, as the long-term vision is to support a CR to define - // configuration for our deployer - GlooGatewayDeployerImage = "GG_EXPERIMENTAL_DEPLOYER_IMAGE" ) diff --git a/projects/gloo/pkg/api/external/udpa/annotations/migrate.pb.go b/projects/gloo/pkg/api/external/udpa/annotations/migrate.pb.go new file mode 100644 index 00000000000..32ce6bccac3 --- /dev/null +++ b/projects/gloo/pkg/api/external/udpa/annotations/migrate.pb.go @@ -0,0 +1,429 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/migrate.proto + +package annotations + +import ( + reflect "reflect" + sync "sync" + + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MigrateAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Rename the message/enum/enum value in next version. + Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"` +} + +func (x *MigrateAnnotation) Reset() { + *x = MigrateAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MigrateAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MigrateAnnotation) ProtoMessage() {} + +func (x *MigrateAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_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 MigrateAnnotation.ProtoReflect.Descriptor instead. +func (*MigrateAnnotation) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescGZIP(), []int{0} +} + +func (x *MigrateAnnotation) GetRename() string { + if x != nil { + return x.Rename + } + return "" +} + +type FieldMigrateAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Rename the field in next version. + Rename string `protobuf:"bytes,1,opt,name=rename,proto3" json:"rename,omitempty"` + // Add the field to a named oneof in next version. If this already exists, the + // field will join its siblings under the oneof, otherwise a new oneof will be + // created with the given name. + OneofPromotion string `protobuf:"bytes,2,opt,name=oneof_promotion,json=oneofPromotion,proto3" json:"oneof_promotion,omitempty"` +} + +func (x *FieldMigrateAnnotation) Reset() { + *x = FieldMigrateAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldMigrateAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldMigrateAnnotation) ProtoMessage() {} + +func (x *FieldMigrateAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_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 FieldMigrateAnnotation.ProtoReflect.Descriptor instead. +func (*FieldMigrateAnnotation) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescGZIP(), []int{1} +} + +func (x *FieldMigrateAnnotation) GetRename() string { + if x != nil { + return x.Rename + } + return "" +} + +func (x *FieldMigrateAnnotation) GetOneofPromotion() string { + if x != nil { + return x.OneofPromotion + } + return "" +} + +type FileMigrateAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Move all types in the file to another package, this implies changing proto + // file path. + MoveToPackage string `protobuf:"bytes,2,opt,name=move_to_package,json=moveToPackage,proto3" json:"move_to_package,omitempty"` +} + +func (x *FileMigrateAnnotation) Reset() { + *x = FileMigrateAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FileMigrateAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FileMigrateAnnotation) ProtoMessage() {} + +func (x *FileMigrateAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_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 FileMigrateAnnotation.ProtoReflect.Descriptor instead. +func (*FileMigrateAnnotation) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescGZIP(), []int{2} +} + +func (x *FileMigrateAnnotation) GetMoveToPackage() string { + if x != nil { + return x.MoveToPackage + } + return "" +} + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptor.MessageOptions)(nil), + ExtensionType: (*MigrateAnnotation)(nil), + Field: 146192544, + Name: "solo.io.udpa.annotations.message_migrate", + Tag: "bytes,146192544,opt,name=message_migrate", + Filename: "github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/migrate.proto", + }, + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*FieldMigrateAnnotation)(nil), + Field: 146192544, + Name: "solo.io.udpa.annotations.field_migrate", + Tag: "bytes,146192544,opt,name=field_migrate", + Filename: "github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/migrate.proto", + }, + { + ExtendedType: (*descriptor.EnumOptions)(nil), + ExtensionType: (*MigrateAnnotation)(nil), + Field: 146192544, + Name: "solo.io.udpa.annotations.enum_migrate", + Tag: "bytes,146192544,opt,name=enum_migrate", + Filename: "github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/migrate.proto", + }, + { + ExtendedType: (*descriptor.EnumValueOptions)(nil), + ExtensionType: (*MigrateAnnotation)(nil), + Field: 146192544, + Name: "solo.io.udpa.annotations.enum_value_migrate", + Tag: "bytes,146192544,opt,name=enum_value_migrate", + Filename: "github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/migrate.proto", + }, + { + ExtendedType: (*descriptor.FileOptions)(nil), + ExtensionType: (*FileMigrateAnnotation)(nil), + Field: 146192544, + Name: "solo.io.udpa.annotations.file_migrate", + Tag: "bytes,146192544,opt,name=file_migrate", + Filename: "github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/migrate.proto", + }, +} + +// Extension fields to descriptor.MessageOptions. +var ( + // optional solo.io.udpa.annotations.MigrateAnnotation message_migrate = 146192544; + E_MessageMigrate = &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_extTypes[0] +) + +// Extension fields to descriptor.FieldOptions. +var ( + // optional solo.io.udpa.annotations.FieldMigrateAnnotation field_migrate = 146192544; + E_FieldMigrate = &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_extTypes[1] +) + +// Extension fields to descriptor.EnumOptions. +var ( + // optional solo.io.udpa.annotations.MigrateAnnotation enum_migrate = 146192544; + E_EnumMigrate = &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_extTypes[2] +) + +// Extension fields to descriptor.EnumValueOptions. +var ( + // optional solo.io.udpa.annotations.MigrateAnnotation enum_value_migrate = 146192544; + E_EnumValueMigrate = &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_extTypes[3] +) + +// Extension fields to descriptor.FileOptions. +var ( + // optional solo.io.udpa.annotations.FileMigrateAnnotation file_migrate = 146192544; + E_FileMigrate = &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_extTypes[4] +) + +var File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDesc = []byte{ + 0x0a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x75, 0x64, 0x70, + 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x2b, 0x0a, 0x11, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x16, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, + 0x0a, 0x0f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x50, 0x72, + 0x6f, 0x6d, 0x6f, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x15, 0x46, 0x69, 0x6c, 0x65, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x63, 0x6b, + 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x54, + 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x3a, 0x78, 0x0a, 0x0f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xa0, 0xf1, 0xda, + 0x45, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, + 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x65, 0x3a, 0x77, 0x0a, 0x0d, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0xa0, 0xf1, 0xda, 0x45, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x6f, + 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x3a, 0x6f, 0x0a, 0x0c, 0x65, + 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, + 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xa0, 0xf1, 0xda, 0x45, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x75, 0x64, 0x70, + 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0b, 0x65, 0x6e, 0x75, 0x6d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x3a, 0x7f, 0x0a, 0x12, + 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xa0, 0xf1, 0xda, 0x45, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x65, 0x6e, 0x75, + 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x3a, 0x73, 0x0a, + 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xa0, 0xf1, 0xda, 0x45, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x75, + 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x65, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x75, 0x64, 0x70, + 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescData = file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_goTypes = []interface{}{ + (*MigrateAnnotation)(nil), // 0: solo.io.udpa.annotations.MigrateAnnotation + (*FieldMigrateAnnotation)(nil), // 1: solo.io.udpa.annotations.FieldMigrateAnnotation + (*FileMigrateAnnotation)(nil), // 2: solo.io.udpa.annotations.FileMigrateAnnotation + (*descriptor.MessageOptions)(nil), // 3: google.protobuf.MessageOptions + (*descriptor.FieldOptions)(nil), // 4: google.protobuf.FieldOptions + (*descriptor.EnumOptions)(nil), // 5: google.protobuf.EnumOptions + (*descriptor.EnumValueOptions)(nil), // 6: google.protobuf.EnumValueOptions + (*descriptor.FileOptions)(nil), // 7: google.protobuf.FileOptions +} +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_depIdxs = []int32{ + 3, // 0: solo.io.udpa.annotations.message_migrate:extendee -> google.protobuf.MessageOptions + 4, // 1: solo.io.udpa.annotations.field_migrate:extendee -> google.protobuf.FieldOptions + 5, // 2: solo.io.udpa.annotations.enum_migrate:extendee -> google.protobuf.EnumOptions + 6, // 3: solo.io.udpa.annotations.enum_value_migrate:extendee -> google.protobuf.EnumValueOptions + 7, // 4: solo.io.udpa.annotations.file_migrate:extendee -> google.protobuf.FileOptions + 0, // 5: solo.io.udpa.annotations.message_migrate:type_name -> solo.io.udpa.annotations.MigrateAnnotation + 1, // 6: solo.io.udpa.annotations.field_migrate:type_name -> solo.io.udpa.annotations.FieldMigrateAnnotation + 0, // 7: solo.io.udpa.annotations.enum_migrate:type_name -> solo.io.udpa.annotations.MigrateAnnotation + 0, // 8: solo.io.udpa.annotations.enum_value_migrate:type_name -> solo.io.udpa.annotations.MigrateAnnotation + 2, // 9: solo.io.udpa.annotations.file_migrate:type_name -> solo.io.udpa.annotations.FileMigrateAnnotation + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 5, // [5:10] is the sub-list for extension type_name + 0, // [0:5] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_init() +} +func file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_init() { + if File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MigrateAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FieldMigrateAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileMigrateAnnotation); 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_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 5, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_msgTypes, + ExtensionInfos: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_extTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto = out.File + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_migrate_proto_depIdxs = nil +} diff --git a/projects/gloo/pkg/api/external/udpa/annotations/sensitive.pb.go b/projects/gloo/pkg/api/external/udpa/annotations/sensitive.pb.go new file mode 100644 index 00000000000..a17756f637d --- /dev/null +++ b/projects/gloo/pkg/api/external/udpa/annotations/sensitive.pb.go @@ -0,0 +1,108 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/sensitive.proto + +package annotations + +import ( + reflect "reflect" + + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 168928285, + Name: "solo.io.udpa.annotations.sensitive", + Tag: "varint,168928285,opt,name=sensitive", + Filename: "github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/sensitive.proto", + }, +} + +// Extension fields to descriptor.FieldOptions. +var ( + // Magic number is the 28 most significant bits in the sha256sum of "solo.io.udpa.annotations.sensitive". + // When set to true, `sensitive` indicates that this field contains sensitive data, such as + // personally identifiable information, passwords, or private keys, and should be redacted for + // display by tools aware of this annotation. Note that that this has no effect on standard + // Protobuf functions such as `TextFormat::PrintToString`. + // + // optional bool sensitive = 168928285; + E_Sensitive = &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_extTypes[0] +) + +var File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_rawDesc = []byte{ + 0x0a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x75, + 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, + 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x3a, 0x3e, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1d, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x9d, 0xc8, + 0xc6, 0x50, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, + 0x65, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x75, 0x64, 0x70, 0x61, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_goTypes = []interface{}{ + (*descriptor.FieldOptions)(nil), // 0: google.protobuf.FieldOptions +} +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_depIdxs = []int32{ + 0, // 0: solo.io.udpa.annotations.sensitive:extendee -> google.protobuf.FieldOptions + 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 + 0, // [0:1] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_init() +} +func file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_init() { + if File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 1, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_depIdxs, + ExtensionInfos: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_extTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto = out.File + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_sensitive_proto_depIdxs = nil +} diff --git a/projects/gloo/pkg/api/external/udpa/annotations/status.pb.go b/projects/gloo/pkg/api/external/udpa/annotations/status.pb.go new file mode 100644 index 00000000000..8beb5124475 --- /dev/null +++ b/projects/gloo/pkg/api/external/udpa/annotations/status.pb.go @@ -0,0 +1,270 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/status.proto + +package annotations + +import ( + reflect "reflect" + sync "sync" + + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PackageVersionStatus int32 + +const ( + // Unknown package version status. + PackageVersionStatus_UNKNOWN PackageVersionStatus = 0 + // This version of the package is frozen. + PackageVersionStatus_FROZEN PackageVersionStatus = 1 + // This version of the package is the active development version. + PackageVersionStatus_ACTIVE PackageVersionStatus = 2 + // This version of the package is the candidate for the next major version. It + // is typically machine generated from the active development version. + PackageVersionStatus_NEXT_MAJOR_VERSION_CANDIDATE PackageVersionStatus = 3 +) + +// Enum value maps for PackageVersionStatus. +var ( + PackageVersionStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "FROZEN", + 2: "ACTIVE", + 3: "NEXT_MAJOR_VERSION_CANDIDATE", + } + PackageVersionStatus_value = map[string]int32{ + "UNKNOWN": 0, + "FROZEN": 1, + "ACTIVE": 2, + "NEXT_MAJOR_VERSION_CANDIDATE": 3, + } +) + +func (x PackageVersionStatus) Enum() *PackageVersionStatus { + p := new(PackageVersionStatus) + *p = x + return p +} + +func (x PackageVersionStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PackageVersionStatus) Descriptor() protoreflect.EnumDescriptor { + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_enumTypes[0].Descriptor() +} + +func (PackageVersionStatus) Type() protoreflect.EnumType { + return &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_enumTypes[0] +} + +func (x PackageVersionStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PackageVersionStatus.Descriptor instead. +func (PackageVersionStatus) EnumDescriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescGZIP(), []int{0} +} + +type StatusAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The entity is work-in-progress and subject to breaking changes. + WorkInProgress bool `protobuf:"varint,1,opt,name=work_in_progress,json=workInProgress,proto3" json:"work_in_progress,omitempty"` + // The entity belongs to a package with the given version status. + PackageVersionStatus PackageVersionStatus `protobuf:"varint,2,opt,name=package_version_status,json=packageVersionStatus,proto3,enum=solo.io.udpa.annotations.PackageVersionStatus" json:"package_version_status,omitempty"` +} + +func (x *StatusAnnotation) Reset() { + *x = StatusAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatusAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatusAnnotation) ProtoMessage() {} + +func (x *StatusAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_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 StatusAnnotation.ProtoReflect.Descriptor instead. +func (*StatusAnnotation) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescGZIP(), []int{0} +} + +func (x *StatusAnnotation) GetWorkInProgress() bool { + if x != nil { + return x.WorkInProgress + } + return false +} + +func (x *StatusAnnotation) GetPackageVersionStatus() PackageVersionStatus { + if x != nil { + return x.PackageVersionStatus + } + return PackageVersionStatus_UNKNOWN +} + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptor.FileOptions)(nil), + ExtensionType: (*StatusAnnotation)(nil), + Field: 254737244, + Name: "solo.io.udpa.annotations.file_status", + Tag: "bytes,254737244,opt,name=file_status", + Filename: "github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/status.proto", + }, +} + +// Extension fields to descriptor.FileOptions. +var ( + // optional solo.io.udpa.annotations.StatusAnnotation file_status = 254737244; + E_FileStatus = &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_extTypes[0] +) + +var File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDesc = []byte{ + 0x0a, 0x50, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x18, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x75, 0x64, 0x70, 0x61, + 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, + 0x01, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x6e, 0x5f, 0x70, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x77, + 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x64, 0x0a, + 0x16, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, + 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x14, 0x70, + 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x2a, 0x5d, 0x0a, 0x14, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, + 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x52, 0x4f, 0x5a, + 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, + 0x12, 0x20, 0x0a, 0x1c, 0x4e, 0x45, 0x58, 0x54, 0x5f, 0x4d, 0x41, 0x4a, 0x4f, 0x52, 0x5f, 0x56, + 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x44, 0x49, 0x44, 0x41, 0x54, 0x45, + 0x10, 0x03, 0x3a, 0x6c, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0xdc, 0xf6, 0xbb, 0x79, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, + 0x69, 0x6f, 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, + 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x75, 0x64, 0x70, 0x61, 0x2f, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescData = file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_goTypes = []interface{}{ + (PackageVersionStatus)(0), // 0: solo.io.udpa.annotations.PackageVersionStatus + (*StatusAnnotation)(nil), // 1: solo.io.udpa.annotations.StatusAnnotation + (*descriptor.FileOptions)(nil), // 2: google.protobuf.FileOptions +} +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_depIdxs = []int32{ + 0, // 0: solo.io.udpa.annotations.StatusAnnotation.package_version_status:type_name -> solo.io.udpa.annotations.PackageVersionStatus + 2, // 1: solo.io.udpa.annotations.file_status:extendee -> google.protobuf.FileOptions + 1, // 2: solo.io.udpa.annotations.file_status:type_name -> solo.io.udpa.annotations.StatusAnnotation + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 2, // [2:3] is the sub-list for extension type_name + 1, // [1:2] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_init() +} +func file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_init() { + if File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusAnnotation); 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_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDesc, + NumEnums: 1, + NumMessages: 1, + NumExtensions: 1, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_depIdxs, + EnumInfos: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_enumTypes, + MessageInfos: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_msgTypes, + ExtensionInfos: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_extTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto = out.File + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_status_proto_depIdxs = nil +} diff --git a/projects/gloo/pkg/api/external/udpa/annotations/versioning.pb.go b/projects/gloo/pkg/api/external/udpa/annotations/versioning.pb.go new file mode 100644 index 00000000000..855a32dcd6f --- /dev/null +++ b/projects/gloo/pkg/api/external/udpa/annotations/versioning.pb.go @@ -0,0 +1,194 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v3.6.1 +// source: github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/versioning.proto + +package annotations + +import ( + reflect "reflect" + sync "sync" + + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type VersioningAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Track the previous message type. E.g. this message might be + // udpa.foo.v3alpha.Foo and it was previously udpa.bar.v2.Bar. This + // information is consumed by UDPA via proto descriptors. + PreviousMessageType string `protobuf:"bytes,1,opt,name=previous_message_type,json=previousMessageType,proto3" json:"previous_message_type,omitempty"` +} + +func (x *VersioningAnnotation) Reset() { + *x = VersioningAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VersioningAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VersioningAnnotation) ProtoMessage() {} + +func (x *VersioningAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_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 VersioningAnnotation.ProtoReflect.Descriptor instead. +func (*VersioningAnnotation) Descriptor() ([]byte, []int) { + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDescGZIP(), []int{0} +} + +func (x *VersioningAnnotation) GetPreviousMessageType() string { + if x != nil { + return x.PreviousMessageType + } + return "" +} + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptor.MessageOptions)(nil), + ExtensionType: (*VersioningAnnotation)(nil), + Field: 138081409, + Name: "solo.io.udpa.annotations.versioning", + Tag: "bytes,138081409,opt,name=versioning", + Filename: "github.com/solo-io/gloo/projects/gloo/api/external/udpa/annotations/versioning.proto", + }, +} + +// Extension fields to descriptor.MessageOptions. +var ( + // Magic number in this file derived from top 28bit of SHA256 digest of + // "solo.io.udpa.annotation.versioning". + // + // optional solo.io.udpa.annotations.VersioningAnnotation versioning = 138081409; + E_Versioning = &file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_extTypes[0] +) + +var File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto protoreflect.FileDescriptor + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDesc = []byte{ + 0x0a, 0x54, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6f, 0x6c, + 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, 0x2e, + 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x14, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, + 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, + 0x6f, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x72, + 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x81, 0xe9, + 0xeb, 0x41, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x6f, 0x6c, 0x6f, 0x2e, 0x69, 0x6f, + 0x2e, 0x75, 0x64, 0x70, 0x61, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, + 0x6e, 0x67, 0x42, 0x49, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x73, 0x6f, 0x6c, 0x6f, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x6c, 0x6f, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x75, 0x64, 0x70, + 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDescOnce sync.Once + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDescData = file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDesc +) + +func file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDescGZIP() []byte { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDescOnce.Do(func() { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDescData) + }) + return file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDescData +} + +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_goTypes = []interface{}{ + (*VersioningAnnotation)(nil), // 0: solo.io.udpa.annotations.VersioningAnnotation + (*descriptor.MessageOptions)(nil), // 1: google.protobuf.MessageOptions +} +var file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_depIdxs = []int32{ + 1, // 0: solo.io.udpa.annotations.versioning:extendee -> google.protobuf.MessageOptions + 0, // 1: solo.io.udpa.annotations.versioning:type_name -> solo.io.udpa.annotations.VersioningAnnotation + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 1, // [1:2] is the sub-list for extension type_name + 0, // [0:1] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_init() +} +func file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_init() { + if File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersioningAnnotation); 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_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 1, + NumServices: 0, + }, + GoTypes: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_goTypes, + DependencyIndexes: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_depIdxs, + MessageInfos: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_msgTypes, + ExtensionInfos: file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_extTypes, + }.Build() + File_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto = out.File + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_rawDesc = nil + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_goTypes = nil + file_github_com_solo_io_gloo_projects_gloo_api_external_udpa_annotations_versioning_proto_depIdxs = nil +} diff --git a/projects/gloo/pkg/syncer/setup/controlplane.go b/projects/gloo/pkg/syncer/setup/controlplane.go index ed4cc6b4a38..ab755b11070 100644 --- a/projects/gloo/pkg/syncer/setup/controlplane.go +++ b/projects/gloo/pkg/syncer/setup/controlplane.go @@ -9,11 +9,18 @@ import ( "github.com/solo-io/gloo/pkg/utils/kubeutils" "github.com/solo-io/solo-kit/pkg/api/v1/clients" skkube "github.com/solo-io/solo-kit/pkg/api/v1/resources/common/kubernetes" + apierrors "k8s.io/apimachinery/pkg/api/errors" ) var ( - NoXdsPortFoundError = func(portName string, svcNamespace string, svcName string) error { - return eris.Errorf("no port with the name %s found in service %s.%s", portName, svcNamespace, svcName) + NoXdsPortFoundError = eris.New("failed to find xds port") + noXdsPortFoundError = func(portName string, svcNamespace string, svcName string) error { + return eris.Wrapf(NoXdsPortFoundError, "no port with the name %s found in service %s.%s", portName, svcNamespace, svcName) + } + NoGlooSvcFoundError = eris.New("failed to find Gloo service") + noGlooSvcFoundError = func(err error, svcNamespace string, svcName string) error { + wrapped := eris.Wrap(err, NoGlooSvcFoundError.Error()) + return eris.Wrapf(wrapped, "service %s.%s", svcNamespace, svcName) } ) @@ -23,6 +30,9 @@ func GetControlPlaneXdsPort(ctx context.Context, svcClient skkube.ServiceClient) svcNamespace := utils.GetPodNamespace() glooSvc, err := svcClient.Read(svcNamespace, kubeutils.GlooServiceName, clients.ReadOpts{Ctx: ctx}) if err != nil { + if apierrors.IsNotFound(err) { + return 0, noGlooSvcFoundError(err, svcNamespace, kubeutils.GlooServiceName) + } return 0, err } @@ -32,7 +42,7 @@ func GetControlPlaneXdsPort(ctx context.Context, svcClient skkube.ServiceClient) return port.Port, nil } } - return 0, NoXdsPortFoundError(kubeutils.GlooXdsPortName, svcNamespace, kubeutils.GlooServiceName) + return 0, noXdsPortFoundError(kubeutils.GlooXdsPortName, svcNamespace, kubeutils.GlooServiceName) } // GetControlPlaneXdsHost gets the xDS address from the gloo Service. diff --git a/projects/gloo/pkg/syncer/setup/controlplane_test.go b/projects/gloo/pkg/syncer/setup/controlplane_test.go index 18e5b37e367..d352ea75a24 100644 --- a/projects/gloo/pkg/syncer/setup/controlplane_test.go +++ b/projects/gloo/pkg/syncer/setup/controlplane_test.go @@ -137,7 +137,7 @@ var _ = Describe("ControlPlane", func() { _, err = setup.GetControlPlaneXdsPort(ctx, svcClient) Expect(err).To(HaveOccurred()) - Expect(err).To(MatchError(setup.NoXdsPortFoundError(kubeutils.GlooXdsPortName, "other-ns", kubeutils.GlooServiceName))) + Expect(err).To(MatchError(setup.NoXdsPortFoundError)) }) })