diff --git a/kubernetes-model-generator/kubernetes-model-ovn/Makefile b/extensions/open-virtual-networking/generator-v1/Makefile old mode 100644 new mode 100755 similarity index 72% rename from kubernetes-model-generator/kubernetes-model-ovn/Makefile rename to extensions/open-virtual-networking/generator-v1/Makefile index c09a7003874..e892157c5c4 --- a/kubernetes-model-generator/kubernetes-model-ovn/Makefile +++ b/extensions/open-virtual-networking/generator-v1/Makefile @@ -19,9 +19,9 @@ SHELL := /bin/bash all: build build: gobuild - mvn -Pgenerate clean install -DskipTests + pushd ../model-v1 && \ + mvn -Pgenerate clean install -DskipTests -o && \ + popd gobuild: - CGO_ENABLED=0 GO15VENDOREXPERIMENT=1 go build -a ./cmd/generate/generate.go - ./generate > src/main/resources/schema/kube-schema.json - ./generate validation > src/main/resources/schema/validation-schema.json + CGO_ENABLED=0 GO111MODULE=on GO15VENDOREXPERIMENT=1 go run -a ./cmd/generate/generate.go > ../model-v1/src/main/resources/schema/open-virtual-networking-v1-schema.json diff --git a/extensions/open-virtual-networking/generator-v1/cmd/generate/generate.go b/extensions/open-virtual-networking/generator-v1/cmd/generate/generate.go new file mode 100644 index 00000000000..3e9e3ce2d61 --- /dev/null +++ b/extensions/open-virtual-networking/generator-v1/cmd/generate/generate.go @@ -0,0 +1,89 @@ +/** + * Copyright (C) 2015 Red Hat, Inc. + * + * 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. + */ +package main + +import ( + "fmt" + v1adminpolicybasedroute "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/adminpolicybasedroute/v1" + v1egressfirewall "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressfirewall/v1" + v1egressip "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressip/v1" + v1egressqos "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressqos/v1" + v1egressservice "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressservice/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "reflect" + + "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" +) + +func main() { + + // the CRD List types for which the model should be generated + // no other types need to be defined as they are auto discovered + crdLists := map[reflect.Type]schemagen.CrdScope{ + reflect.TypeOf(v1adminpolicybasedroute.AdminPolicyBasedExternalRouteList{}): schemagen.Cluster, + reflect.TypeOf(v1egressfirewall.EgressFirewallList{}): schemagen.Namespaced, + reflect.TypeOf(v1egressip.EgressIPList{}): schemagen.Cluster, + reflect.TypeOf(v1egressqos.EgressQoSList{}): schemagen.Namespaced, + reflect.TypeOf(v1egressservice.EgressServiceList{}): schemagen.Namespaced, + } + + // constraints and patterns for fields + constraints := map[reflect.Type]map[string]*schemagen.Constraint{} + + // types that are manually defined in the model + providedTypes := []schemagen.ProvidedType{} + + // go packages that are provided and where no generation is required and their corresponding java package + providedPackages := map[string]string{ + // external + "k8s.io/api/core/v1": "io.fabric8.kubernetes.api.model", + "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model", + "k8s.io/apimachinery/pkg/api/resource": "io.fabric8.kubernetes.api.model", + "k8s.io/apimachinery/pkg/runtime": "io.fabric8.kubernetes.api.model.runtime", + } + + // mapping of go packages of this module to the resulting java package + // optional ApiGroup and ApiVersion for the go package (which is added to the generated java class) + packageMapping := map[string]schemagen.PackageInformation{ + "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/adminpolicybasedroute/v1": {JavaPackage: "io.fabric8.kubernetes.api.model.ovn.v1", ApiGroup: "k8s.ovn.org", ApiVersion: "v1"}, + "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressfirewall/v1": {JavaPackage: "io.fabric8.kubernetes.api.model.ovn.v1", ApiGroup: "k8s.ovn.org", ApiVersion: "v1"}, + "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressip/v1": {JavaPackage: "io.fabric8.kubernetes.api.model.ovn.v1", ApiGroup: "k8s.ovn.org", ApiVersion: "v1"}, + "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressqos/v1": {JavaPackage: "io.fabric8.kubernetes.api.model.ovn.v1", ApiGroup: "k8s.ovn.org", ApiVersion: "v1"}, + "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressservice/v1": {JavaPackage: "io.fabric8.kubernetes.api.model.ovn.v1", ApiGroup: "k8s.ovn.org", ApiVersion: "v1beta1"}, + } + + typesDescriptors := map[reflect.Type]*schemagen.JSONObjectDescriptor{} + + mappingSchema := map[string]string{} + + // overwriting some types + manualTypeMap := map[reflect.Type]string{ + reflect.TypeOf(metav1.Time{}): "java.lang.String", + } + + // types for interfaces + interfacesMapping := map[string][]reflect.Type{} + + // custom name rules + javaNameStrategyMapping := schemagen.JavaNameStrategyMapping{} + + // custom enum mapping + enumMapping := map[reflect.Type]schemagen.EnumDescriptor{} + + json := schemagen.GenerateSchemaWithAllOptions("http://fabric8.io/OpenVirtualNetworking", crdLists, typesDescriptors, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, interfacesMapping, javaNameStrategyMapping, enumMapping, "io.fabric8.") + + fmt.Println(json) +} diff --git a/extensions/open-virtual-networking/generator-v1/go.mod b/extensions/open-virtual-networking/generator-v1/go.mod new file mode 100644 index 00000000000..30c26caf443 --- /dev/null +++ b/extensions/open-virtual-networking/generator-v1/go.mod @@ -0,0 +1,28 @@ +module github.com/fabric8io/kubernetes-client/extensions/open-virual-networking/generator-v1 + +require ( + github.com/fabric8io/kubernetes-client/generator v0.0.0 + github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20240130161056-bf0002d89ef8 +) + +require ( + github.com/go-logr/logr v1.2.4 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/google/gofuzz v1.2.0 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/text v0.13.0 // indirect + gopkg.in/inf.v0 v0.9.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + k8s.io/apimachinery v0.28.3 // indirect + k8s.io/klog/v2 v2.100.1 // indirect + k8s.io/utils v0.0.0-20230505201702-9f6742963106 // indirect + sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect +) + +replace github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator + +go 1.20 diff --git a/extensions/open-virtual-networking/generator-v1/go.sum b/extensions/open-virtual-networking/generator-v1/go.sum new file mode 100644 index 00000000000..594a714dc2b --- /dev/null +++ b/extensions/open-virtual-networking/generator-v1/go.sum @@ -0,0 +1,79 @@ +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20240130161056-bf0002d89ef8 h1:zGXvhMoguYePtj6lRo8c5noApna8rLDOqktTjdccgpU= +github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20240130161056-bf0002d89ef8/go.mod h1:ZE3wbxkzS8KT5QQG4JrpmqB35I99KN2CBEHPRw+7MFk= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +k8s.io/apimachinery v0.28.3 h1:B1wYx8txOaCQG0HmYF6nbpU8dg6HvA06x5tEffvOe7A= +k8s.io/apimachinery v0.28.3/go.mod h1:uQTKmIqs+rAYaq+DFaoD2X7pcjLOqbQX2AOiO0nIpb8= +k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= +k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/utils v0.0.0-20230505201702-9f6742963106 h1:EObNQ3TW2D+WptiYXlApGNLVy0zm/JIBVY9i+M4wpAU= +k8s.io/utils v0.0.0-20230505201702-9f6742963106/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= +sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= +sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= +sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= +sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= diff --git a/kubernetes-model-generator/kubernetes-model-ovn/pom.xml b/extensions/open-virtual-networking/model-v1/pom.xml old mode 100644 new mode 100755 similarity index 57% rename from kubernetes-model-generator/kubernetes-model-ovn/pom.xml rename to extensions/open-virtual-networking/model-v1/pom.xml index b9a6f369ae6..ec092b12129 --- a/kubernetes-model-generator/kubernetes-model-ovn/pom.xml +++ b/extensions/open-virtual-networking/model-v1/pom.xml @@ -16,36 +16,56 @@ limitations under the License. --> - + 4.0.0 io.fabric8 - kubernetes-model-generator + open-virtual-networking 6.11-SNAPSHOT - kubernetes-model-ovn + open-virtual-networking-model-v1 bundle - Fabric8 :: Kubernetes Model :: Open Virtual Networking + Fabric8 :: Open Virtual Networking V1 :: Model - true - * + + io.fabric8.kubernetes.api.builder, + !io.fabric8.kubernetes.api.model.ovn.v1.*, + * + - io.fabric8.kubernetes.api.model.ovn** + io.fabric8.kubernetes.api.model.ovn.v1.* + true + + io.sundr + builder-annotations + + + io.sundr + transform-annotations + + + io.sundr + sundr-codegen-velocity-nodeps + io.fabric8 kubernetes-model-core - io.fabric8 - kubernetes-model-common + org.junit.jupiter + junit-jupiter-engine + test + + + org.projectlombok + lombok org.assertj @@ -54,23 +74,6 @@ - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - false - - - - - - - generate @@ -84,4 +87,5 @@ + diff --git a/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/OpenVirtualNetworkingV1Schema.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/OpenVirtualNetworkingV1Schema.java new file mode 100644 index 00000000000..3c9b5dbe95c --- /dev/null +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/OpenVirtualNetworkingV1Schema.java @@ -0,0 +1,521 @@ + +package io.fabric8.kubernetes.api.model.ovn; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute; +import io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteList; +import io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteSpec; +import io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedRouteStatus; +import io.fabric8.kubernetes.api.model.ovn.v1.DynamicHop; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallDestination; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallList; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallPort; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallRule; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallSpec; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallStatus; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressIP; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressIPList; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressIPSpec; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatus; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatusItem; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSList; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSRule; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSSpec; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSStatus; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressService; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceList; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceSpec; +import io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceStatus; +import io.fabric8.kubernetes.api.model.ovn.v1.ExternalNetworkSource; +import io.fabric8.kubernetes.api.model.ovn.v1.ExternalNextHops; +import io.fabric8.kubernetes.api.model.ovn.v1.StaticHop; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.Setter; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRoute", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteSpec", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedRouteStatus", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_DynamicHop", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNetworkSource", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNextHops", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_StaticHop", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewall", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallDestination", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallPort", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallRule", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallSpec", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallStatus", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIP", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPSpec", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatus", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatusItem", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoS", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSRule", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSSpec", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSStatus", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressService", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceSpec", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceStatus" +}) +@ToString +@EqualsAndHashCode +@Setter +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) +}) +@Generated("jsonschema2pojo") +public class OpenVirtualNetworkingV1Schema implements Editable +{ + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRoute") + private AdminPolicyBasedExternalRoute githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteList") + private AdminPolicyBasedExternalRouteList githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteSpec") + private AdminPolicyBasedExternalRouteSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedRouteStatus") + private AdminPolicyBasedRouteStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_DynamicHop") + private DynamicHop githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNetworkSource") + private ExternalNetworkSource githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNextHops") + private ExternalNextHops githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_StaticHop") + private StaticHop githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewall") + private EgressFirewall githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallDestination") + private EgressFirewallDestination githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallList") + private EgressFirewallList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallPort") + private EgressFirewallPort githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallRule") + private EgressFirewallRule githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallSpec") + private EgressFirewallSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallStatus") + private EgressFirewallStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIP") + private EgressIP githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPList") + private EgressIPList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPSpec") + private EgressIPSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatus") + private EgressIPStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatusItem") + private EgressIPStatusItem githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoS") + private EgressQoS githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSList") + private EgressQoSList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSRule") + private EgressQoSRule githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSSpec") + private EgressQoSSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSStatus") + private EgressQoSStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressService") + private EgressService githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceList") + private EgressServiceList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceSpec") + private EgressServiceSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec; + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceStatus") + private EgressServiceStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus; + + /** + * No args constructor for use in serialization + * + */ + public OpenVirtualNetworkingV1Schema() { + } + + public OpenVirtualNetworkingV1Schema(AdminPolicyBasedExternalRoute githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute, AdminPolicyBasedExternalRouteList githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList, AdminPolicyBasedExternalRouteSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec, AdminPolicyBasedRouteStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus, DynamicHop githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop, ExternalNetworkSource githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource, ExternalNextHops githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops, StaticHop githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop, EgressFirewall githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall, EgressFirewallDestination githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination, EgressFirewallList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList, EgressFirewallPort githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort, EgressFirewallRule githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule, EgressFirewallSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec, EgressFirewallStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus, EgressIP githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP, EgressIPList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList, EgressIPSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec, EgressIPStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus, EgressIPStatusItem githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem, EgressQoS githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS, EgressQoSList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList, EgressQoSRule githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule, EgressQoSSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec, EgressQoSStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus, EgressService githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService, EgressServiceList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList, EgressServiceSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec, EgressServiceStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus) { + super(); + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec; + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRoute") + public AdminPolicyBasedExternalRoute getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRoute") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute(AdminPolicyBasedExternalRoute githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRoute; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteList") + public AdminPolicyBasedExternalRouteList getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteList") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList(AdminPolicyBasedExternalRouteList githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteSpec") + public AdminPolicyBasedExternalRouteSpec getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteSpec") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec(AdminPolicyBasedExternalRouteSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedExternalRouteSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedRouteStatus") + public AdminPolicyBasedRouteStatus getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedRouteStatus") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus(AdminPolicyBasedRouteStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1AdminPolicyBasedRouteStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_DynamicHop") + public DynamicHop getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_DynamicHop") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop(DynamicHop githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1DynamicHop; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNetworkSource") + public ExternalNetworkSource getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNetworkSource") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource(ExternalNetworkSource githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNetworkSource; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNextHops") + public ExternalNextHops getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNextHops") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops(ExternalNextHops githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1ExternalNextHops; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_StaticHop") + public StaticHop getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_StaticHop") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop(StaticHop githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop = githubComOvnOrgOvnKubernetesGoControllerPkgCrdAdminpolicybasedrouteV1StaticHop; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewall") + public EgressFirewall getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewall") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall(EgressFirewall githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewall; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallDestination") + public EgressFirewallDestination getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallDestination") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination(EgressFirewallDestination githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallDestination; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallList") + public EgressFirewallList getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallList") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList(EgressFirewallList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallPort") + public EgressFirewallPort getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallPort") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort(EgressFirewallPort githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallPort; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallRule") + public EgressFirewallRule getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallRule") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule(EgressFirewallRule githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallRule; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallSpec") + public EgressFirewallSpec getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallSpec") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec(EgressFirewallSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallStatus") + public EgressFirewallStatus getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallStatus") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus(EgressFirewallStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressfirewallV1EgressFirewallStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIP") + public EgressIP getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIP") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP(EgressIP githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIP; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPList") + public EgressIPList getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPList") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList(EgressIPList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPSpec") + public EgressIPSpec getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPSpec") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec(EgressIPSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatus") + public EgressIPStatus getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatus") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus(EgressIPStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatusItem") + public EgressIPStatusItem getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatusItem") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem(EgressIPStatusItem githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressipV1EgressIPStatusItem; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoS") + public EgressQoS getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoS") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS(EgressQoS githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoS; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSList") + public EgressQoSList getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSList") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList(EgressQoSList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSRule") + public EgressQoSRule getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSRule") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule(EgressQoSRule githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSRule; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSSpec") + public EgressQoSSpec getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSSpec") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec(EgressQoSSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSStatus") + public EgressQoSStatus getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSStatus") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus(EgressQoSStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressqosV1EgressQoSStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressService") + public EgressService getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressService") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService(EgressService githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressService; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceList") + public EgressServiceList getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceList") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList(EgressServiceList githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceList; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceSpec") + public EgressServiceSpec getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceSpec") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec(EgressServiceSpec githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceSpec; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceStatus") + public EgressServiceStatus getGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus() { + return githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus; + } + + @JsonProperty("github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceStatus") + public void setGithubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus(EgressServiceStatus githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus) { + this.githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus = githubComOvnOrgOvnKubernetesGoControllerPkgCrdEgressserviceV1EgressServiceStatus; + } + + @JsonIgnore + public OpenVirtualNetworkingV1SchemaBuilder edit() { + return new OpenVirtualNetworkingV1SchemaBuilder(this); + } + + @JsonIgnore + public OpenVirtualNetworkingV1SchemaBuilder toBuilder() { + return edit(); + } + +} diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRoute.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRoute.java similarity index 93% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRoute.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRoute.java index 8c60911bcae..c3f6cd33b63 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRoute.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRoute.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -21,6 +23,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -57,7 +61,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteList.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteList.java similarity index 93% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteList.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteList.java index 25d0f5b68e1..7cda05f3ac2 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteList.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteList.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -26,6 +28,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -61,7 +65,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteSpec.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteSpec.java similarity index 90% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteSpec.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteSpec.java index 00f180a7de6..beb44270b1a 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteSpec.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteSpec.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -22,6 +24,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,7 +58,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class AdminPolicyBasedExternalRouteSpec implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedRouteStatus.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedRouteStatus.java similarity index 80% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedRouteStatus.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedRouteStatus.java index 72bf0c47ce7..36897140c3c 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedRouteStatus.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedRouteStatus.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,6 +26,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -57,7 +61,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class AdminPolicyBasedRouteStatus implements Editable , KubernetesResource @@ -67,11 +75,11 @@ public class AdminPolicyBasedRouteStatus implements Editable messages = new ArrayList(); + private List messages = new ArrayList(); @JsonProperty("status") - private java.lang.String status; + private String status; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -80,7 +88,7 @@ public class AdminPolicyBasedRouteStatus implements Editable messages, java.lang.String status) { + public AdminPolicyBasedRouteStatus(String lastTransitionTime, List messages, String status) { super(); this.lastTransitionTime = lastTransitionTime; this.messages = messages; @@ -98,22 +106,22 @@ public void setLastTransitionTime(String lastTransitionTime) { } @JsonProperty("messages") - public List getMessages() { + public List getMessages() { return messages; } @JsonProperty("messages") - public void setMessages(List messages) { + public void setMessages(List messages) { this.messages = messages; } @JsonProperty("status") - public java.lang.String getStatus() { + public String getStatus() { return status; } @JsonProperty("status") - public void setStatus(java.lang.String status) { + public void setStatus(String status) { this.status = status; } @@ -128,12 +136,12 @@ public AdminPolicyBasedRouteStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/DynamicHop.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/DynamicHop.java similarity index 92% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/DynamicHop.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/DynamicHop.java index 5f96c34a0d1..d1d63301be6 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/DynamicHop.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/DynamicHop.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -21,6 +23,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,7 +59,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class DynamicHop implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewall.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewall.java similarity index 93% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewall.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewall.java index a9dbee52c70..c379428ac5d 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewall.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewall.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -22,6 +24,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -58,7 +62,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallDestination.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallDestination.java similarity index 91% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallDestination.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallDestination.java index 3f7d6e85c33..b37bb575ccb 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallDestination.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallDestination.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -21,6 +23,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,7 +58,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressFirewallDestination implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallList.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallList.java similarity index 93% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallList.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallList.java index 75af35b0651..6eccec5a696 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallList.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallList.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -26,6 +28,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -61,7 +65,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallPort.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallPort.java similarity index 89% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallPort.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallPort.java index 590ac7128c2..d92b675cd3f 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallPort.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallPort.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -22,6 +24,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,7 +58,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressFirewallPort implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallRule.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallRule.java similarity index 90% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallRule.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallRule.java index c80e90e39c8..e4ff71976b9 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallRule.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallRule.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,6 +26,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -57,7 +61,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressFirewallRule implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallSpec.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallSpec.java similarity index 89% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallSpec.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallSpec.java index 3fa1233696d..714ca4b0538 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallSpec.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallSpec.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,6 +26,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,7 +59,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressFirewallSpec implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallStatus.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallStatus.java similarity index 90% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallStatus.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallStatus.java index 13ce5b61651..b58d43eed6a 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallStatus.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallStatus.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,6 +26,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,7 +60,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressFirewallStatus implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIP.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIP.java similarity index 92% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIP.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIP.java index 783adb59c92..d003006e65e 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIP.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIP.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -21,6 +23,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -57,7 +61,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPList.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPList.java similarity index 93% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPList.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPList.java index 670de9c6718..6178974fee3 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPList.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPList.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -26,6 +28,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -61,7 +65,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPSpec.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPSpec.java similarity index 91% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPSpec.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPSpec.java index eb0c8430be7..1c864321ad7 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPSpec.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPSpec.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -23,6 +25,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,7 +60,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressIPSpec implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatus.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatus.java similarity index 89% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatus.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatus.java index a2544348e07..51d6f6a6305 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatus.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatus.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,6 +26,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,7 +59,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressIPStatus implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatusItem.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatusItem.java similarity index 89% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatusItem.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatusItem.java index 24bbcbc8211..dc778cb48e1 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatusItem.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPStatusItem.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -22,6 +24,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,7 +58,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressIPStatusItem implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoS.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoS.java similarity index 93% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoS.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoS.java index 12961784fd8..96275440d0c 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoS.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoS.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -22,6 +24,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -58,7 +62,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSList.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSList.java similarity index 93% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSList.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSList.java index 1f3526ce7a2..a03ed11869f 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSList.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSList.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -26,6 +28,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -61,7 +65,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSRule.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSRule.java similarity index 85% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSRule.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSRule.java index 1b2e738d920..31029301063 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSRule.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSRule.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -21,6 +23,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,7 +58,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressQoSRule implements Editable , KubernetesResource @@ -67,7 +75,7 @@ public class EgressQoSRule implements Editable , Kubernete @JsonProperty("podSelector") private io.fabric8.kubernetes.api.model.LabelSelector podSelector; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -124,12 +132,12 @@ public EgressQoSRuleBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { + public void setAdditionalProperty(java.lang.String name, Object value) { this.additionalProperties.put(name, value); } diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSSpec.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSSpec.java similarity index 89% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSSpec.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSSpec.java index f45bd505a64..dd78f375306 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSSpec.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSSpec.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,6 +26,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,7 +59,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressQoSSpec implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSStatus.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSStatus.java similarity index 87% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSStatus.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSStatus.java index f4a78397127..fe2fd1cee84 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSStatus.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSStatus.java @@ -12,6 +12,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -21,6 +23,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -51,7 +55,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressQoSStatus implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressService.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressService.java similarity index 91% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressService.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressService.java index 2d92382fb9f..db5339301d3 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressService.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressService.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -22,6 +24,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -58,12 +62,16 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) -@Version("v1") +@Version("v1beta1") @Group("k8s.ovn.org") @Generated("jsonschema2pojo") public class EgressService implements Editable , HasMetadata, Namespaced @@ -75,7 +83,7 @@ public class EgressService implements Editable , HasMetada * */ @JsonProperty("apiVersion") - private String apiVersion = "k8s.ovn.org/v1"; + private String apiVersion = "k8s.ovn.org/v1beta1"; /** * * (Required) diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceList.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceList.java similarity index 91% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceList.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceList.java index 3b55c7584e7..98cea20d309 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceList.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceList.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -26,6 +28,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -61,12 +65,16 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) }) -@Version("v1") +@Version("v1beta1") @Group("k8s.ovn.org") @Generated("jsonschema2pojo") public class EgressServiceList implements Editable , KubernetesResource, KubernetesResourceList @@ -78,7 +86,7 @@ public class EgressServiceList implements Editable , K * */ @JsonProperty("apiVersion") - private String apiVersion = "k8s.ovn.org/v1"; + private String apiVersion = "k8s.ovn.org/v1beta1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List items = new ArrayList(); diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceSpec.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceSpec.java similarity index 91% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceSpec.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceSpec.java index f594b6fe36a..6795c641f04 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceSpec.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceSpec.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -21,6 +23,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,7 +58,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressServiceSpec implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceStatus.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceStatus.java similarity index 89% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceStatus.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceStatus.java index 4c8b1556805..94c013d1604 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceStatus.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceStatus.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -22,6 +24,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,7 +57,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class EgressServiceStatus implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNetworkSource.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNetworkSource.java similarity index 89% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNetworkSource.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNetworkSource.java index 4ca4a10fdc8..cf556d5bbe5 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNetworkSource.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNetworkSource.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -21,6 +23,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,7 +56,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class ExternalNetworkSource implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNextHops.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNextHops.java similarity index 90% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNextHops.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNextHops.java index d553403d8ee..6cf371b2353 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNextHops.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/ExternalNextHops.java @@ -15,6 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,6 +26,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,7 +60,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class ExternalNextHops implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/StaticHop.java b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/StaticHop.java similarity index 89% rename from kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/StaticHop.java rename to extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/StaticHop.java index 83acc886a66..50a1f919d81 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/StaticHop.java +++ b/extensions/open-virtual-networking/model-v1/src/generated/java/io/fabric8/kubernetes/api/model/ovn/v1/StaticHop.java @@ -13,6 +13,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -22,6 +24,8 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,7 +58,11 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) + @BuildableReference(PersistentVolumeClaim.class), + @BuildableReference(EnvVar.class), + @BuildableReference(ContainerPort.class), + @BuildableReference(Volume.class), + @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") public class StaticHop implements Editable , KubernetesResource diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/schema/kube-schema.json b/extensions/open-virtual-networking/model-v1/src/main/resources/schema/open-virtual-networking-v1-schema.json similarity index 56% rename from kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/schema/kube-schema.json rename to extensions/open-virtual-networking/model-v1/src/main/resources/schema/open-virtual-networking-v1-schema.json index 92a05aa5dc1..70fa70605b4 100644 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/schema/kube-schema.json +++ b/extensions/open-virtual-networking/model-v1/src/main/resources/schema/open-virtual-networking-v1-schema.json @@ -1,261 +1,8 @@ { - "id": "http://fabric8.io/fabric8/v2/Schema#", + "id": "http://fabric8.io/OpenVirtualNetworking", "$schema": "http://json-schema.org/draft-07/schema#", - "$module": "ovn", "definitions": { - "kubernetes_apimachinery_FieldsV1": { - "type": "object", - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.FieldsV1", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_LabelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelectorRequirement", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelectorRequirement" - } - }, - "matchLabels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_LabelSelectorRequirement": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelectorRequirement", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_ListMeta": { - "type": "object", - "properties": { - "continue": { - "type": "string" - }, - "remainingItemCount": { - "type": "integer", - "existingJavaType": "Long" - }, - "resourceVersion": { - "type": "string" - }, - "selfLink": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_ManagedFieldsEntry": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "fieldsType": { - "type": "string" - }, - "fieldsV1": { - "$ref": "#/definitions/kubernetes_apimachinery_FieldsV1", - "existingJavaType": "io.fabric8.kubernetes.api.model.FieldsV1" - }, - "manager": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "subresource": { - "type": "string" - }, - "time": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.ManagedFieldsEntry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_ObjectMeta": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - }, - "creationTimestamp": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "deletionGracePeriodSeconds": { - "type": "integer", - "existingJavaType": "Long" - }, - "deletionTimestamp": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "finalizers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "generateName": { - "type": "string" - }, - "generation": { - "type": "integer", - "existingJavaType": "Long" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - }, - "managedFields": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_ManagedFieldsEntry", - "existingJavaType": "io.fabric8.kubernetes.api.model.ManagedFieldsEntry" - } - }, - "name": { - "type": "string" - }, - "namespace": { - "type": "string", - "maxLength": 253, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - }, - "ownerReferences": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_OwnerReference", - "existingJavaType": "io.fabric8.kubernetes.api.model.OwnerReference" - } - }, - "resourceVersion": { - "type": "string" - }, - "selfLink": { - "type": "string" - }, - "uid": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_OwnerReference": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "blockOwnerDeletion": { - "type": "boolean" - }, - "controller": { - "type": "boolean" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "uid": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.OwnerReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_Time": { - "type": "object", - "properties": { - "Time": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "String", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_TypeMeta": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.TypeMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_AdminPolicyBasedExternalRoute": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRoute": { "type": "object", "properties": { "apiVersion": { @@ -269,25 +16,23 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRouteSpec", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteSpec", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteSpec" }, "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedRouteStatus", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedRouteStatus", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedRouteStatus" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.HasMetadata" ] }, - "kubernetes_ovn_v1_AdminPolicyBasedExternalRouteList": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteList": { "type": "object", "properties": { "apiVersion": { @@ -298,7 +43,7 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRoute", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRoute", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute" } }, @@ -308,41 +53,37 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute\u003e" ] }, - "kubernetes_ovn_v1_AdminPolicyBasedExternalRouteSpec": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteSpec": { "type": "object", "properties": { "from": { - "$ref": "#/definitions/kubernetes_ovn_v1_ExternalNetworkSource", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNetworkSource", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNetworkSource" }, "nextHops": { - "$ref": "#/definitions/kubernetes_ovn_v1_ExternalNextHops", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNextHops", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNextHops" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_AdminPolicyBasedRouteStatus": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedRouteStatus": { "type": "object", "properties": { "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" + "existingJavaType": "java.lang.String" }, "messages": { "type": "array", @@ -355,37 +96,85 @@ "type": "string" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedRouteStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_DynamicHop": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_DynamicHop": { "type": "object", "properties": { "bfdEnabled": { "type": "boolean" }, "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" }, "networkAttachmentName": { "type": "string" }, "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.DynamicHop", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressFirewall": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNetworkSource": { + "type": "object", + "properties": { + "namespaceSelector": { + "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" + } + }, + "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNetworkSource", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNextHops": { + "type": "object", + "properties": { + "dynamic": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_DynamicHop", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.DynamicHop" + } + }, + "static": { + "type": "array", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_StaticHop", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.StaticHop" + } + } + }, + "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNextHops", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_StaticHop": { + "type": "object", + "properties": { + "bfdEnabled": { + "type": "boolean" + }, + "ip": { + "type": "string" + } + }, + "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.StaticHop", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewall": { "type": "object", "properties": { "apiVersion": { @@ -399,26 +188,24 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallSpec", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallSpec", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallSpec" }, "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallStatus", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallStatus", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallStatus" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.HasMetadata", "io.fabric8.kubernetes.api.model.Namespaced" ] }, - "kubernetes_ovn_v1_EgressFirewallDestination": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallDestination": { "type": "object", "properties": { "cidrSelector": { @@ -428,17 +215,15 @@ "type": "string" }, "nodeSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallDestination", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressFirewallList": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallList": { "type": "object", "properties": { "apiVersion": { @@ -449,7 +234,7 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewall", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewall", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall" } }, @@ -459,18 +244,16 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall\u003e" ] }, - "kubernetes_ovn_v1_EgressFirewallPort": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallPort": { "type": "object", "properties": { "port": { @@ -480,55 +263,52 @@ "type": "string" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallPort", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressFirewallRule": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallRule": { "type": "object", "properties": { "ports": { "type": "array", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallPort", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallPort", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallPort" } }, "to": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallDestination", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallDestination", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallDestination" }, "type": { "type": "string" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallRule", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressFirewallSpec": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallSpec": { "type": "object", "properties": { "egress": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallRule", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallRule", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallRule" } } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressFirewallStatus": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallStatus": { "type": "object", "properties": { "messages": { @@ -542,13 +322,12 @@ "type": "string" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressIP": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIP": { "type": "object", "properties": { "apiVersion": { @@ -562,25 +341,23 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPSpec", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPSpec", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPSpec" }, "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPStatus", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatus", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatus" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIP", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.HasMetadata" ] }, - "kubernetes_ovn_v1_EgressIPList": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPList": { "type": "object", "properties": { "apiVersion": { @@ -591,7 +368,7 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIP", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIP", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIP" } }, @@ -601,18 +378,16 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.EgressIP\u003e" ] }, - "kubernetes_ovn_v1_EgressIPSpec": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPSpec": { "type": "object", "properties": { "egressIPs": { @@ -622,38 +397,34 @@ } }, "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" }, "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressIPStatus": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatus": { "type": "object", "properties": { "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPStatusItem", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatusItem", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatusItem" } } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressIPStatusItem": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatusItem": { "type": "object", "properties": { "egressIP": { @@ -663,13 +434,12 @@ "type": "string" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatusItem", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressQoS": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoS": { "type": "object", "properties": { "apiVersion": { @@ -683,26 +453,24 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSSpec", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSSpec", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSSpec" }, "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSStatus", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSStatus", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSStatus" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.HasMetadata", "io.fabric8.kubernetes.api.model.Namespaced" ] }, - "kubernetes_ovn_v1_EgressQoSList": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSList": { "type": "object", "properties": { "apiVersion": { @@ -713,7 +481,7 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoS", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoS", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS" } }, @@ -723,68 +491,63 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.EgressQoS\u003e" ] }, - "kubernetes_ovn_v1_EgressQoSRule": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSRule": { "type": "object", "properties": { "dscp": { "type": "integer" }, "dstCIDR": { - "type": "string" + "type": "string", + "existingJavaType": "String" }, "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSRule", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressQoSSpec": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSSpec": { "type": "object", "properties": { "egress": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSRule", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSRule", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSRule" } } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressQoSStatus": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSStatus": { "type": "object", - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressService": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressService": { "type": "object", "properties": { "apiVersion": { "type": "string", - "default": "k8s.ovn.org/v1", + "default": "k8s.ovn.org/v1beta1", "required": true }, "kind": { @@ -793,37 +556,35 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressServiceSpec", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceSpec", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceSpec" }, "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressServiceStatus", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceStatus", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceStatus" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressService", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.HasMetadata", "io.fabric8.kubernetes.api.model.Namespaced" ] }, - "kubernetes_ovn_v1_EgressServiceList": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceList": { "type": "object", "properties": { "apiVersion": { "type": "string", - "default": "k8s.ovn.org/v1", + "default": "k8s.ovn.org/v1beta1", "required": true }, "items": { "type": "array", "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressService", + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressService", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressService" } }, @@ -833,149 +594,164 @@ "required": true }, "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.EgressService\u003e" ] }, - "kubernetes_ovn_v1_EgressServiceSpec": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceSpec": { "type": "object", "properties": { "network": { "type": "string" }, "nodeSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" }, "sourceIPBy": { "type": "string" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "kubernetes_ovn_v1_EgressServiceStatus": { + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceStatus": { "type": "object", "properties": { "host": { "type": "string" } }, - "additionalProperties": true, "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] - }, - "kubernetes_ovn_v1_ExternalNetworkSource": { - "type": "object", - "properties": { - "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNetworkSource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_ExternalNextHops": { - "type": "object", - "properties": { - "dynamic": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_DynamicHop", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.DynamicHop" - } - }, - "static": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_StaticHop", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.StaticHop" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNextHops", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_StaticHop": { - "type": "object", - "properties": { - "bfdEnabled": { - "type": "boolean" - }, - "ip": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.StaticHop", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] } }, "type": "object", "properties": { - "V1AdminPolicyBasedExternalRoute": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRoute", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRoute": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRoute", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute" }, - "V1AdminPolicyBasedExternalRouteList": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRouteList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteList": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteList", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteList" }, - "V1EgressFirewall": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewall", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteSpec": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedExternalRouteSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteSpec" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedRouteStatus": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_AdminPolicyBasedRouteStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedRouteStatus" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_DynamicHop": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_DynamicHop", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.DynamicHop" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNetworkSource": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNetworkSource", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNetworkSource" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNextHops": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_ExternalNextHops", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNextHops" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_StaticHop": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_adminpolicybasedroute_v1_StaticHop", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.StaticHop" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewall": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewall", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall" }, - "V1EgressFirewallList": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallDestination": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallDestination", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallDestination" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallList": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallList", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallList" }, - "V1EgressIP": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIP", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallPort": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallPort", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallPort" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallRule": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallRule", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallRule" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallSpec": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallSpec" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallStatus": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressfirewall_v1_EgressFirewallStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallStatus" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIP": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIP", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIP" }, - "V1EgressIPList": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPList": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPList", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPList" }, - "V1EgressQoS": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoS", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPSpec": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPSpec" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatus": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatus" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatusItem": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressip_v1_EgressIPStatusItem", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatusItem" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoS": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoS", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS" }, - "V1EgressQoSList": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSList": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSList", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSList" }, - "V1EgressService": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressService", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSRule": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSRule", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSRule" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSSpec": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSSpec" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSStatus": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressqos_v1_EgressQoSStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSStatus" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressService": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressService", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressService" }, - "V1EgressServiceList": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressServiceList", + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceList": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceList", "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceList" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceSpec": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceSpec", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceSpec" + }, + "github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceStatus": { + "$ref": "#/definitions/github_com_ovn-org_ovn-kubernetes_go-controller_pkg_crd_egressservice_v1_EgressServiceStatus", + "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceStatus" } }, - "additionalProperties": true + "additionalProperties": false } diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteTest.java b/extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteTest.java similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteTest.java rename to extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/AdminPolicyBasedExternalRouteTest.java diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallTest.java b/extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallTest.java similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallTest.java rename to extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressFirewallTest.java diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPTest.java b/extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPTest.java similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPTest.java rename to extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressIPTest.java diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSTest.java b/extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSTest.java similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSTest.java rename to extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressQoSTest.java diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceTest.java b/extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceTest.java similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceTest.java rename to extensions/open-virtual-networking/model-v1/src/test/java/io/fabric8/kubernetes/api/model/ovn/v1/EgressServiceTest.java diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-adminpolicybasedexternalroute.json b/extensions/open-virtual-networking/model-v1/src/test/resources/v1-adminpolicybasedexternalroute.json similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-adminpolicybasedexternalroute.json rename to extensions/open-virtual-networking/model-v1/src/test/resources/v1-adminpolicybasedexternalroute.json diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-egressfirewall.json b/extensions/open-virtual-networking/model-v1/src/test/resources/v1-egressfirewall.json similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-egressfirewall.json rename to extensions/open-virtual-networking/model-v1/src/test/resources/v1-egressfirewall.json diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-egressip.json b/extensions/open-virtual-networking/model-v1/src/test/resources/v1-egressip.json similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-egressip.json rename to extensions/open-virtual-networking/model-v1/src/test/resources/v1-egressip.json diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-egressqos.json b/extensions/open-virtual-networking/model-v1/src/test/resources/v1-egressqos.json similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-egressqos.json rename to extensions/open-virtual-networking/model-v1/src/test/resources/v1-egressqos.json diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-egressservice.json b/extensions/open-virtual-networking/model-v1/src/test/resources/v1-egressservice.json similarity index 100% rename from kubernetes-model-generator/kubernetes-model-ovn/src/test/resources/v1-egressservice.json rename to extensions/open-virtual-networking/model-v1/src/test/resources/v1-egressservice.json diff --git a/extensions/open-virtual-networking/pom.xml b/extensions/open-virtual-networking/pom.xml new file mode 100644 index 00000000000..fa0bd3b49e1 --- /dev/null +++ b/extensions/open-virtual-networking/pom.xml @@ -0,0 +1,40 @@ + + + + 4.0.0 + + kubernetes-extensions + io.fabric8 + 6.11-SNAPSHOT + + + open-virtual-networking + pom + Fabric8 :: Open Virtual Networking :: Extension + + + io.fabric8.kubernetes.api.model.ovn + + + + model-v1 + + + diff --git a/extensions/pom.xml b/extensions/pom.xml index 50bc43f355a..bc57e9ee1a4 100644 --- a/extensions/pom.xml +++ b/extensions/pom.xml @@ -39,6 +39,7 @@ volcano istio open-cluster-management + open-virtual-networking diff --git a/kubernetes-model-generator/README.md b/kubernetes-model-generator/README.md index 071f1c961f4..efc6bb0511b 100644 --- a/kubernetes-model-generator/README.md +++ b/kubernetes-model-generator/README.md @@ -40,8 +40,6 @@ [![javadoc](https://javadoc.io/badge2/io.fabric8/kubernetes-model-storageclass/javadoc.svg)](https://javadoc.io/doc/io.fabric8/kubernetes-model-storageclass) * kubernetes-model-node: [![Maven Central](https://img.shields.io/maven-central/v/io.fabric8/kubernetes-model-node.svg?maxAge=2592000)](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aio.fabric8%20a%3Akubernetes-model-node) [![javadoc](https://javadoc.io/badge2/io.fabric8/kubernetes-model-node/javadoc.svg)](https://javadoc.io/doc/io.fabric8/kubernetes-model-node) -* kubernetes-model-ovn: [![Maven Central](https://img.shields.io/maven-central/v/io.fabric8/kubernetes-model-ovn.svg?maxAge=2592000)](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aio.fabric8%20a%3Akubernetes-model-ovn) -[![javadoc](https://javadoc.io/badge2/io.fabric8/kubernetes-model-ovn/javadoc.svg)](https://javadoc.io/doc/io.fabric8/kubernetes-model-ovn) * openshift-model: [![Maven Central](https://img.shields.io/maven-central/v/io.fabric8/openshift-model.svg?maxAge=2592000)](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aio.fabric8%20a%3Aopenshift-model) [![javadoc](https://javadoc.io/badge2/io.fabric8/openshift-model/javadoc.svg)](https://javadoc.io/doc/io.fabric8/openshift-model) * openshift-model-console: [![Maven Central](https://img.shields.io/maven-central/v/io.fabric8/openshift-model-console.svg?maxAge=2592000)](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aio.fabric8%20a%3Aopenshift-model-console) diff --git a/kubernetes-model-generator/generateModel.sh b/kubernetes-model-generator/generateModel.sh index e046946db2c..1b74de558b4 100755 --- a/kubernetes-model-generator/generateModel.sh +++ b/kubernetes-model-generator/generateModel.sh @@ -39,7 +39,6 @@ declare -a modules=( "kubernetes-model-networking" "kubernetes-model-metrics" "kubernetes-model-node" - "kubernetes-model-ovn" "kubernetes-model-policy" "kubernetes-model-scheduling" "kubernetes-model-storageclass" diff --git a/kubernetes-model-generator/go.mod b/kubernetes-model-generator/go.mod index 9b2c38d4aef..f0eeefe611c 100644 --- a/kubernetes-model-generator/go.mod +++ b/kubernetes-model-generator/go.mod @@ -17,7 +17,6 @@ require ( github.com/openshift/machine-config-operator v0.0.1-0.20230807154212-886c5c3fc7a9 github.com/operator-framework/api v0.17.7 github.com/operator-framework/operator-lifecycle-manager v0.22.0 - github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20240119130830-e7acee6595c6 github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.68.0 k8s.io/api v0.29.0 k8s.io/apiextensions-apiserver v0.29.0 diff --git a/kubernetes-model-generator/go.sum b/kubernetes-model-generator/go.sum index 0fcc90cfb8e..dc0e6d8c843 100644 --- a/kubernetes-model-generator/go.sum +++ b/kubernetes-model-generator/go.sum @@ -714,8 +714,8 @@ github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/cockroachdb/datadriven v1.0.2/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= -github.com/containerd/cgroups v1.1.0 h1:v8rEWFl6EoqHB+swVNjVoCJE8o3jX7e8nqBGPLaDFBM= -github.com/containerd/cgroups v1.1.0/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw= +github.com/containerd/cgroups v1.0.4 h1:jN/mbWBEaz+T1pi5OFtnkQ+8qnmEbAr1Oo1FRm5B0dA= +github.com/containerd/cgroups v1.0.4/go.mod h1:nLNQtsF7Sl2HxNebu77i1R0oDlhiTG+kO4JTrUzo6IA= github.com/containerd/containerd v1.5.13 h1:XqvKw9i4P7/mFrC3TSM7yV5cwFZ9avXe6M3YANKnzEE= github.com/containerd/containerd v1.5.13/go.mod h1:3AlCrzKROjIuP3JALsY14n8YtntaUDBu7vek+rPN5Vc= github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= @@ -1370,8 +1370,6 @@ github.com/operator-framework/operator-registry v1.29.0 h1:HMmVTiuOAGoHLzYqR9Lr2 github.com/operator-framework/operator-registry v1.29.0/go.mod h1:4rVQu/cOuCtVt3JzKsAmwyq2lsiu9uPaH9nYNfnqj9o= github.com/otiai10/copy v1.2.0 h1:HvG945u96iNadPoG2/Ja2+AUJeW5YuFQMixq9yirC+k= github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= -github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20240119130830-e7acee6595c6 h1:7938zkANpNhvTSRG/XQwQ7FKESZI4X65G9Ldh+OuJs0= -github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20240119130830-e7acee6595c6/go.mod h1:ZE3wbxkzS8KT5QQG4JrpmqB35I99KN2CBEHPRw+7MFk= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= diff --git a/kubernetes-model-generator/kubernetes-model-ovn/cmd/generate/generate.go b/kubernetes-model-generator/kubernetes-model-ovn/cmd/generate/generate.go deleted file mode 100644 index 212d5f9897d..00000000000 --- a/kubernetes-model-generator/kubernetes-model-ovn/cmd/generate/generate.go +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * 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. - */ -package main - -import ( - "bytes" - "encoding/json" - "fmt" - - v1adminpolicybasedroute "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/adminpolicybasedroute/v1" - v1egressfirewall "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressfirewall/v1" - v1egressip "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressip/v1" - v1egressqos "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressqos/v1" - v1egressservice "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressservice/v1" - - "log" - "reflect" - "strings" - "time" - - "os" - - "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/pkg/schemagen" -) - -type Schema struct { - V1AdminPolicyBasedExternalRoute v1adminpolicybasedroute.AdminPolicyBasedExternalRoute - V1AdminPolicyBasedExternalRouteList v1adminpolicybasedroute.AdminPolicyBasedExternalRouteList - V1EgressFirewall v1egressfirewall.EgressFirewall - V1EgressFirewallList v1egressfirewall.EgressFirewallList - V1EgressIP v1egressip.EgressIP - V1EgressIPList v1egressip.EgressIPList - V1EgressQoS v1egressqos.EgressQoS - V1EgressQoSList v1egressqos.EgressQoSList - V1EgressService v1egressservice.EgressService - V1EgressServiceList v1egressservice.EgressServiceList -} - -func main() { - packages := []schemagen.PackageDescriptor{ - {"k8s.io/apimachinery/pkg/api/resource", "", "io.fabric8.kubernetes.api.model", "kubernetes_resource_", false}, - {"k8s.io/apimachinery/pkg/version", "", "io.fabric8.kubernetes.api.model.version", "kubernetes_apimachinery_pkg_version_", false}, - {"k8s.io/apimachinery/pkg/apis/meta/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_apimachinery_", false}, - {"k8s.io/api/core/v1", "", "io.fabric8.kubernetes.api.model", "kubernetes_core_", false}, - {"github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/adminpolicybasedroute/v1", "k8s.ovn.org", "io.fabric8.kubernetes.api.model.ovn.v1", "kubernetes_ovn_v1_", true}, - {"github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressfirewall/v1", "k8s.ovn.org", "io.fabric8.kubernetes.api.model.ovn.v1", "kubernetes_ovn_v1_", true}, - {"github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressip/v1", "k8s.ovn.org", "io.fabric8.kubernetes.api.model.ovn.v1", "kubernetes_ovn_v1_", true}, - {"github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressqos/v1", "k8s.ovn.org", "io.fabric8.kubernetes.api.model.ovn.v1", "kubernetes_ovn_v1_", true}, - {"github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressservice/v1", "k8s.ovn.org", "io.fabric8.kubernetes.api.model.ovn.v1", "kubernetes_ovn_v1_", true}, - } - - typeMap := map[reflect.Type]reflect.Type{ - reflect.TypeOf(time.Time{}): reflect.TypeOf(""), - reflect.TypeOf(struct{}{}): reflect.TypeOf(""), - } - schema, err := schemagen.GenerateSchema(reflect.TypeOf(Schema{}), packages, typeMap, map[reflect.Type]string{},"ovn") - if err != nil { - fmt.Fprintf(os.Stderr, "An error occurred: %v", err) - return - } - - args := os.Args[1:] - if len(args) < 1 || args[0] != "validation" { - schema.Resources = nil - } - - b, err := json.Marshal(&schema) - if err != nil { - log.Fatal(err) - } - result := string(b) - result = strings.Replace(result, "\"additionalProperty\":", "\"additionalProperties\":", -1) - - var out bytes.Buffer - err = json.Indent(&out, []byte(result), "", " ") - if err != nil { - log.Fatal(err) - } - - fmt.Println(out.String()) -} diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java b/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java deleted file mode 100644 index ab80c8bd9f9..00000000000 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/KubeSchema.java +++ /dev/null @@ -1,244 +0,0 @@ - -package io.fabric8.kubernetes.api.model; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute; -import io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteList; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallList; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressIP; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressIPList; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSList; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressService; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceList; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.Setter; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "apiVersion", - "kind", - "metadata", - "V1AdminPolicyBasedExternalRoute", - "V1AdminPolicyBasedExternalRouteList", - "V1EgressFirewall", - "V1EgressFirewallList", - "V1EgressIP", - "V1EgressIPList", - "V1EgressQoS", - "V1EgressQoSList", - "V1EgressService", - "V1EgressServiceList" -}) -@ToString -@EqualsAndHashCode -@Setter -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) -}) -@Generated("jsonschema2pojo") -public class KubeSchema implements Editable -{ - - @JsonProperty("V1AdminPolicyBasedExternalRoute") - private AdminPolicyBasedExternalRoute v1AdminPolicyBasedExternalRoute; - @JsonProperty("V1AdminPolicyBasedExternalRouteList") - private AdminPolicyBasedExternalRouteList v1AdminPolicyBasedExternalRouteList; - @JsonProperty("V1EgressFirewall") - private EgressFirewall v1EgressFirewall; - @JsonProperty("V1EgressFirewallList") - private EgressFirewallList v1EgressFirewallList; - @JsonProperty("V1EgressIP") - private EgressIP v1EgressIP; - @JsonProperty("V1EgressIPList") - private EgressIPList v1EgressIPList; - @JsonProperty("V1EgressQoS") - private EgressQoS v1EgressQoS; - @JsonProperty("V1EgressQoSList") - private EgressQoSList v1EgressQoSList; - @JsonProperty("V1EgressService") - private EgressService v1EgressService; - @JsonProperty("V1EgressServiceList") - private EgressServiceList v1EgressServiceList; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public KubeSchema() { - } - - public KubeSchema(AdminPolicyBasedExternalRoute v1AdminPolicyBasedExternalRoute, AdminPolicyBasedExternalRouteList v1AdminPolicyBasedExternalRouteList, EgressFirewall v1EgressFirewall, EgressFirewallList v1EgressFirewallList, EgressIP v1EgressIP, EgressIPList v1EgressIPList, EgressQoS v1EgressQoS, EgressQoSList v1EgressQoSList, EgressService v1EgressService, EgressServiceList v1EgressServiceList) { - super(); - this.v1AdminPolicyBasedExternalRoute = v1AdminPolicyBasedExternalRoute; - this.v1AdminPolicyBasedExternalRouteList = v1AdminPolicyBasedExternalRouteList; - this.v1EgressFirewall = v1EgressFirewall; - this.v1EgressFirewallList = v1EgressFirewallList; - this.v1EgressIP = v1EgressIP; - this.v1EgressIPList = v1EgressIPList; - this.v1EgressQoS = v1EgressQoS; - this.v1EgressQoSList = v1EgressQoSList; - this.v1EgressService = v1EgressService; - this.v1EgressServiceList = v1EgressServiceList; - } - - @JsonProperty("V1AdminPolicyBasedExternalRoute") - public AdminPolicyBasedExternalRoute getV1AdminPolicyBasedExternalRoute() { - return v1AdminPolicyBasedExternalRoute; - } - - @JsonProperty("V1AdminPolicyBasedExternalRoute") - public void setV1AdminPolicyBasedExternalRoute(AdminPolicyBasedExternalRoute v1AdminPolicyBasedExternalRoute) { - this.v1AdminPolicyBasedExternalRoute = v1AdminPolicyBasedExternalRoute; - } - - @JsonProperty("V1AdminPolicyBasedExternalRouteList") - public AdminPolicyBasedExternalRouteList getV1AdminPolicyBasedExternalRouteList() { - return v1AdminPolicyBasedExternalRouteList; - } - - @JsonProperty("V1AdminPolicyBasedExternalRouteList") - public void setV1AdminPolicyBasedExternalRouteList(AdminPolicyBasedExternalRouteList v1AdminPolicyBasedExternalRouteList) { - this.v1AdminPolicyBasedExternalRouteList = v1AdminPolicyBasedExternalRouteList; - } - - @JsonProperty("V1EgressFirewall") - public EgressFirewall getV1EgressFirewall() { - return v1EgressFirewall; - } - - @JsonProperty("V1EgressFirewall") - public void setV1EgressFirewall(EgressFirewall v1EgressFirewall) { - this.v1EgressFirewall = v1EgressFirewall; - } - - @JsonProperty("V1EgressFirewallList") - public EgressFirewallList getV1EgressFirewallList() { - return v1EgressFirewallList; - } - - @JsonProperty("V1EgressFirewallList") - public void setV1EgressFirewallList(EgressFirewallList v1EgressFirewallList) { - this.v1EgressFirewallList = v1EgressFirewallList; - } - - @JsonProperty("V1EgressIP") - public EgressIP getV1EgressIP() { - return v1EgressIP; - } - - @JsonProperty("V1EgressIP") - public void setV1EgressIP(EgressIP v1EgressIP) { - this.v1EgressIP = v1EgressIP; - } - - @JsonProperty("V1EgressIPList") - public EgressIPList getV1EgressIPList() { - return v1EgressIPList; - } - - @JsonProperty("V1EgressIPList") - public void setV1EgressIPList(EgressIPList v1EgressIPList) { - this.v1EgressIPList = v1EgressIPList; - } - - @JsonProperty("V1EgressQoS") - public EgressQoS getV1EgressQoS() { - return v1EgressQoS; - } - - @JsonProperty("V1EgressQoS") - public void setV1EgressQoS(EgressQoS v1EgressQoS) { - this.v1EgressQoS = v1EgressQoS; - } - - @JsonProperty("V1EgressQoSList") - public EgressQoSList getV1EgressQoSList() { - return v1EgressQoSList; - } - - @JsonProperty("V1EgressQoSList") - public void setV1EgressQoSList(EgressQoSList v1EgressQoSList) { - this.v1EgressQoSList = v1EgressQoSList; - } - - @JsonProperty("V1EgressService") - public EgressService getV1EgressService() { - return v1EgressService; - } - - @JsonProperty("V1EgressService") - public void setV1EgressService(EgressService v1EgressService) { - this.v1EgressService = v1EgressService; - } - - @JsonProperty("V1EgressServiceList") - public EgressServiceList getV1EgressServiceList() { - return v1EgressServiceList; - } - - @JsonProperty("V1EgressServiceList") - public void setV1EgressServiceList(EgressServiceList v1EgressServiceList) { - this.v1EgressServiceList = v1EgressServiceList; - } - - @JsonIgnore - public KubeSchemaBuilder edit() { - return new KubeSchemaBuilder(this); - } - - @JsonIgnore - public KubeSchemaBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - -} diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java b/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java deleted file mode 100644 index 0a20756b101..00000000000 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/generated/java/io/fabric8/kubernetes/api/model/ValidationSchema.java +++ /dev/null @@ -1,244 +0,0 @@ - -package io.fabric8.kubernetes.api.model; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute; -import io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteList; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallList; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressIP; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressIPList; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSList; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressService; -import io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceList; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.Setter; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "apiVersion", - "kind", - "metadata", - "V1AdminPolicyBasedExternalRoute", - "V1AdminPolicyBasedExternalRouteList", - "V1EgressFirewall", - "V1EgressFirewallList", - "V1EgressIP", - "V1EgressIPList", - "V1EgressQoS", - "V1EgressQoSList", - "V1EgressService", - "V1EgressServiceList" -}) -@ToString -@EqualsAndHashCode -@Setter -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) -}) -@Generated("jsonschema2pojo") -public class ValidationSchema implements Editable -{ - - @JsonProperty("V1AdminPolicyBasedExternalRoute") - private AdminPolicyBasedExternalRoute v1AdminPolicyBasedExternalRoute; - @JsonProperty("V1AdminPolicyBasedExternalRouteList") - private AdminPolicyBasedExternalRouteList v1AdminPolicyBasedExternalRouteList; - @JsonProperty("V1EgressFirewall") - private EgressFirewall v1EgressFirewall; - @JsonProperty("V1EgressFirewallList") - private EgressFirewallList v1EgressFirewallList; - @JsonProperty("V1EgressIP") - private EgressIP v1EgressIP; - @JsonProperty("V1EgressIPList") - private EgressIPList v1EgressIPList; - @JsonProperty("V1EgressQoS") - private EgressQoS v1EgressQoS; - @JsonProperty("V1EgressQoSList") - private EgressQoSList v1EgressQoSList; - @JsonProperty("V1EgressService") - private EgressService v1EgressService; - @JsonProperty("V1EgressServiceList") - private EgressServiceList v1EgressServiceList; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ValidationSchema() { - } - - public ValidationSchema(AdminPolicyBasedExternalRoute v1AdminPolicyBasedExternalRoute, AdminPolicyBasedExternalRouteList v1AdminPolicyBasedExternalRouteList, EgressFirewall v1EgressFirewall, EgressFirewallList v1EgressFirewallList, EgressIP v1EgressIP, EgressIPList v1EgressIPList, EgressQoS v1EgressQoS, EgressQoSList v1EgressQoSList, EgressService v1EgressService, EgressServiceList v1EgressServiceList) { - super(); - this.v1AdminPolicyBasedExternalRoute = v1AdminPolicyBasedExternalRoute; - this.v1AdminPolicyBasedExternalRouteList = v1AdminPolicyBasedExternalRouteList; - this.v1EgressFirewall = v1EgressFirewall; - this.v1EgressFirewallList = v1EgressFirewallList; - this.v1EgressIP = v1EgressIP; - this.v1EgressIPList = v1EgressIPList; - this.v1EgressQoS = v1EgressQoS; - this.v1EgressQoSList = v1EgressQoSList; - this.v1EgressService = v1EgressService; - this.v1EgressServiceList = v1EgressServiceList; - } - - @JsonProperty("V1AdminPolicyBasedExternalRoute") - public AdminPolicyBasedExternalRoute getV1AdminPolicyBasedExternalRoute() { - return v1AdminPolicyBasedExternalRoute; - } - - @JsonProperty("V1AdminPolicyBasedExternalRoute") - public void setV1AdminPolicyBasedExternalRoute(AdminPolicyBasedExternalRoute v1AdminPolicyBasedExternalRoute) { - this.v1AdminPolicyBasedExternalRoute = v1AdminPolicyBasedExternalRoute; - } - - @JsonProperty("V1AdminPolicyBasedExternalRouteList") - public AdminPolicyBasedExternalRouteList getV1AdminPolicyBasedExternalRouteList() { - return v1AdminPolicyBasedExternalRouteList; - } - - @JsonProperty("V1AdminPolicyBasedExternalRouteList") - public void setV1AdminPolicyBasedExternalRouteList(AdminPolicyBasedExternalRouteList v1AdminPolicyBasedExternalRouteList) { - this.v1AdminPolicyBasedExternalRouteList = v1AdminPolicyBasedExternalRouteList; - } - - @JsonProperty("V1EgressFirewall") - public EgressFirewall getV1EgressFirewall() { - return v1EgressFirewall; - } - - @JsonProperty("V1EgressFirewall") - public void setV1EgressFirewall(EgressFirewall v1EgressFirewall) { - this.v1EgressFirewall = v1EgressFirewall; - } - - @JsonProperty("V1EgressFirewallList") - public EgressFirewallList getV1EgressFirewallList() { - return v1EgressFirewallList; - } - - @JsonProperty("V1EgressFirewallList") - public void setV1EgressFirewallList(EgressFirewallList v1EgressFirewallList) { - this.v1EgressFirewallList = v1EgressFirewallList; - } - - @JsonProperty("V1EgressIP") - public EgressIP getV1EgressIP() { - return v1EgressIP; - } - - @JsonProperty("V1EgressIP") - public void setV1EgressIP(EgressIP v1EgressIP) { - this.v1EgressIP = v1EgressIP; - } - - @JsonProperty("V1EgressIPList") - public EgressIPList getV1EgressIPList() { - return v1EgressIPList; - } - - @JsonProperty("V1EgressIPList") - public void setV1EgressIPList(EgressIPList v1EgressIPList) { - this.v1EgressIPList = v1EgressIPList; - } - - @JsonProperty("V1EgressQoS") - public EgressQoS getV1EgressQoS() { - return v1EgressQoS; - } - - @JsonProperty("V1EgressQoS") - public void setV1EgressQoS(EgressQoS v1EgressQoS) { - this.v1EgressQoS = v1EgressQoS; - } - - @JsonProperty("V1EgressQoSList") - public EgressQoSList getV1EgressQoSList() { - return v1EgressQoSList; - } - - @JsonProperty("V1EgressQoSList") - public void setV1EgressQoSList(EgressQoSList v1EgressQoSList) { - this.v1EgressQoSList = v1EgressQoSList; - } - - @JsonProperty("V1EgressService") - public EgressService getV1EgressService() { - return v1EgressService; - } - - @JsonProperty("V1EgressService") - public void setV1EgressService(EgressService v1EgressService) { - this.v1EgressService = v1EgressService; - } - - @JsonProperty("V1EgressServiceList") - public EgressServiceList getV1EgressServiceList() { - return v1EgressServiceList; - } - - @JsonProperty("V1EgressServiceList") - public void setV1EgressServiceList(EgressServiceList v1EgressServiceList) { - this.v1EgressServiceList = v1EgressServiceList; - } - - @JsonIgnore - public ValidationSchemaBuilder edit() { - return new ValidationSchemaBuilder(this); - } - - @JsonIgnore - public ValidationSchemaBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - -} diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/manifest.vm b/kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/manifest.vm deleted file mode 100644 index cda0c6ed4c0..00000000000 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/manifest.vm +++ /dev/null @@ -1,18 +0,0 @@ -#* - * Copyright (C) 2015 Red Hat, Inc. - * - * 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. - *# -#foreach ($key in ${model.keySet()}) -$key -#end diff --git a/kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/schema/validation-schema.json b/kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/schema/validation-schema.json deleted file mode 100644 index 1967009d9db..00000000000 --- a/kubernetes-model-generator/kubernetes-model-ovn/src/main/resources/schema/validation-schema.json +++ /dev/null @@ -1,1715 +0,0 @@ -{ - "id": "http://fabric8.io/fabric8/v2/Schema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "$module": "ovn", - "definitions": { - "kubernetes_apimachinery_FieldsV1": { - "type": "object", - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.FieldsV1", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_LabelSelector": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelectorRequirement", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelectorRequirement" - } - }, - "matchLabels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_LabelSelectorRequirement": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelectorRequirement", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_ListMeta": { - "type": "object", - "properties": { - "continue": { - "type": "string" - }, - "remainingItemCount": { - "type": "integer", - "existingJavaType": "Long" - }, - "resourceVersion": { - "type": "string" - }, - "selfLink": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_ManagedFieldsEntry": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "fieldsType": { - "type": "string" - }, - "fieldsV1": { - "$ref": "#/definitions/kubernetes_apimachinery_FieldsV1", - "existingJavaType": "io.fabric8.kubernetes.api.model.FieldsV1" - }, - "manager": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "subresource": { - "type": "string" - }, - "time": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.ManagedFieldsEntry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_ObjectMeta": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - }, - "creationTimestamp": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "deletionGracePeriodSeconds": { - "type": "integer", - "existingJavaType": "Long" - }, - "deletionTimestamp": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "finalizers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "generateName": { - "type": "string" - }, - "generation": { - "type": "integer", - "existingJavaType": "Long" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - }, - "managedFields": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_ManagedFieldsEntry", - "existingJavaType": "io.fabric8.kubernetes.api.model.ManagedFieldsEntry" - } - }, - "name": { - "type": "string" - }, - "namespace": { - "type": "string", - "maxLength": 253, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - }, - "ownerReferences": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_OwnerReference", - "existingJavaType": "io.fabric8.kubernetes.api.model.OwnerReference" - } - }, - "resourceVersion": { - "type": "string" - }, - "selfLink": { - "type": "string" - }, - "uid": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_OwnerReference": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "blockOwnerDeletion": { - "type": "boolean" - }, - "controller": { - "type": "boolean" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "uid": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.OwnerReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_Time": { - "type": "object", - "properties": { - "Time": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "String", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_apimachinery_TypeMeta": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - } - }, - "additionalProperties": true, - "existingJavaType": "io.fabric8.kubernetes.api.model.TypeMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_AdminPolicyBasedExternalRoute": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "AdminPolicyBasedExternalRoute", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRouteSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedRouteStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedRouteStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "kubernetes_ovn_v1_AdminPolicyBasedExternalRouteList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRoute", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute" - } - }, - "kind": { - "type": "string", - "default": "AdminPolicyBasedExternalRouteList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute\u003e" - ] - }, - "kubernetes_ovn_v1_AdminPolicyBasedExternalRouteSpec": { - "type": "object", - "properties": { - "from": { - "$ref": "#/definitions/kubernetes_ovn_v1_ExternalNetworkSource", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNetworkSource" - }, - "nextHops": { - "$ref": "#/definitions/kubernetes_ovn_v1_ExternalNextHops", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNextHops" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_AdminPolicyBasedRouteStatus": { - "type": "object", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "messages": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "status": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedRouteStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_DynamicHop": { - "type": "object", - "properties": { - "bfdEnabled": { - "type": "boolean" - }, - "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "networkAttachmentName": { - "type": "string" - }, - "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.DynamicHop", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressFirewall": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "EgressFirewall", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "kubernetes_ovn_v1_EgressFirewallDestination": { - "type": "object", - "properties": { - "cidrSelector": { - "type": "string" - }, - "dnsName": { - "type": "string" - }, - "nodeSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallDestination", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressFirewallList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewall", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall" - } - }, - "kind": { - "type": "string", - "default": "EgressFirewallList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall\u003e" - ] - }, - "kubernetes_ovn_v1_EgressFirewallPort": { - "type": "object", - "properties": { - "port": { - "type": "integer" - }, - "protocol": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallPort", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressFirewallRule": { - "type": "object", - "properties": { - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallPort", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallPort" - } - }, - "to": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallDestination", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallDestination" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallRule", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressFirewallSpec": { - "type": "object", - "properties": { - "egress": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallRule" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressFirewallStatus": { - "type": "object", - "properties": { - "messages": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "status": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressIP": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "EgressIP", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIP", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "kubernetes_ovn_v1_EgressIPList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIP", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIP" - } - }, - "kind": { - "type": "string", - "default": "EgressIPList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.EgressIP\u003e" - ] - }, - "kubernetes_ovn_v1_EgressIPSpec": { - "type": "object", - "properties": { - "egressIPs": { - "type": "array", - "items": { - "type": "string" - } - }, - "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressIPStatus": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPStatusItem", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatusItem" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressIPStatusItem": { - "type": "object", - "properties": { - "egressIP": { - "type": "string" - }, - "node": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatusItem", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressQoS": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "EgressQoS", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "kubernetes_ovn_v1_EgressQoSList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoS", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS" - } - }, - "kind": { - "type": "string", - "default": "EgressQoSList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.EgressQoS\u003e" - ] - }, - "kubernetes_ovn_v1_EgressQoSRule": { - "type": "object", - "properties": { - "dscp": { - "type": "integer" - }, - "dstCIDR": { - "type": "string" - }, - "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSRule", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressQoSSpec": { - "type": "object", - "properties": { - "egress": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSRule" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressQoSStatus": { - "type": "object", - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressService": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "EgressService", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressServiceSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressServiceStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressService", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "kubernetes_ovn_v1_EgressServiceList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressService", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressService" - } - }, - "kind": { - "type": "string", - "default": "EgressServiceList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.kubernetes.api.model.ovn.v1.EgressService\u003e" - ] - }, - "kubernetes_ovn_v1_EgressServiceSpec": { - "type": "object", - "properties": { - "network": { - "type": "string" - }, - "nodeSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "sourceIPBy": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_EgressServiceStatus": { - "type": "object", - "properties": { - "host": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_ExternalNetworkSource": { - "type": "object", - "properties": { - "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNetworkSource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_ExternalNextHops": { - "type": "object", - "properties": { - "dynamic": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_DynamicHop", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.DynamicHop" - } - }, - "static": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_StaticHop", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.StaticHop" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNextHops", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "kubernetes_ovn_v1_StaticHop": { - "type": "object", - "properties": { - "bfdEnabled": { - "type": "boolean" - }, - "ip": { - "type": "string" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ovn.v1.StaticHop", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - } - }, - "type": "object", - "properties": { - "V1AdminPolicyBasedExternalRoute": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRoute", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute" - }, - "V1AdminPolicyBasedExternalRouteList": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRouteList", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteList" - }, - "V1EgressFirewall": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewall", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall" - }, - "V1EgressFirewallList": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallList", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallList" - }, - "V1EgressIP": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIP", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIP" - }, - "V1EgressIPList": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPList", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPList" - }, - "V1EgressQoS": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoS", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS" - }, - "V1EgressQoSList": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSList", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSList" - }, - "V1EgressService": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressService", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressService" - }, - "V1EgressServiceList": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressServiceList", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceList" - } - }, - "additionalProperties": true, - "resources": { - "adminpolicybasedexternalroute": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "AdminPolicyBasedExternalRoute", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRouteSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRouteSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedRouteStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedRouteStatus" - } - }, - "additionalProperties": true - }, - "adminpolicybasedexternalroutelist": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_AdminPolicyBasedExternalRoute", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.AdminPolicyBasedExternalRoute" - } - }, - "kind": { - "type": "string", - "default": "AdminPolicyBasedExternalRouteList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "adminpolicybasedexternalroutespec": { - "properties": { - "from": { - "$ref": "#/definitions/kubernetes_ovn_v1_ExternalNetworkSource", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNetworkSource" - }, - "nextHops": { - "$ref": "#/definitions/kubernetes_ovn_v1_ExternalNextHops", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.ExternalNextHops" - } - }, - "additionalProperties": true - }, - "adminpolicybasedroutestatus": { - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "messages": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "status": { - "type": "string" - } - }, - "additionalProperties": true - }, - "dynamichop": { - "properties": { - "bfdEnabled": { - "type": "boolean" - }, - "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "networkAttachmentName": { - "type": "string" - }, - "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true - }, - "egressfirewall": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "EgressFirewall", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallStatus" - } - }, - "additionalProperties": true - }, - "egressfirewalldestination": { - "properties": { - "cidrSelector": { - "type": "string" - }, - "dnsName": { - "type": "string" - }, - "nodeSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true - }, - "egressfirewalllist": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewall", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewall" - } - }, - "kind": { - "type": "string", - "default": "EgressFirewallList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "egressfirewallport": { - "properties": { - "port": { - "type": "integer" - }, - "protocol": { - "type": "string" - } - }, - "additionalProperties": true - }, - "egressfirewallrule": { - "properties": { - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallPort", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallPort" - } - }, - "to": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallDestination", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallDestination" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": true - }, - "egressfirewallspec": { - "properties": { - "egress": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressFirewallRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressFirewallRule" - } - } - }, - "additionalProperties": true - }, - "egressfirewallstatus": { - "properties": { - "messages": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "status": { - "type": "string" - } - }, - "additionalProperties": true - }, - "egressip": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "EgressIP", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatus" - } - }, - "additionalProperties": true - }, - "egressiplist": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIP", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIP" - } - }, - "kind": { - "type": "string", - "default": "EgressIPList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "egressipspec": { - "properties": { - "egressIPs": { - "type": "array", - "items": { - "type": "string" - } - }, - "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true - }, - "egressipstatus": { - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressIPStatusItem", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressIPStatusItem" - } - } - }, - "additionalProperties": true - }, - "egressipstatusitem": { - "properties": { - "egressIP": { - "type": "string" - }, - "node": { - "type": "string" - } - }, - "additionalProperties": true - }, - "egressqos": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "EgressQoS", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSStatus" - } - }, - "additionalProperties": true - }, - "egressqoslist": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoS", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoS" - } - }, - "kind": { - "type": "string", - "default": "EgressQoSList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "egressqosrule": { - "properties": { - "dscp": { - "type": "integer" - }, - "dstCIDR": { - "type": "string" - }, - "podSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true - }, - "egressqosspec": { - "properties": { - "egress": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressQoSRule", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressQoSRule" - } - } - }, - "additionalProperties": true - }, - "egressqosstatus": { - "additionalProperties": true - }, - "egressservice": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "EgressService", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ObjectMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressServiceSpec", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceSpec" - }, - "status": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressServiceStatus", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressServiceStatus" - } - }, - "additionalProperties": true - }, - "egressservicelist": { - "properties": { - "apiVersion": { - "type": "string", - "default": "k8s.ovn.org/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_EgressService", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.EgressService" - } - }, - "kind": { - "type": "string", - "default": "EgressServiceList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/kubernetes_apimachinery_ListMeta", - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "egressservicespec": { - "properties": { - "network": { - "type": "string" - }, - "nodeSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "sourceIPBy": { - "type": "string" - } - }, - "additionalProperties": true - }, - "egressservicestatus": { - "properties": { - "host": { - "type": "string" - } - }, - "additionalProperties": true - }, - "externalnetworksource": { - "properties": { - "namespaceSelector": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelector", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - } - }, - "additionalProperties": true - }, - "externalnexthops": { - "properties": { - "dynamic": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_DynamicHop", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.DynamicHop" - } - }, - "static": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_ovn_v1_StaticHop", - "existingJavaType": "io.fabric8.kubernetes.api.model.ovn.v1.StaticHop" - } - } - }, - "additionalProperties": true - }, - "fieldsv1": { - "additionalProperties": true - }, - "labelselector": { - "properties": { - "matchExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_LabelSelectorRequirement", - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelectorRequirement" - } - }, - "matchLabels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - } - }, - "additionalProperties": true - }, - "labelselectorrequirement": { - "properties": { - "key": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "additionalProperties": true - }, - "listmeta": { - "properties": { - "continue": { - "type": "string" - }, - "remainingItemCount": { - "type": "integer", - "existingJavaType": "Long" - }, - "resourceVersion": { - "type": "string" - }, - "selfLink": { - "type": "string" - } - }, - "additionalProperties": true - }, - "managedfieldsentry": { - "properties": { - "apiVersion": { - "type": "string" - }, - "fieldsType": { - "type": "string" - }, - "fieldsV1": { - "$ref": "#/definitions/kubernetes_apimachinery_FieldsV1", - "existingJavaType": "io.fabric8.kubernetes.api.model.FieldsV1" - }, - "manager": { - "type": "string" - }, - "operation": { - "type": "string" - }, - "subresource": { - "type": "string" - }, - "time": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - } - }, - "additionalProperties": true - }, - "objectmeta": { - "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - }, - "creationTimestamp": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "deletionGracePeriodSeconds": { - "type": "integer", - "existingJavaType": "Long" - }, - "deletionTimestamp": { - "$ref": "#/definitions/kubernetes_apimachinery_Time", - "existingJavaType": "String" - }, - "finalizers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "generateName": { - "type": "string" - }, - "generation": { - "type": "integer", - "existingJavaType": "Long" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "existingJavaType": "java.util.Map\u003cString, String\u003e" - }, - "managedFields": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_ManagedFieldsEntry", - "existingJavaType": "io.fabric8.kubernetes.api.model.ManagedFieldsEntry" - } - }, - "name": { - "type": "string" - }, - "namespace": { - "type": "string", - "maxLength": 253, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - }, - "ownerReferences": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/kubernetes_apimachinery_OwnerReference", - "existingJavaType": "io.fabric8.kubernetes.api.model.OwnerReference" - } - }, - "resourceVersion": { - "type": "string" - }, - "selfLink": { - "type": "string" - }, - "uid": { - "type": "string" - } - }, - "additionalProperties": true - }, - "ownerreference": { - "properties": { - "apiVersion": { - "type": "string" - }, - "blockOwnerDeletion": { - "type": "boolean" - }, - "controller": { - "type": "boolean" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "uid": { - "type": "string" - } - }, - "additionalProperties": true - }, - "statichop": { - "properties": { - "bfdEnabled": { - "type": "boolean" - }, - "ip": { - "type": "string" - } - }, - "additionalProperties": true - }, - "time": { - "properties": { - "Time": { - "type": "string" - } - }, - "additionalProperties": true - }, - "typemeta": { - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - } - }, - "additionalProperties": true - } - } -} diff --git a/kubernetes-model-generator/pkg/schemagen/generate.go b/kubernetes-model-generator/pkg/schemagen/generate.go index e22bccd7021..fe6f00455f7 100644 --- a/kubernetes-model-generator/pkg/schemagen/generate.go +++ b/kubernetes-model-generator/pkg/schemagen/generate.go @@ -630,8 +630,6 @@ func (g *schemaGenerator) isClusterScopedResource(t reflect.Type) bool { "k8s.io/api/flowcontrol/v1beta3/PriorityLevelConfiguration", "k8s.io/api/apiserverinternal/v1alpha1/StorageVersion", "k8s.io/api/resource/v1alpha2/ResourceClass", - "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/egressip/v1/EgressIP", - "github.com/ovn-org/ovn-kubernetes/go-controller/pkg/crd/adminpolicybasedroute/v1/AdminPolicyBasedExternalRoute", "github.com/openshift/api/authorization/v1/ClusterRole", "github.com/openshift/api/authorization/v1/ClusterRoleBinding", "github.com/openshift/api/authorization/v1/ResourceAccessReview", diff --git a/kubernetes-model-generator/pom.xml b/kubernetes-model-generator/pom.xml index a25bd654b5c..49275090195 100644 --- a/kubernetes-model-generator/pom.xml +++ b/kubernetes-model-generator/pom.xml @@ -51,7 +51,6 @@ kubernetes-model-networking kubernetes-model-node kubernetes-model-metrics - kubernetes-model-ovn kubernetes-model-policy kubernetes-model-resource kubernetes-model-scheduling diff --git a/pom.xml b/pom.xml index b412c6b0f47..e928c4262c5 100644 --- a/pom.xml +++ b/pom.xml @@ -621,6 +621,12 @@ ${project.version} + + io.fabric8 + open-virtual-networking-model-v1 + ${project.version} + + io.fabric8 certmanager-model-v1alpha2