From ed694c4a4db1de51aa9281c18293efaa390d6ea8 Mon Sep 17 00:00:00 2001 From: Marc Nuri Date: Tue, 29 Oct 2024 03:13:25 +0800 Subject: [PATCH] refactor: io.istio generated from OpenAPI schemas Signed-off-by: Marc Nuri --- Makefile | 2 + doc/MIGRATION-v7.md | 18 + extensions/istio/client/pom.xml | 25 +- .../v1beta1/AuthorizationPolicyExample.java | 16 +- .../v1beta1/DestinationRuleExample.java | 6 +- .../api/examples/v1beta1/GatewayExample.java | 8 +- .../v1beta1/PeerAuthenticationExample.java | 6 +- .../examples/v1beta1/ServiceEntryExample.java | 6 +- .../api/examples/v1beta1/SidecarExample.java | 2 +- extensions/istio/generateModel.sh | 25 - .../istio/generator-v1alpha3/.gitignore | 1 - extensions/istio/generator-v1alpha3/Makefile | 28 - .../cmd/generate/generate.go | 172 - extensions/istio/generator-v1alpha3/go.mod | 39 - extensions/istio/generator-v1alpha3/go.sum | 109 - extensions/istio/generator-v1beta1/.gitignore | 1 - extensions/istio/generator-v1beta1/Makefile | 28 - .../cmd/generate/generate.go | 163 - extensions/istio/generator-v1beta1/go.mod | 41 - extensions/istio/generator-v1beta1/go.sum | 109 - extensions/istio/model-v1alpha3/pom.xml | 156 - .../v1alpha1/AnalysisMessageBaseLevel.java | 53 - .../internal/protobuf/types/IsValueKind.java | 31 - .../internal/protobuf/types/ListValue.java | 120 - .../internal/protobuf/types/NullValue.java | 50 - .../api/internal/protobuf/types/Struct.java | 118 - .../api/internal/protobuf/types/Value.java | 119 - .../protobuf/types/ValueBoolValue.java | 115 - .../protobuf/types/ValueListValue.java | 115 - .../protobuf/types/ValueNullValue.java | 115 - .../protobuf/types/ValueNumberValue.java | 115 - .../protobuf/types/ValueStringValue.java | 115 - .../protobuf/types/ValueStructValue.java | 115 - .../networking/v1alpha1/EnvValueSource.java | 51 - .../api/networking/v1alpha1/FailStrategy.java | 51 - .../api/networking/v1alpha1/PluginPhase.java | 53 - .../api/networking/v1alpha1/PluginType.java | 52 - .../api/networking/v1alpha1/PullPolicy.java | 52 - .../api/networking/v1alpha3/CaptureMode.java | 52 - .../v1alpha3/ClientTLSSettingsTLSmode.java | 53 - ...olSettingsHTTPSettingsH2UpgradePolicy.java | 52 - .../ConnectionPoolSettingsTCPSettings.java | 172 - ...onPoolSettingsTCPSettingsTcpKeepalive.java | 144 - .../v1alpha3/DestinationRuleSpec.java | 179 - .../v1alpha3/EnvoyFilterApplyTo.java | 61 - .../v1alpha3/EnvoyFilterPatchContext.java | 53 - .../v1alpha3/EnvoyFilterPatchFilterClass.java | 53 - .../v1alpha3/EnvoyFilterPatchOperation.java | 57 - ...uteConfigurationMatchRouteMatchAction.java | 53 - .../api/networking/v1alpha3/GatewaySpec.java | 136 - .../networking/v1alpha3/HTTPBodyBytes.java | 115 - .../v1alpha3/HTTPFaultInjection.java | 130 - .../HTTPFaultInjectionAbortGrpcStatus.java | 115 - .../HTTPFaultInjectionAbortHttp2Error.java | 115 - .../HTTPFaultInjectionDelayFixedDelay.java | 115 - .../networking/v1alpha3/HTTPMatchRequest.java | 310 - .../api/networking/v1alpha3/HTTPRedirect.java | 175 - .../HTTPRedirectRedirectPortSelection.java | 51 - .../api/networking/v1alpha3/HTTPRetry.java | 158 - .../api/networking/v1alpha3/HTTPRoute.java | 334 - .../v1alpha3/HTTPRouteDestination.java | 144 - .../v1alpha3/HeadersHeaderOperations.java | 152 - .../IsHTTPFaultInjectionAbortErrorType.java | 25 - ...sHTTPFaultInjectionDelayHttpDelayType.java | 23 - .../v1alpha3/IsHTTPRedirectRedirectPort.java | 23 - ...SettingsConsistentHashLBHashAlgorithm.java | 23 - ...lancerSettingsConsistentHashLBHashKey.java | 27 - .../IsLoadBalancerSettingsLbPolicy.java | 23 - .../IsReadinessProbeHealthCheckMethod.java | 25 - .../v1alpha3/IsStringMatchMatchType.java | 25 - .../v1alpha3/IstioIngressListener.java | 186 - .../v1alpha3/L4MatchAttributes.java | 194 - .../LoadBalancerSettingsConsistentHash.java | 115 - .../LoadBalancerSettingsConsistentHashLB.java | 149 - ...ttingsConsistentHashLBHttpCookieValue.java | 144 - ...erSettingsConsistentHashLBMagLevValue.java | 116 - ...SettingsConsistentHashLBRingHashValue.java | 116 - .../LoadBalancerSettingsSimpleLB.java | 55 - ...LocalityLoadBalancerSettingDistribute.java | 132 - .../LocalityLoadBalancerSettingFailover.java | 130 - .../v1alpha3/OutboundTrafficPolicyMode.java | 51 - .../istio/api/networking/v1alpha3/Port.java | 158 - .../api/networking/v1alpha3/PortSelector.java | 116 - .../v1alpha3/ReadinessProbeExec.java | 115 - .../v1alpha3/ReadinessProbeHttpGet.java | 115 - .../v1alpha3/ReadinessProbeTcpSocket.java | 115 - .../api/networking/v1alpha3/RegexRewrite.java | 130 - .../istio/api/networking/v1alpha3/Server.java | 190 - .../v1alpha3/ServerTLSSettings.java | 280 - .../ServerTLSSettingsTLSProtocol.java | 54 - .../v1alpha3/ServerTLSSettingsTLSmode.java | 55 - .../v1alpha3/ServiceEntryLocation.java | 51 - .../v1alpha3/ServiceEntryResolution.java | 53 - .../api/networking/v1alpha3/ServicePort.java | 158 - .../api/networking/v1alpha3/SidecarPort.java | 158 - .../networking/v1alpha3/StringMatchExact.java | 115 - .../v1alpha3/StringMatchPrefix.java | 115 - .../networking/v1alpha3/StringMatchRegex.java | 115 - .../istio/api/networking/v1alpha3/Subset.java | 146 - .../v1alpha3/TCPHealthCheckConfig.java | 130 - .../v1alpha3/TLSMatchAttributes.java | 196 - .../networking/v1alpha3/TrafficPolicy.java | 204 - .../v1alpha3/TrafficPolicyProxyProtocol.java | 116 - .../TrafficPolicyProxyProtocolVERSION.java | 51 - .../v1alpha3/TrafficPolicyTunnelSettings.java | 144 - .../v1alpha3/WorkloadGroupObjectMeta.java | 134 - .../networking/v1alpha3/WorkloadSelector.java | 118 - .../v1beta1/PolicyTargetReference.java | 158 - .../networking/v1beta1/WorkloadSelector.java | 118 - .../v1alpha1/MetricSelectorIstioMetric.java | 60 - .../MetricsOverridesTagOverrideOperation.java | 51 - .../api/telemetry/v1alpha1/WorkloadMode.java | 52 - .../istio/api/type/v1beta1/WorkloadMode.java | 53 - .../api/networking/v1alpha3/CorsPolicy.java | 198 - .../main/resources/schema/istio-schema.json | 5195 ----------- extensions/istio/model-v1beta1/pom.xml | 153 - .../api/networking/v1beta1/CaptureMode.java | 52 - .../networking/v1beta1/ClientTLSSettings.java | 218 - .../v1beta1/ClientTLSSettingsTLSmode.java | 53 - .../v1beta1/ConnectionPoolSettings.java | 130 - .../ConnectionPoolSettingsHTTPSettings.java | 214 - ...olSettingsHTTPSettingsH2UpgradePolicy.java | 52 - .../api/networking/v1beta1/Destination.java | 144 - .../api/networking/v1beta1/HTTPBody.java | 119 - .../networking/v1beta1/HTTPBodyString.java | 115 - .../v1beta1/HTTPFaultInjectionAbort.java | 133 - .../HTTPFaultInjectionAbortHttpStatus.java | 115 - .../v1beta1/HTTPFaultInjectionDelay.java | 147 - ...TPFaultInjectionDelayExponentialDelay.java | 115 - .../networking/v1beta1/HTTPMirrorPolicy.java | 130 - .../v1beta1/HTTPRedirectDerivePort.java | 115 - .../networking/v1beta1/HTTPRedirectPort.java | 115 - .../HTTPRedirectRedirectPortSelection.java | 51 - .../api/networking/v1beta1/HTTPRewrite.java | 144 - .../istio/api/networking/v1beta1/Headers.java | 130 - .../v1beta1/LoadBalancerSettings.java | 147 - ...cerSettingsConsistentHashLBHttpCookie.java | 115 - ...ettingsConsistentHashLBHttpHeaderName.java | 115 - ...onsistentHashLBHttpQueryParameterName.java | 115 - ...alancerSettingsConsistentHashLBMaglev.java | 115 - ...ancerSettingsConsistentHashLBRingHash.java | 115 - ...SettingsConsistentHashLBRingHashValue.java | 116 - ...erSettingsConsistentHashLBUseSourceIp.java | 115 - .../v1beta1/LoadBalancerSettingsSimple.java | 115 - .../v1beta1/LoadBalancerSettingsSimpleLB.java | 55 - .../v1beta1/OutboundTrafficPolicy.java | 130 - .../v1beta1/OutboundTrafficPolicyMode.java | 51 - .../networking/v1beta1/OutlierDetection.java | 228 - .../networking/v1beta1/ReadinessProbe.java | 189 - .../networking/v1beta1/RouteDestination.java | 130 - .../v1beta1/ServerTLSSettingsTLSProtocol.java | 54 - .../v1beta1/ServerTLSSettingsTLSmode.java | 55 - .../v1beta1/ServiceEntryLocation.java | 51 - .../v1beta1/ServiceEntryResolution.java | 53 - .../networking/v1beta1/ServiceEntrySpec.java | 242 - .../api/networking/v1beta1/SidecarSpec.java | 178 - .../api/networking/v1beta1/StringMatch.java | 119 - .../api/networking/v1beta1/TCPRoute.java | 136 - .../api/networking/v1beta1/TLSRoute.java | 136 - .../TrafficPolicyPortTrafficPolicy.java | 172 - .../TrafficPolicyProxyProtocolVERSION.java | 51 - .../v1beta1/VirtualServiceSpec.java | 200 - .../networking/v1beta1/WorkloadEntrySpec.java | 204 - .../v1beta1/AuthorizationPolicyAction.java | 53 - .../IsAuthorizationPolicyActionDetail.java | 20 - .../PeerAuthenticationMutualTLSMode.java | 53 - .../CorsPolicy.java | 198 - .../main/resources/schema/istio-schema.json | 4118 --------- extensions/istio/model/pom.xml | 143 + .../v1alpha1/AnalysisMessageBase.java | 2 +- .../v1alpha1/AnalysisMessageBaseLevel.java | 39 + .../v1alpha1/AnalysisMessageBaseType.java | 2 +- .../v1alpha1/AnalysisMessageWeakSchema.java} | 108 +- .../AnalysisMessageWeakSchemaArgType.java} | 44 +- .../v1alpha1/GenericAnalysisMessage.java} | 90 +- .../InternalErrorAnalysisMessage.java} | 54 +- .../extensions/v1alpha1/EnvValueSource.java | 37 + .../api/api/extensions}/v1alpha1/EnvVar.java | 2 +- .../api/extensions/v1alpha1/FailStrategy.java | 37 + .../api/extensions/v1alpha1/PluginPhase.java | 39 + .../api/extensions/v1alpha1/PluginType.java | 38 + .../api/extensions/v1alpha1/PullPolicy.java | 38 + .../api/extensions}/v1alpha1/VmConfig.java | 13 +- .../api/extensions/v1alpha1/WasmPlugin.java} | 98 +- .../v1alpha1/WasmPluginTrafficSelector.java | 13 +- .../api/meta/v1alpha1/IstioCondition.java | 2 +- .../api}/api/meta/v1alpha1/IstioStatus.java | 4 +- .../api/networking/v1alpha3/CaptureMode.java | 38 + .../v1alpha3/ClientTLSSettings.java | 18 +- .../v1alpha3/ClientTLSSettingsTLSmode.java | 39 + .../v1alpha3/ConnectionPoolSettings.java | 2 +- .../ConnectionPoolSettingsHTTPSettings.java | 2 +- ...olSettingsHTTPSettingsH2UpgradePolicy.java | 38 + .../ConnectionPoolSettingsTCPSettings.java | 2 +- ...onPoolSettingsTCPSettingsTcpKeepalive.java | 10 +- .../api/networking/v1alpha3/CorsPolicy.java | 226 + .../CorsPolicyUnmatchedPreflights.java | 38 + .../api/networking/v1alpha3/Delegate.java | 2 +- .../api/networking/v1alpha3/Destination.java | 2 +- .../networking/v1alpha3/DestinationRule.java} | 26 +- .../api/networking/v1alpha3/EnvoyFilter.java} | 41 +- .../v1alpha3/EnvoyFilterApplyTo.java | 47 + .../v1alpha3/EnvoyFilterClusterMatch.java | 10 +- .../EnvoyFilterEnvoyConfigObjectMatch.java | 2 +- ...oyFilterEnvoyConfigObjectMatchCluster.java | 5 +- ...yFilterEnvoyConfigObjectMatchListener.java | 5 +- ...oyConfigObjectMatchRouteConfiguration.java | 5 +- .../EnvoyFilterEnvoyConfigObjectPatch.java | 2 +- .../v1alpha3/EnvoyFilterListenerMatch.java | 10 +- ...oyFilterListenerMatchFilterChainMatch.java | 10 +- .../EnvoyFilterListenerMatchFilterMatch.java | 2 +- ...nvoyFilterListenerMatchSubFilterMatch.java | 2 +- .../networking/v1alpha3/EnvoyFilterPatch.java | 22 +- .../v1alpha3/EnvoyFilterPatchContext.java | 39 + .../v1alpha3/EnvoyFilterPatchFilterClass.java | 39 + .../v1alpha3/EnvoyFilterPatchOperation.java | 43 + .../v1alpha3/EnvoyFilterProxyMatch.java | 18 +- .../EnvoyFilterRouteConfigurationMatch.java | 10 +- ...lterRouteConfigurationMatchRouteMatch.java | 2 +- ...uteConfigurationMatchRouteMatchAction.java | 39 + ...uteConfigurationMatchVirtualHostMatch.java | 2 +- .../v1alpha3}/ExecHealthCheckConfig.java | 2 +- .../api/api/networking/v1alpha3/Gateway.java} | 32 +- .../api/networking/v1alpha3/HTTPBody.java | 2 +- .../networking/v1alpha3}/HTTPBodyBytes.java | 5 +- .../networking/v1alpha3/HTTPBodyString.java | 5 +- .../v1alpha3}/HTTPDirectResponse.java | 10 +- .../v1alpha3}/HTTPFaultInjection.java | 2 +- .../v1alpha3/HTTPFaultInjectionAbort.java | 2 +- .../HTTPFaultInjectionAbortGrpcStatus.java | 5 +- .../HTTPFaultInjectionAbortHttp2Error.java | 5 +- .../HTTPFaultInjectionAbortHttpStatus.java | 5 +- .../v1alpha3/HTTPFaultInjectionDelay.java | 2 +- ...TPFaultInjectionDelayExponentialDelay.java | 5 +- .../HTTPFaultInjectionDelayFixedDelay.java | 5 +- .../api/networking/v1alpha3}/HTTPHeader.java | 2 +- .../v1alpha3}/HTTPHealthCheckConfig.java | 10 +- .../v1alpha3}/HTTPMatchRequest.java | 84 +- .../networking/v1alpha3/HTTPMirrorPolicy.java | 2 +- .../networking/v1alpha3}/HTTPRedirect.java | 10 +- .../v1alpha3/HTTPRedirectDerivePort.java | 5 +- .../networking/v1alpha3/HTTPRedirectPort.java | 13 +- .../HTTPRedirectRedirectPortSelection.java | 37 + .../api/networking/v1alpha3}/HTTPRetry.java | 2 +- .../api/networking/v1alpha3/HTTPRewrite.java | 2 +- .../api/networking/v1alpha3}/HTTPRoute.java | 2 +- .../v1alpha3}/HTTPRouteDestination.java | 2 +- .../api}/api/networking/v1alpha3/Headers.java | 2 +- .../v1alpha3}/HeadersHeaderOperations.java | 18 +- ...lterEnvoyConfigObjectMatchObjectTypes.java | 14 +- .../v1alpha3}/IsHTTPBodySpecifier.java | 13 +- .../IsHTTPFaultInjectionAbortErrorType.java | 16 +- ...sHTTPFaultInjectionDelayHttpDelayType.java | 13 +- .../v1alpha3}/IsHTTPRedirectRedirectPort.java | 13 +- ...SettingsConsistentHashLBHashAlgorithm.java | 13 +- ...lancerSettingsConsistentHashLBHashKey.java | 17 +- .../IsLoadBalancerSettingsLbPolicy.java | 13 +- .../IsReadinessProbeHealthCheckMethod.java | 14 +- .../v1alpha3}/IsStringMatchMatchType.java | 14 +- .../v1alpha3}/IstioEgressListener.java | 2 +- .../v1alpha3}/IstioIngressListener.java | 2 +- .../v1alpha3}/L4MatchAttributes.java | 42 +- .../v1alpha3/LoadBalancerSettings.java | 2 +- .../LoadBalancerSettingsConsistentHash.java | 5 +- .../LoadBalancerSettingsConsistentHashLB.java | 10 +- ...rSettingsConsistentHashLBHTTPCookie_.java} | 14 +- ...cerSettingsConsistentHashLBHttpCookie.java | 13 +- ...ettingsConsistentHashLBHttpHeaderName.java | 5 +- ...onsistentHashLBHttpQueryParameterName.java | 5 +- ...ancerSettingsConsistentHashLBMagLev_.java} | 20 +- ...alancerSettingsConsistentHashLBMaglev.java | 13 +- ...ancerSettingsConsistentHashLBRingHash.java | 13 +- ...erSettingsConsistentHashLBUseSourceIp.java | 5 +- .../v1alpha3/LoadBalancerSettingsSimple.java | 5 +- .../LoadBalancerSettingsSimpleLB.java | 41 + .../LocalityLoadBalancerSetting.java | 2 +- ...LocalityLoadBalancerSettingDistribute.java | 18 +- .../LocalityLoadBalancerSettingFailover.java | 2 +- .../v1alpha3/OutboundTrafficPolicy.java | 2 +- .../v1alpha3/OutboundTrafficPolicyMode.java | 37 + .../networking/v1alpha3/OutlierDetection.java | 2 +- .../api/api/networking/v1alpha3}/Percent.java | 2 +- .../api/api/networking/v1alpha3}/Port.java | 16 +- .../networking/v1alpha3}/PortSelector.java | 10 +- .../networking/v1alpha3/ReadinessProbe.java | 2 +- .../v1alpha3}/ReadinessProbeExec.java | 5 +- .../v1alpha3}/ReadinessProbeHttpGet.java | 5 +- .../v1alpha3}/ReadinessProbeTcpSocket.java | 5 +- .../networking/v1alpha3}/RegexRewrite.java | 2 +- .../networking/v1alpha3/RouteDestination.java | 2 +- .../api/api/networking/v1alpha3}/Server.java | 2 +- .../v1alpha3}/ServerTLSSettings.java | 18 +- .../ServerTLSSettingsTLSProtocol.java | 40 + .../v1alpha3/ServerTLSSettingsTLSmode.java | 41 + .../networking/v1alpha3/ServiceEntry.java} | 30 +- .../v1alpha3/ServiceEntryAddress.java} | 34 +- .../v1alpha3/ServiceEntryLocation.java | 37 + .../v1alpha3/ServiceEntryResolution.java | 39 + .../v1alpha3/ServiceEntryStatus.java} | 98 +- .../api/networking/v1alpha3}/ServicePort.java | 16 +- .../api/api/networking/v1alpha3/Sidecar.java} | 24 +- .../api/networking/v1alpha3}/SidecarPort.java | 16 +- .../api/networking/v1alpha3/StringMatch.java | 2 +- .../v1alpha3}/StringMatchExact.java | 5 +- .../v1alpha3}/StringMatchPrefix.java | 5 +- .../v1alpha3}/StringMatchRegex.java | 5 +- .../api/api/networking/v1alpha3}/Subset.java | 18 +- .../v1alpha3}/TCPHealthCheckConfig.java | 10 +- .../api/networking/v1alpha3/TCPRoute.java | 2 +- .../v1alpha3}/TLSMatchAttributes.java | 42 +- .../api/networking/v1alpha3/TLSRoute.java | 2 +- .../networking/v1alpha3}/TrafficPolicy.java | 2 +- .../TrafficPolicyPortTrafficPolicy.java | 2 +- .../v1alpha3}/TrafficPolicyProxyProtocol.java | 2 +- .../TrafficPolicyProxyProtocolVERSION.java | 37 + .../TrafficPolicyTunnelSettings.java | 10 +- .../networking/v1alpha3/VirtualService.java} | 24 +- .../networking/v1alpha3/WorkloadEntry.java} | 62 +- .../networking/v1alpha3/WorkloadGroup.java} | 30 +- .../v1alpha3}/WorkloadGroupObjectMeta.java | 10 +- .../v1alpha3}/WorkloadSelector.java | 10 +- .../api/networking/v1beta1/ProxyConfig.java} | 34 +- .../api/networking/v1beta1/ProxyImage.java | 2 +- .../v1alpha1/IstioCertificateRequest.java} | 70 +- .../v1alpha1/IstioCertificateResponse.java} | 34 +- ...ementedIstioCertificateServiceServer.java} | 37 +- .../v1beta1/AuthorizationPolicy.java} | 46 +- .../v1beta1/AuthorizationPolicyAction.java | 39 + .../AuthorizationPolicyExtensionProvider.java | 2 +- .../v1beta1/AuthorizationPolicyProvider.java | 5 +- .../api/security/v1beta1/ClaimToHeader.java | 2 +- .../api}/api/security/v1beta1/Condition.java | 2 +- .../IsAuthorizationPolicyActionDetail.java} | 14 +- .../api}/api/security/v1beta1/JWTHeader.java | 2 +- .../api}/api/security/v1beta1/JWTRule.java | 20 +- .../api}/api/security/v1beta1/Operation.java | 2 +- .../security/v1beta1/PeerAuthentication.java} | 38 +- .../v1beta1/PeerAuthenticationMutualTLS.java | 2 +- .../PeerAuthenticationMutualTLSMode.java | 39 + .../v1beta1/RequestAuthentication.java} | 46 +- .../istio/api}/api/security/v1beta1/Rule.java | 2 +- .../api}/api/security/v1beta1/RuleFrom.java | 2 +- .../api}/api/security/v1beta1/RuleTo.java | 2 +- .../api}/api/security/v1beta1/Source.java | 2 +- .../api/telemetry/v1alpha1/AccessLogging.java | 2 +- .../v1alpha1/AccessLoggingFilter.java | 2 +- .../v1alpha1/AccessLoggingLogSelector.java | 2 +- .../v1alpha1/IsMetricSelectorMetricMatch.java | 13 +- .../v1alpha1/IsTracingCustomTagType.java | 16 +- .../telemetry/v1alpha1/MetricSelector.java | 2 +- .../v1alpha1/MetricSelectorCustomMetric.java | 5 +- .../v1alpha1/MetricSelectorIstioMetric.java | 46 + .../v1alpha1/MetricSelectorMetric.java | 5 +- .../api}/api/telemetry/v1alpha1/Metrics.java | 2 +- .../telemetry/v1alpha1/MetricsOverrides.java | 10 +- .../v1alpha1/MetricsOverridesTagOverride.java | 2 +- .../MetricsOverridesTagOverrideOperation.java | 37 + .../api/telemetry/v1alpha1/ProviderRef.java | 2 +- .../api/telemetry/v1alpha1/Telemetry.java} | 47 +- .../api}/api/telemetry/v1alpha1/Tracing.java | 10 +- .../telemetry/v1alpha1/TracingCustomTag.java | 2 +- .../v1alpha1/TracingCustomTagEnvironment.java | 5 +- .../v1alpha1/TracingCustomTagHeader.java | 5 +- .../v1alpha1/TracingCustomTagLiteral.java | 5 +- .../v1alpha1/TracingEnvironment.java | 2 +- .../telemetry/v1alpha1/TracingLiteral.java | 2 +- .../v1alpha1/TracingRequestHeader.java | 2 +- .../v1alpha1/TracingTracingSelector.java | 2 +- .../api/telemetry/v1alpha1/WorkloadMode.java | 38 + .../type/v1beta1/PolicyTargetReference.java | 2 +- .../api/api/type}/v1beta1/PortSelector.java | 10 +- .../api/type/v1beta1/WorkloadSelector.java | 10 +- .../api/extensions/v1alpha1/WasmPlugin.java | 19 +- .../extensions/v1alpha1/WasmPluginList.java | 0 .../api/networking/v1/DestinationRule.java | 213 + .../networking/v1/DestinationRuleList.java | 203 + .../istio/api/networking/v1/Gateway.java | 213 + .../istio/api/networking/v1/GatewayList.java | 203 + .../istio/api/networking/v1/ServiceEntry.java | 213 + .../api/networking/v1/ServiceEntryList.java | 203 + .../istio/api/networking/v1/Sidecar.java | 213 + .../istio/api/networking/v1/SidecarList.java | 203 + .../api/networking/v1/VirtualService.java | 213 + .../api/networking/v1/VirtualServiceList.java | 203 + .../api/networking/v1/WorkloadEntry.java | 213 + .../api/networking/v1/WorkloadEntryList.java | 203 + .../api/networking/v1/WorkloadGroup.java | 213 + .../api/networking/v1/WorkloadGroupList.java | 203 + .../networking/v1alpha3/DestinationRule.java | 19 +- .../v1alpha3/DestinationRuleList.java | 0 .../api/networking/v1alpha3/EnvoyFilter.java | 19 +- .../networking/v1alpha3/EnvoyFilterList.java | 0 .../api/networking/v1alpha3/Gateway.java | 19 +- .../api/networking/v1alpha3/GatewayList.java | 0 .../api/networking/v1alpha3/ServiceEntry.java | 25 +- .../networking/v1alpha3/ServiceEntryList.java | 0 .../api/networking/v1alpha3/Sidecar.java | 19 +- .../api/networking/v1alpha3/SidecarList.java | 0 .../networking/v1alpha3/VirtualService.java | 19 +- .../v1alpha3/VirtualServiceList.java | 0 .../networking/v1alpha3/WorkloadEntry.java | 19 +- .../v1alpha3/WorkloadEntryList.java | 0 .../networking/v1alpha3/WorkloadGroup.java | 19 +- .../v1alpha3/WorkloadGroupList.java | 0 .../networking/v1beta1/DestinationRule.java | 19 +- .../v1beta1/DestinationRuleList.java | 0 .../istio/api/networking/v1beta1/Gateway.java | 19 +- .../api/networking/v1beta1/GatewayList.java | 0 .../api/networking/v1beta1/ProxyConfig.java | 19 +- .../networking/v1beta1/ProxyConfigList.java | 0 .../api/networking/v1beta1/ServiceEntry.java | 25 +- .../networking/v1beta1/ServiceEntryList.java | 0 .../istio/api/networking/v1beta1/Sidecar.java | 19 +- .../api/networking/v1beta1/SidecarList.java | 0 .../networking/v1beta1/VirtualService.java | 19 +- .../v1beta1/VirtualServiceList.java | 0 .../api/networking/v1beta1/WorkloadEntry.java | 19 +- .../networking/v1beta1/WorkloadEntryList.java | 0 .../api/networking/v1beta1/WorkloadGroup.java | 19 +- .../networking/v1beta1/WorkloadGroupList.java | 0 .../api/security/v1/AuthorizationPolicy.java | 213 + .../security/v1/AuthorizationPolicyList.java | 203 + .../api/security/v1/PeerAuthentication.java | 213 + .../security/v1/PeerAuthenticationList.java | 203 + .../security/v1/RequestAuthentication.java | 213 + .../v1/RequestAuthenticationList.java | 203 + .../security/v1beta1/AuthorizationPolicy.java | 19 +- .../v1beta1/AuthorizationPolicyList.java | 0 .../security/v1beta1/PeerAuthentication.java | 19 +- .../v1beta1/PeerAuthenticationList.java | 0 .../v1beta1/RequestAuthentication.java | 19 +- .../v1beta1/RequestAuthenticationList.java | 0 .../istio/api/telemetry/v1/Telemetry.java | 213 + .../istio/api/telemetry/v1/TelemetryList.java | 203 + .../api/telemetry/v1alpha1/Telemetry.java | 20 +- .../api/telemetry/v1alpha1/TelemetryList.java | 0 .../extensons/v1alpha1/WasmPluginTest.java | 20 +- .../networking/v1beta1/ProxyConfigTest.java | 0 .../api/telemetry/v1alpha1/TelemetryTest.java | 2 + .../src/test/resources/proxyconfig-valid.json | 0 .../test/resources/telemetry-v1alpha1.json | 0 .../test/resources/wasmplugin-v1alpha1.json | 0 extensions/istio/pom.xml | 7 +- extensions/istio/tests/pom.xml | 11 +- .../test/v1alpha3/DestinationRuleTest.java | 12 +- .../istio/test/v1alpha3/EnvoyFilterTest.java | 40 +- .../test/v1alpha3/VirtualServiceTest.java | 7 +- .../test/v1beta1/AuthorizationPolicyTest.java | 16 +- .../istio/test/v1beta1/CorsPolicyTest.java | 12 +- .../test/v1beta1/DestinationRuleTest.java | 18 +- .../istio/test/v1beta1/GatewayTest.java | 18 +- .../test/v1beta1/PeerAuthenticationTest.java | 6 +- .../istio/test/v1beta1/ServiceEntryTest.java | 6 +- .../istio/test/v1beta1/SidecarTest.java | 2 +- .../test/v1beta1/VirtualServiceTest.java | 30 +- kubernetes-model-generator/generateModel.sh | 3 - .../openapi/generator/cmd/openapi.go | 3 +- .../pkg/openapi/openapi-gen-processors.go | 6 +- .../schema/generator/GeneratorSettings.java | 13 + .../generator/model/ClassInformation.java | 6 +- .../schema/generator/model/JsonSubTypes.java | 4 +- .../generator/model/ModelGenerator.java | 11 +- .../schema/generator/schema/SchemaUtils.java | 20 +- .../schema/generator/SchemaUtilsTest.java | 2 +- .../openapi/schemas/io.istio.json | 7578 +++++++++++++++++ kubernetes-model-generator/pom.xml | 2 + pom.xml | 7 +- 467 files changed, 15310 insertions(+), 27843 deletions(-) delete mode 100755 extensions/istio/generateModel.sh delete mode 100644 extensions/istio/generator-v1alpha3/.gitignore delete mode 100755 extensions/istio/generator-v1alpha3/Makefile delete mode 100644 extensions/istio/generator-v1alpha3/cmd/generate/generate.go delete mode 100644 extensions/istio/generator-v1alpha3/go.mod delete mode 100644 extensions/istio/generator-v1alpha3/go.sum delete mode 100644 extensions/istio/generator-v1beta1/.gitignore delete mode 100755 extensions/istio/generator-v1beta1/Makefile delete mode 100644 extensions/istio/generator-v1beta1/cmd/generate/generate.go delete mode 100644 extensions/istio/generator-v1beta1/go.mod delete mode 100644 extensions/istio/generator-v1beta1/go.sum delete mode 100644 extensions/istio/model-v1alpha3/pom.xml delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseLevel.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/IsValueKind.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ListValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/NullValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Struct.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Value.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueBoolValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueListValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNullValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNumberValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStringValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStructValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/EnvValueSource.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/FailStrategy.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PluginPhase.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PluginType.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PullPolicy.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/CaptureMode.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettingsTLSmode.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleSpec.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterApplyTo.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchContext.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchFilterClass.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchOperation.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatchAction.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewaySpec.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBodyBytes.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjection.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMatchRequest.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirect.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectRedirectPortSelection.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRetry.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRoute.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRouteDestination.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HeadersHeaderOperations.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPFaultInjectionAbortErrorType.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPFaultInjectionDelayHttpDelayType.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPRedirectRedirectPort.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashKey.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsLbPolicy.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsReadinessProbeHealthCheckMethod.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsStringMatchMatchType.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioIngressListener.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/L4MatchAttributes.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMagLevValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHashValue.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimpleLB.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicyMode.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Port.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/PortSelector.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeExec.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeHttpGet.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeTcpSocket.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RegexRewrite.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Server.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettings.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettingsTLSProtocol.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettingsTLSmode.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryLocation.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryResolution.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServicePort.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarPort.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchExact.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchPrefix.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchRegex.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Subset.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPHealthCheckConfig.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSMatchAttributes.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicy.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyProxyProtocol.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyProxyProtocolVERSION.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyTunnelSettings.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupObjectMeta.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadSelector.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PolicyTargetReference.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorIstioMetric.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverridesTagOverrideOperation.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/WorkloadMode.java delete mode 100644 extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadMode.java delete mode 100644 extensions/istio/model-v1alpha3/src/main/java/io/fabric8/istio/api/networking/v1alpha3/CorsPolicy.java delete mode 100644 extensions/istio/model-v1alpha3/src/main/resources/schema/istio-schema.json delete mode 100644 extensions/istio/model-v1beta1/pom.xml delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/CaptureMode.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettings.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettingsTLSmode.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettings.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettings.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Destination.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBody.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBodyString.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbort.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttpStatus.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelay.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayExponentialDelay.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMirrorPolicy.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectDerivePort.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectPort.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectRedirectPortSelection.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRewrite.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Headers.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettings.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookie.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBMaglev.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBRingHash.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBRingHashValue.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBUseSourceIp.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimple.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimpleLB.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicy.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicyMode.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutlierDetection.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbe.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RouteDestination.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettingsTLSProtocol.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettingsTLSmode.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryLocation.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryResolution.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntrySpec.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarSpec.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatch.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPRoute.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSRoute.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyPortTrafficPolicy.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyProxyProtocolVERSION.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceSpec.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntrySpec.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyAction.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/IsAuthorizationPolicyActionDetail.java delete mode 100644 extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLSMode.java delete mode 100644 extensions/istio/model-v1beta1/src/main/java/io.fabric8.istio.api.networking.v1beta1/CorsPolicy.java delete mode 100644 extensions/istio/model-v1beta1/src/main/resources/schema/istio-schema.json create mode 100644 extensions/istio/model/pom.xml rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/analysis/v1alpha1/AnalysisMessageBase.java (98%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBaseLevel.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/analysis/v1alpha1/AnalysisMessageBaseType.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHealthCheckConfig.java => model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageWeakSchema.java} (63%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Delegate.java => model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageWeakSchemaArgType.java} (81%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioEgressListener.java => model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/GenericAnalysisMessage.java} (66%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPDirectResponse.java => model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/InternalErrorAnalysisMessage.java} (73%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/EnvValueSource.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking => model/src/generated/java/io/fabric8/istio/api/api/extensions}/v1alpha1/EnvVar.java (98%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/FailStrategy.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PluginPhase.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PluginType.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PullPolicy.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking => model/src/generated/java/io/fabric8/istio/api/api/extensions}/v1alpha1/VmConfig.java (89%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginSpec.java => model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/WasmPlugin.java} (72%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking => model/src/generated/java/io/fabric8/istio/api/api/extensions}/v1alpha1/WasmPluginTrafficSelector.java (92%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/meta/v1alpha1/IstioCondition.java (99%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/meta/v1alpha1/IstioStatus.java (97%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CaptureMode.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/ClientTLSSettings.java (92%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ClientTLSSettingsTLSmode.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/ConnectionPoolSettings.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java (99%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/ConnectionPoolSettingsTCPSettings.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java (95%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CorsPolicy.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CorsPolicyUnmatchedPreflights.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/Delegate.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/Destination.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleSpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/DestinationRule.java} (83%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterSpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilter.java} (74%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterApplyTo.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterClusterMatch.java (94%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatch.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchCluster.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java (96%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterListenerMatch.java (96%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterChainMatch.java (94%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterListenerMatchFilterMatch.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterListenerMatchSubFilterMatch.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterPatch.java (84%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchContext.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchFilterClass.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchOperation.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterProxyMatch.java (85%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java (94%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatch.java (98%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatchAction.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchVirtualHostMatch.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/ExecHealthCheckConfig.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewaySpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Gateway.java} (77%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPBody.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPBodyBytes.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPBodyString.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPDirectResponse.java (94%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPFaultInjection.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPFaultInjectionAbort.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPFaultInjectionAbortGrpcStatus.java (96%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPFaultInjectionAbortHttp2Error.java (96%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java (96%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPFaultInjectionDelay.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java (96%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPFaultInjectionDelayFixedDelay.java (96%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPHeader.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPHealthCheckConfig.java (96%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPMatchRequest.java (65%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPMirrorPolicy.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPRedirect.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPRedirectDerivePort.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPRedirectPort.java (92%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirectRedirectPortSelection.java rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPRetry.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/HTTPRewrite.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPRoute.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HTTPRouteDestination.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/Headers.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/HeadersHeaderOperations.java (87%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes.java (71%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsHTTPBodySpecifier.java (68%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsHTTPFaultInjectionAbortErrorType.java (63%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsHTTPFaultInjectionDelayHttpDelayType.java (65%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsHTTPRedirectRedirectPort.java (67%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java (76%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsLoadBalancerSettingsConsistentHashLBHashKey.java (62%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsLoadBalancerSettingsLbPolicy.java (67%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsReadinessProbeHealthCheckMethod.java (65%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IsStringMatchMatchType.java (67%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IstioEgressListener.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/IstioIngressListener.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/L4MatchAttributes.java (78%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/LoadBalancerSettings.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/LoadBalancerSettingsConsistentHash.java (96%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/LoadBalancerSettingsConsistentHashLB.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHTTPCookie_.java} (86%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java (90%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java (96%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBMagLevValue.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMagLev_.java} (83%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMaglev.java (91%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHash.java (84%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/LoadBalancerSettingsSimple.java (95%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsSimpleLB.java rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/LocalityLoadBalancerSetting.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/LocalityLoadBalancerSettingDistribute.java (86%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/LocalityLoadBalancerSettingFailover.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/OutboundTrafficPolicy.java (98%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutboundTrafficPolicyMode.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/OutlierDetection.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/Percent.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/Port.java (92%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/PortSelector.java (94%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/ReadinessProbe.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/ReadinessProbeExec.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/ReadinessProbeHttpGet.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/ReadinessProbeTcpSocket.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/RegexRewrite.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/RouteDestination.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/Server.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/ServerTLSSettings.java (92%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettingsTLSProtocol.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettingsTLSmode.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntrySpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntry.java} (85%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHeader.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryAddress.java} (84%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryLocation.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryResolution.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSetting.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryStatus.java} (60%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/ServicePort.java (92%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarSpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Sidecar.java} (85%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/SidecarPort.java (92%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/StringMatch.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/StringMatchExact.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/StringMatchPrefix.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/StringMatchRegex.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/Subset.java (87%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/TCPHealthCheckConfig.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/TCPRoute.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/TLSMatchAttributes.java (78%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/TLSRoute.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/TrafficPolicy.java (99%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/TrafficPolicyProxyProtocol.java (98%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyProxyProtocolVERSION.java rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/TrafficPolicyTunnelSettings.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceSpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/VirtualService.java} (85%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntrySpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadEntry.java} (72%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupSpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadGroup.java} (79%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/WorkloadGroupObjectMeta.java (91%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1 => model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3}/WorkloadSelector.java (90%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigSpec.java => model/src/generated/java/io/fabric8/istio/api/api/networking/v1beta1/ProxyConfig.java} (77%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/networking/v1beta1/ProxyImage.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupSpec.java => model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/IstioCertificateRequest.java} (71%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ExecHealthCheckConfig.java => model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/IstioCertificateResponse.java} (81%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Percent.java => model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/UnimplementedIstioCertificateServiceServer.java} (80%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicySpec.java => model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicy.java} (75%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyAction.java rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/AuthorizationPolicyProvider.java (96%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/ClaimToHeader.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/Condition.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPBodySpecifier.java => model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/IsAuthorizationPolicyActionDetail.java} (65%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/JWTHeader.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/JWTRule.java (95%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/Operation.java (99%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationSpec.java => model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/PeerAuthentication.java} (73%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/PeerAuthenticationMutualTLS.java (98%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/PeerAuthenticationMutualTLSMode.java rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationSpec.java => model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RequestAuthentication.java} (72%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/Rule.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/RuleFrom.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/RuleTo.java (98%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/security/v1beta1/Source.java (99%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/AccessLogging.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/AccessLoggingFilter.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/AccessLoggingLogSelector.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/IsMetricSelectorMetricMatch.java (67%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/IsTracingCustomTagType.java (65%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/MetricSelector.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/MetricSelectorCustomMetric.java (95%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorIstioMetric.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/MetricSelectorMetric.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/Metrics.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/MetricsOverrides.java (91%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/MetricsOverridesTagOverride.java (98%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverridesTagOverrideOperation.java rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/ProviderRef.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/TelemetrySpec.java => model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Telemetry.java} (76%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/Tracing.java (94%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/TracingCustomTag.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/TracingCustomTagEnvironment.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/TracingCustomTagHeader.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/TracingCustomTagLiteral.java (95%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/TracingEnvironment.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/TracingLiteral.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/TracingRequestHeader.java (98%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/telemetry/v1alpha1/TracingTracingSelector.java (98%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/WorkloadMode.java rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/type/v1beta1/PolicyTargetReference.java (99%) rename extensions/istio/{model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking => model/src/generated/java/io/fabric8/istio/api/api/type}/v1beta1/PortSelector.java (94%) rename extensions/istio/{model-v1beta1/src/generated/java/io/fabric8/istio => model/src/generated/java/io/fabric8/istio/api}/api/type/v1beta1/WorkloadSelector.java (90%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPlugin.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginList.java (100%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/DestinationRule.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/DestinationRuleList.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/Gateway.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/GatewayList.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/ServiceEntry.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/ServiceEntryList.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/Sidecar.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/SidecarList.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/VirtualService.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/VirtualServiceList.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadEntry.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadEntryList.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadGroup.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadGroupList.java rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java (86%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java (88%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java (89%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfig.java (89%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java (86%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java (89%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java (89%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java (89%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroup.java (89%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupList.java (100%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/AuthorizationPolicy.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/AuthorizationPolicyList.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/PeerAuthentication.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/PeerAuthenticationList.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/RequestAuthentication.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/RequestAuthenticationList.java rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java (88%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java (88%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java (100%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java (89%) rename extensions/istio/{model-v1beta1 => model}/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationList.java (100%) create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1/Telemetry.java create mode 100644 extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1/TelemetryList.java rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Telemetry.java (89%) rename extensions/istio/{model-v1alpha3 => model}/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryList.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/test/java/io/fabric8/istio/api/extensons/v1alpha1/WasmPluginTest.java (84%) rename extensions/istio/{model-v1beta1 => model}/src/test/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigTest.java (100%) rename extensions/istio/{model-v1alpha3 => model}/src/test/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryTest.java (97%) rename extensions/istio/{model-v1beta1 => model}/src/test/resources/proxyconfig-valid.json (100%) rename extensions/istio/{model-v1alpha3 => model}/src/test/resources/telemetry-v1alpha1.json (100%) rename extensions/istio/{model-v1alpha3 => model}/src/test/resources/wasmplugin-v1alpha1.json (100%) create mode 100644 kubernetes-model-generator/openapi/schemas/io.istio.json diff --git a/Makefile b/Makefile index 63f0b9418e8..d676c2737c8 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,8 @@ openapi-generate-java-classes: cd kubernetes-model-generator && mvn $(MAVEN_ARGS) -Pgenerate clean install # TODO: run generate from extensions module root once all extensions are migrated cd extensions && mvn $(MAVEN_ARGS) -N clean install + cd extensions/istio && mvn $(MAVEN_ARGS) -N clean install + cd extensions/istio/model && mvn $(MAVEN_ARGS) -Pgenerate clean install cd extensions/knative && mvn $(MAVEN_ARGS) -N clean install cd extensions/knative/model && mvn $(MAVEN_ARGS) -Pgenerate clean install cd extensions/tekton && mvn $(MAVEN_ARGS) -N clean install diff --git a/doc/MIGRATION-v7.md b/doc/MIGRATION-v7.md index 429fbaa3f53..762e8bdc451 100644 --- a/doc/MIGRATION-v7.md +++ b/doc/MIGRATION-v7.md @@ -11,6 +11,7 @@ - [Removed deprecated types for network.openshift.io (OpenShift-SDN-only)](#openshift-network-removed) - [Renamed clusterautoscaling to autoscaling](#openshift-clusterautoscaling-to-autoscaling) - [Renamed machineconfig to machineconfiguration](#openshift-machineconfig-to-machineconfiguration) + - [Istio Extension](#istio-extension) - [Tekton Extension](#tekton-extension) - [Vertical Pod Autoscaler Extension](#vertical-pod-autoscaler-extension) - [MockWebServer is based on Vert.x](#mockwebserver-vertx) @@ -108,6 +109,23 @@ The package has also been renamed from `io.fabric8.openshift.api.model.machineco The OpenShiftClient DSL entry-point remains the same: `OpenShiftClient.machineConfigurations()`. +### Istio Extension + +All the model modules for the Istio extension have been merged into a single module `io.fabric8:istio-model`. +You will be able to find the packages from `io:fabric8:istio-model-v1alpha3` and `io:fabric8:istio-model-v1beta1` in the new module artifact. + +Many of the classes have also been moved to a nested `api` package following the Go types structure. +The following packages are now available: +- `io.fabric8.istio.api.api.meta.v1alpha1` +- `io.fabric8.istio.api.api.type.v1beta1` +- `io.fabric8.istio.api.api.analysis.v1alpha1` +- `io.fabric8.istio.api.api.extensions.v1alpha1` +- `io.fabric8.istio.api.api.networking.v1alpha3` +- `io.fabric8.istio.api.api.networking.v1beta1` +- `io.fabric8.istio.api.api.security.v1alpha1` +- `io.fabric8.istio.api.api.security.v1beta1` +- `io.fabric8.istio.api.api.telemetry.v1alpha1` + ### Tekton Extension All the model modules for the Tekton extension have been merged into a single module `io.fabric8:tekton-model`. diff --git a/extensions/istio/client/pom.xml b/extensions/istio/client/pom.xml index 69943d5c53a..f911f34c142 100755 --- a/extensions/istio/client/pom.xml +++ b/extensions/istio/client/pom.xml @@ -52,22 +52,9 @@ - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.fabric8 - istio-model-v1alpha3 - io.fabric8 - istio-model-v1beta1 + istio-model io.fabric8 @@ -78,16 +65,6 @@ io.fabric8 kubernetes-client-api - - org.junit.jupiter - junit-jupiter-engine - test - - - org.junit.jupiter - junit-jupiter-params - test - org.mockito mockito-core diff --git a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/AuthorizationPolicyExample.java b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/AuthorizationPolicyExample.java index 9a3147be1e3..738948f03f9 100644 --- a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/AuthorizationPolicyExample.java +++ b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/AuthorizationPolicyExample.java @@ -15,16 +15,16 @@ */ package io.fabric8.istio.api.examples.v1beta1; -import io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyAction; +import io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicyAction; +import io.fabric8.istio.api.api.security.v1beta1.ConditionBuilder; +import io.fabric8.istio.api.api.security.v1beta1.OperationBuilder; +import io.fabric8.istio.api.api.security.v1beta1.RuleBuilder; +import io.fabric8.istio.api.api.security.v1beta1.RuleFromBuilder; +import io.fabric8.istio.api.api.security.v1beta1.RuleToBuilder; +import io.fabric8.istio.api.api.security.v1beta1.SourceBuilder; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelectorBuilder; import io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyBuilder; import io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyList; -import io.fabric8.istio.api.security.v1beta1.ConditionBuilder; -import io.fabric8.istio.api.security.v1beta1.OperationBuilder; -import io.fabric8.istio.api.security.v1beta1.RuleBuilder; -import io.fabric8.istio.api.security.v1beta1.RuleFromBuilder; -import io.fabric8.istio.api.security.v1beta1.RuleToBuilder; -import io.fabric8.istio.api.security.v1beta1.SourceBuilder; -import io.fabric8.istio.api.type.v1beta1.WorkloadSelectorBuilder; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.client.KubernetesClientException; diff --git a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/DestinationRuleExample.java b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/DestinationRuleExample.java index bc653dbca42..15986aee609 100644 --- a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/DestinationRuleExample.java +++ b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/DestinationRuleExample.java @@ -15,11 +15,11 @@ */ package io.fabric8.istio.api.examples.v1beta1; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsSimple; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsSimpleLB; import io.fabric8.istio.api.networking.v1beta1.DestinationRuleBuilder; import io.fabric8.istio.api.networking.v1beta1.DestinationRuleList; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsBuilder; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimple; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimpleLB; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.client.KubernetesClientException; diff --git a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/GatewayExample.java b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/GatewayExample.java index db9760c72c2..2baaae99dbd 100644 --- a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/GatewayExample.java +++ b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/GatewayExample.java @@ -15,11 +15,11 @@ */ package io.fabric8.istio.api.examples.v1beta1; +import io.fabric8.istio.api.api.networking.v1alpha3.PortBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.ServerBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.ServerTLSSettingsBuilder; import io.fabric8.istio.api.networking.v1beta1.GatewayBuilder; import io.fabric8.istio.api.networking.v1beta1.GatewayList; -import io.fabric8.istio.api.networking.v1beta1.PortBuilder; -import io.fabric8.istio.api.networking.v1beta1.ServerBuilder; -import io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsBuilder; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.client.KubernetesClientException; @@ -49,7 +49,7 @@ public static void createResource(IstioClient client) { .withNewSpec() .withSelector(Collections.singletonMap("app", "my-gateway-controller")) .withServers(new ServerBuilder() - .withPort(new PortBuilder().withNumber(80).withProtocol("HTTP").withName("http").build()) + .withPort(new PortBuilder().withNumber(80L).withProtocol("HTTP").withName("http").build()) .withHosts("uk.bookinfo.com", "eu.bookinfo.com") .withTls(new ServerTLSSettingsBuilder().withHttpsRedirect(true).build()) .build()) diff --git a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/PeerAuthenticationExample.java b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/PeerAuthenticationExample.java index 2bf7b6ad15f..42c27909fb8 100644 --- a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/PeerAuthenticationExample.java +++ b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/PeerAuthenticationExample.java @@ -15,11 +15,11 @@ */ package io.fabric8.istio.api.examples.v1beta1; +import io.fabric8.istio.api.api.security.v1beta1.PeerAuthenticationMutualTLSBuilder; +import io.fabric8.istio.api.api.security.v1beta1.PeerAuthenticationMutualTLSMode; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelectorBuilder; import io.fabric8.istio.api.security.v1beta1.PeerAuthenticationBuilder; import io.fabric8.istio.api.security.v1beta1.PeerAuthenticationList; -import io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLSBuilder; -import io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLSMode; -import io.fabric8.istio.api.type.v1beta1.WorkloadSelectorBuilder; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.client.KubernetesClientException; diff --git a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/ServiceEntryExample.java b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/ServiceEntryExample.java index 1f2ab6f08eb..112896bdbef 100644 --- a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/ServiceEntryExample.java +++ b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/ServiceEntryExample.java @@ -15,10 +15,10 @@ */ package io.fabric8.istio.api.examples.v1beta1; +import io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntryLocation; +import io.fabric8.istio.api.api.networking.v1alpha3.ServicePortBuilder; import io.fabric8.istio.api.networking.v1beta1.ServiceEntryBuilder; import io.fabric8.istio.api.networking.v1beta1.ServiceEntryList; -import io.fabric8.istio.api.networking.v1beta1.ServiceEntryLocation; -import io.fabric8.istio.api.networking.v1beta1.ServicePortBuilder; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.client.KubernetesClientException; @@ -46,7 +46,7 @@ public static void createResource(IstioClient client) { .withNewSpec() .withHosts("api.dropboxapi.com", "www.googleapis.com") .withLocation(ServiceEntryLocation.MESH_INTERNAL) - .withPorts(new ServicePortBuilder().withName("https").withProtocol("TLS").withNumber(443).build()) + .withPorts(new ServicePortBuilder().withName("https").withProtocol("TLS").withNumber(443L).build()) .endSpec() .build()); diff --git a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/SidecarExample.java b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/SidecarExample.java index 8c40486f2c7..1a887fe174d 100644 --- a/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/SidecarExample.java +++ b/extensions/istio/examples/src/main/java/io/fabric8/istio/api/examples/v1beta1/SidecarExample.java @@ -15,7 +15,7 @@ */ package io.fabric8.istio.api.examples.v1beta1; -import io.fabric8.istio.api.networking.v1beta1.IstioEgressListenerBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.IstioEgressListenerBuilder; import io.fabric8.istio.api.networking.v1beta1.SidecarBuilder; import io.fabric8.istio.api.networking.v1beta1.SidecarList; import io.fabric8.istio.client.IstioClient; diff --git a/extensions/istio/generateModel.sh b/extensions/istio/generateModel.sh deleted file mode 100755 index e8a01517253..00000000000 --- a/extensions/istio/generateModel.sh +++ /dev/null @@ -1,25 +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. -# - -declare -a modules=("generator-v1alpha3" "generator-v1beta1") - -for module in ${modules[*]} -do - echo "Compiling ${module}" - cd $module - make - cd .. -done diff --git a/extensions/istio/generator-v1alpha3/.gitignore b/extensions/istio/generator-v1alpha3/.gitignore deleted file mode 100644 index 57872d0f1e5..00000000000 --- a/extensions/istio/generator-v1alpha3/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/vendor/ diff --git a/extensions/istio/generator-v1alpha3/Makefile b/extensions/istio/generator-v1alpha3/Makefile deleted file mode 100755 index 25557f43772..00000000000 --- a/extensions/istio/generator-v1alpha3/Makefile +++ /dev/null @@ -1,28 +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. -# - -SHELL := /bin/bash - -all: build - -build: gobuild - pushd ../model-v1alpha3 && \ - mvn -Pgenerate clean install -DskipTests && \ - popd - -gobuild: - go mod vendor - CGO_ENABLED=0 GO111MODULE=on GO15VENDOREXPERIMENT=1 go run -mod=vendor -a ./cmd/generate/generate.go > ../model-v1alpha3/src/main/resources/schema/istio-schema.json diff --git a/extensions/istio/generator-v1alpha3/cmd/generate/generate.go b/extensions/istio/generator-v1alpha3/cmd/generate/generate.go deleted file mode 100644 index 45e08a16433..00000000000 --- a/extensions/istio/generator-v1alpha3/cmd/generate/generate.go +++ /dev/null @@ -1,172 +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 ( - "fmt" - "github.com/golang/protobuf/ptypes/duration" - "github.com/golang/protobuf/ptypes/timestamp" - "strings" - - "github.com/gogo/protobuf/types" - - "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" - structpb "github.com/golang/protobuf/ptypes/struct" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - - // Internal APIs: - api_extensions_v1alpha1 "istio.io/api/extensions/v1alpha1" - api_networking_v1alpha3 "istio.io/api/networking/v1alpha3" - api_telemetry_v1alpha1 "istio.io/api/telemetry/v1alpha1" - - // External APIs: - client_extensions_v1alpha1 "istio.io/client-go/pkg/apis/extensions/v1alpha1" - client_networking_v1alpha3 "istio.io/client-go/pkg/apis/networking/v1alpha3" - client_telemetry_v1alpha1 "istio.io/client-go/pkg/apis/telemetry/v1alpha1" - "reflect" -) - -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{ - // networking - reflect.TypeOf(client_networking_v1alpha3.DestinationRuleList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1alpha3.GatewayList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1alpha3.ServiceEntryList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1alpha3.SidecarList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1alpha3.VirtualServiceList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1alpha3.WorkloadEntryList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1alpha3.EnvoyFilterList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1alpha3.WorkloadGroupList{}): schemagen.Namespaced, - reflect.TypeOf(client_extensions_v1alpha1.WasmPluginList{}): schemagen.Namespaced, - reflect.TypeOf(client_telemetry_v1alpha1.TelemetryList{}): schemagen.Namespaced, - } - - // custom types descriptors - typesDescriptors := map[reflect.Type]*schemagen.JSONObjectDescriptor{} - - // constraints and patterns for fields - constraints := map[reflect.Type]map[string]*schemagen.Constraint{} - - // types that are manually defined in the model - providedTypes := []schemagen.ProvidedType{ - // Due to issue in sundrio (https://github.com/sundrio/sundrio/issues/170). A duplicated methods is generated, both named `hasMatchingAllowOrigin` - {GoType: reflect.TypeOf(api_networking_v1alpha3.CorsPolicy{}), JavaClass: "io.fabric8.istio.api.networking.v1alpha3.CorsPolicy"}, - } - - // go packages that are provided and where no generation is required and their corresponding java package - providedPackages := map[string]string{ - "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model", - "k8s.io/api/core/v1": "io.fabric8.kubernetes.api.model", - } - - // 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{ - "istio.io/client-go/pkg/apis/networking/v1alpha3": {JavaPackage: "io.fabric8.istio.api.networking.v1alpha3", ApiGroup: "networking.istio.io", ApiVersion: "v1alpha3"}, - "istio.io/client-go/pkg/apis/extensions/v1alpha1": {JavaPackage: "io.fabric8.istio.api.extensions.v1alpha1", ApiGroup: "extensions.istio.io", ApiVersion: "v1alpha1"}, - "istio.io/client-go/pkg/apis/telemetry/v1alpha1": {JavaPackage: "io.fabric8.istio.api.telemetry.v1alpha1", ApiGroup: "telemetry.istio.io", ApiVersion: "v1alpha1"}, - "istio.io/api/type/v1beta1": {JavaPackage: "io.fabric8.istio.api.networking.v1beta1", ApiGroup: "networking.istio.io", ApiVersion: "v1beta1"}, - } - - // converts all packages starting with to a java package using an automated scheme: - // - replace with aka "package prefix" - // - replace '/' with '.' for a valid java package name - mappingSchema := map[string]string{ - "github.com/gogo/protobuf/types": "io.fabric8.istio.api.internal.protobuf.types", - "istio.io/api/analysis/v1alpha1": "io.fabric8.istio.api.analysis.v1alpha1", - "istio.io/api/meta/v1alpha1": "io.fabric8.istio.api.meta.v1alpha1", - "istio.io/api/networking/v1alpha3": "io.fabric8.istio.api.networking.v1alpha3", - "istio.io/api/extensions/v1alpha1": "io.fabric8.istio.api.networking.v1alpha1", - "istio.io/api/telemetry/v1alpha1": "io.fabric8.istio.api.telemetry.v1alpha1", - "istio.io/api/type/v1beta1": "io.fabric8.istio.api.type.v1beta1", - } - - // overwriting some times - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(types.BoolValue{}): "java.lang.Boolean", - reflect.TypeOf(wrappers.BoolValue{}): "java.lang.Boolean", - reflect.TypeOf(wrappers.UInt32Value{}): "java.lang.Integer", - reflect.TypeOf(wrappers.Int32Value{}): "java.lang.Integer", - reflect.TypeOf(wrappers.DoubleValue{}): "java.lang.Double", - reflect.TypeOf(types.DoubleValue{}): "java.lang.Double", - reflect.TypeOf(duration.Duration{}): "java.lang.String", - reflect.TypeOf(timestamp.Timestamp{}): "java.lang.String", - reflect.TypeOf(types.Int32Value{}): "java.lang.Integer", - reflect.TypeOf(types.UInt32Value{}): "java.lang.Integer", - reflect.TypeOf(structpb.Struct{}): "java.util.Map", - } - - // types for interfaces - interfacesMapping := map[string][]reflect.Type{ - // types - "github.com/gogo/protobuf/types/isValue_Kind": {reflect.TypeOf(types.Value_NullValue{}), reflect.TypeOf(types.Value_NumberValue{}), reflect.TypeOf(types.Value_StringValue{}), reflect.TypeOf(types.Value_BoolValue{}), reflect.TypeOf(types.Value_StructValue{}), reflect.TypeOf(types.Value_ListValue{})}, - - // networking - "istio.io/api/networking/v1alpha3/isStringMatch_MatchType": {reflect.TypeOf(api_networking_v1alpha3.StringMatch_Exact{}), reflect.TypeOf(api_networking_v1alpha3.StringMatch_Regex{}), reflect.TypeOf(api_networking_v1alpha3.StringMatch_Prefix{})}, - "istio.io/api/networking/v1alpha3/isHTTPFaultInjection_Abort_ErrorType": {reflect.TypeOf(api_networking_v1alpha3.HTTPFaultInjection_Abort_HttpStatus{}), reflect.TypeOf(api_networking_v1alpha3.HTTPFaultInjection_Abort_GrpcStatus{}), reflect.TypeOf(api_networking_v1alpha3.HTTPFaultInjection_Abort_Http2Error{})}, - "istio.io/api/networking/v1alpha3/isHTTPFaultInjection_Delay_HttpDelayType": {reflect.TypeOf(api_networking_v1alpha3.HTTPFaultInjection_Delay_ExponentialDelay{}), reflect.TypeOf(api_networking_v1alpha3.HTTPFaultInjection_Delay_FixedDelay{})}, - "istio.io/api/networking/v1alpha3/isLoadBalancerSettings_LbPolicy": {reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHash{}), reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_Simple{})}, - "istio.io/api/networking/v1alpha3/isLoadBalancerSettings_ConsistentHashLB_HashKey": {reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_HttpHeaderName{}), reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_HttpCookie{}), reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_UseSourceIp{}), reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName{})}, - "istio.io/api/networking/v1alpha3/isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm": {reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_Maglev{}), reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_RingHash_{})}, - "istio.io/api/networking/v1alpha3/isHTTPRedirect_RedirectPort": {reflect.TypeOf(api_networking_v1alpha3.HTTPRedirect_Port{}), reflect.TypeOf(api_networking_v1alpha3.HTTPRedirect_DerivePort{})}, - "istio.io/api/networking/v1alpha3/isEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes": {reflect.TypeOf(api_networking_v1alpha3.EnvoyFilter_EnvoyConfigObjectMatch_Listener{}), reflect.TypeOf(api_networking_v1alpha3.EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration{}), reflect.TypeOf(api_networking_v1alpha3.EnvoyFilter_EnvoyConfigObjectMatch_Cluster{})}, - "istio.io/api/networking/v1alpha3/isReadinessProbe_HealthCheckMethod": {reflect.TypeOf(api_networking_v1alpha3.ReadinessProbe_Exec{}), reflect.TypeOf(api_networking_v1alpha3.ReadinessProbe_HttpGet{}), reflect.TypeOf(api_networking_v1alpha3.ReadinessProbe_TcpSocket{})}, - "istio.io/api/networking/v1alpha3/isHTTPBody_Specifier": {reflect.TypeOf(api_networking_v1alpha3.HTTPBody_String_{}), reflect.TypeOf(api_networking_v1alpha3.HTTPBody_Bytes{})}, - "istio.io/api/telemetry/v1alpha1/isMetricSelector_MetricMatch": {reflect.TypeOf(api_telemetry_v1alpha1.MetricSelector_Metric{}), reflect.TypeOf(api_telemetry_v1alpha1.MetricSelector_CustomMetric{})}, - "istio.io/api/telemetry/v1alpha1/isTracing_CustomTag_Type": {reflect.TypeOf(api_telemetry_v1alpha1.Tracing_CustomTag_Literal{}), reflect.TypeOf(api_telemetry_v1alpha1.Tracing_CustomTag_Environment{}), reflect.TypeOf(api_telemetry_v1alpha1.Tracing_CustomTag_Header{})}, - } - - // custom name rules - javaNameStrategyMapping := schemagen.JavaNameStrategyMapping{ - ResolveFieldNameFromProtobufFirst: true, - SkipFieldWithEmptyTag: true, - NameMapping: map[reflect.Type]string{ - reflect.TypeOf(api_networking_v1alpha3.EnvoyFilter{}): "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterSpec", - reflect.TypeOf(api_networking_v1alpha3.DestinationRule{}): "io.fabric8.istio.api.networking.v1alpha3.DestinationRuleSpec", - reflect.TypeOf(api_networking_v1alpha3.Gateway{}): "io.fabric8.istio.api.networking.v1alpha3.GatewaySpec", - reflect.TypeOf(api_networking_v1alpha3.ServiceEntry{}): "io.fabric8.istio.api.networking.v1alpha3.ServiceEntrySpec", - reflect.TypeOf(api_networking_v1alpha3.Sidecar{}): "io.fabric8.istio.api.networking.v1alpha3.SidecarSpec", - reflect.TypeOf(api_networking_v1alpha3.VirtualService{}): "io.fabric8.istio.api.networking.v1alpha3.VirtualServiceSpec", - reflect.TypeOf(api_networking_v1alpha3.WorkloadEntry{}): "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntrySpec", - reflect.TypeOf(api_networking_v1alpha3.WorkloadGroup{}): "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupSpec", - reflect.TypeOf(api_extensions_v1alpha1.WasmPlugin{}): "io.fabric8.istio.api.extensions.v1alpha1.WasmPluginSpec", - reflect.TypeOf(api_telemetry_v1alpha1.Telemetry{}): "io.fabric8.istio.api.extensions.v1alpha1.TelemetrySpec", - reflect.TypeOf(types.Value{}): "io.fabric8.istio.api.internal.protobuf.types.Value", - reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_Simple{}): "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsSimple", - - // Avoid same name for: - reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_HTTPCookie{}): "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookieValue", - reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_MagLev{}): "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBMagLevValue", - reflect.TypeOf(api_networking_v1alpha3.LoadBalancerSettings_ConsistentHashLB_RingHash{}): "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHashValue", - }, - CustomJavaNameRule: func(packageName *string, className *string) { - // remove underscores - *className = strings.Replace(*className, "_", "", -1) - }, - } - - // custom enum mapping - enumMapping := map[reflect.Type]schemagen.EnumDescriptor{} - - json := schemagen.GenerateSchemaWithAllOptions("http://fabric8.io/istio/IstioSchema#", crdLists, typesDescriptors, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, interfacesMapping, javaNameStrategyMapping, enumMapping, "io.fabric8") - - // Workaround to avoid error due to two types with same name RingHash and RingHash_ - json = strings.Replace(json, "RingHash_", "RingHashWrapper", -1) - fmt.Println(json) -} diff --git a/extensions/istio/generator-v1alpha3/go.mod b/extensions/istio/generator-v1alpha3/go.mod deleted file mode 100644 index 68087e9f4ab..00000000000 --- a/extensions/istio/generator-v1alpha3/go.mod +++ /dev/null @@ -1,39 +0,0 @@ -module github.com/fabric8io/kubernetes-client/extensions/istio/generator - -go 1.21 - -require ( - github.com/fabric8io/kubernetes-client/generator v0.0.0 - github.com/gogo/protobuf v1.3.2 - github.com/golang/protobuf v1.5.3 - istio.io/api v1.21.0-rc.0.0.20240306012220-bd9313120ef9 - istio.io/client-go v1.21.0 -) - -require ( - github.com/go-logr/logr v1.3.0 // indirect - github.com/google/gofuzz v1.2.0 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/kr/text v0.2.0 // 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.23.0 // indirect - golang.org/x/text v0.14.0 // indirect - google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240116215550-a9fa1716bcac // indirect - google.golang.org/protobuf v1.33.0 // indirect - gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - k8s.io/apimachinery v0.29.0 // indirect - k8s.io/klog/v2 v2.110.1 // indirect - k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect - sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect -) - -replace ( - github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator - k8s.io/apimachinery => k8s.io/apimachinery v0.29.0 - k8s.io/client-go => k8s.io/client-go v0.29.0 -) diff --git a/extensions/istio/generator-v1alpha3/go.sum b/extensions/istio/generator-v1alpha3/go.sum deleted file mode 100644 index efb857bcdb7..00000000000 --- a/extensions/istio/generator-v1alpha3/go.sum +++ /dev/null @@ -1,109 +0,0 @@ -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -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.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= -github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -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/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/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.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -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.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -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.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -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= -google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac h1:ZL/Teoy/ZGnzyrqK/Optxxp2pmVh+fmJ97slxSRyzUg= -google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac/go.mod h1:+Rvu7ElI+aLzyDQhpHMFMMltsD6m7nqpuWDd2CwJw3k= -google.golang.org/genproto/googleapis/api v0.0.0-20240116215550-a9fa1716bcac h1:OZkkudMUu9LVQMCoRUbI/1p5VCo9BOrlvkqMvWtqa6s= -google.golang.org/genproto/googleapis/api v0.0.0-20240116215550-a9fa1716bcac/go.mod h1:B5xPO//w8qmBDjGReYLpR6UJPnkldGkCSMoH/2vxJeg= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -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= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -istio.io/api v1.21.0-rc.0.0.20240306012220-bd9313120ef9 h1:rqzo7tqk5QeZK3ijqeSFVNtwAoYrGprZ1rWhfPndu/Y= -istio.io/api v1.21.0-rc.0.0.20240306012220-bd9313120ef9/go.mod h1:TFCMUCAHRjxBv1CsIsFCsYHPHi4axVI4vdIzVr8eFjY= -istio.io/client-go v1.21.0 h1:Fr4Tcnmdk3SOXoeeyHzCgpKfTWVgkeuIYm7tRdARo5A= -istio.io/client-go v1.21.0/go.mod h1:xFI6wdIPsXqUfE1P/sae1ImFN3KXcYCjKn1S24coFZI= -k8s.io/apimachinery v0.29.0 h1:+ACVktwyicPz0oc6MTMLwa2Pw3ouLAfAon1wPLtG48o= -k8s.io/apimachinery v0.29.0/go.mod h1:eVBxQ/cwiJxH58eK/jd/vAk4mrxmVlnpBH5J2GbMeis= -k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0= -k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo= -k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= -k8s.io/utils v0.0.0-20230726121419-3b25d923346b/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.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4= -sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/extensions/istio/generator-v1beta1/.gitignore b/extensions/istio/generator-v1beta1/.gitignore deleted file mode 100644 index 57872d0f1e5..00000000000 --- a/extensions/istio/generator-v1beta1/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/vendor/ diff --git a/extensions/istio/generator-v1beta1/Makefile b/extensions/istio/generator-v1beta1/Makefile deleted file mode 100755 index bbd5f0f1ae3..00000000000 --- a/extensions/istio/generator-v1beta1/Makefile +++ /dev/null @@ -1,28 +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. -# - -SHELL := /bin/bash - -all: build - -build: gobuild - pushd ../model-v1beta1 && \ - mvn -Pgenerate clean install -DskipTests && \ - popd - -gobuild: - go mod vendor - CGO_ENABLED=0 GO111MODULE=on GO15VENDOREXPERIMENT=1 go run -mod=vendor -a ./cmd/generate/generate.go > ../model-v1beta1/src/main/resources/schema/istio-schema.json diff --git a/extensions/istio/generator-v1beta1/cmd/generate/generate.go b/extensions/istio/generator-v1beta1/cmd/generate/generate.go deleted file mode 100644 index 2b09f907ee8..00000000000 --- a/extensions/istio/generator-v1beta1/cmd/generate/generate.go +++ /dev/null @@ -1,163 +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 ( - "fmt" - "strings" - - "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" - "github.com/gogo/protobuf/types" - duration "github.com/golang/protobuf/ptypes/duration" - timestamp "github.com/golang/protobuf/ptypes/timestamp" - wrappers "github.com/golang/protobuf/ptypes/wrappers" - - // Internal APIs: - api_networking_v1beta1 "istio.io/api/networking/v1beta1" - api_security_v1beta1 "istio.io/api/security/v1beta1" - - // External APIs: - client_networking_v1beta1 "istio.io/client-go/pkg/apis/networking/v1beta1" - client_security_v1beta1 "istio.io/client-go/pkg/apis/security/v1beta1" - - "reflect" -) - -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{ - // networking - reflect.TypeOf(client_networking_v1beta1.DestinationRuleList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1beta1.GatewayList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1beta1.ServiceEntryList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1beta1.SidecarList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1beta1.VirtualServiceList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1beta1.WorkloadEntryList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1beta1.WorkloadGroupList{}): schemagen.Namespaced, - reflect.TypeOf(client_networking_v1beta1.ProxyConfigList{}): schemagen.Namespaced, - - // security - reflect.TypeOf(client_security_v1beta1.PeerAuthenticationList{}): schemagen.Namespaced, - reflect.TypeOf(client_security_v1beta1.RequestAuthenticationList{}): schemagen.Namespaced, - reflect.TypeOf(client_security_v1beta1.AuthorizationPolicyList{}): schemagen.Namespaced, - } - - // custom types descriptors - typesDescriptors := map[reflect.Type]*schemagen.JSONObjectDescriptor{} - - // constraints and patterns for fields - constraints := map[reflect.Type]map[string]*schemagen.Constraint{} - - // types that are manually defined in the model - providedTypes := []schemagen.ProvidedType{ - // Due to issue in sundrio (https://github.com/sundrio/sundrio/issues/170). A duplicated methods is generated, both named `hasMatchingAllowOrigin` - {GoType: reflect.TypeOf(api_networking_v1beta1.CorsPolicy{}), JavaClass: "io.fabric8.istio.api.networking.v1beta1.CorsPolicy"}, - } - - // go packages that are provided and where no generation is required and their corresponding java package - providedPackages := map[string]string{ - "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model", - "k8s.io/api/core/v1": "io.fabric8.kubernetes.api.model", - "istio.io/api/analysis/v1alpha1": "io.fabric8.istio.api.analysis.v1alpha1", - "istio.io/api/meta/v1alpha1": "io.fabric8.istio.api.meta.v1alpha1", - } - - // 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{ - "istio.io/client-go/pkg/apis/networking/v1beta1": {JavaPackage: "io.fabric8.istio.api.networking.v1beta1", ApiGroup: "networking.istio.io", ApiVersion: "v1beta1"}, - "istio.io/client-go/pkg/apis/security/v1beta1": {JavaPackage: "io.fabric8.istio.api.security.v1beta1", ApiGroup: "security.istio.io", ApiVersion: "v1beta1"}, - "istio.io/client-go/pkg/apis/telemetry/v1alpha1": {JavaPackage: "io.fabric8.istio.api.telemetry.v1alpha1", ApiGroup: "telemetry.istio.io", ApiVersion: "v1alpha1"}, - } - - // converts all packages starting with to a java package using an automated scheme: - // - replace with aka "package prefix" - // - replace '/' with '.' for a valid java package name - mappingSchema := map[string]string{ - "istio.io/api/networking/v1beta1": "io.fabric8.istio.api.networking.v1beta1", - "istio.io/api/type/v1beta1": "io.fabric8.istio.api.type.v1beta1", - "istio.io/api/security/v1beta1": "io.fabric8.istio.api.security.v1beta1", - } - - // overwriting some times - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(types.BoolValue{}): "java.lang.Boolean", - reflect.TypeOf(wrappers.BoolValue{}): "java.lang.Boolean", - reflect.TypeOf(wrappers.UInt32Value{}): "java.lang.Integer", - reflect.TypeOf(wrappers.Int32Value{}): "java.lang.Integer", - reflect.TypeOf(types.DoubleValue{}): "java.lang.Double", - reflect.TypeOf(duration.Duration{}): "java.lang.String", - reflect.TypeOf(timestamp.Timestamp{}): "java.lang.String", - reflect.TypeOf(types.Int32Value{}): "java.lang.Integer", - reflect.TypeOf(types.UInt32Value{}): "java.lang.Integer", - } - - // types for interfaces - interfacesMapping := map[string][]reflect.Type{ - // networking - "istio.io/api/networking/v1beta1/isStringMatch_MatchType": {reflect.TypeOf(api_networking_v1beta1.StringMatch_Exact{}), reflect.TypeOf(api_networking_v1beta1.StringMatch_Regex{}), reflect.TypeOf(api_networking_v1beta1.StringMatch_Prefix{})}, - "istio.io/api/networking/v1beta1/isHTTPFaultInjection_Abort_ErrorType": {reflect.TypeOf(api_networking_v1beta1.HTTPFaultInjection_Abort_HttpStatus{}), reflect.TypeOf(api_networking_v1beta1.HTTPFaultInjection_Abort_GrpcStatus{}), reflect.TypeOf(api_networking_v1beta1.HTTPFaultInjection_Abort_Http2Error{})}, - "istio.io/api/networking/v1beta1/isHTTPFaultInjection_Delay_HttpDelayType": {reflect.TypeOf(api_networking_v1beta1.HTTPFaultInjection_Delay_ExponentialDelay{}), reflect.TypeOf(api_networking_v1beta1.HTTPFaultInjection_Delay_FixedDelay{})}, - "istio.io/api/networking/v1beta1/isLoadBalancerSettings_LbPolicy": {reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHash{}), reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_Simple{})}, - "istio.io/api/networking/v1beta1/isLoadBalancerSettings_ConsistentHashLB_HashKey": {reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_HttpHeaderName{}), reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_HttpCookie{}), reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_UseSourceIp{}), reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName{})}, - "istio.io/api/networking/v1beta1/isHTTPRedirect_RedirectPort": {reflect.TypeOf(api_networking_v1beta1.HTTPRedirect_Port{}), reflect.TypeOf(api_networking_v1beta1.HTTPRedirect_DerivePort{})}, - "istio.io/api/networking/v1beta1/isHTTPBody_Specifier": {reflect.TypeOf(api_networking_v1beta1.HTTPBody_String_{}), reflect.TypeOf(api_networking_v1beta1.HTTPBody_Bytes{})}, - "istio.io/api/networking/v1beta1/isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm": {reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_RingHash_{}), reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_Maglev{})}, - "istio.io/api/networking/v1beta1/isReadinessProbe_HealthCheckMethod": {reflect.TypeOf(api_networking_v1beta1.ReadinessProbe_HttpGet{}), reflect.TypeOf(api_networking_v1beta1.ReadinessProbe_TcpSocket{}), reflect.TypeOf(api_networking_v1beta1.ReadinessProbe_Exec{})}, - - // security - "istio.io/api/security/v1beta1/isAuthorizationPolicy_ActionDetail": {reflect.TypeOf(api_security_v1beta1.AuthorizationPolicy_Provider{})}, - } - - // custom name rules - javaNameStrategyMapping := schemagen.JavaNameStrategyMapping{ - ResolveFieldNameFromProtobufFirst: true, - SkipFieldWithEmptyTag: true, - NameMapping: map[reflect.Type]string{ - reflect.TypeOf(api_networking_v1beta1.DestinationRule{}): "io.fabric8.istio.api.networking.v1beta1.DestinationRuleSpec", - reflect.TypeOf(api_networking_v1beta1.Gateway{}): "io.fabric8.istio.api.networking.v1beta1.GatewaySpec", - reflect.TypeOf(api_networking_v1beta1.ServiceEntry{}): "io.fabric8.istio.api.networking.v1beta1.ServiceEntrySpec", - reflect.TypeOf(api_networking_v1beta1.Sidecar{}): "io.fabric8.istio.api.networking.v1beta1.SidecarSpec", - reflect.TypeOf(api_networking_v1beta1.VirtualService{}): "io.fabric8.istio.api.networking.v1beta1.VirtualServiceSpec", - reflect.TypeOf(api_networking_v1beta1.WorkloadEntry{}): "io.fabric8.istio.api.networking.v1beta1.WorkloadEntrySpec", - reflect.TypeOf(api_networking_v1beta1.WorkloadGroup{}): "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupSpec", - reflect.TypeOf(api_networking_v1beta1.ProxyConfig{}): "io.fabric8.istio.api.networking.v1beta1.ProxyConfigSpec", - reflect.TypeOf(api_security_v1beta1.AuthorizationPolicy{}): "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicySpec", - reflect.TypeOf(api_security_v1beta1.PeerAuthentication{}): "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationSpec", - reflect.TypeOf(api_security_v1beta1.RequestAuthentication{}): "io.fabric8.istio.api.security.v1beta1.RequestAuthenticationSpec", - - // Avoid same name for: - reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_HTTPCookie{}): "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpCookieValue", - reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_RingHash{}): "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBRingHashValue", - reflect.TypeOf(api_networking_v1beta1.LoadBalancerSettings_ConsistentHashLB_MagLev{}): "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBMagLevValue", - }, - CustomJavaNameRule: func(packageName *string, className *string) { - // remove underscores - *className = strings.Replace(*className, "_", "", -1) - }, - } - - // custom enum mapping - enumMapping := map[reflect.Type]schemagen.EnumDescriptor{} - - json := schemagen.GenerateSchemaWithAllOptions("http://fabric8.io/istio/IstioSchema#", crdLists, typesDescriptors, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, interfacesMapping, javaNameStrategyMapping, enumMapping, "io.fabric8") - - // Workaround to avoid error due to two types with same name RingHash and RingHash_ - json = strings.Replace(json, "RingHash_", "RingHashWrapper", -1) - fmt.Println(json) -} diff --git a/extensions/istio/generator-v1beta1/go.mod b/extensions/istio/generator-v1beta1/go.mod deleted file mode 100644 index a1d1975e3a5..00000000000 --- a/extensions/istio/generator-v1beta1/go.mod +++ /dev/null @@ -1,41 +0,0 @@ -module github.com/fabric8io/kubernetes-client/extensions/istio/generator - -go 1.21 - -toolchain go1.21.5 - -require ( - github.com/fabric8io/kubernetes-client/generator v0.0.0 - github.com/gogo/protobuf v1.3.2 - github.com/golang/protobuf v1.5.3 - istio.io/api v1.21.0-rc.0.0.20240306012220-bd9313120ef9 - istio.io/client-go v1.21.0 -) - -require ( - github.com/go-logr/logr v1.3.0 // indirect - github.com/google/gofuzz v1.2.0 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/kr/text v0.2.0 // 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.23.0 // indirect - golang.org/x/text v0.14.0 // indirect - google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240116215550-a9fa1716bcac // indirect - google.golang.org/protobuf v1.33.0 // indirect - gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - k8s.io/apimachinery v0.29.0 // indirect - k8s.io/klog/v2 v2.110.1 // indirect - k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect - sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect -) - -replace ( - github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator - k8s.io/apimachinery => k8s.io/apimachinery v0.29.0 - k8s.io/client-go => k8s.io/client-go v0.29.0 -) diff --git a/extensions/istio/generator-v1beta1/go.sum b/extensions/istio/generator-v1beta1/go.sum deleted file mode 100644 index efb857bcdb7..00000000000 --- a/extensions/istio/generator-v1beta1/go.sum +++ /dev/null @@ -1,109 +0,0 @@ -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -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.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= -github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -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/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/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.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -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.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -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.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -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= -google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac h1:ZL/Teoy/ZGnzyrqK/Optxxp2pmVh+fmJ97slxSRyzUg= -google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac/go.mod h1:+Rvu7ElI+aLzyDQhpHMFMMltsD6m7nqpuWDd2CwJw3k= -google.golang.org/genproto/googleapis/api v0.0.0-20240116215550-a9fa1716bcac h1:OZkkudMUu9LVQMCoRUbI/1p5VCo9BOrlvkqMvWtqa6s= -google.golang.org/genproto/googleapis/api v0.0.0-20240116215550-a9fa1716bcac/go.mod h1:B5xPO//w8qmBDjGReYLpR6UJPnkldGkCSMoH/2vxJeg= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -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= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -istio.io/api v1.21.0-rc.0.0.20240306012220-bd9313120ef9 h1:rqzo7tqk5QeZK3ijqeSFVNtwAoYrGprZ1rWhfPndu/Y= -istio.io/api v1.21.0-rc.0.0.20240306012220-bd9313120ef9/go.mod h1:TFCMUCAHRjxBv1CsIsFCsYHPHi4axVI4vdIzVr8eFjY= -istio.io/client-go v1.21.0 h1:Fr4Tcnmdk3SOXoeeyHzCgpKfTWVgkeuIYm7tRdARo5A= -istio.io/client-go v1.21.0/go.mod h1:xFI6wdIPsXqUfE1P/sae1ImFN3KXcYCjKn1S24coFZI= -k8s.io/apimachinery v0.29.0 h1:+ACVktwyicPz0oc6MTMLwa2Pw3ouLAfAon1wPLtG48o= -k8s.io/apimachinery v0.29.0/go.mod h1:eVBxQ/cwiJxH58eK/jd/vAk4mrxmVlnpBH5J2GbMeis= -k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0= -k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo= -k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= -k8s.io/utils v0.0.0-20230726121419-3b25d923346b/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.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4= -sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/extensions/istio/model-v1alpha3/pom.xml b/extensions/istio/model-v1alpha3/pom.xml deleted file mode 100644 index 60a018a13ec..00000000000 --- a/extensions/istio/model-v1alpha3/pom.xml +++ /dev/null @@ -1,156 +0,0 @@ - - - - 4.0.0 - - io.fabric8 - istio-extension-pom - 7.0-SNAPSHOT - - - istio-model-v1alpha3 - bundle - Fabric8 :: Istio :: Model v1alpha3 - - - - io.fabric8.kubernetes.api.builder, - !io.fabric8.istio.*, - * - - - io.fabric8.istio.api.analysis.v1alpha1.*, - io.fabric8.istio.api.networking.v1alpha3.*, - io.fabric8.istio.api.internal.protobuf.types.*, - io.fabric8.istio.api.meta.v1alpha1.*, - io.fabric8.istio.api.networking.v1alpha1.*, - io.fabric8.istio.api.extensions.v1alpha1.*, - io.fabric8.istio.api.telemetry.v1alpha1.*, - io.fabric8.istio.api.type.v1beta1.*, - io.fabric8.istio.api.networking.v1beta1.*, - - - - - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.sundr - sundr-codegen-velocity-nodeps - - - io.fabric8 - kubernetes-model-core - - - org.projectlombok - lombok - - - org.junit.jupiter - junit-jupiter-engine - - - org.assertj - assertj-core - - - - - - generate - - - - org.jsonschema2pojo - jsonschema2pojo-maven-plugin - - - maven-antrun-plugin - - - generate-sources - - - - - - - - run - - - - - - - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.outputDirectory}/schema/istio-schema.json - json - schema - - - - - - add-source - process-resources - - add-source - - - - src/generated/java - target/generated-sources/annotations - - - - - - - - diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseLevel.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseLevel.java deleted file mode 100644 index 45958043102..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseLevel.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.analysis.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum AnalysisMessageBaseLevel { - - UNKNOWN(0), - ERROR(3), - WARNING(8), - INFO(12); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (AnalysisMessageBaseLevel c: values()) { - CONSTANTS.put(c.value, c); - } - for (AnalysisMessageBaseLevel c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - AnalysisMessageBaseLevel(Integer value) { - this.value = value; - } - - @JsonCreator - public static AnalysisMessageBaseLevel fromValue(Object value) { - if (value instanceof String) { - { - AnalysisMessageBaseLevel constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - AnalysisMessageBaseLevel constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/IsValueKind.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/IsValueKind.java deleted file mode 100644 index 0d67cfd797f..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/IsValueKind.java +++ /dev/null @@ -1,31 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.internal.protobuf.types.ValueBoolValue; -import io.fabric8.istio.api.internal.protobuf.types.ValueListValue; -import io.fabric8.istio.api.internal.protobuf.types.ValueNullValue; -import io.fabric8.istio.api.internal.protobuf.types.ValueNumberValue; -import io.fabric8.istio.api.internal.protobuf.types.ValueStringValue; -import io.fabric8.istio.api.internal.protobuf.types.ValueStructValue; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(ValueNullValue.class), - @JsonSubTypes.Type(ValueNumberValue.class), - @JsonSubTypes.Type(ValueStringValue.class), - @JsonSubTypes.Type(ValueBoolValue.class), - @JsonSubTypes.Type(ValueStructValue.class), - @JsonSubTypes.Type(ValueListValue.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsValueKind { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ListValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ListValue.java deleted file mode 100644 index c4b6fd11aba..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ListValue.java +++ /dev/null @@ -1,120 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "values" -}) -@ToString -@EqualsAndHashCode -@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 ListValue implements Editable , KubernetesResource -{ - - @JsonProperty("values") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List values = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ListValue() { - } - - public ListValue(List values) { - super(); - this.values = values; - } - - @JsonProperty("values") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getValues() { - return values; - } - - @JsonProperty("values") - public void setValues(List values) { - this.values = values; - } - - @JsonIgnore - public ListValueBuilder edit() { - return new ListValueBuilder(this); - } - - @JsonIgnore - public ListValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/NullValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/NullValue.java deleted file mode 100644 index 829e427ad3c..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/NullValue.java +++ /dev/null @@ -1,50 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum NullValue { - - NULL_VALUE(0); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (NullValue c: values()) { - CONSTANTS.put(c.value, c); - } - for (NullValue c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - NullValue(Integer value) { - this.value = value; - } - - @JsonCreator - public static NullValue fromValue(Object value) { - if (value instanceof String) { - { - NullValue constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - NullValue constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Struct.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Struct.java deleted file mode 100644 index 5448639fb51..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Struct.java +++ /dev/null @@ -1,118 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "fields" -}) -@ToString -@EqualsAndHashCode -@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 Struct implements Editable , KubernetesResource -{ - - @JsonProperty("fields") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map fields = new LinkedHashMap<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Struct() { - } - - public Struct(Map fields) { - super(); - this.fields = fields; - } - - @JsonProperty("fields") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getFields() { - return fields; - } - - @JsonProperty("fields") - public void setFields(Map fields) { - this.fields = fields; - } - - @JsonIgnore - public StructBuilder edit() { - return new StructBuilder(this); - } - - @JsonIgnore - public StructBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Value.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Value.java deleted file mode 100644 index 3ccceec39f6..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/Value.java +++ /dev/null @@ -1,119 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "Kind" -}) -@ToString -@EqualsAndHashCode -@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 Value implements Editable , KubernetesResource -{ - - @JsonProperty("Kind") - @JsonUnwrapped - private IsValueKind kind; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Value() { - } - - public Value(IsValueKind kind) { - super(); - this.kind = kind; - } - - @JsonProperty("Kind") - @JsonUnwrapped - public IsValueKind getKind() { - return kind; - } - - @JsonProperty("Kind") - public void setKind(IsValueKind kind) { - this.kind = kind; - } - - @JsonIgnore - public ValueBuilder edit() { - return new ValueBuilder(this); - } - - @JsonIgnore - public ValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueBoolValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueBoolValue.java deleted file mode 100644 index e4474ce6cc7..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueBoolValue.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "boolValue" -}) -@ToString -@EqualsAndHashCode -@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 ValueBoolValue implements IsValueKind, Editable -{ - - @JsonProperty("boolValue") - private Boolean boolValue; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ValueBoolValue() { - } - - public ValueBoolValue(Boolean boolValue) { - super(); - this.boolValue = boolValue; - } - - @JsonProperty("boolValue") - public Boolean getBoolValue() { - return boolValue; - } - - @JsonProperty("boolValue") - public void setBoolValue(Boolean boolValue) { - this.boolValue = boolValue; - } - - @JsonIgnore - public ValueBoolValueBuilder edit() { - return new ValueBoolValueBuilder(this); - } - - @JsonIgnore - public ValueBoolValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueListValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueListValue.java deleted file mode 100644 index cdb94dbf7ee..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueListValue.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "listValue" -}) -@ToString -@EqualsAndHashCode -@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 ValueListValue implements IsValueKind, Editable -{ - - @JsonProperty("listValue") - private ListValue listValue; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ValueListValue() { - } - - public ValueListValue(ListValue listValue) { - super(); - this.listValue = listValue; - } - - @JsonProperty("listValue") - public ListValue getListValue() { - return listValue; - } - - @JsonProperty("listValue") - public void setListValue(ListValue listValue) { - this.listValue = listValue; - } - - @JsonIgnore - public ValueListValueBuilder edit() { - return new ValueListValueBuilder(this); - } - - @JsonIgnore - public ValueListValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNullValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNullValue.java deleted file mode 100644 index 819798f38f5..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNullValue.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "nullValue" -}) -@ToString -@EqualsAndHashCode -@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 ValueNullValue implements IsValueKind, Editable -{ - - @JsonProperty("nullValue") - private NullValue nullValue; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ValueNullValue() { - } - - public ValueNullValue(NullValue nullValue) { - super(); - this.nullValue = nullValue; - } - - @JsonProperty("nullValue") - public NullValue getNullValue() { - return nullValue; - } - - @JsonProperty("nullValue") - public void setNullValue(NullValue nullValue) { - this.nullValue = nullValue; - } - - @JsonIgnore - public ValueNullValueBuilder edit() { - return new ValueNullValueBuilder(this); - } - - @JsonIgnore - public ValueNullValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNumberValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNumberValue.java deleted file mode 100644 index d44ea8a150b..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueNumberValue.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "numberValue" -}) -@ToString -@EqualsAndHashCode -@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 ValueNumberValue implements IsValueKind, Editable -{ - - @JsonProperty("numberValue") - private Double numberValue; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ValueNumberValue() { - } - - public ValueNumberValue(Double numberValue) { - super(); - this.numberValue = numberValue; - } - - @JsonProperty("numberValue") - public Double getNumberValue() { - return numberValue; - } - - @JsonProperty("numberValue") - public void setNumberValue(Double numberValue) { - this.numberValue = numberValue; - } - - @JsonIgnore - public ValueNumberValueBuilder edit() { - return new ValueNumberValueBuilder(this); - } - - @JsonIgnore - public ValueNumberValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStringValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStringValue.java deleted file mode 100644 index e1412dc1cb3..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStringValue.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "stringValue" -}) -@ToString -@EqualsAndHashCode -@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 ValueStringValue implements IsValueKind, Editable -{ - - @JsonProperty("stringValue") - private String stringValue; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ValueStringValue() { - } - - public ValueStringValue(String stringValue) { - super(); - this.stringValue = stringValue; - } - - @JsonProperty("stringValue") - public String getStringValue() { - return stringValue; - } - - @JsonProperty("stringValue") - public void setStringValue(String stringValue) { - this.stringValue = stringValue; - } - - @JsonIgnore - public ValueStringValueBuilder edit() { - return new ValueStringValueBuilder(this); - } - - @JsonIgnore - public ValueStringValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStructValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStructValue.java deleted file mode 100644 index ec6a290dece..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/internal/protobuf/types/ValueStructValue.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.internal.protobuf.types; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "structValue" -}) -@ToString -@EqualsAndHashCode -@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 ValueStructValue implements IsValueKind, Editable -{ - - @JsonProperty("structValue") - private Struct structValue; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ValueStructValue() { - } - - public ValueStructValue(Struct structValue) { - super(); - this.structValue = structValue; - } - - @JsonProperty("structValue") - public Struct getStructValue() { - return structValue; - } - - @JsonProperty("structValue") - public void setStructValue(Struct structValue) { - this.structValue = structValue; - } - - @JsonIgnore - public ValueStructValueBuilder edit() { - return new ValueStructValueBuilder(this); - } - - @JsonIgnore - public ValueStructValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/EnvValueSource.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/EnvValueSource.java deleted file mode 100644 index 4edb0d0d766..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/EnvValueSource.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum EnvValueSource { - - INLINE(0), - HOST(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (EnvValueSource c: values()) { - CONSTANTS.put(c.value, c); - } - for (EnvValueSource c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - EnvValueSource(Integer value) { - this.value = value; - } - - @JsonCreator - public static EnvValueSource fromValue(Object value) { - if (value instanceof String) { - { - EnvValueSource constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - EnvValueSource constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/FailStrategy.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/FailStrategy.java deleted file mode 100644 index 9507b25de8b..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/FailStrategy.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum FailStrategy { - - FAIL_CLOSE(0), - FAIL_OPEN(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (FailStrategy c: values()) { - CONSTANTS.put(c.value, c); - } - for (FailStrategy c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - FailStrategy(Integer value) { - this.value = value; - } - - @JsonCreator - public static FailStrategy fromValue(Object value) { - if (value instanceof String) { - { - FailStrategy constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - FailStrategy constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PluginPhase.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PluginPhase.java deleted file mode 100644 index f2d2cde0b60..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PluginPhase.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum PluginPhase { - - UNSPECIFIED_PHASE(0), - AUTHN(1), - AUTHZ(2), - STATS(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (PluginPhase c: values()) { - CONSTANTS.put(c.value, c); - } - for (PluginPhase c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - PluginPhase(Integer value) { - this.value = value; - } - - @JsonCreator - public static PluginPhase fromValue(Object value) { - if (value instanceof String) { - { - PluginPhase constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - PluginPhase constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PluginType.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PluginType.java deleted file mode 100644 index 92ad5160479..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PluginType.java +++ /dev/null @@ -1,52 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum PluginType { - - UNSPECIFIED_PLUGIN_TYPE(0), - HTTP(1), - NETWORK(2); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (PluginType c: values()) { - CONSTANTS.put(c.value, c); - } - for (PluginType c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - PluginType(Integer value) { - this.value = value; - } - - @JsonCreator - public static PluginType fromValue(Object value) { - if (value instanceof String) { - { - PluginType constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - PluginType constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PullPolicy.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PullPolicy.java deleted file mode 100644 index f3fffe25534..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/PullPolicy.java +++ /dev/null @@ -1,52 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum PullPolicy { - - UNSPECIFIED_POLICY(0), - IfNotPresent(1), - Always(2); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (PullPolicy c: values()) { - CONSTANTS.put(c.value, c); - } - for (PullPolicy c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - PullPolicy(Integer value) { - this.value = value; - } - - @JsonCreator - public static PullPolicy fromValue(Object value) { - if (value instanceof String) { - { - PullPolicy constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - PullPolicy constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/CaptureMode.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/CaptureMode.java deleted file mode 100644 index f1c03ab6cb0..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/CaptureMode.java +++ /dev/null @@ -1,52 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum CaptureMode { - - DEFAULT(0), - IPTABLES(1), - NONE(2); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (CaptureMode c: values()) { - CONSTANTS.put(c.value, c); - } - for (CaptureMode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - CaptureMode(Integer value) { - this.value = value; - } - - @JsonCreator - public static CaptureMode fromValue(Object value) { - if (value instanceof String) { - { - CaptureMode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - CaptureMode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettingsTLSmode.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettingsTLSmode.java deleted file mode 100644 index 1e328532e09..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettingsTLSmode.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ClientTLSSettingsTLSmode { - - DISABLE(0), - SIMPLE(1), - MUTUAL(2), - ISTIO_MUTUAL(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ClientTLSSettingsTLSmode c: values()) { - CONSTANTS.put(c.value, c); - } - for (ClientTLSSettingsTLSmode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ClientTLSSettingsTLSmode(Integer value) { - this.value = value; - } - - @JsonCreator - public static ClientTLSSettingsTLSmode fromValue(Object value) { - if (value instanceof String) { - { - ClientTLSSettingsTLSmode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ClientTLSSettingsTLSmode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java deleted file mode 100644 index e8fa85516a3..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java +++ /dev/null @@ -1,52 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy { - - DEFAULT(0), - DO_NOT_UPGRADE(1), - UPGRADE(2); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy c: values()) { - CONSTANTS.put(c.value, c); - } - for (ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy(Integer value) { - this.value = value; - } - - @JsonCreator - public static ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy fromValue(Object value) { - if (value instanceof String) { - { - ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java deleted file mode 100644 index 66d23bcfde1..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java +++ /dev/null @@ -1,172 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "connectTimeout", - "idleTimeout", - "maxConnectionDuration", - "maxConnections", - "tcpKeepalive" -}) -@ToString -@EqualsAndHashCode -@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 ConnectionPoolSettingsTCPSettings implements Editable , KubernetesResource -{ - - @JsonProperty("connectTimeout") - private String connectTimeout; - @JsonProperty("idleTimeout") - private String idleTimeout; - @JsonProperty("maxConnectionDuration") - private String maxConnectionDuration; - @JsonProperty("maxConnections") - private Integer maxConnections; - @JsonProperty("tcpKeepalive") - private ConnectionPoolSettingsTCPSettingsTcpKeepalive tcpKeepalive; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ConnectionPoolSettingsTCPSettings() { - } - - public ConnectionPoolSettingsTCPSettings(String connectTimeout, String idleTimeout, String maxConnectionDuration, Integer maxConnections, ConnectionPoolSettingsTCPSettingsTcpKeepalive tcpKeepalive) { - super(); - this.connectTimeout = connectTimeout; - this.idleTimeout = idleTimeout; - this.maxConnectionDuration = maxConnectionDuration; - this.maxConnections = maxConnections; - this.tcpKeepalive = tcpKeepalive; - } - - @JsonProperty("connectTimeout") - public String getConnectTimeout() { - return connectTimeout; - } - - @JsonProperty("connectTimeout") - public void setConnectTimeout(String connectTimeout) { - this.connectTimeout = connectTimeout; - } - - @JsonProperty("idleTimeout") - public String getIdleTimeout() { - return idleTimeout; - } - - @JsonProperty("idleTimeout") - public void setIdleTimeout(String idleTimeout) { - this.idleTimeout = idleTimeout; - } - - @JsonProperty("maxConnectionDuration") - public String getMaxConnectionDuration() { - return maxConnectionDuration; - } - - @JsonProperty("maxConnectionDuration") - public void setMaxConnectionDuration(String maxConnectionDuration) { - this.maxConnectionDuration = maxConnectionDuration; - } - - @JsonProperty("maxConnections") - public Integer getMaxConnections() { - return maxConnections; - } - - @JsonProperty("maxConnections") - public void setMaxConnections(Integer maxConnections) { - this.maxConnections = maxConnections; - } - - @JsonProperty("tcpKeepalive") - public ConnectionPoolSettingsTCPSettingsTcpKeepalive getTcpKeepalive() { - return tcpKeepalive; - } - - @JsonProperty("tcpKeepalive") - public void setTcpKeepalive(ConnectionPoolSettingsTCPSettingsTcpKeepalive tcpKeepalive) { - this.tcpKeepalive = tcpKeepalive; - } - - @JsonIgnore - public ConnectionPoolSettingsTCPSettingsBuilder edit() { - return new ConnectionPoolSettingsTCPSettingsBuilder(this); - } - - @JsonIgnore - public ConnectionPoolSettingsTCPSettingsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java deleted file mode 100644 index fb054aacc29..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java +++ /dev/null @@ -1,144 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "interval", - "probes", - "time" -}) -@ToString -@EqualsAndHashCode -@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 ConnectionPoolSettingsTCPSettingsTcpKeepalive implements Editable , KubernetesResource -{ - - @JsonProperty("interval") - private String interval; - @JsonProperty("probes") - private Integer probes; - @JsonProperty("time") - private String time; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ConnectionPoolSettingsTCPSettingsTcpKeepalive() { - } - - public ConnectionPoolSettingsTCPSettingsTcpKeepalive(String interval, Integer probes, String time) { - super(); - this.interval = interval; - this.probes = probes; - this.time = time; - } - - @JsonProperty("interval") - public String getInterval() { - return interval; - } - - @JsonProperty("interval") - public void setInterval(String interval) { - this.interval = interval; - } - - @JsonProperty("probes") - public Integer getProbes() { - return probes; - } - - @JsonProperty("probes") - public void setProbes(Integer probes) { - this.probes = probes; - } - - @JsonProperty("time") - public String getTime() { - return time; - } - - @JsonProperty("time") - public void setTime(String time) { - this.time = time; - } - - @JsonIgnore - public ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder edit() { - return new ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder(this); - } - - @JsonIgnore - public ConnectionPoolSettingsTCPSettingsTcpKeepaliveBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleSpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleSpec.java deleted file mode 100644 index c5662043a79..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleSpec.java +++ /dev/null @@ -1,179 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.istio.api.networking.v1beta1.WorkloadSelector; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "exportTo", - "host", - "subsets", - "trafficPolicy", - "workloadSelector" -}) -@ToString -@EqualsAndHashCode -@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 DestinationRuleSpec implements Editable , KubernetesResource -{ - - @JsonProperty("exportTo") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List exportTo = new ArrayList<>(); - @JsonProperty("host") - private String host; - @JsonProperty("subsets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List subsets = new ArrayList<>(); - @JsonProperty("trafficPolicy") - private TrafficPolicy trafficPolicy; - @JsonProperty("workloadSelector") - private WorkloadSelector workloadSelector; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public DestinationRuleSpec() { - } - - public DestinationRuleSpec(List exportTo, String host, List subsets, TrafficPolicy trafficPolicy, WorkloadSelector workloadSelector) { - super(); - this.exportTo = exportTo; - this.host = host; - this.subsets = subsets; - this.trafficPolicy = trafficPolicy; - this.workloadSelector = workloadSelector; - } - - @JsonProperty("exportTo") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getExportTo() { - return exportTo; - } - - @JsonProperty("exportTo") - public void setExportTo(List exportTo) { - this.exportTo = exportTo; - } - - @JsonProperty("host") - public String getHost() { - return host; - } - - @JsonProperty("host") - public void setHost(String host) { - this.host = host; - } - - @JsonProperty("subsets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSubsets() { - return subsets; - } - - @JsonProperty("subsets") - public void setSubsets(List subsets) { - this.subsets = subsets; - } - - @JsonProperty("trafficPolicy") - public TrafficPolicy getTrafficPolicy() { - return trafficPolicy; - } - - @JsonProperty("trafficPolicy") - public void setTrafficPolicy(TrafficPolicy trafficPolicy) { - this.trafficPolicy = trafficPolicy; - } - - @JsonProperty("workloadSelector") - public WorkloadSelector getWorkloadSelector() { - return workloadSelector; - } - - @JsonProperty("workloadSelector") - public void setWorkloadSelector(WorkloadSelector workloadSelector) { - this.workloadSelector = workloadSelector; - } - - @JsonIgnore - public DestinationRuleSpecBuilder edit() { - return new DestinationRuleSpecBuilder(this); - } - - @JsonIgnore - public DestinationRuleSpecBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterApplyTo.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterApplyTo.java deleted file mode 100644 index 451af4108da..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterApplyTo.java +++ /dev/null @@ -1,61 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum EnvoyFilterApplyTo { - - INVALID(0), - LISTENER(1), - FILTER_CHAIN(2), - NETWORK_FILTER(3), - HTTP_FILTER(4), - ROUTE_CONFIGURATION(5), - VIRTUAL_HOST(6), - HTTP_ROUTE(7), - CLUSTER(8), - EXTENSION_CONFIG(9), - BOOTSTRAP(10), - LISTENER_FILTER(11); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (EnvoyFilterApplyTo c: values()) { - CONSTANTS.put(c.value, c); - } - for (EnvoyFilterApplyTo c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - EnvoyFilterApplyTo(Integer value) { - this.value = value; - } - - @JsonCreator - public static EnvoyFilterApplyTo fromValue(Object value) { - if (value instanceof String) { - { - EnvoyFilterApplyTo constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - EnvoyFilterApplyTo constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchContext.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchContext.java deleted file mode 100644 index 79d963f8811..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchContext.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum EnvoyFilterPatchContext { - - ANY(0), - SIDECAR_INBOUND(1), - SIDECAR_OUTBOUND(2), - GATEWAY(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (EnvoyFilterPatchContext c: values()) { - CONSTANTS.put(c.value, c); - } - for (EnvoyFilterPatchContext c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - EnvoyFilterPatchContext(Integer value) { - this.value = value; - } - - @JsonCreator - public static EnvoyFilterPatchContext fromValue(Object value) { - if (value instanceof String) { - { - EnvoyFilterPatchContext constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - EnvoyFilterPatchContext constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchFilterClass.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchFilterClass.java deleted file mode 100644 index 0a7e3170a7c..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchFilterClass.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum EnvoyFilterPatchFilterClass { - - UNSPECIFIED(0), - AUTHN(1), - AUTHZ(2), - STATS(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (EnvoyFilterPatchFilterClass c: values()) { - CONSTANTS.put(c.value, c); - } - for (EnvoyFilterPatchFilterClass c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - EnvoyFilterPatchFilterClass(Integer value) { - this.value = value; - } - - @JsonCreator - public static EnvoyFilterPatchFilterClass fromValue(Object value) { - if (value instanceof String) { - { - EnvoyFilterPatchFilterClass constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - EnvoyFilterPatchFilterClass constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchOperation.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchOperation.java deleted file mode 100644 index 306061fdac8..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterPatchOperation.java +++ /dev/null @@ -1,57 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum EnvoyFilterPatchOperation { - - INVALID(0), - MERGE(1), - ADD(2), - REMOVE(3), - INSERT_BEFORE(4), - INSERT_AFTER(5), - INSERT_FIRST(6), - REPLACE(7); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (EnvoyFilterPatchOperation c: values()) { - CONSTANTS.put(c.value, c); - } - for (EnvoyFilterPatchOperation c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - EnvoyFilterPatchOperation(Integer value) { - this.value = value; - } - - @JsonCreator - public static EnvoyFilterPatchOperation fromValue(Object value) { - if (value instanceof String) { - { - EnvoyFilterPatchOperation constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - EnvoyFilterPatchOperation constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatchAction.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatchAction.java deleted file mode 100644 index 57248b0aa0c..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatchRouteMatchAction.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum EnvoyFilterRouteConfigurationMatchRouteMatchAction { - - ANY(0), - ROUTE(1), - REDIRECT(2), - DIRECT_RESPONSE(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (EnvoyFilterRouteConfigurationMatchRouteMatchAction c: values()) { - CONSTANTS.put(c.value, c); - } - for (EnvoyFilterRouteConfigurationMatchRouteMatchAction c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - EnvoyFilterRouteConfigurationMatchRouteMatchAction(Integer value) { - this.value = value; - } - - @JsonCreator - public static EnvoyFilterRouteConfigurationMatchRouteMatchAction fromValue(Object value) { - if (value instanceof String) { - { - EnvoyFilterRouteConfigurationMatchRouteMatchAction constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - EnvoyFilterRouteConfigurationMatchRouteMatchAction constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewaySpec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewaySpec.java deleted file mode 100644 index ddc7666f84a..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewaySpec.java +++ /dev/null @@ -1,136 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "selector", - "servers" -}) -@ToString -@EqualsAndHashCode -@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 GatewaySpec implements Editable , KubernetesResource -{ - - @JsonProperty("selector") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map selector = new LinkedHashMap<>(); - @JsonProperty("servers") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List servers = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public GatewaySpec() { - } - - public GatewaySpec(Map selector, List servers) { - super(); - this.selector = selector; - this.servers = servers; - } - - @JsonProperty("selector") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSelector() { - return selector; - } - - @JsonProperty("selector") - public void setSelector(Map selector) { - this.selector = selector; - } - - @JsonProperty("servers") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getServers() { - return servers; - } - - @JsonProperty("servers") - public void setServers(List servers) { - this.servers = servers; - } - - @JsonIgnore - public GatewaySpecBuilder edit() { - return new GatewaySpecBuilder(this); - } - - @JsonIgnore - public GatewaySpecBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBodyBytes.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBodyBytes.java deleted file mode 100644 index 2d6dd450b74..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBodyBytes.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "bytes" -}) -@ToString -@EqualsAndHashCode -@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 HTTPBodyBytes implements IsHTTPBodySpecifier, Editable -{ - - @JsonProperty("bytes") - private String bytes; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPBodyBytes() { - } - - public HTTPBodyBytes(String bytes) { - super(); - this.bytes = bytes; - } - - @JsonProperty("bytes") - public String getBytes() { - return bytes; - } - - @JsonProperty("bytes") - public void setBytes(String bytes) { - this.bytes = bytes; - } - - @JsonIgnore - public HTTPBodyBytesBuilder edit() { - return new HTTPBodyBytesBuilder(this); - } - - @JsonIgnore - public HTTPBodyBytesBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjection.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjection.java deleted file mode 100644 index 42b56029a06..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjection.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "abort", - "delay" -}) -@ToString -@EqualsAndHashCode -@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 HTTPFaultInjection implements Editable , KubernetesResource -{ - - @JsonProperty("abort") - private HTTPFaultInjectionAbort abort; - @JsonProperty("delay") - private HTTPFaultInjectionDelay delay; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPFaultInjection() { - } - - public HTTPFaultInjection(HTTPFaultInjectionAbort abort, HTTPFaultInjectionDelay delay) { - super(); - this.abort = abort; - this.delay = delay; - } - - @JsonProperty("abort") - public HTTPFaultInjectionAbort getAbort() { - return abort; - } - - @JsonProperty("abort") - public void setAbort(HTTPFaultInjectionAbort abort) { - this.abort = abort; - } - - @JsonProperty("delay") - public HTTPFaultInjectionDelay getDelay() { - return delay; - } - - @JsonProperty("delay") - public void setDelay(HTTPFaultInjectionDelay delay) { - this.delay = delay; - } - - @JsonIgnore - public HTTPFaultInjectionBuilder edit() { - return new HTTPFaultInjectionBuilder(this); - } - - @JsonIgnore - public HTTPFaultInjectionBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java deleted file mode 100644 index 17cfe0cdea3..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "grpcStatus" -}) -@ToString -@EqualsAndHashCode -@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 HTTPFaultInjectionAbortGrpcStatus implements IsHTTPFaultInjectionAbortErrorType, Editable -{ - - @JsonProperty("grpcStatus") - private String grpcStatus; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPFaultInjectionAbortGrpcStatus() { - } - - public HTTPFaultInjectionAbortGrpcStatus(String grpcStatus) { - super(); - this.grpcStatus = grpcStatus; - } - - @JsonProperty("grpcStatus") - public String getGrpcStatus() { - return grpcStatus; - } - - @JsonProperty("grpcStatus") - public void setGrpcStatus(String grpcStatus) { - this.grpcStatus = grpcStatus; - } - - @JsonIgnore - public HTTPFaultInjectionAbortGrpcStatusBuilder edit() { - return new HTTPFaultInjectionAbortGrpcStatusBuilder(this); - } - - @JsonIgnore - public HTTPFaultInjectionAbortGrpcStatusBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java deleted file mode 100644 index bb296a3c578..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "http2Error" -}) -@ToString -@EqualsAndHashCode -@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 HTTPFaultInjectionAbortHttp2Error implements IsHTTPFaultInjectionAbortErrorType, Editable -{ - - @JsonProperty("http2Error") - private String http2Error; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPFaultInjectionAbortHttp2Error() { - } - - public HTTPFaultInjectionAbortHttp2Error(String http2Error) { - super(); - this.http2Error = http2Error; - } - - @JsonProperty("http2Error") - public String getHttp2Error() { - return http2Error; - } - - @JsonProperty("http2Error") - public void setHttp2Error(String http2Error) { - this.http2Error = http2Error; - } - - @JsonIgnore - public HTTPFaultInjectionAbortHttp2ErrorBuilder edit() { - return new HTTPFaultInjectionAbortHttp2ErrorBuilder(this); - } - - @JsonIgnore - public HTTPFaultInjectionAbortHttp2ErrorBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java deleted file mode 100644 index 975a731de1f..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "fixedDelay" -}) -@ToString -@EqualsAndHashCode -@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 HTTPFaultInjectionDelayFixedDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable -{ - - @JsonProperty("fixedDelay") - private String fixedDelay; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPFaultInjectionDelayFixedDelay() { - } - - public HTTPFaultInjectionDelayFixedDelay(String fixedDelay) { - super(); - this.fixedDelay = fixedDelay; - } - - @JsonProperty("fixedDelay") - public String getFixedDelay() { - return fixedDelay; - } - - @JsonProperty("fixedDelay") - public void setFixedDelay(String fixedDelay) { - this.fixedDelay = fixedDelay; - } - - @JsonIgnore - public HTTPFaultInjectionDelayFixedDelayBuilder edit() { - return new HTTPFaultInjectionDelayFixedDelayBuilder(this); - } - - @JsonIgnore - public HTTPFaultInjectionDelayFixedDelayBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMatchRequest.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMatchRequest.java deleted file mode 100644 index 87727e5d68f..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMatchRequest.java +++ /dev/null @@ -1,310 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "authority", - "gateways", - "headers", - "ignoreUriCase", - "method", - "name", - "port", - "queryParams", - "scheme", - "sourceLabels", - "sourceNamespace", - "statPrefix", - "uri", - "withoutHeaders" -}) -@ToString -@EqualsAndHashCode -@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 HTTPMatchRequest implements Editable , KubernetesResource -{ - - @JsonProperty("authority") - private io.fabric8.istio.api.networking.v1alpha3.StringMatch authority; - @JsonProperty("gateways") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List gateways = new ArrayList<>(); - @JsonProperty("headers") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map headers = new LinkedHashMap<>(); - @JsonProperty("ignoreUriCase") - private Boolean ignoreUriCase; - @JsonProperty("method") - private io.fabric8.istio.api.networking.v1alpha3.StringMatch method; - @JsonProperty("name") - private java.lang.String name; - @JsonProperty("port") - private Integer port; - @JsonProperty("queryParams") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map queryParams = new LinkedHashMap<>(); - @JsonProperty("scheme") - private io.fabric8.istio.api.networking.v1alpha3.StringMatch scheme; - @JsonProperty("sourceLabels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map sourceLabels = new LinkedHashMap<>(); - @JsonProperty("sourceNamespace") - private java.lang.String sourceNamespace; - @JsonProperty("statPrefix") - private java.lang.String statPrefix; - @JsonProperty("uri") - private io.fabric8.istio.api.networking.v1alpha3.StringMatch uri; - @JsonProperty("withoutHeaders") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map withoutHeaders = new LinkedHashMap<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPMatchRequest() { - } - - public HTTPMatchRequest(io.fabric8.istio.api.networking.v1alpha3.StringMatch authority, List gateways, Map headers, Boolean ignoreUriCase, io.fabric8.istio.api.networking.v1alpha3.StringMatch method, java.lang.String name, Integer port, Map queryParams, io.fabric8.istio.api.networking.v1alpha3.StringMatch scheme, Map sourceLabels, java.lang.String sourceNamespace, java.lang.String statPrefix, io.fabric8.istio.api.networking.v1alpha3.StringMatch uri, Map withoutHeaders) { - super(); - this.authority = authority; - this.gateways = gateways; - this.headers = headers; - this.ignoreUriCase = ignoreUriCase; - this.method = method; - this.name = name; - this.port = port; - this.queryParams = queryParams; - this.scheme = scheme; - this.sourceLabels = sourceLabels; - this.sourceNamespace = sourceNamespace; - this.statPrefix = statPrefix; - this.uri = uri; - this.withoutHeaders = withoutHeaders; - } - - @JsonProperty("authority") - public io.fabric8.istio.api.networking.v1alpha3.StringMatch getAuthority() { - return authority; - } - - @JsonProperty("authority") - public void setAuthority(io.fabric8.istio.api.networking.v1alpha3.StringMatch authority) { - this.authority = authority; - } - - @JsonProperty("gateways") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getGateways() { - return gateways; - } - - @JsonProperty("gateways") - public void setGateways(List gateways) { - this.gateways = gateways; - } - - @JsonProperty("headers") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getHeaders() { - return headers; - } - - @JsonProperty("headers") - public void setHeaders(Map headers) { - this.headers = headers; - } - - @JsonProperty("ignoreUriCase") - public Boolean getIgnoreUriCase() { - return ignoreUriCase; - } - - @JsonProperty("ignoreUriCase") - public void setIgnoreUriCase(Boolean ignoreUriCase) { - this.ignoreUriCase = ignoreUriCase; - } - - @JsonProperty("method") - public io.fabric8.istio.api.networking.v1alpha3.StringMatch getMethod() { - return method; - } - - @JsonProperty("method") - public void setMethod(io.fabric8.istio.api.networking.v1alpha3.StringMatch method) { - this.method = method; - } - - @JsonProperty("name") - public java.lang.String getName() { - return name; - } - - @JsonProperty("name") - public void setName(java.lang.String name) { - this.name = name; - } - - @JsonProperty("port") - public Integer getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(Integer port) { - this.port = port; - } - - @JsonProperty("queryParams") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getQueryParams() { - return queryParams; - } - - @JsonProperty("queryParams") - public void setQueryParams(Map queryParams) { - this.queryParams = queryParams; - } - - @JsonProperty("scheme") - public io.fabric8.istio.api.networking.v1alpha3.StringMatch getScheme() { - return scheme; - } - - @JsonProperty("scheme") - public void setScheme(io.fabric8.istio.api.networking.v1alpha3.StringMatch scheme) { - this.scheme = scheme; - } - - @JsonProperty("sourceLabels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSourceLabels() { - return sourceLabels; - } - - @JsonProperty("sourceLabels") - public void setSourceLabels(Map sourceLabels) { - this.sourceLabels = sourceLabels; - } - - @JsonProperty("sourceNamespace") - public java.lang.String getSourceNamespace() { - return sourceNamespace; - } - - @JsonProperty("sourceNamespace") - public void setSourceNamespace(java.lang.String sourceNamespace) { - this.sourceNamespace = sourceNamespace; - } - - @JsonProperty("statPrefix") - public java.lang.String getStatPrefix() { - return statPrefix; - } - - @JsonProperty("statPrefix") - public void setStatPrefix(java.lang.String statPrefix) { - this.statPrefix = statPrefix; - } - - @JsonProperty("uri") - public io.fabric8.istio.api.networking.v1alpha3.StringMatch getUri() { - return uri; - } - - @JsonProperty("uri") - public void setUri(io.fabric8.istio.api.networking.v1alpha3.StringMatch uri) { - this.uri = uri; - } - - @JsonProperty("withoutHeaders") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getWithoutHeaders() { - return withoutHeaders; - } - - @JsonProperty("withoutHeaders") - public void setWithoutHeaders(Map withoutHeaders) { - this.withoutHeaders = withoutHeaders; - } - - @JsonIgnore - public HTTPMatchRequestBuilder edit() { - return new HTTPMatchRequestBuilder(this); - } - - @JsonIgnore - public HTTPMatchRequestBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirect.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirect.java deleted file mode 100644 index 0492f333343..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirect.java +++ /dev/null @@ -1,175 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "RedirectPort", - "authority", - "redirectCode", - "scheme", - "uri" -}) -@ToString -@EqualsAndHashCode -@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 HTTPRedirect implements Editable , KubernetesResource -{ - - @JsonProperty("RedirectPort") - @JsonUnwrapped - private IsHTTPRedirectRedirectPort redirectPort; - @JsonProperty("authority") - private String authority; - @JsonProperty("redirectCode") - private Integer redirectCode; - @JsonProperty("scheme") - private String scheme; - @JsonProperty("uri") - private String uri; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPRedirect() { - } - - public HTTPRedirect(IsHTTPRedirectRedirectPort redirectPort, String authority, Integer redirectCode, String scheme, String uri) { - super(); - this.redirectPort = redirectPort; - this.authority = authority; - this.redirectCode = redirectCode; - this.scheme = scheme; - this.uri = uri; - } - - @JsonProperty("RedirectPort") - @JsonUnwrapped - public IsHTTPRedirectRedirectPort getRedirectPort() { - return redirectPort; - } - - @JsonProperty("RedirectPort") - public void setRedirectPort(IsHTTPRedirectRedirectPort redirectPort) { - this.redirectPort = redirectPort; - } - - @JsonProperty("authority") - public String getAuthority() { - return authority; - } - - @JsonProperty("authority") - public void setAuthority(String authority) { - this.authority = authority; - } - - @JsonProperty("redirectCode") - public Integer getRedirectCode() { - return redirectCode; - } - - @JsonProperty("redirectCode") - public void setRedirectCode(Integer redirectCode) { - this.redirectCode = redirectCode; - } - - @JsonProperty("scheme") - public String getScheme() { - return scheme; - } - - @JsonProperty("scheme") - public void setScheme(String scheme) { - this.scheme = scheme; - } - - @JsonProperty("uri") - public String getUri() { - return uri; - } - - @JsonProperty("uri") - public void setUri(String uri) { - this.uri = uri; - } - - @JsonIgnore - public HTTPRedirectBuilder edit() { - return new HTTPRedirectBuilder(this); - } - - @JsonIgnore - public HTTPRedirectBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectRedirectPortSelection.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectRedirectPortSelection.java deleted file mode 100644 index f82b9077c57..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectRedirectPortSelection.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum HTTPRedirectRedirectPortSelection { - - FROM_PROTOCOL_DEFAULT(0), - FROM_REQUEST_PORT(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (HTTPRedirectRedirectPortSelection c: values()) { - CONSTANTS.put(c.value, c); - } - for (HTTPRedirectRedirectPortSelection c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - HTTPRedirectRedirectPortSelection(Integer value) { - this.value = value; - } - - @JsonCreator - public static HTTPRedirectRedirectPortSelection fromValue(Object value) { - if (value instanceof String) { - { - HTTPRedirectRedirectPortSelection constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - HTTPRedirectRedirectPortSelection constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRetry.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRetry.java deleted file mode 100644 index f250e9ae976..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRetry.java +++ /dev/null @@ -1,158 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "attempts", - "perTryTimeout", - "retryOn", - "retryRemoteLocalities" -}) -@ToString -@EqualsAndHashCode -@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 HTTPRetry implements Editable , KubernetesResource -{ - - @JsonProperty("attempts") - private Integer attempts; - @JsonProperty("perTryTimeout") - private String perTryTimeout; - @JsonProperty("retryOn") - private String retryOn; - @JsonProperty("retryRemoteLocalities") - private Boolean retryRemoteLocalities; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPRetry() { - } - - public HTTPRetry(Integer attempts, String perTryTimeout, String retryOn, Boolean retryRemoteLocalities) { - super(); - this.attempts = attempts; - this.perTryTimeout = perTryTimeout; - this.retryOn = retryOn; - this.retryRemoteLocalities = retryRemoteLocalities; - } - - @JsonProperty("attempts") - public Integer getAttempts() { - return attempts; - } - - @JsonProperty("attempts") - public void setAttempts(Integer attempts) { - this.attempts = attempts; - } - - @JsonProperty("perTryTimeout") - public String getPerTryTimeout() { - return perTryTimeout; - } - - @JsonProperty("perTryTimeout") - public void setPerTryTimeout(String perTryTimeout) { - this.perTryTimeout = perTryTimeout; - } - - @JsonProperty("retryOn") - public String getRetryOn() { - return retryOn; - } - - @JsonProperty("retryOn") - public void setRetryOn(String retryOn) { - this.retryOn = retryOn; - } - - @JsonProperty("retryRemoteLocalities") - public Boolean getRetryRemoteLocalities() { - return retryRemoteLocalities; - } - - @JsonProperty("retryRemoteLocalities") - public void setRetryRemoteLocalities(Boolean retryRemoteLocalities) { - this.retryRemoteLocalities = retryRemoteLocalities; - } - - @JsonIgnore - public HTTPRetryBuilder edit() { - return new HTTPRetryBuilder(this); - } - - @JsonIgnore - public HTTPRetryBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRoute.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRoute.java deleted file mode 100644 index 7777a04af7e..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRoute.java +++ /dev/null @@ -1,334 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "corsPolicy", - "delegate", - "directResponse", - "fault", - "headers", - "match", - "mirror", - "mirrorPercent", - "mirrorPercentage", - "mirrors", - "name", - "redirect", - "retries", - "rewrite", - "route", - "timeout" -}) -@ToString -@EqualsAndHashCode -@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 HTTPRoute implements Editable , KubernetesResource -{ - - @JsonProperty("corsPolicy") - private CorsPolicy corsPolicy; - @JsonProperty("delegate") - private Delegate delegate; - @JsonProperty("directResponse") - private HTTPDirectResponse directResponse; - @JsonProperty("fault") - private HTTPFaultInjection fault; - @JsonProperty("headers") - private Headers headers; - @JsonProperty("match") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List match = new ArrayList<>(); - @JsonProperty("mirror") - private Destination mirror; - @JsonProperty("mirrorPercent") - private Integer mirrorPercent; - @JsonProperty("mirrorPercentage") - private Percent mirrorPercentage; - @JsonProperty("mirrors") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List mirrors = new ArrayList<>(); - @JsonProperty("name") - private String name; - @JsonProperty("redirect") - private HTTPRedirect redirect; - @JsonProperty("retries") - private HTTPRetry retries; - @JsonProperty("rewrite") - private HTTPRewrite rewrite; - @JsonProperty("route") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List route = new ArrayList<>(); - @JsonProperty("timeout") - private String timeout; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPRoute() { - } - - public HTTPRoute(CorsPolicy corsPolicy, Delegate delegate, HTTPDirectResponse directResponse, HTTPFaultInjection fault, Headers headers, List match, Destination mirror, Integer mirrorPercent, Percent mirrorPercentage, List mirrors, String name, HTTPRedirect redirect, HTTPRetry retries, HTTPRewrite rewrite, List route, String timeout) { - super(); - this.corsPolicy = corsPolicy; - this.delegate = delegate; - this.directResponse = directResponse; - this.fault = fault; - this.headers = headers; - this.match = match; - this.mirror = mirror; - this.mirrorPercent = mirrorPercent; - this.mirrorPercentage = mirrorPercentage; - this.mirrors = mirrors; - this.name = name; - this.redirect = redirect; - this.retries = retries; - this.rewrite = rewrite; - this.route = route; - this.timeout = timeout; - } - - @JsonProperty("corsPolicy") - public CorsPolicy getCorsPolicy() { - return corsPolicy; - } - - @JsonProperty("corsPolicy") - public void setCorsPolicy(CorsPolicy corsPolicy) { - this.corsPolicy = corsPolicy; - } - - @JsonProperty("delegate") - public Delegate getDelegate() { - return delegate; - } - - @JsonProperty("delegate") - public void setDelegate(Delegate delegate) { - this.delegate = delegate; - } - - @JsonProperty("directResponse") - public HTTPDirectResponse getDirectResponse() { - return directResponse; - } - - @JsonProperty("directResponse") - public void setDirectResponse(HTTPDirectResponse directResponse) { - this.directResponse = directResponse; - } - - @JsonProperty("fault") - public HTTPFaultInjection getFault() { - return fault; - } - - @JsonProperty("fault") - public void setFault(HTTPFaultInjection fault) { - this.fault = fault; - } - - @JsonProperty("headers") - public Headers getHeaders() { - return headers; - } - - @JsonProperty("headers") - public void setHeaders(Headers headers) { - this.headers = headers; - } - - @JsonProperty("match") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMatch() { - return match; - } - - @JsonProperty("match") - public void setMatch(List match) { - this.match = match; - } - - @JsonProperty("mirror") - public Destination getMirror() { - return mirror; - } - - @JsonProperty("mirror") - public void setMirror(Destination mirror) { - this.mirror = mirror; - } - - @JsonProperty("mirrorPercent") - public Integer getMirrorPercent() { - return mirrorPercent; - } - - @JsonProperty("mirrorPercent") - public void setMirrorPercent(Integer mirrorPercent) { - this.mirrorPercent = mirrorPercent; - } - - @JsonProperty("mirrorPercentage") - public Percent getMirrorPercentage() { - return mirrorPercentage; - } - - @JsonProperty("mirrorPercentage") - public void setMirrorPercentage(Percent mirrorPercentage) { - this.mirrorPercentage = mirrorPercentage; - } - - @JsonProperty("mirrors") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMirrors() { - return mirrors; - } - - @JsonProperty("mirrors") - public void setMirrors(List mirrors) { - this.mirrors = mirrors; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("redirect") - public HTTPRedirect getRedirect() { - return redirect; - } - - @JsonProperty("redirect") - public void setRedirect(HTTPRedirect redirect) { - this.redirect = redirect; - } - - @JsonProperty("retries") - public HTTPRetry getRetries() { - return retries; - } - - @JsonProperty("retries") - public void setRetries(HTTPRetry retries) { - this.retries = retries; - } - - @JsonProperty("rewrite") - public HTTPRewrite getRewrite() { - return rewrite; - } - - @JsonProperty("rewrite") - public void setRewrite(HTTPRewrite rewrite) { - this.rewrite = rewrite; - } - - @JsonProperty("route") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRoute() { - return route; - } - - @JsonProperty("route") - public void setRoute(List route) { - this.route = route; - } - - @JsonProperty("timeout") - public String getTimeout() { - return timeout; - } - - @JsonProperty("timeout") - public void setTimeout(String timeout) { - this.timeout = timeout; - } - - @JsonIgnore - public HTTPRouteBuilder edit() { - return new HTTPRouteBuilder(this); - } - - @JsonIgnore - public HTTPRouteBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRouteDestination.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRouteDestination.java deleted file mode 100644 index 264cf4175d2..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRouteDestination.java +++ /dev/null @@ -1,144 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "destination", - "headers", - "weight" -}) -@ToString -@EqualsAndHashCode -@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 HTTPRouteDestination implements Editable , KubernetesResource -{ - - @JsonProperty("destination") - private Destination destination; - @JsonProperty("headers") - private Headers headers; - @JsonProperty("weight") - private Integer weight; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPRouteDestination() { - } - - public HTTPRouteDestination(Destination destination, Headers headers, Integer weight) { - super(); - this.destination = destination; - this.headers = headers; - this.weight = weight; - } - - @JsonProperty("destination") - public Destination getDestination() { - return destination; - } - - @JsonProperty("destination") - public void setDestination(Destination destination) { - this.destination = destination; - } - - @JsonProperty("headers") - public Headers getHeaders() { - return headers; - } - - @JsonProperty("headers") - public void setHeaders(Headers headers) { - this.headers = headers; - } - - @JsonProperty("weight") - public Integer getWeight() { - return weight; - } - - @JsonProperty("weight") - public void setWeight(Integer weight) { - this.weight = weight; - } - - @JsonIgnore - public HTTPRouteDestinationBuilder edit() { - return new HTTPRouteDestinationBuilder(this); - } - - @JsonIgnore - public HTTPRouteDestinationBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HeadersHeaderOperations.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HeadersHeaderOperations.java deleted file mode 100644 index 7fb129428b8..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HeadersHeaderOperations.java +++ /dev/null @@ -1,152 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "add", - "remove", - "set" -}) -@ToString -@EqualsAndHashCode -@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 HeadersHeaderOperations implements Editable , KubernetesResource -{ - - @JsonProperty("add") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map add = new LinkedHashMap<>(); - @JsonProperty("remove") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List remove = new ArrayList<>(); - @JsonProperty("set") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map set = new LinkedHashMap<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HeadersHeaderOperations() { - } - - public HeadersHeaderOperations(Map add, List remove, Map set) { - super(); - this.add = add; - this.remove = remove; - this.set = set; - } - - @JsonProperty("add") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getAdd() { - return add; - } - - @JsonProperty("add") - public void setAdd(Map add) { - this.add = add; - } - - @JsonProperty("remove") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRemove() { - return remove; - } - - @JsonProperty("remove") - public void setRemove(List remove) { - this.remove = remove; - } - - @JsonProperty("set") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSet() { - return set; - } - - @JsonProperty("set") - public void setSet(Map set) { - this.set = set; - } - - @JsonIgnore - public HeadersHeaderOperationsBuilder edit() { - return new HeadersHeaderOperationsBuilder(this); - } - - @JsonIgnore - public HeadersHeaderOperationsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPFaultInjectionAbortErrorType.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPFaultInjectionAbortErrorType.java deleted file mode 100644 index 5aaf1ce6d4e..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPFaultInjectionAbortErrorType.java +++ /dev/null @@ -1,25 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortGrpcStatus; -import io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortHttp2Error; -import io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortHttpStatus; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(HTTPFaultInjectionAbortHttpStatus.class), - @JsonSubTypes.Type(HTTPFaultInjectionAbortGrpcStatus.class), - @JsonSubTypes.Type(HTTPFaultInjectionAbortHttp2Error.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsHTTPFaultInjectionAbortErrorType { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPFaultInjectionDelayHttpDelayType.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPFaultInjectionDelayHttpDelayType.java deleted file mode 100644 index 17396e52e66..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPFaultInjectionDelayHttpDelayType.java +++ /dev/null @@ -1,23 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelayExponentialDelay; -import io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelayFixedDelay; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(HTTPFaultInjectionDelayExponentialDelay.class), - @JsonSubTypes.Type(HTTPFaultInjectionDelayFixedDelay.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsHTTPFaultInjectionDelayHttpDelayType { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPRedirectRedirectPort.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPRedirectRedirectPort.java deleted file mode 100644 index 91067d606ca..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPRedirectRedirectPort.java +++ /dev/null @@ -1,23 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectDerivePort; -import io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectPort; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(HTTPRedirectPort.class), - @JsonSubTypes.Type(HTTPRedirectDerivePort.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsHTTPRedirectRedirectPort { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java deleted file mode 100644 index 21ee7e59384..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java +++ /dev/null @@ -1,23 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBMaglev; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHash; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBMaglev.class), - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBRingHash.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsLoadBalancerSettingsConsistentHashLBHashAlgorithm { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashKey.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashKey.java deleted file mode 100644 index dadb26a6cdf..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashKey.java +++ /dev/null @@ -1,27 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookie; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpHeaderName; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpQueryParameterName; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBUseSourceIp; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBHttpHeaderName.class), - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBHttpCookie.class), - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBUseSourceIp.class), - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsLoadBalancerSettingsConsistentHashLBHashKey { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsLbPolicy.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsLbPolicy.java deleted file mode 100644 index 7527308a82a..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsLoadBalancerSettingsLbPolicy.java +++ /dev/null @@ -1,23 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHash; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsSimple; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHash.class), - @JsonSubTypes.Type(LoadBalancerSettingsSimple.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsLoadBalancerSettingsLbPolicy { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsReadinessProbeHealthCheckMethod.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsReadinessProbeHealthCheckMethod.java deleted file mode 100644 index 8e3a32e67b5..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsReadinessProbeHealthCheckMethod.java +++ /dev/null @@ -1,25 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeExec; -import io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeHttpGet; -import io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeTcpSocket; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(ReadinessProbeExec.class), - @JsonSubTypes.Type(ReadinessProbeHttpGet.class), - @JsonSubTypes.Type(ReadinessProbeTcpSocket.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsReadinessProbeHealthCheckMethod { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsStringMatchMatchType.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsStringMatchMatchType.java deleted file mode 100644 index f3877a7bcb2..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsStringMatchMatchType.java +++ /dev/null @@ -1,25 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.StringMatchExact; -import io.fabric8.istio.api.networking.v1alpha3.StringMatchPrefix; -import io.fabric8.istio.api.networking.v1alpha3.StringMatchRegex; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(StringMatchExact.class), - @JsonSubTypes.Type(StringMatchRegex.class), - @JsonSubTypes.Type(StringMatchPrefix.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsStringMatchMatchType { - - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioIngressListener.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioIngressListener.java deleted file mode 100644 index 55a3e9646f2..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioIngressListener.java +++ /dev/null @@ -1,186 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "bind", - "captureMode", - "connectionPool", - "defaultEndpoint", - "port", - "tls" -}) -@ToString -@EqualsAndHashCode -@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 IstioIngressListener implements Editable , KubernetesResource -{ - - @JsonProperty("bind") - private String bind; - @JsonProperty("captureMode") - private CaptureMode captureMode; - @JsonProperty("connectionPool") - private ConnectionPoolSettings connectionPool; - @JsonProperty("defaultEndpoint") - private String defaultEndpoint; - @JsonProperty("port") - private SidecarPort port; - @JsonProperty("tls") - private ServerTLSSettings tls; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public IstioIngressListener() { - } - - public IstioIngressListener(String bind, CaptureMode captureMode, ConnectionPoolSettings connectionPool, String defaultEndpoint, SidecarPort port, ServerTLSSettings tls) { - super(); - this.bind = bind; - this.captureMode = captureMode; - this.connectionPool = connectionPool; - this.defaultEndpoint = defaultEndpoint; - this.port = port; - this.tls = tls; - } - - @JsonProperty("bind") - public String getBind() { - return bind; - } - - @JsonProperty("bind") - public void setBind(String bind) { - this.bind = bind; - } - - @JsonProperty("captureMode") - public CaptureMode getCaptureMode() { - return captureMode; - } - - @JsonProperty("captureMode") - public void setCaptureMode(CaptureMode captureMode) { - this.captureMode = captureMode; - } - - @JsonProperty("connectionPool") - public ConnectionPoolSettings getConnectionPool() { - return connectionPool; - } - - @JsonProperty("connectionPool") - public void setConnectionPool(ConnectionPoolSettings connectionPool) { - this.connectionPool = connectionPool; - } - - @JsonProperty("defaultEndpoint") - public String getDefaultEndpoint() { - return defaultEndpoint; - } - - @JsonProperty("defaultEndpoint") - public void setDefaultEndpoint(String defaultEndpoint) { - this.defaultEndpoint = defaultEndpoint; - } - - @JsonProperty("port") - public SidecarPort getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(SidecarPort port) { - this.port = port; - } - - @JsonProperty("tls") - public ServerTLSSettings getTls() { - return tls; - } - - @JsonProperty("tls") - public void setTls(ServerTLSSettings tls) { - this.tls = tls; - } - - @JsonIgnore - public IstioIngressListenerBuilder edit() { - return new IstioIngressListenerBuilder(this); - } - - @JsonIgnore - public IstioIngressListenerBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/L4MatchAttributes.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/L4MatchAttributes.java deleted file mode 100644 index 6963c346a1c..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/L4MatchAttributes.java +++ /dev/null @@ -1,194 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "destinationSubnets", - "gateways", - "port", - "sourceLabels", - "sourceNamespace", - "sourceSubnet" -}) -@ToString -@EqualsAndHashCode -@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 L4MatchAttributes implements Editable , KubernetesResource -{ - - @JsonProperty("destinationSubnets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List destinationSubnets = new ArrayList<>(); - @JsonProperty("gateways") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List gateways = new ArrayList<>(); - @JsonProperty("port") - private Integer port; - @JsonProperty("sourceLabels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map sourceLabels = new LinkedHashMap<>(); - @JsonProperty("sourceNamespace") - private java.lang.String sourceNamespace; - @JsonProperty("sourceSubnet") - private java.lang.String sourceSubnet; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public L4MatchAttributes() { - } - - public L4MatchAttributes(List destinationSubnets, List gateways, Integer port, Map sourceLabels, java.lang.String sourceNamespace, java.lang.String sourceSubnet) { - super(); - this.destinationSubnets = destinationSubnets; - this.gateways = gateways; - this.port = port; - this.sourceLabels = sourceLabels; - this.sourceNamespace = sourceNamespace; - this.sourceSubnet = sourceSubnet; - } - - @JsonProperty("destinationSubnets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDestinationSubnets() { - return destinationSubnets; - } - - @JsonProperty("destinationSubnets") - public void setDestinationSubnets(List destinationSubnets) { - this.destinationSubnets = destinationSubnets; - } - - @JsonProperty("gateways") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getGateways() { - return gateways; - } - - @JsonProperty("gateways") - public void setGateways(List gateways) { - this.gateways = gateways; - } - - @JsonProperty("port") - public Integer getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(Integer port) { - this.port = port; - } - - @JsonProperty("sourceLabels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSourceLabels() { - return sourceLabels; - } - - @JsonProperty("sourceLabels") - public void setSourceLabels(Map sourceLabels) { - this.sourceLabels = sourceLabels; - } - - @JsonProperty("sourceNamespace") - public java.lang.String getSourceNamespace() { - return sourceNamespace; - } - - @JsonProperty("sourceNamespace") - public void setSourceNamespace(java.lang.String sourceNamespace) { - this.sourceNamespace = sourceNamespace; - } - - @JsonProperty("sourceSubnet") - public java.lang.String getSourceSubnet() { - return sourceSubnet; - } - - @JsonProperty("sourceSubnet") - public void setSourceSubnet(java.lang.String sourceSubnet) { - this.sourceSubnet = sourceSubnet; - } - - @JsonIgnore - public L4MatchAttributesBuilder edit() { - return new L4MatchAttributesBuilder(this); - } - - @JsonIgnore - public L4MatchAttributesBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java deleted file mode 100644 index c8a8e511b34..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "consistentHash" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHash implements IsLoadBalancerSettingsLbPolicy, Editable -{ - - @JsonProperty("consistentHash") - private LoadBalancerSettingsConsistentHashLB consistentHash; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHash() { - } - - public LoadBalancerSettingsConsistentHash(LoadBalancerSettingsConsistentHashLB consistentHash) { - super(); - this.consistentHash = consistentHash; - } - - @JsonProperty("consistentHash") - public LoadBalancerSettingsConsistentHashLB getConsistentHash() { - return consistentHash; - } - - @JsonProperty("consistentHash") - public void setConsistentHash(LoadBalancerSettingsConsistentHashLB consistentHash) { - this.consistentHash = consistentHash; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashBuilder edit() { - return new LoadBalancerSettingsConsistentHashBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java deleted file mode 100644 index f2362428dc7..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java +++ /dev/null @@ -1,149 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "HashAlgorithm", - "HashKey", - "minimumRingSize" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLB implements Editable , KubernetesResource -{ - - @JsonProperty("HashAlgorithm") - @JsonUnwrapped - private IsLoadBalancerSettingsConsistentHashLBHashAlgorithm hashAlgorithm; - @JsonProperty("HashKey") - @JsonUnwrapped - private IsLoadBalancerSettingsConsistentHashLBHashKey hashKey; - @JsonProperty("minimumRingSize") - private Integer minimumRingSize; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLB() { - } - - public LoadBalancerSettingsConsistentHashLB(IsLoadBalancerSettingsConsistentHashLBHashAlgorithm hashAlgorithm, IsLoadBalancerSettingsConsistentHashLBHashKey hashKey, Integer minimumRingSize) { - super(); - this.hashAlgorithm = hashAlgorithm; - this.hashKey = hashKey; - this.minimumRingSize = minimumRingSize; - } - - @JsonProperty("HashAlgorithm") - @JsonUnwrapped - public IsLoadBalancerSettingsConsistentHashLBHashAlgorithm getHashAlgorithm() { - return hashAlgorithm; - } - - @JsonProperty("HashAlgorithm") - public void setHashAlgorithm(IsLoadBalancerSettingsConsistentHashLBHashAlgorithm hashAlgorithm) { - this.hashAlgorithm = hashAlgorithm; - } - - @JsonProperty("HashKey") - @JsonUnwrapped - public IsLoadBalancerSettingsConsistentHashLBHashKey getHashKey() { - return hashKey; - } - - @JsonProperty("HashKey") - public void setHashKey(IsLoadBalancerSettingsConsistentHashLBHashKey hashKey) { - this.hashKey = hashKey; - } - - @JsonProperty("minimumRingSize") - public Integer getMinimumRingSize() { - return minimumRingSize; - } - - @JsonProperty("minimumRingSize") - public void setMinimumRingSize(Integer minimumRingSize) { - this.minimumRingSize = minimumRingSize; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java deleted file mode 100644 index a80f3cf2870..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookieValue.java +++ /dev/null @@ -1,144 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "path", - "ttl" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBHttpCookieValue implements Editable , KubernetesResource -{ - - @JsonProperty("name") - private String name; - @JsonProperty("path") - private String path; - @JsonProperty("ttl") - private String ttl; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBHttpCookieValue() { - } - - public LoadBalancerSettingsConsistentHashLBHttpCookieValue(String name, String path, String ttl) { - super(); - this.name = name; - this.path = path; - this.ttl = ttl; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("path") - public String getPath() { - return path; - } - - @JsonProperty("path") - public void setPath(String path) { - this.path = path; - } - - @JsonProperty("ttl") - public String getTtl() { - return ttl; - } - - @JsonProperty("ttl") - public void setTtl(String ttl) { - this.ttl = ttl; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMagLevValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMagLevValue.java deleted file mode 100644 index 1216569e307..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMagLevValue.java +++ /dev/null @@ -1,116 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "tableSize" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBMagLevValue implements Editable , KubernetesResource -{ - - @JsonProperty("tableSize") - private Integer tableSize; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBMagLevValue() { - } - - public LoadBalancerSettingsConsistentHashLBMagLevValue(Integer tableSize) { - super(); - this.tableSize = tableSize; - } - - @JsonProperty("tableSize") - public Integer getTableSize() { - return tableSize; - } - - @JsonProperty("tableSize") - public void setTableSize(Integer tableSize) { - this.tableSize = tableSize; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBMagLevValueBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBMagLevValueBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBMagLevValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHashValue.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHashValue.java deleted file mode 100644 index 3778e36b526..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHashValue.java +++ /dev/null @@ -1,116 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "minimumRingSize" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBRingHashValue implements Editable , KubernetesResource -{ - - @JsonProperty("minimumRingSize") - private Integer minimumRingSize; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBRingHashValue() { - } - - public LoadBalancerSettingsConsistentHashLBRingHashValue(Integer minimumRingSize) { - super(); - this.minimumRingSize = minimumRingSize; - } - - @JsonProperty("minimumRingSize") - public Integer getMinimumRingSize() { - return minimumRingSize; - } - - @JsonProperty("minimumRingSize") - public void setMinimumRingSize(Integer minimumRingSize) { - this.minimumRingSize = minimumRingSize; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBRingHashValueBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBRingHashValueBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBRingHashValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimpleLB.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimpleLB.java deleted file mode 100644 index 4b7bf8f50b0..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimpleLB.java +++ /dev/null @@ -1,55 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum LoadBalancerSettingsSimpleLB { - - UNSPECIFIED(0), - LEAST_CONN(1), - RANDOM(2), - PASSTHROUGH(3), - ROUND_ROBIN(4), - LEAST_REQUEST(5); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (LoadBalancerSettingsSimpleLB c: values()) { - CONSTANTS.put(c.value, c); - } - for (LoadBalancerSettingsSimpleLB c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - LoadBalancerSettingsSimpleLB(Integer value) { - this.value = value; - } - - @JsonCreator - public static LoadBalancerSettingsSimpleLB fromValue(Object value) { - if (value instanceof String) { - { - LoadBalancerSettingsSimpleLB constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - LoadBalancerSettingsSimpleLB constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java deleted file mode 100644 index 5b01847ec52..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java +++ /dev/null @@ -1,132 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "from", - "to" -}) -@ToString -@EqualsAndHashCode -@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 LocalityLoadBalancerSettingDistribute implements Editable , KubernetesResource -{ - - @JsonProperty("from") - private java.lang.String from; - @JsonProperty("to") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map to = new LinkedHashMap<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LocalityLoadBalancerSettingDistribute() { - } - - public LocalityLoadBalancerSettingDistribute(java.lang.String from, Map to) { - super(); - this.from = from; - this.to = to; - } - - @JsonProperty("from") - public java.lang.String getFrom() { - return from; - } - - @JsonProperty("from") - public void setFrom(java.lang.String from) { - this.from = from; - } - - @JsonProperty("to") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getTo() { - return to; - } - - @JsonProperty("to") - public void setTo(Map to) { - this.to = to; - } - - @JsonIgnore - public LocalityLoadBalancerSettingDistributeBuilder edit() { - return new LocalityLoadBalancerSettingDistributeBuilder(this); - } - - @JsonIgnore - public LocalityLoadBalancerSettingDistributeBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java deleted file mode 100644 index 90e04672c4f..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "from", - "to" -}) -@ToString -@EqualsAndHashCode -@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 LocalityLoadBalancerSettingFailover implements Editable , KubernetesResource -{ - - @JsonProperty("from") - private String from; - @JsonProperty("to") - private String to; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LocalityLoadBalancerSettingFailover() { - } - - public LocalityLoadBalancerSettingFailover(String from, String to) { - super(); - this.from = from; - this.to = to; - } - - @JsonProperty("from") - public String getFrom() { - return from; - } - - @JsonProperty("from") - public void setFrom(String from) { - this.from = from; - } - - @JsonProperty("to") - public String getTo() { - return to; - } - - @JsonProperty("to") - public void setTo(String to) { - this.to = to; - } - - @JsonIgnore - public LocalityLoadBalancerSettingFailoverBuilder edit() { - return new LocalityLoadBalancerSettingFailoverBuilder(this); - } - - @JsonIgnore - public LocalityLoadBalancerSettingFailoverBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicyMode.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicyMode.java deleted file mode 100644 index 8cbe925e301..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicyMode.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum OutboundTrafficPolicyMode { - - REGISTRY_ONLY(0), - ALLOW_ANY(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (OutboundTrafficPolicyMode c: values()) { - CONSTANTS.put(c.value, c); - } - for (OutboundTrafficPolicyMode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - OutboundTrafficPolicyMode(Integer value) { - this.value = value; - } - - @JsonCreator - public static OutboundTrafficPolicyMode fromValue(Object value) { - if (value instanceof String) { - { - OutboundTrafficPolicyMode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - OutboundTrafficPolicyMode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Port.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Port.java deleted file mode 100644 index 9f3c083cd15..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Port.java +++ /dev/null @@ -1,158 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "number", - "protocol", - "targetPort" -}) -@ToString -@EqualsAndHashCode -@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 Port implements Editable , KubernetesResource -{ - - @JsonProperty("name") - private String name; - @JsonProperty("number") - private Integer number; - @JsonProperty("protocol") - private String protocol; - @JsonProperty("targetPort") - private Integer targetPort; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Port() { - } - - public Port(String name, Integer number, String protocol, Integer targetPort) { - super(); - this.name = name; - this.number = number; - this.protocol = protocol; - this.targetPort = targetPort; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("number") - public Integer getNumber() { - return number; - } - - @JsonProperty("number") - public void setNumber(Integer number) { - this.number = number; - } - - @JsonProperty("protocol") - public String getProtocol() { - return protocol; - } - - @JsonProperty("protocol") - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - @JsonProperty("targetPort") - public Integer getTargetPort() { - return targetPort; - } - - @JsonProperty("targetPort") - public void setTargetPort(Integer targetPort) { - this.targetPort = targetPort; - } - - @JsonIgnore - public PortBuilder edit() { - return new PortBuilder(this); - } - - @JsonIgnore - public PortBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/PortSelector.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/PortSelector.java deleted file mode 100644 index d45f5766a6c..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/PortSelector.java +++ /dev/null @@ -1,116 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "number" -}) -@ToString -@EqualsAndHashCode -@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 PortSelector implements Editable , KubernetesResource -{ - - @JsonProperty("number") - private Integer number; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public PortSelector() { - } - - public PortSelector(Integer number) { - super(); - this.number = number; - } - - @JsonProperty("number") - public Integer getNumber() { - return number; - } - - @JsonProperty("number") - public void setNumber(Integer number) { - this.number = number; - } - - @JsonIgnore - public PortSelectorBuilder edit() { - return new PortSelectorBuilder(this); - } - - @JsonIgnore - public PortSelectorBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeExec.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeExec.java deleted file mode 100644 index 9ca3138399f..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeExec.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "exec" -}) -@ToString -@EqualsAndHashCode -@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 ReadinessProbeExec implements IsReadinessProbeHealthCheckMethod, Editable -{ - - @JsonProperty("exec") - private ExecHealthCheckConfig exec; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ReadinessProbeExec() { - } - - public ReadinessProbeExec(ExecHealthCheckConfig exec) { - super(); - this.exec = exec; - } - - @JsonProperty("exec") - public ExecHealthCheckConfig getExec() { - return exec; - } - - @JsonProperty("exec") - public void setExec(ExecHealthCheckConfig exec) { - this.exec = exec; - } - - @JsonIgnore - public ReadinessProbeExecBuilder edit() { - return new ReadinessProbeExecBuilder(this); - } - - @JsonIgnore - public ReadinessProbeExecBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeHttpGet.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeHttpGet.java deleted file mode 100644 index 22b07342d67..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeHttpGet.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "httpGet" -}) -@ToString -@EqualsAndHashCode -@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 ReadinessProbeHttpGet implements IsReadinessProbeHealthCheckMethod, Editable -{ - - @JsonProperty("httpGet") - private HTTPHealthCheckConfig httpGet; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ReadinessProbeHttpGet() { - } - - public ReadinessProbeHttpGet(HTTPHealthCheckConfig httpGet) { - super(); - this.httpGet = httpGet; - } - - @JsonProperty("httpGet") - public HTTPHealthCheckConfig getHttpGet() { - return httpGet; - } - - @JsonProperty("httpGet") - public void setHttpGet(HTTPHealthCheckConfig httpGet) { - this.httpGet = httpGet; - } - - @JsonIgnore - public ReadinessProbeHttpGetBuilder edit() { - return new ReadinessProbeHttpGetBuilder(this); - } - - @JsonIgnore - public ReadinessProbeHttpGetBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeTcpSocket.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeTcpSocket.java deleted file mode 100644 index 6d6af8bc83a..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbeTcpSocket.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "tcpSocket" -}) -@ToString -@EqualsAndHashCode -@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 ReadinessProbeTcpSocket implements IsReadinessProbeHealthCheckMethod, Editable -{ - - @JsonProperty("tcpSocket") - private TCPHealthCheckConfig tcpSocket; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ReadinessProbeTcpSocket() { - } - - public ReadinessProbeTcpSocket(TCPHealthCheckConfig tcpSocket) { - super(); - this.tcpSocket = tcpSocket; - } - - @JsonProperty("tcpSocket") - public TCPHealthCheckConfig getTcpSocket() { - return tcpSocket; - } - - @JsonProperty("tcpSocket") - public void setTcpSocket(TCPHealthCheckConfig tcpSocket) { - this.tcpSocket = tcpSocket; - } - - @JsonIgnore - public ReadinessProbeTcpSocketBuilder edit() { - return new ReadinessProbeTcpSocketBuilder(this); - } - - @JsonIgnore - public ReadinessProbeTcpSocketBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RegexRewrite.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RegexRewrite.java deleted file mode 100644 index d25e769e4cd..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RegexRewrite.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "match", - "rewrite" -}) -@ToString -@EqualsAndHashCode -@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 RegexRewrite implements Editable , KubernetesResource -{ - - @JsonProperty("match") - private String match; - @JsonProperty("rewrite") - private String rewrite; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public RegexRewrite() { - } - - public RegexRewrite(String match, String rewrite) { - super(); - this.match = match; - this.rewrite = rewrite; - } - - @JsonProperty("match") - public String getMatch() { - return match; - } - - @JsonProperty("match") - public void setMatch(String match) { - this.match = match; - } - - @JsonProperty("rewrite") - public String getRewrite() { - return rewrite; - } - - @JsonProperty("rewrite") - public void setRewrite(String rewrite) { - this.rewrite = rewrite; - } - - @JsonIgnore - public RegexRewriteBuilder edit() { - return new RegexRewriteBuilder(this); - } - - @JsonIgnore - public RegexRewriteBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Server.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Server.java deleted file mode 100644 index 323b6293b3a..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Server.java +++ /dev/null @@ -1,190 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "bind", - "defaultEndpoint", - "hosts", - "name", - "port", - "tls" -}) -@ToString -@EqualsAndHashCode -@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 Server implements Editable , KubernetesResource -{ - - @JsonProperty("bind") - private String bind; - @JsonProperty("defaultEndpoint") - private String defaultEndpoint; - @JsonProperty("hosts") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hosts = new ArrayList<>(); - @JsonProperty("name") - private String name; - @JsonProperty("port") - private Port port; - @JsonProperty("tls") - private ServerTLSSettings tls; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Server() { - } - - public Server(String bind, String defaultEndpoint, List hosts, String name, Port port, ServerTLSSettings tls) { - super(); - this.bind = bind; - this.defaultEndpoint = defaultEndpoint; - this.hosts = hosts; - this.name = name; - this.port = port; - this.tls = tls; - } - - @JsonProperty("bind") - public String getBind() { - return bind; - } - - @JsonProperty("bind") - public void setBind(String bind) { - this.bind = bind; - } - - @JsonProperty("defaultEndpoint") - public String getDefaultEndpoint() { - return defaultEndpoint; - } - - @JsonProperty("defaultEndpoint") - public void setDefaultEndpoint(String defaultEndpoint) { - this.defaultEndpoint = defaultEndpoint; - } - - @JsonProperty("hosts") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHosts() { - return hosts; - } - - @JsonProperty("hosts") - public void setHosts(List hosts) { - this.hosts = hosts; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("port") - public Port getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(Port port) { - this.port = port; - } - - @JsonProperty("tls") - public ServerTLSSettings getTls() { - return tls; - } - - @JsonProperty("tls") - public void setTls(ServerTLSSettings tls) { - this.tls = tls; - } - - @JsonIgnore - public ServerBuilder edit() { - return new ServerBuilder(this); - } - - @JsonIgnore - public ServerBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettings.java deleted file mode 100644 index 3069e1a493f..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettings.java +++ /dev/null @@ -1,280 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "caCertificates", - "cipherSuites", - "credentialName", - "httpsRedirect", - "maxProtocolVersion", - "minProtocolVersion", - "mode", - "privateKey", - "serverCertificate", - "subjectAltNames", - "verifyCertificateHash", - "verifyCertificateSpki" -}) -@ToString -@EqualsAndHashCode -@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 ServerTLSSettings implements Editable , KubernetesResource -{ - - @JsonProperty("caCertificates") - private String caCertificates; - @JsonProperty("cipherSuites") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List cipherSuites = new ArrayList<>(); - @JsonProperty("credentialName") - private String credentialName; - @JsonProperty("httpsRedirect") - private Boolean httpsRedirect; - @JsonProperty("maxProtocolVersion") - private ServerTLSSettingsTLSProtocol maxProtocolVersion; - @JsonProperty("minProtocolVersion") - private ServerTLSSettingsTLSProtocol minProtocolVersion; - @JsonProperty("mode") - private ServerTLSSettingsTLSmode mode; - @JsonProperty("privateKey") - private String privateKey; - @JsonProperty("serverCertificate") - private String serverCertificate; - @JsonProperty("subjectAltNames") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List subjectAltNames = new ArrayList<>(); - @JsonProperty("verifyCertificateHash") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List verifyCertificateHash = new ArrayList<>(); - @JsonProperty("verifyCertificateSpki") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List verifyCertificateSpki = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ServerTLSSettings() { - } - - public ServerTLSSettings(String caCertificates, List cipherSuites, String credentialName, Boolean httpsRedirect, ServerTLSSettingsTLSProtocol maxProtocolVersion, ServerTLSSettingsTLSProtocol minProtocolVersion, ServerTLSSettingsTLSmode mode, String privateKey, String serverCertificate, List subjectAltNames, List verifyCertificateHash, List verifyCertificateSpki) { - super(); - this.caCertificates = caCertificates; - this.cipherSuites = cipherSuites; - this.credentialName = credentialName; - this.httpsRedirect = httpsRedirect; - this.maxProtocolVersion = maxProtocolVersion; - this.minProtocolVersion = minProtocolVersion; - this.mode = mode; - this.privateKey = privateKey; - this.serverCertificate = serverCertificate; - this.subjectAltNames = subjectAltNames; - this.verifyCertificateHash = verifyCertificateHash; - this.verifyCertificateSpki = verifyCertificateSpki; - } - - @JsonProperty("caCertificates") - public String getCaCertificates() { - return caCertificates; - } - - @JsonProperty("caCertificates") - public void setCaCertificates(String caCertificates) { - this.caCertificates = caCertificates; - } - - @JsonProperty("cipherSuites") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getCipherSuites() { - return cipherSuites; - } - - @JsonProperty("cipherSuites") - public void setCipherSuites(List cipherSuites) { - this.cipherSuites = cipherSuites; - } - - @JsonProperty("credentialName") - public String getCredentialName() { - return credentialName; - } - - @JsonProperty("credentialName") - public void setCredentialName(String credentialName) { - this.credentialName = credentialName; - } - - @JsonProperty("httpsRedirect") - public Boolean getHttpsRedirect() { - return httpsRedirect; - } - - @JsonProperty("httpsRedirect") - public void setHttpsRedirect(Boolean httpsRedirect) { - this.httpsRedirect = httpsRedirect; - } - - @JsonProperty("maxProtocolVersion") - public ServerTLSSettingsTLSProtocol getMaxProtocolVersion() { - return maxProtocolVersion; - } - - @JsonProperty("maxProtocolVersion") - public void setMaxProtocolVersion(ServerTLSSettingsTLSProtocol maxProtocolVersion) { - this.maxProtocolVersion = maxProtocolVersion; - } - - @JsonProperty("minProtocolVersion") - public ServerTLSSettingsTLSProtocol getMinProtocolVersion() { - return minProtocolVersion; - } - - @JsonProperty("minProtocolVersion") - public void setMinProtocolVersion(ServerTLSSettingsTLSProtocol minProtocolVersion) { - this.minProtocolVersion = minProtocolVersion; - } - - @JsonProperty("mode") - public ServerTLSSettingsTLSmode getMode() { - return mode; - } - - @JsonProperty("mode") - public void setMode(ServerTLSSettingsTLSmode mode) { - this.mode = mode; - } - - @JsonProperty("privateKey") - public String getPrivateKey() { - return privateKey; - } - - @JsonProperty("privateKey") - public void setPrivateKey(String privateKey) { - this.privateKey = privateKey; - } - - @JsonProperty("serverCertificate") - public String getServerCertificate() { - return serverCertificate; - } - - @JsonProperty("serverCertificate") - public void setServerCertificate(String serverCertificate) { - this.serverCertificate = serverCertificate; - } - - @JsonProperty("subjectAltNames") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSubjectAltNames() { - return subjectAltNames; - } - - @JsonProperty("subjectAltNames") - public void setSubjectAltNames(List subjectAltNames) { - this.subjectAltNames = subjectAltNames; - } - - @JsonProperty("verifyCertificateHash") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVerifyCertificateHash() { - return verifyCertificateHash; - } - - @JsonProperty("verifyCertificateHash") - public void setVerifyCertificateHash(List verifyCertificateHash) { - this.verifyCertificateHash = verifyCertificateHash; - } - - @JsonProperty("verifyCertificateSpki") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVerifyCertificateSpki() { - return verifyCertificateSpki; - } - - @JsonProperty("verifyCertificateSpki") - public void setVerifyCertificateSpki(List verifyCertificateSpki) { - this.verifyCertificateSpki = verifyCertificateSpki; - } - - @JsonIgnore - public ServerTLSSettingsBuilder edit() { - return new ServerTLSSettingsBuilder(this); - } - - @JsonIgnore - public ServerTLSSettingsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettingsTLSProtocol.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettingsTLSProtocol.java deleted file mode 100644 index a7cf8e8dd4b..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettingsTLSProtocol.java +++ /dev/null @@ -1,54 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ServerTLSSettingsTLSProtocol { - - TLS_AUTO(0), - TLSV1_0(1), - TLSV1_1(2), - TLSV1_2(3), - TLSV1_3(4); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ServerTLSSettingsTLSProtocol c: values()) { - CONSTANTS.put(c.value, c); - } - for (ServerTLSSettingsTLSProtocol c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ServerTLSSettingsTLSProtocol(Integer value) { - this.value = value; - } - - @JsonCreator - public static ServerTLSSettingsTLSProtocol fromValue(Object value) { - if (value instanceof String) { - { - ServerTLSSettingsTLSProtocol constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ServerTLSSettingsTLSProtocol constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettingsTLSmode.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettingsTLSmode.java deleted file mode 100644 index 8a3ab7eea1d..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServerTLSSettingsTLSmode.java +++ /dev/null @@ -1,55 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ServerTLSSettingsTLSmode { - - PASSTHROUGH(0), - SIMPLE(1), - MUTUAL(2), - AUTO_PASSTHROUGH(3), - ISTIO_MUTUAL(4), - OPTIONAL_MUTUAL(5); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ServerTLSSettingsTLSmode c: values()) { - CONSTANTS.put(c.value, c); - } - for (ServerTLSSettingsTLSmode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ServerTLSSettingsTLSmode(Integer value) { - this.value = value; - } - - @JsonCreator - public static ServerTLSSettingsTLSmode fromValue(Object value) { - if (value instanceof String) { - { - ServerTLSSettingsTLSmode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ServerTLSSettingsTLSmode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryLocation.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryLocation.java deleted file mode 100644 index 5d0f22e4822..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryLocation.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ServiceEntryLocation { - - MESH_EXTERNAL(0), - MESH_INTERNAL(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ServiceEntryLocation c: values()) { - CONSTANTS.put(c.value, c); - } - for (ServiceEntryLocation c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ServiceEntryLocation(Integer value) { - this.value = value; - } - - @JsonCreator - public static ServiceEntryLocation fromValue(Object value) { - if (value instanceof String) { - { - ServiceEntryLocation constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ServiceEntryLocation constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryResolution.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryResolution.java deleted file mode 100644 index 89a199b68ba..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryResolution.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ServiceEntryResolution { - - NONE(0), - STATIC(1), - DNS(2), - DNS_ROUND_ROBIN(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ServiceEntryResolution c: values()) { - CONSTANTS.put(c.value, c); - } - for (ServiceEntryResolution c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ServiceEntryResolution(Integer value) { - this.value = value; - } - - @JsonCreator - public static ServiceEntryResolution fromValue(Object value) { - if (value instanceof String) { - { - ServiceEntryResolution constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ServiceEntryResolution constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServicePort.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServicePort.java deleted file mode 100644 index 02d5bb9793b..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServicePort.java +++ /dev/null @@ -1,158 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "number", - "protocol", - "targetPort" -}) -@ToString -@EqualsAndHashCode -@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 ServicePort implements Editable , KubernetesResource -{ - - @JsonProperty("name") - private String name; - @JsonProperty("number") - private Integer number; - @JsonProperty("protocol") - private String protocol; - @JsonProperty("targetPort") - private Integer targetPort; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ServicePort() { - } - - public ServicePort(String name, Integer number, String protocol, Integer targetPort) { - super(); - this.name = name; - this.number = number; - this.protocol = protocol; - this.targetPort = targetPort; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("number") - public Integer getNumber() { - return number; - } - - @JsonProperty("number") - public void setNumber(Integer number) { - this.number = number; - } - - @JsonProperty("protocol") - public String getProtocol() { - return protocol; - } - - @JsonProperty("protocol") - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - @JsonProperty("targetPort") - public Integer getTargetPort() { - return targetPort; - } - - @JsonProperty("targetPort") - public void setTargetPort(Integer targetPort) { - this.targetPort = targetPort; - } - - @JsonIgnore - public ServicePortBuilder edit() { - return new ServicePortBuilder(this); - } - - @JsonIgnore - public ServicePortBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarPort.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarPort.java deleted file mode 100644 index 494e627981c..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarPort.java +++ /dev/null @@ -1,158 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "number", - "protocol", - "targetPort" -}) -@ToString -@EqualsAndHashCode -@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 SidecarPort implements Editable , KubernetesResource -{ - - @JsonProperty("name") - private String name; - @JsonProperty("number") - private Integer number; - @JsonProperty("protocol") - private String protocol; - @JsonProperty("targetPort") - private Integer targetPort; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public SidecarPort() { - } - - public SidecarPort(String name, Integer number, String protocol, Integer targetPort) { - super(); - this.name = name; - this.number = number; - this.protocol = protocol; - this.targetPort = targetPort; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("number") - public Integer getNumber() { - return number; - } - - @JsonProperty("number") - public void setNumber(Integer number) { - this.number = number; - } - - @JsonProperty("protocol") - public String getProtocol() { - return protocol; - } - - @JsonProperty("protocol") - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - @JsonProperty("targetPort") - public Integer getTargetPort() { - return targetPort; - } - - @JsonProperty("targetPort") - public void setTargetPort(Integer targetPort) { - this.targetPort = targetPort; - } - - @JsonIgnore - public SidecarPortBuilder edit() { - return new SidecarPortBuilder(this); - } - - @JsonIgnore - public SidecarPortBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchExact.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchExact.java deleted file mode 100644 index 68267d19476..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchExact.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "exact" -}) -@ToString -@EqualsAndHashCode -@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 StringMatchExact implements IsStringMatchMatchType, Editable -{ - - @JsonProperty("exact") - private String exact; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public StringMatchExact() { - } - - public StringMatchExact(String exact) { - super(); - this.exact = exact; - } - - @JsonProperty("exact") - public String getExact() { - return exact; - } - - @JsonProperty("exact") - public void setExact(String exact) { - this.exact = exact; - } - - @JsonIgnore - public StringMatchExactBuilder edit() { - return new StringMatchExactBuilder(this); - } - - @JsonIgnore - public StringMatchExactBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchPrefix.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchPrefix.java deleted file mode 100644 index 34e15b0d983..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchPrefix.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "prefix" -}) -@ToString -@EqualsAndHashCode -@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 StringMatchPrefix implements IsStringMatchMatchType, Editable -{ - - @JsonProperty("prefix") - private String prefix; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public StringMatchPrefix() { - } - - public StringMatchPrefix(String prefix) { - super(); - this.prefix = prefix; - } - - @JsonProperty("prefix") - public String getPrefix() { - return prefix; - } - - @JsonProperty("prefix") - public void setPrefix(String prefix) { - this.prefix = prefix; - } - - @JsonIgnore - public StringMatchPrefixBuilder edit() { - return new StringMatchPrefixBuilder(this); - } - - @JsonIgnore - public StringMatchPrefixBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchRegex.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchRegex.java deleted file mode 100644 index 73280c26689..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatchRegex.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "regex" -}) -@ToString -@EqualsAndHashCode -@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 StringMatchRegex implements IsStringMatchMatchType, Editable -{ - - @JsonProperty("regex") - private String regex; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public StringMatchRegex() { - } - - public StringMatchRegex(String regex) { - super(); - this.regex = regex; - } - - @JsonProperty("regex") - public String getRegex() { - return regex; - } - - @JsonProperty("regex") - public void setRegex(String regex) { - this.regex = regex; - } - - @JsonIgnore - public StringMatchRegexBuilder edit() { - return new StringMatchRegexBuilder(this); - } - - @JsonIgnore - public StringMatchRegexBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Subset.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Subset.java deleted file mode 100644 index 473263f5c44..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Subset.java +++ /dev/null @@ -1,146 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "labels", - "name", - "trafficPolicy" -}) -@ToString -@EqualsAndHashCode -@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 Subset implements Editable , KubernetesResource -{ - - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map labels = new LinkedHashMap<>(); - @JsonProperty("name") - private java.lang.String name; - @JsonProperty("trafficPolicy") - private TrafficPolicy trafficPolicy; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Subset() { - } - - public Subset(Map labels, java.lang.String name, TrafficPolicy trafficPolicy) { - super(); - this.labels = labels; - this.name = name; - this.trafficPolicy = trafficPolicy; - } - - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getLabels() { - return labels; - } - - @JsonProperty("labels") - public void setLabels(Map labels) { - this.labels = labels; - } - - @JsonProperty("name") - public java.lang.String getName() { - return name; - } - - @JsonProperty("name") - public void setName(java.lang.String name) { - this.name = name; - } - - @JsonProperty("trafficPolicy") - public TrafficPolicy getTrafficPolicy() { - return trafficPolicy; - } - - @JsonProperty("trafficPolicy") - public void setTrafficPolicy(TrafficPolicy trafficPolicy) { - this.trafficPolicy = trafficPolicy; - } - - @JsonIgnore - public SubsetBuilder edit() { - return new SubsetBuilder(this); - } - - @JsonIgnore - public SubsetBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPHealthCheckConfig.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPHealthCheckConfig.java deleted file mode 100644 index 6330bbb2cab..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TCPHealthCheckConfig.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "host", - "port" -}) -@ToString -@EqualsAndHashCode -@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 TCPHealthCheckConfig implements Editable , KubernetesResource -{ - - @JsonProperty("host") - private String host; - @JsonProperty("port") - private Integer port; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TCPHealthCheckConfig() { - } - - public TCPHealthCheckConfig(String host, Integer port) { - super(); - this.host = host; - this.port = port; - } - - @JsonProperty("host") - public String getHost() { - return host; - } - - @JsonProperty("host") - public void setHost(String host) { - this.host = host; - } - - @JsonProperty("port") - public Integer getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(Integer port) { - this.port = port; - } - - @JsonIgnore - public TCPHealthCheckConfigBuilder edit() { - return new TCPHealthCheckConfigBuilder(this); - } - - @JsonIgnore - public TCPHealthCheckConfigBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSMatchAttributes.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSMatchAttributes.java deleted file mode 100644 index a593bcf24d1..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSMatchAttributes.java +++ /dev/null @@ -1,196 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "destinationSubnets", - "gateways", - "port", - "sniHosts", - "sourceLabels", - "sourceNamespace" -}) -@ToString -@EqualsAndHashCode -@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 TLSMatchAttributes implements Editable , KubernetesResource -{ - - @JsonProperty("destinationSubnets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List destinationSubnets = new ArrayList<>(); - @JsonProperty("gateways") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List gateways = new ArrayList<>(); - @JsonProperty("port") - private Integer port; - @JsonProperty("sniHosts") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List sniHosts = new ArrayList<>(); - @JsonProperty("sourceLabels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map sourceLabels = new LinkedHashMap<>(); - @JsonProperty("sourceNamespace") - private java.lang.String sourceNamespace; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TLSMatchAttributes() { - } - - public TLSMatchAttributes(List destinationSubnets, List gateways, Integer port, List sniHosts, Map sourceLabels, java.lang.String sourceNamespace) { - super(); - this.destinationSubnets = destinationSubnets; - this.gateways = gateways; - this.port = port; - this.sniHosts = sniHosts; - this.sourceLabels = sourceLabels; - this.sourceNamespace = sourceNamespace; - } - - @JsonProperty("destinationSubnets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDestinationSubnets() { - return destinationSubnets; - } - - @JsonProperty("destinationSubnets") - public void setDestinationSubnets(List destinationSubnets) { - this.destinationSubnets = destinationSubnets; - } - - @JsonProperty("gateways") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getGateways() { - return gateways; - } - - @JsonProperty("gateways") - public void setGateways(List gateways) { - this.gateways = gateways; - } - - @JsonProperty("port") - public Integer getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(Integer port) { - this.port = port; - } - - @JsonProperty("sniHosts") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSniHosts() { - return sniHosts; - } - - @JsonProperty("sniHosts") - public void setSniHosts(List sniHosts) { - this.sniHosts = sniHosts; - } - - @JsonProperty("sourceLabels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSourceLabels() { - return sourceLabels; - } - - @JsonProperty("sourceLabels") - public void setSourceLabels(Map sourceLabels) { - this.sourceLabels = sourceLabels; - } - - @JsonProperty("sourceNamespace") - public java.lang.String getSourceNamespace() { - return sourceNamespace; - } - - @JsonProperty("sourceNamespace") - public void setSourceNamespace(java.lang.String sourceNamespace) { - this.sourceNamespace = sourceNamespace; - } - - @JsonIgnore - public TLSMatchAttributesBuilder edit() { - return new TLSMatchAttributesBuilder(this); - } - - @JsonIgnore - public TLSMatchAttributesBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicy.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicy.java deleted file mode 100644 index dac363f778b..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicy.java +++ /dev/null @@ -1,204 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "connectionPool", - "loadBalancer", - "outlierDetection", - "portLevelSettings", - "proxyProtocol", - "tls", - "tunnel" -}) -@ToString -@EqualsAndHashCode -@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 TrafficPolicy implements Editable , KubernetesResource -{ - - @JsonProperty("connectionPool") - private ConnectionPoolSettings connectionPool; - @JsonProperty("loadBalancer") - private LoadBalancerSettings loadBalancer; - @JsonProperty("outlierDetection") - private OutlierDetection outlierDetection; - @JsonProperty("portLevelSettings") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List portLevelSettings = new ArrayList<>(); - @JsonProperty("proxyProtocol") - private TrafficPolicyProxyProtocol proxyProtocol; - @JsonProperty("tls") - private ClientTLSSettings tls; - @JsonProperty("tunnel") - private TrafficPolicyTunnelSettings tunnel; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TrafficPolicy() { - } - - public TrafficPolicy(ConnectionPoolSettings connectionPool, LoadBalancerSettings loadBalancer, OutlierDetection outlierDetection, List portLevelSettings, TrafficPolicyProxyProtocol proxyProtocol, ClientTLSSettings tls, TrafficPolicyTunnelSettings tunnel) { - super(); - this.connectionPool = connectionPool; - this.loadBalancer = loadBalancer; - this.outlierDetection = outlierDetection; - this.portLevelSettings = portLevelSettings; - this.proxyProtocol = proxyProtocol; - this.tls = tls; - this.tunnel = tunnel; - } - - @JsonProperty("connectionPool") - public ConnectionPoolSettings getConnectionPool() { - return connectionPool; - } - - @JsonProperty("connectionPool") - public void setConnectionPool(ConnectionPoolSettings connectionPool) { - this.connectionPool = connectionPool; - } - - @JsonProperty("loadBalancer") - public LoadBalancerSettings getLoadBalancer() { - return loadBalancer; - } - - @JsonProperty("loadBalancer") - public void setLoadBalancer(LoadBalancerSettings loadBalancer) { - this.loadBalancer = loadBalancer; - } - - @JsonProperty("outlierDetection") - public OutlierDetection getOutlierDetection() { - return outlierDetection; - } - - @JsonProperty("outlierDetection") - public void setOutlierDetection(OutlierDetection outlierDetection) { - this.outlierDetection = outlierDetection; - } - - @JsonProperty("portLevelSettings") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPortLevelSettings() { - return portLevelSettings; - } - - @JsonProperty("portLevelSettings") - public void setPortLevelSettings(List portLevelSettings) { - this.portLevelSettings = portLevelSettings; - } - - @JsonProperty("proxyProtocol") - public TrafficPolicyProxyProtocol getProxyProtocol() { - return proxyProtocol; - } - - @JsonProperty("proxyProtocol") - public void setProxyProtocol(TrafficPolicyProxyProtocol proxyProtocol) { - this.proxyProtocol = proxyProtocol; - } - - @JsonProperty("tls") - public ClientTLSSettings getTls() { - return tls; - } - - @JsonProperty("tls") - public void setTls(ClientTLSSettings tls) { - this.tls = tls; - } - - @JsonProperty("tunnel") - public TrafficPolicyTunnelSettings getTunnel() { - return tunnel; - } - - @JsonProperty("tunnel") - public void setTunnel(TrafficPolicyTunnelSettings tunnel) { - this.tunnel = tunnel; - } - - @JsonIgnore - public TrafficPolicyBuilder edit() { - return new TrafficPolicyBuilder(this); - } - - @JsonIgnore - public TrafficPolicyBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyProxyProtocol.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyProxyProtocol.java deleted file mode 100644 index 56fb359bffd..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyProxyProtocol.java +++ /dev/null @@ -1,116 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "version" -}) -@ToString -@EqualsAndHashCode -@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 TrafficPolicyProxyProtocol implements Editable , KubernetesResource -{ - - @JsonProperty("version") - private TrafficPolicyProxyProtocolVERSION version; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TrafficPolicyProxyProtocol() { - } - - public TrafficPolicyProxyProtocol(TrafficPolicyProxyProtocolVERSION version) { - super(); - this.version = version; - } - - @JsonProperty("version") - public TrafficPolicyProxyProtocolVERSION getVersion() { - return version; - } - - @JsonProperty("version") - public void setVersion(TrafficPolicyProxyProtocolVERSION version) { - this.version = version; - } - - @JsonIgnore - public TrafficPolicyProxyProtocolBuilder edit() { - return new TrafficPolicyProxyProtocolBuilder(this); - } - - @JsonIgnore - public TrafficPolicyProxyProtocolBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyProxyProtocolVERSION.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyProxyProtocolVERSION.java deleted file mode 100644 index ab8cff30af1..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyProxyProtocolVERSION.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum TrafficPolicyProxyProtocolVERSION { - - V1(0), - V2(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (TrafficPolicyProxyProtocolVERSION c: values()) { - CONSTANTS.put(c.value, c); - } - for (TrafficPolicyProxyProtocolVERSION c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - TrafficPolicyProxyProtocolVERSION(Integer value) { - this.value = value; - } - - @JsonCreator - public static TrafficPolicyProxyProtocolVERSION fromValue(Object value) { - if (value instanceof String) { - { - TrafficPolicyProxyProtocolVERSION constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - TrafficPolicyProxyProtocolVERSION constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyTunnelSettings.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyTunnelSettings.java deleted file mode 100644 index bc3470f5746..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyTunnelSettings.java +++ /dev/null @@ -1,144 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "protocol", - "targetHost", - "targetPort" -}) -@ToString -@EqualsAndHashCode -@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 TrafficPolicyTunnelSettings implements Editable , KubernetesResource -{ - - @JsonProperty("protocol") - private String protocol; - @JsonProperty("targetHost") - private String targetHost; - @JsonProperty("targetPort") - private Integer targetPort; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TrafficPolicyTunnelSettings() { - } - - public TrafficPolicyTunnelSettings(String protocol, String targetHost, Integer targetPort) { - super(); - this.protocol = protocol; - this.targetHost = targetHost; - this.targetPort = targetPort; - } - - @JsonProperty("protocol") - public String getProtocol() { - return protocol; - } - - @JsonProperty("protocol") - public void setProtocol(String protocol) { - this.protocol = protocol; - } - - @JsonProperty("targetHost") - public String getTargetHost() { - return targetHost; - } - - @JsonProperty("targetHost") - public void setTargetHost(String targetHost) { - this.targetHost = targetHost; - } - - @JsonProperty("targetPort") - public Integer getTargetPort() { - return targetPort; - } - - @JsonProperty("targetPort") - public void setTargetPort(Integer targetPort) { - this.targetPort = targetPort; - } - - @JsonIgnore - public TrafficPolicyTunnelSettingsBuilder edit() { - return new TrafficPolicyTunnelSettingsBuilder(this); - } - - @JsonIgnore - public TrafficPolicyTunnelSettingsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupObjectMeta.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupObjectMeta.java deleted file mode 100644 index 7132d1c8691..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupObjectMeta.java +++ /dev/null @@ -1,134 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "annotations", - "labels" -}) -@ToString -@EqualsAndHashCode -@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 WorkloadGroupObjectMeta implements Editable , KubernetesResource -{ - - @JsonProperty("annotations") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map annotations = new LinkedHashMap<>(); - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map labels = new LinkedHashMap<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public WorkloadGroupObjectMeta() { - } - - public WorkloadGroupObjectMeta(Map annotations, Map labels) { - super(); - this.annotations = annotations; - this.labels = labels; - } - - @JsonProperty("annotations") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getAnnotations() { - return annotations; - } - - @JsonProperty("annotations") - public void setAnnotations(Map annotations) { - this.annotations = annotations; - } - - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getLabels() { - return labels; - } - - @JsonProperty("labels") - public void setLabels(Map labels) { - this.labels = labels; - } - - @JsonIgnore - public WorkloadGroupObjectMetaBuilder edit() { - return new WorkloadGroupObjectMetaBuilder(this); - } - - @JsonIgnore - public WorkloadGroupObjectMetaBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadSelector.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadSelector.java deleted file mode 100644 index f82cc8b32d6..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadSelector.java +++ /dev/null @@ -1,118 +0,0 @@ - -package io.fabric8.istio.api.networking.v1alpha3; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "labels" -}) -@ToString -@EqualsAndHashCode -@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 WorkloadSelector implements Editable , KubernetesResource -{ - - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map labels = new LinkedHashMap<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public WorkloadSelector() { - } - - public WorkloadSelector(Map labels) { - super(); - this.labels = labels; - } - - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getLabels() { - return labels; - } - - @JsonProperty("labels") - public void setLabels(Map labels) { - this.labels = labels; - } - - @JsonIgnore - public WorkloadSelectorBuilder edit() { - return new WorkloadSelectorBuilder(this); - } - - @JsonIgnore - public WorkloadSelectorBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PolicyTargetReference.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PolicyTargetReference.java deleted file mode 100644 index e6eed19c7bf..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PolicyTargetReference.java +++ /dev/null @@ -1,158 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "kind", - "group", - "name", - "namespace" -}) -@ToString -@EqualsAndHashCode -@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 PolicyTargetReference implements Editable , KubernetesResource -{ - - @JsonProperty("group") - private String group; - @JsonProperty("kind") - private String kind; - @JsonProperty("name") - private String name; - @JsonProperty("namespace") - private String namespace; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public PolicyTargetReference() { - } - - public PolicyTargetReference(String group, String kind, String name, String namespace) { - super(); - this.group = group; - this.kind = kind; - this.name = name; - this.namespace = namespace; - } - - @JsonProperty("group") - public String getGroup() { - return group; - } - - @JsonProperty("group") - public void setGroup(String group) { - this.group = group; - } - - @JsonProperty("kind") - public String getKind() { - return kind; - } - - @JsonProperty("kind") - public void setKind(String kind) { - this.kind = kind; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("namespace") - public String getNamespace() { - return namespace; - } - - @JsonProperty("namespace") - public void setNamespace(String namespace) { - this.namespace = namespace; - } - - @JsonIgnore - public PolicyTargetReferenceBuilder edit() { - return new PolicyTargetReferenceBuilder(this); - } - - @JsonIgnore - public PolicyTargetReferenceBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java deleted file mode 100644 index a8040b27f57..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java +++ /dev/null @@ -1,118 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "matchLabels" -}) -@ToString -@EqualsAndHashCode -@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 WorkloadSelector implements Editable , KubernetesResource -{ - - @JsonProperty("matchLabels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map matchLabels = new LinkedHashMap<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public WorkloadSelector() { - } - - public WorkloadSelector(Map matchLabels) { - super(); - this.matchLabels = matchLabels; - } - - @JsonProperty("matchLabels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getMatchLabels() { - return matchLabels; - } - - @JsonProperty("matchLabels") - public void setMatchLabels(Map matchLabels) { - this.matchLabels = matchLabels; - } - - @JsonIgnore - public WorkloadSelectorBuilder edit() { - return new WorkloadSelectorBuilder(this); - } - - @JsonIgnore - public WorkloadSelectorBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorIstioMetric.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorIstioMetric.java deleted file mode 100644 index 08c477afbb7..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorIstioMetric.java +++ /dev/null @@ -1,60 +0,0 @@ - -package io.fabric8.istio.api.telemetry.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum MetricSelectorIstioMetric { - - ALL_METRICS(0), - REQUEST_COUNT(1), - REQUEST_DURATION(2), - REQUEST_SIZE(3), - RESPONSE_SIZE(4), - TCP_OPENED_CONNECTIONS(5), - TCP_CLOSED_CONNECTIONS(6), - TCP_SENT_BYTES(7), - TCP_RECEIVED_BYTES(8), - GRPC_REQUEST_MESSAGES(9), - GRPC_RESPONSE_MESSAGES(10); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (MetricSelectorIstioMetric c: values()) { - CONSTANTS.put(c.value, c); - } - for (MetricSelectorIstioMetric c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - MetricSelectorIstioMetric(Integer value) { - this.value = value; - } - - @JsonCreator - public static MetricSelectorIstioMetric fromValue(Object value) { - if (value instanceof String) { - { - MetricSelectorIstioMetric constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - MetricSelectorIstioMetric constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverridesTagOverrideOperation.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverridesTagOverrideOperation.java deleted file mode 100644 index bed2efab39c..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverridesTagOverrideOperation.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.telemetry.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum MetricsOverridesTagOverrideOperation { - - UPSERT(0), - REMOVE(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (MetricsOverridesTagOverrideOperation c: values()) { - CONSTANTS.put(c.value, c); - } - for (MetricsOverridesTagOverrideOperation c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - MetricsOverridesTagOverrideOperation(Integer value) { - this.value = value; - } - - @JsonCreator - public static MetricsOverridesTagOverrideOperation fromValue(Object value) { - if (value instanceof String) { - { - MetricsOverridesTagOverrideOperation constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - MetricsOverridesTagOverrideOperation constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/WorkloadMode.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/WorkloadMode.java deleted file mode 100644 index b6b91e13129..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/WorkloadMode.java +++ /dev/null @@ -1,52 +0,0 @@ - -package io.fabric8.istio.api.telemetry.v1alpha1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum WorkloadMode { - - CLIENT_AND_SERVER(0), - CLIENT(1), - SERVER(2); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (WorkloadMode c: values()) { - CONSTANTS.put(c.value, c); - } - for (WorkloadMode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - WorkloadMode(Integer value) { - this.value = value; - } - - @JsonCreator - public static WorkloadMode fromValue(Object value) { - if (value instanceof String) { - { - WorkloadMode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - WorkloadMode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadMode.java b/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadMode.java deleted file mode 100644 index a3a66ffe25e..00000000000 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadMode.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.type.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum WorkloadMode { - - UNDEFINED(0), - CLIENT(1), - SERVER(2), - CLIENT_AND_SERVER(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (WorkloadMode c: values()) { - CONSTANTS.put(c.value, c); - } - for (WorkloadMode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - WorkloadMode(Integer value) { - this.value = value; - } - - @JsonCreator - public static WorkloadMode fromValue(Object value) { - if (value instanceof String) { - { - WorkloadMode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - WorkloadMode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1alpha3/src/main/java/io/fabric8/istio/api/networking/v1alpha3/CorsPolicy.java b/extensions/istio/model-v1alpha3/src/main/java/io/fabric8/istio/api/networking/v1alpha3/CorsPolicy.java deleted file mode 100644 index 94578ace180..00000000000 --- a/extensions/istio/model-v1alpha3/src/main/java/io/fabric8/istio/api/networking/v1alpha3/CorsPolicy.java +++ /dev/null @@ -1,198 +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 io.fabric8.istio.api.networking.v1alpha3; - -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.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -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; -import lombok.ToString; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "allowCredentials", - "allowHeaders", - "allowMethods", - "allowOrigin", - "allowOrigins", - "exposeHeaders", - "maxAge" -}) -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@ToString -@EqualsAndHashCode -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -public class CorsPolicy implements KubernetesResource { - - @JsonProperty("allowCredentials") - private Boolean allowCredentials; - @JsonProperty("allowHeaders") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List allowHeaders = new ArrayList<>(); - @JsonProperty("allowMethods") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List allowMethods = new ArrayList<>(); - @JsonProperty("allowOrigin") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List deprecatedAllowOrigin = new ArrayList<>(); - @JsonProperty("allowOrigins") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List allowOrigins = new ArrayList<>(); - @JsonProperty("exposeHeaders") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List exposeHeaders = new ArrayList<>(); - @JsonProperty("maxAge") - private String maxAge; - @JsonIgnore - private Map additionalProperties = new HashMap<>(); - - /** - * No args constructor for use in serialization - */ - public CorsPolicy() { - } - - /** - * @param allowMethods - * @param allowHeaders - * @param exposeHeaders - * @param maxAge - * @param allowCredentials - * @param deprecatedAllowOrigin - * @param allowOrigins - */ - public CorsPolicy(Boolean allowCredentials, List allowHeaders, List allowMethods, - List deprecatedAllowOrigin, List allowOrigins, List exposeHeaders, String maxAge) { - super(); - this.allowCredentials = allowCredentials; - this.allowHeaders = allowHeaders; - this.allowMethods = allowMethods; - this.deprecatedAllowOrigin = deprecatedAllowOrigin; - this.allowOrigins = allowOrigins; - this.exposeHeaders = exposeHeaders; - this.maxAge = maxAge; - } - - @JsonProperty("allowCredentials") - public Boolean getAllowCredentials() { - return allowCredentials; - } - - @JsonProperty("allowCredentials") - public void setAllowCredentials(Boolean allowCredentials) { - this.allowCredentials = allowCredentials; - } - - @JsonProperty("allowHeaders") - public List getAllowHeaders() { - return allowHeaders; - } - - @JsonProperty("allowHeaders") - public void setAllowHeaders(List allowHeaders) { - this.allowHeaders = allowHeaders; - } - - @JsonProperty("allowMethods") - public List getAllowMethods() { - return allowMethods; - } - - @JsonProperty("allowMethods") - public void setAllowMethods(List allowMethods) { - this.allowMethods = allowMethods; - } - - @JsonProperty("allowOrigin") - public List getDeprecatedAllowOrigin() { - return deprecatedAllowOrigin; - } - - @JsonProperty("allowOrigin") - public void setDeprecatedAllowOrigin(List deprecatedAllowOrigin) { - this.deprecatedAllowOrigin = deprecatedAllowOrigin; - } - - @JsonProperty("allowOrigins") - public List getAllowOrigins() { - return allowOrigins; - } - - @JsonProperty("allowOrigins") - public void setAllowOrigins(List allowOrigins) { - this.allowOrigins = allowOrigins; - } - - @JsonProperty("exposeHeaders") - public List getExposeHeaders() { - return exposeHeaders; - } - - @JsonProperty("exposeHeaders") - public void setExposeHeaders(List exposeHeaders) { - this.exposeHeaders = exposeHeaders; - } - - @JsonProperty("maxAge") - public String getMaxAge() { - return maxAge; - } - - @JsonProperty("maxAge") - public void setMaxAge(String maxAge) { - this.maxAge = maxAge; - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - -} diff --git a/extensions/istio/model-v1alpha3/src/main/resources/schema/istio-schema.json b/extensions/istio/model-v1alpha3/src/main/resources/schema/istio-schema.json deleted file mode 100644 index 11c5bbe9bca..00000000000 --- a/extensions/istio/model-v1alpha3/src/main/resources/schema/istio-schema.json +++ /dev/null @@ -1,5195 +0,0 @@ -{ - "id": "http://fabric8.io/istio/IstioSchema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "github_com_gogo_protobuf_types_ListValue": { - "type": "object", - "properties": { - "values": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Value", - "existingJavaType": "io.fabric8.istio.api.internal.protobuf.types.Value" - } - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ListValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_gogo_protobuf_types_NullValue": { - "type": "integer", - "javaEnums": [ - { - "name": "NULL_VALUE" - } - ], - "enum": [ - 0 - ], - "javaType": "io.fabric8.istio.api.internal.protobuf.types.NullValue" - }, - "github_com_gogo_protobuf_types_Struct": { - "type": "object", - "properties": { - "fields": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.internal.protobuf.types.Value\u003e" - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.Struct", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_gogo_protobuf_types_Value": { - "type": "object", - "properties": { - "Kind": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_isValue_Kind", - "interfaceType": "io.fabric8.istio.api.internal.protobuf.types.IsValueKind" - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.Value", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_gogo_protobuf_types_Value_BoolValue": { - "type": "object", - "properties": { - "boolValue": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueBoolValue", - "javaInterfaces": [ - "io.fabric8.istio.api.internal.protobuf.types.IsValueKind" - ] - }, - "github_com_gogo_protobuf_types_Value_ListValue": { - "type": "object", - "properties": { - "listValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_ListValue", - "existingJavaType": "io.fabric8.istio.api.internal.protobuf.types.ListValue" - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueListValue", - "javaInterfaces": [ - "io.fabric8.istio.api.internal.protobuf.types.IsValueKind" - ] - }, - "github_com_gogo_protobuf_types_Value_NullValue": { - "type": "object", - "properties": { - "nullValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_NullValue", - "javaType": "io.fabric8.istio.api.internal.protobuf.types.NullValue" - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueNullValue", - "javaInterfaces": [ - "io.fabric8.istio.api.internal.protobuf.types.IsValueKind" - ] - }, - "github_com_gogo_protobuf_types_Value_NumberValue": { - "type": "object", - "properties": { - "numberValue": { - "type": "number" - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueNumberValue", - "javaInterfaces": [ - "io.fabric8.istio.api.internal.protobuf.types.IsValueKind" - ] - }, - "github_com_gogo_protobuf_types_Value_StringValue": { - "type": "object", - "properties": { - "stringValue": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueStringValue", - "javaInterfaces": [ - "io.fabric8.istio.api.internal.protobuf.types.IsValueKind" - ] - }, - "github_com_gogo_protobuf_types_Value_StructValue": { - "type": "object", - "properties": { - "structValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Struct", - "existingJavaType": "io.fabric8.istio.api.internal.protobuf.types.Struct" - } - }, - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueStructValue", - "javaInterfaces": [ - "io.fabric8.istio.api.internal.protobuf.types.IsValueKind" - ] - }, - "github_com_gogo_protobuf_types_isValue_Kind": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.internal.protobuf.types.IsValueKind", - "interfaceImpls": [ - "io.fabric8.istio.api.internal.protobuf.types.ValueNullValue", - "io.fabric8.istio.api.internal.protobuf.types.ValueNumberValue", - "io.fabric8.istio.api.internal.protobuf.types.ValueStringValue", - "io.fabric8.istio.api.internal.protobuf.types.ValueBoolValue", - "io.fabric8.istio.api.internal.protobuf.types.ValueStructValue", - "io.fabric8.istio.api.internal.protobuf.types.ValueListValue" - ] - }, - "istio_io_api_analysis_v1alpha1_AnalysisMessageBase": { - "type": "object", - "properties": { - "documentationUrl": { - "type": "string" - }, - "level": { - "$ref": "#/definitions/istio_io_api_analysis_v1alpha1_AnalysisMessageBase_Level", - "javaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBaseLevel" - }, - "type": { - "$ref": "#/definitions/istio_io_api_analysis_v1alpha1_AnalysisMessageBase_Type", - "existingJavaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBaseType" - } - }, - "javaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBase", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_analysis_v1alpha1_AnalysisMessageBase_Level": { - "type": "integer", - "javaEnums": [ - { - "name": "UNKNOWN" - }, - { - "name": "ERROR" - }, - { - "name": "WARNING" - }, - { - "name": "INFO" - } - ], - "enum": [ - 0, - 3, - 8, - 12 - ], - "javaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBaseLevel" - }, - "istio_io_api_analysis_v1alpha1_AnalysisMessageBase_Type": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBaseType", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_extensions_v1alpha1_EnvValueSource": { - "type": "integer", - "javaEnums": [ - { - "name": "INLINE" - }, - { - "name": "HOST" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha1.EnvValueSource" - }, - "istio_io_api_extensions_v1alpha1_EnvVar": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "valueFrom": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_EnvValueSource", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.EnvValueSource" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha1.EnvVar", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_extensions_v1alpha1_FailStrategy": { - "type": "integer", - "javaEnums": [ - { - "name": "FAIL_CLOSE" - }, - { - "name": "FAIL_OPEN" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha1.FailStrategy" - }, - "istio_io_api_extensions_v1alpha1_PluginPhase": { - "type": "integer", - "javaEnums": [ - { - "name": "UNSPECIFIED_PHASE" - }, - { - "name": "AUTHN" - }, - { - "name": "AUTHZ" - }, - { - "name": "STATS" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PluginPhase" - }, - "istio_io_api_extensions_v1alpha1_PluginType": { - "type": "integer", - "javaEnums": [ - { - "name": "UNSPECIFIED_PLUGIN_TYPE" - }, - { - "name": "HTTP" - }, - { - "name": "NETWORK" - } - ], - "enum": [ - 0, - 1, - 2 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PluginType" - }, - "istio_io_api_extensions_v1alpha1_PullPolicy": { - "type": "integer", - "javaEnums": [ - { - "name": "UNSPECIFIED_POLICY" - }, - { - "name": "IfNotPresent" - }, - { - "name": "Always" - } - ], - "enum": [ - 0, - 1, - 2 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PullPolicy" - }, - "istio_io_api_extensions_v1alpha1_VmConfig": { - "type": "object", - "properties": { - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_EnvVar", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha1.EnvVar" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha1.VmConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_extensions_v1alpha1_WasmPlugin": { - "type": "object", - "properties": { - "failStrategy": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_FailStrategy", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.FailStrategy" - }, - "imagePullPolicy": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_PullPolicy", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PullPolicy" - }, - "imagePullSecret": { - "type": "string" - }, - "match": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_WasmPlugin_TrafficSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha1.WasmPluginTrafficSelector" - } - }, - "phase": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_PluginPhase", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PluginPhase" - }, - "pluginConfig": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - }, - "pluginName": { - "type": "string" - }, - "priority": { - "existingJavaType": "java.lang.Integer" - }, - "selector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector" - }, - "sha256": { - "type": "string" - }, - "targetRef": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_PolicyTargetReference", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.PolicyTargetReference" - }, - "type": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_PluginType", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PluginType" - }, - "url": { - "type": "string" - }, - "verificationKey": { - "type": "string" - }, - "vmConfig": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_VmConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha1.VmConfig" - } - }, - "javaType": "io.fabric8.istio.api.extensions.v1alpha1.WasmPluginSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_extensions_v1alpha1_WasmPlugin_TrafficSelector": { - "type": "object", - "properties": { - "mode": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadMode", - "javaType": "io.fabric8.istio.api.type.v1beta1.WorkloadMode" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_PortSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.PortSelector" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha1.WasmPluginTrafficSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_meta_v1alpha1_IstioCondition": { - "type": "object", - "properties": { - "lastProbeTime": { - "existingJavaType": "java.lang.String" - }, - "lastTransitionTime": { - "existingJavaType": "java.lang.String" - }, - "message": { - "type": "string" - }, - "reason": { - "type": "string" - }, - "status": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.meta.v1alpha1.IstioCondition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_meta_v1alpha1_IstioStatus": { - "type": "object", - "properties": { - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioCondition", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioCondition" - } - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "validationMessages": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_analysis_v1alpha1_AnalysisMessageBase", - "existingJavaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBase" - } - } - }, - "javaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_CaptureMode": { - "type": "integer", - "javaEnums": [ - { - "name": "DEFAULT" - }, - { - "name": "IPTABLES" - }, - { - "name": "NONE" - } - ], - "enum": [ - 0, - 1, - 2 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.CaptureMode" - }, - "istio_io_api_networking_v1alpha3_ClientTLSSettings": { - "type": "object", - "properties": { - "caCertificates": { - "type": "string" - }, - "clientCertificate": { - "type": "string" - }, - "credentialName": { - "type": "string" - }, - "insecureSkipVerify": { - "existingJavaType": "java.lang.Boolean" - }, - "mode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ClientTLSSettings_TLSmode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ClientTLSSettingsTLSmode" - }, - "privateKey": { - "type": "string" - }, - "sni": { - "type": "string" - }, - "subjectAltNames": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ClientTLSSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ClientTLSSettings_TLSmode": { - "type": "integer", - "javaEnums": [ - { - "name": "DISABLE" - }, - { - "name": "SIMPLE" - }, - { - "name": "MUTUAL" - }, - { - "name": "ISTIO_MUTUAL" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ClientTLSSettingsTLSmode" - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings": { - "type": "object", - "properties": { - "http": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsHTTPSettings" - }, - "tcp": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings_TCPSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsTCPSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings": { - "type": "object", - "properties": { - "h2UpgradePolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy" - }, - "http1MaxPendingRequests": { - "type": "integer" - }, - "http2MaxRequests": { - "type": "integer" - }, - "idleTimeout": { - "existingJavaType": "java.lang.String" - }, - "maxConcurrentStreams": { - "type": "integer" - }, - "maxRequestsPerConnection": { - "type": "integer" - }, - "maxRetries": { - "type": "integer" - }, - "useClientProtocol": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsHTTPSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy": { - "type": "integer", - "javaEnums": [ - { - "name": "DEFAULT" - }, - { - "name": "DO_NOT_UPGRADE" - }, - { - "name": "UPGRADE" - } - ], - "enum": [ - 0, - 1, - 2 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy" - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings_TCPSettings": { - "type": "object", - "properties": { - "connectTimeout": { - "existingJavaType": "java.lang.String" - }, - "idleTimeout": { - "existingJavaType": "java.lang.String" - }, - "maxConnectionDuration": { - "existingJavaType": "java.lang.String" - }, - "maxConnections": { - "type": "integer" - }, - "tcpKeepalive": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings_TCPSettings_TcpKeepalive", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsTCPSettingsTcpKeepalive" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsTCPSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings_TCPSettings_TcpKeepalive": { - "type": "object", - "properties": { - "interval": { - "existingJavaType": "java.lang.String" - }, - "probes": { - "type": "integer" - }, - "time": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsTCPSettingsTcpKeepalive", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Delegate": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "namespace": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Delegate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Destination": { - "type": "object", - "properties": { - "host": { - "type": "string" - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_PortSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.PortSelector" - }, - "subset": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Destination", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_DestinationRule": { - "type": "object", - "properties": { - "exportTo": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "host": { - "type": "string" - }, - "subsets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Subset", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Subset" - } - }, - "trafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicy" - }, - "workloadSelector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.DestinationRuleSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter": { - "type": "object", - "properties": { - "configPatches": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectPatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectPatch" - } - }, - "priority": { - "type": "integer" - }, - "workloadSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ApplyTo": { - "type": "integer", - "javaEnums": [ - { - "name": "INVALID" - }, - { - "name": "LISTENER" - }, - { - "name": "FILTER_CHAIN" - }, - { - "name": "NETWORK_FILTER" - }, - { - "name": "HTTP_FILTER" - }, - { - "name": "ROUTE_CONFIGURATION" - }, - { - "name": "VIRTUAL_HOST" - }, - { - "name": "HTTP_ROUTE" - }, - { - "name": "CLUSTER" - }, - { - "name": "EXTENSION_CONFIG" - }, - { - "name": "BOOTSTRAP" - }, - { - "name": "LISTENER_FILTER" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterApplyTo" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ClusterMatch": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "portNumber": { - "type": "integer" - }, - "service": { - "type": "string" - }, - "subset": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterClusterMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch": { - "type": "object", - "properties": { - "ObjectTypes": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes" - }, - "context": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_PatchContext", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchContext" - }, - "proxy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ProxyMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterProxyMatch" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_Cluster": { - "type": "object", - "properties": { - "cluster": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ClusterMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterClusterMatch" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchCluster", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_Listener": { - "type": "object", - "properties": { - "listener": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatch" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchListener", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration": { - "type": "object", - "properties": { - "routeConfiguration": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatch" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectPatch": { - "type": "object", - "properties": { - "applyTo": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ApplyTo", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterApplyTo" - }, - "match": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatch" - }, - "patch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_Patch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatch" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectPatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch": { - "type": "object", - "properties": { - "filterChain": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_FilterChainMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchFilterChainMatch" - }, - "listenerFilter": { - "type": "string" - }, - "name": { - "type": "string" - }, - "portName": { - "type": "string" - }, - "portNumber": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_FilterChainMatch": { - "type": "object", - "properties": { - "applicationProtocols": { - "type": "string" - }, - "destinationPort": { - "type": "integer" - }, - "filter": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_FilterMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchFilterMatch" - }, - "name": { - "type": "string" - }, - "sni": { - "type": "string" - }, - "transportProtocol": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchFilterChainMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_FilterMatch": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "subFilter": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_SubFilterMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchSubFilterMatch" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchFilterMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_SubFilterMatch": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchSubFilterMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_Patch": { - "type": "object", - "properties": { - "filterClass": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_Patch_FilterClass", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchFilterClass" - }, - "operation": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_Patch_Operation", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchOperation" - }, - "value": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_PatchContext": { - "type": "integer", - "javaEnums": [ - { - "name": "ANY" - }, - { - "name": "SIDECAR_INBOUND" - }, - { - "name": "SIDECAR_OUTBOUND" - }, - { - "name": "GATEWAY" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchContext" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_Patch_FilterClass": { - "type": "integer", - "javaEnums": [ - { - "name": "UNSPECIFIED" - }, - { - "name": "AUTHN" - }, - { - "name": "AUTHZ" - }, - { - "name": "STATS" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchFilterClass" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_Patch_Operation": { - "type": "integer", - "javaEnums": [ - { - "name": "INVALID" - }, - { - "name": "MERGE" - }, - { - "name": "ADD" - }, - { - "name": "REMOVE" - }, - { - "name": "INSERT_BEFORE" - }, - { - "name": "INSERT_AFTER" - }, - { - "name": "INSERT_FIRST" - }, - { - "name": "REPLACE" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchOperation" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ProxyMatch": { - "type": "object", - "properties": { - "metadata": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "proxyVersion": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterProxyMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch": { - "type": "object", - "properties": { - "gateway": { - "type": "string" - }, - "name": { - "type": "string" - }, - "portName": { - "type": "string" - }, - "portNumber": { - "type": "integer" - }, - "vhost": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_VirtualHostMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchVirtualHostMatch" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_RouteMatch": { - "type": "object", - "properties": { - "action": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_RouteMatch_Action", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchRouteMatchAction" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchRouteMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_RouteMatch_Action": { - "type": "integer", - "javaEnums": [ - { - "name": "ANY" - }, - { - "name": "ROUTE" - }, - { - "name": "REDIRECT" - }, - { - "name": "DIRECT_RESPONSE" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchRouteMatchAction" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_VirtualHostMatch": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "route": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_RouteMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchRouteMatch" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchVirtualHostMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ExecHealthCheckConfig": { - "type": "object", - "properties": { - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ExecHealthCheckConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Gateway": { - "type": "object", - "properties": { - "selector": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "servers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Server", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Server" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.GatewaySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPBody": { - "type": "object", - "properties": { - "Specifier": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isHTTPBody_Specifier", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPBodySpecifier" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPBody", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPBody_Bytes": { - "type": "object", - "properties": { - "bytes": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPBodyBytes", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPBodySpecifier" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPBody_String_": { - "type": "object", - "properties": { - "string": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPBodyString", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPBodySpecifier" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPDirectResponse": { - "type": "object", - "properties": { - "body": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPBody", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPBody" - }, - "status": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPDirectResponse", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection": { - "type": "object", - "properties": { - "abort": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbort" - }, - "delay": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelay" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjection", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort": { - "type": "object", - "properties": { - "ErrorType": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isHTTPFaultInjection_Abort_ErrorType", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionAbortErrorType" - }, - "percentage": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Percent" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbort", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_GrpcStatus": { - "type": "object", - "properties": { - "grpcStatus": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortGrpcStatus", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionAbortErrorType" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_Http2Error": { - "type": "object", - "properties": { - "http2Error": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortHttp2Error", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionAbortErrorType" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_HttpStatus": { - "type": "object", - "properties": { - "httpStatus": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortHttpStatus", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionAbortErrorType" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay": { - "type": "object", - "properties": { - "HttpDelayType": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isHTTPFaultInjection_Delay_HttpDelayType", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionDelayHttpDelayType" - }, - "percent": { - "type": "integer" - }, - "percentage": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Percent" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelay", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay_ExponentialDelay": { - "type": "object", - "properties": { - "exponentialDelay": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelayExponentialDelay", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionDelayHttpDelayType" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay_FixedDelay": { - "type": "object", - "properties": { - "fixedDelay": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelayFixedDelay", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionDelayHttpDelayType" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPHeader": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPHeader", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPHealthCheckConfig": { - "type": "object", - "properties": { - "host": { - "type": "string" - }, - "httpHeaders": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPHeader", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPHeader" - } - }, - "path": { - "type": "string" - }, - "port": { - "type": "integer" - }, - "scheme": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPHealthCheckConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPMatchRequest": { - "type": "object", - "properties": { - "authority": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatch" - }, - "gateways": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "headers": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.networking.v1alpha3.StringMatch\u003e" - }, - "ignoreUriCase": { - "type": "boolean" - }, - "method": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatch" - }, - "name": { - "type": "string" - }, - "port": { - "type": "integer" - }, - "queryParams": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.networking.v1alpha3.StringMatch\u003e" - }, - "scheme": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatch" - }, - "sourceLabels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "sourceNamespace": { - "type": "string" - }, - "statPrefix": { - "type": "string" - }, - "uri": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatch" - }, - "withoutHeaders": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.networking.v1alpha3.StringMatch\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPMatchRequest", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPMirrorPolicy": { - "type": "object", - "properties": { - "destination": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Destination" - }, - "percentage": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Percent" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPMirrorPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPRedirect": { - "type": "object", - "properties": { - "RedirectPort": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isHTTPRedirect_RedirectPort", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPRedirectRedirectPort" - }, - "authority": { - "type": "string" - }, - "redirectCode": { - "type": "integer" - }, - "scheme": { - "type": "string" - }, - "uri": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirect", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPRedirect_DerivePort": { - "type": "object", - "properties": { - "derivePort": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRedirect_RedirectPortSelection", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectRedirectPortSelection" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectDerivePort", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPRedirectRedirectPort" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPRedirect_Port": { - "type": "object", - "properties": { - "port": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectPort", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsHTTPRedirectRedirectPort" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPRedirect_RedirectPortSelection": { - "type": "integer", - "javaEnums": [ - { - "name": "FROM_PROTOCOL_DEFAULT" - }, - { - "name": "FROM_REQUEST_PORT" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectRedirectPortSelection" - }, - "istio_io_api_networking_v1alpha3_HTTPRetry": { - "type": "object", - "properties": { - "attempts": { - "type": "integer" - }, - "perTryTimeout": { - "existingJavaType": "java.lang.String" - }, - "retryOn": { - "type": "string" - }, - "retryRemoteLocalities": { - "existingJavaType": "java.lang.Boolean" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRetry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPRewrite": { - "type": "object", - "properties": { - "authority": { - "type": "string" - }, - "uri": { - "type": "string" - }, - "uriRegexRewrite": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_RegexRewrite", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.RegexRewrite" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRewrite", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPRoute": { - "type": "object", - "properties": { - "corsPolicy": { - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.CorsPolicy" - }, - "delegate": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Delegate", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Delegate" - }, - "directResponse": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPDirectResponse", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPDirectResponse" - }, - "fault": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjection" - }, - "headers": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Headers", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Headers" - }, - "match": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPMatchRequest", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPMatchRequest" - } - }, - "mirror": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Destination" - }, - "mirrorPercent": { - "existingJavaType": "java.lang.Integer" - }, - "mirrorPercentage": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Percent" - }, - "mirrors": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPMirrorPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPMirrorPolicy" - } - }, - "name": { - "type": "string" - }, - "redirect": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRedirect", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirect" - }, - "retries": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRetry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRetry" - }, - "rewrite": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRewrite", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRewrite" - }, - "route": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRouteDestination" - } - }, - "timeout": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRoute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_HTTPRouteDestination": { - "type": "object", - "properties": { - "destination": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Destination" - }, - "headers": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Headers", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Headers" - }, - "weight": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRouteDestination", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Headers": { - "type": "object", - "properties": { - "request": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Headers_HeaderOperations", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HeadersHeaderOperations" - }, - "response": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Headers_HeaderOperations", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HeadersHeaderOperations" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Headers", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Headers_HeaderOperations": { - "type": "object", - "properties": { - "add": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "remove": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "set": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HeadersHeaderOperations", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_IstioEgressListener": { - "type": "object", - "properties": { - "bind": { - "type": "string" - }, - "captureMode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_CaptureMode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.CaptureMode" - }, - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_SidecarPort", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarPort" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.IstioEgressListener", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_IstioIngressListener": { - "type": "object", - "properties": { - "bind": { - "type": "string" - }, - "captureMode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_CaptureMode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.CaptureMode" - }, - "connectionPool": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettings" - }, - "defaultEndpoint": { - "type": "string" - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_SidecarPort", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarPort" - }, - "tls": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServerTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.IstioIngressListener", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_L4MatchAttributes": { - "type": "object", - "properties": { - "destinationSubnets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "gateways": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "port": { - "type": "integer" - }, - "sourceLabels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "sourceNamespace": { - "type": "string" - }, - "sourceSubnet": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.L4MatchAttributes", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings": { - "type": "object", - "properties": { - "LbPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isLoadBalancerSettings_LbPolicy", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsLbPolicy" - }, - "localityLbSetting": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting" - }, - "warmupDurationSecs": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHash": { - "type": "object", - "properties": { - "consistentHash": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLB" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHash", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsLbPolicy" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB": { - "type": "object", - "properties": { - "HashAlgorithm": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm" - }, - "HashKey": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isLoadBalancerSettings_ConsistentHashLB_HashKey", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey" - }, - "minimumRingSize": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLB", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HTTPCookie": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "ttl": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookieValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpCookie": { - "type": "object", - "properties": { - "httpCookie": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HTTPCookie", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookieValue" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookie", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpHeaderName": { - "type": "object", - "properties": { - "httpHeaderName": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpHeaderName", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName": { - "type": "object", - "properties": { - "httpQueryParameterName": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpQueryParameterName", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_MagLev": { - "type": "object", - "properties": { - "tableSize": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBMagLevValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_Maglev": { - "type": "object", - "properties": { - "maglev": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_MagLev", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBMagLevValue" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBMaglev", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_RingHash": { - "type": "object", - "properties": { - "minimumRingSize": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHashValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_RingHashWrapper": { - "type": "object", - "properties": { - "ringHash": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_RingHash", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHashValue" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHash", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_UseSourceIp": { - "type": "object", - "properties": { - "useSourceIp": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBUseSourceIp", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_Simple": { - "type": "object", - "properties": { - "simple": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_SimpleLB", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsSimpleLB" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsSimple", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsLbPolicy" - ] - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_SimpleLB": { - "type": "integer", - "javaEnums": [ - { - "name": "UNSPECIFIED" - }, - { - "name": "LEAST_CONN" - }, - { - "name": "RANDOM" - }, - { - "name": "PASSTHROUGH" - }, - { - "name": "ROUND_ROBIN" - }, - { - "name": "LEAST_REQUEST" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsSimpleLB" - }, - "istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting": { - "type": "object", - "properties": { - "distribute": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting_Distribute", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSettingDistribute" - } - }, - "enabled": { - "existingJavaType": "java.lang.Boolean" - }, - "failover": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting_Failover", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSettingFailover" - } - }, - "failoverPriority": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting_Distribute": { - "type": "object", - "properties": { - "from": { - "type": "string" - }, - "to": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,Long\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSettingDistribute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting_Failover": { - "type": "object", - "properties": { - "from": { - "type": "string" - }, - "to": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSettingFailover", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_OutboundTrafficPolicy": { - "type": "object", - "properties": { - "egressProxy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Destination" - }, - "mode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_OutboundTrafficPolicy_Mode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.OutboundTrafficPolicyMode" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.OutboundTrafficPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_OutboundTrafficPolicy_Mode": { - "type": "integer", - "javaEnums": [ - { - "name": "REGISTRY_ONLY" - }, - { - "name": "ALLOW_ANY" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.OutboundTrafficPolicyMode" - }, - "istio_io_api_networking_v1alpha3_OutlierDetection": { - "type": "object", - "properties": { - "baseEjectionTime": { - "existingJavaType": "java.lang.String" - }, - "consecutive5xxErrors": { - "existingJavaType": "java.lang.Integer" - }, - "consecutiveErrors": { - "type": "integer" - }, - "consecutiveGatewayErrors": { - "existingJavaType": "java.lang.Integer" - }, - "consecutiveLocalOriginFailures": { - "existingJavaType": "java.lang.Integer" - }, - "interval": { - "existingJavaType": "java.lang.String" - }, - "maxEjectionPercent": { - "type": "integer" - }, - "minHealthPercent": { - "type": "integer" - }, - "splitExternalLocalOriginErrors": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.OutlierDetection", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Percent": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Percent", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Port": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "number": { - "type": "integer" - }, - "protocol": { - "type": "string" - }, - "targetPort": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Port", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_PortSelector": { - "type": "object", - "properties": { - "number": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.PortSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ReadinessProbe": { - "type": "object", - "properties": { - "HealthCheckMethod": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isReadinessProbe_HealthCheckMethod", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsReadinessProbeHealthCheckMethod" - }, - "failureThreshold": { - "type": "integer" - }, - "initialDelaySeconds": { - "type": "integer" - }, - "periodSeconds": { - "type": "integer" - }, - "successThreshold": { - "type": "integer" - }, - "timeoutSeconds": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbe", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ReadinessProbe_Exec": { - "type": "object", - "properties": { - "exec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ExecHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ExecHealthCheckConfig" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeExec", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsReadinessProbeHealthCheckMethod" - ] - }, - "istio_io_api_networking_v1alpha3_ReadinessProbe_HttpGet": { - "type": "object", - "properties": { - "httpGet": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPHealthCheckConfig" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeHttpGet", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsReadinessProbeHealthCheckMethod" - ] - }, - "istio_io_api_networking_v1alpha3_ReadinessProbe_TcpSocket": { - "type": "object", - "properties": { - "tcpSocket": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TCPHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TCPHealthCheckConfig" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeTcpSocket", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsReadinessProbeHealthCheckMethod" - ] - }, - "istio_io_api_networking_v1alpha3_RegexRewrite": { - "type": "object", - "properties": { - "match": { - "type": "string" - }, - "rewrite": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.RegexRewrite", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_RouteDestination": { - "type": "object", - "properties": { - "destination": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Destination" - }, - "weight": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.RouteDestination", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Server": { - "type": "object", - "properties": { - "bind": { - "type": "string" - }, - "defaultEndpoint": { - "type": "string" - }, - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "name": { - "type": "string" - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Port", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Port" - }, - "tls": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServerTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Server", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ServerTLSSettings": { - "type": "object", - "properties": { - "caCertificates": { - "type": "string" - }, - "cipherSuites": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "credentialName": { - "type": "string" - }, - "httpsRedirect": { - "type": "boolean" - }, - "maxProtocolVersion": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSProtocol", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettingsTLSProtocol" - }, - "minProtocolVersion": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSProtocol", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettingsTLSProtocol" - }, - "mode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSmode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettingsTLSmode" - }, - "privateKey": { - "type": "string" - }, - "serverCertificate": { - "type": "string" - }, - "subjectAltNames": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "verifyCertificateHash": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "verifyCertificateSpki": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSProtocol": { - "type": "integer", - "javaEnums": [ - { - "name": "TLS_AUTO" - }, - { - "name": "TLSV1_0" - }, - { - "name": "TLSV1_1" - }, - { - "name": "TLSV1_2" - }, - { - "name": "TLSV1_3" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettingsTLSProtocol" - }, - "istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSmode": { - "type": "integer", - "javaEnums": [ - { - "name": "PASSTHROUGH" - }, - { - "name": "SIMPLE" - }, - { - "name": "MUTUAL" - }, - { - "name": "AUTO_PASSTHROUGH" - }, - { - "name": "ISTIO_MUTUAL" - }, - { - "name": "OPTIONAL_MUTUAL" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettingsTLSmode" - }, - "istio_io_api_networking_v1alpha3_ServiceEntry": { - "type": "object", - "properties": { - "addresses": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "endpoints": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntrySpec" - } - }, - "exportTo": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "location": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServiceEntry_Location", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntryLocation" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServicePort", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServicePort" - } - }, - "resolution": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServiceEntry_Resolution", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntryResolution" - }, - "subjectAltNames": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "workloadSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntrySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_ServiceEntry_Location": { - "type": "integer", - "javaEnums": [ - { - "name": "MESH_EXTERNAL" - }, - { - "name": "MESH_INTERNAL" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntryLocation" - }, - "istio_io_api_networking_v1alpha3_ServiceEntry_Resolution": { - "type": "integer", - "javaEnums": [ - { - "name": "NONE" - }, - { - "name": "STATIC" - }, - { - "name": "DNS" - }, - { - "name": "DNS_ROUND_ROBIN" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntryResolution" - }, - "istio_io_api_networking_v1alpha3_ServicePort": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "number": { - "type": "integer" - }, - "protocol": { - "type": "string" - }, - "targetPort": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServicePort", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_Sidecar": { - "type": "object", - "properties": { - "egress": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_IstioEgressListener", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.IstioEgressListener" - } - }, - "inboundConnectionPool": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettings" - }, - "ingress": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_IstioIngressListener", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.IstioIngressListener" - } - }, - "outboundTrafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_OutboundTrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.OutboundTrafficPolicy" - }, - "workloadSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_SidecarPort": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "number": { - "type": "integer" - }, - "protocol": { - "type": "string" - }, - "targetPort": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarPort", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_StringMatch": { - "type": "object", - "properties": { - "MatchType": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isStringMatch_MatchType", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsStringMatchMatchType" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_StringMatch_Exact": { - "type": "object", - "properties": { - "exact": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatchExact", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsStringMatchMatchType" - ] - }, - "istio_io_api_networking_v1alpha3_StringMatch_Prefix": { - "type": "object", - "properties": { - "prefix": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatchPrefix", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsStringMatchMatchType" - ] - }, - "istio_io_api_networking_v1alpha3_StringMatch_Regex": { - "type": "object", - "properties": { - "regex": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatchRegex", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1alpha3.IsStringMatchMatchType" - ] - }, - "istio_io_api_networking_v1alpha3_Subset": { - "type": "object", - "properties": { - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "name": { - "type": "string" - }, - "trafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicy" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Subset", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_TCPHealthCheckConfig": { - "type": "object", - "properties": { - "host": { - "type": "string" - }, - "port": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TCPHealthCheckConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_TCPRoute": { - "type": "object", - "properties": { - "match": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_L4MatchAttributes", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.L4MatchAttributes" - } - }, - "route": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_RouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.RouteDestination" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TCPRoute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_TLSMatchAttributes": { - "type": "object", - "properties": { - "destinationSubnets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "gateways": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "port": { - "type": "integer" - }, - "sniHosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "sourceLabels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "sourceNamespace": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TLSMatchAttributes", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_TLSRoute": { - "type": "object", - "properties": { - "match": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TLSMatchAttributes", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TLSMatchAttributes" - } - }, - "route": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_RouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.RouteDestination" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TLSRoute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy": { - "type": "object", - "properties": { - "connectionPool": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettings" - }, - "loadBalancer": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettings" - }, - "outlierDetection": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_OutlierDetection", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.OutlierDetection" - }, - "portLevelSettings": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy_PortTrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyPortTrafficPolicy" - } - }, - "proxyProtocol": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy_ProxyProtocol", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyProxyProtocol" - }, - "tls": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ClientTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ClientTLSSettings" - }, - "tunnel": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy_TunnelSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyTunnelSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy_PortTrafficPolicy": { - "type": "object", - "properties": { - "connectionPool": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettings" - }, - "loadBalancer": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettings" - }, - "outlierDetection": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_OutlierDetection", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.OutlierDetection" - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_PortSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.PortSelector" - }, - "tls": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ClientTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ClientTLSSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyPortTrafficPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy_ProxyProtocol": { - "type": "object", - "properties": { - "version": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy_ProxyProtocol_VERSION", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyProxyProtocolVERSION" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyProxyProtocol", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy_ProxyProtocol_VERSION": { - "type": "integer", - "javaEnums": [ - { - "name": "V1" - }, - { - "name": "V2" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyProxyProtocolVERSION" - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy_TunnelSettings": { - "type": "object", - "properties": { - "protocol": { - "type": "string" - }, - "targetHost": { - "type": "string" - }, - "targetPort": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyTunnelSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_VirtualService": { - "type": "object", - "properties": { - "exportTo": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "gateways": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "http": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRoute" - } - }, - "tcp": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TCPRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TCPRoute" - } - }, - "tls": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TLSRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TLSRoute" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.VirtualServiceSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_WorkloadEntry": { - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "locality": { - "type": "string" - }, - "network": { - "type": "string" - }, - "ports": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,Long\u003e" - }, - "serviceAccount": { - "type": "string" - }, - "weight": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntrySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_WorkloadGroup": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadGroup_ObjectMeta", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupObjectMeta" - }, - "probe": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ReadinessProbe", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbe" - }, - "template": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntrySpec" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_WorkloadGroup_ObjectMeta": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupObjectMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_WorkloadSelector": { - "type": "object", - "properties": { - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1alpha3_isEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchListener", - "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration", - "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchCluster" - ] - }, - "istio_io_api_networking_v1alpha3_isHTTPBody_Specifier": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPBodySpecifier", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.HTTPBodyString", - "io.fabric8.istio.api.networking.v1alpha3.HTTPBodyBytes" - ] - }, - "istio_io_api_networking_v1alpha3_isHTTPFaultInjection_Abort_ErrorType": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionAbortErrorType", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortHttpStatus", - "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortGrpcStatus", - "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortHttp2Error" - ] - }, - "istio_io_api_networking_v1alpha3_isHTTPFaultInjection_Delay_HttpDelayType": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionDelayHttpDelayType", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelayExponentialDelay", - "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelayFixedDelay" - ] - }, - "istio_io_api_networking_v1alpha3_isHTTPRedirect_RedirectPort": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPRedirectRedirectPort", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectPort", - "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectDerivePort" - ] - }, - "istio_io_api_networking_v1alpha3_isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBMaglev", - "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHash" - ] - }, - "istio_io_api_networking_v1alpha3_isLoadBalancerSettings_ConsistentHashLB_HashKey": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpHeaderName", - "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookie", - "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBUseSourceIp", - "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpQueryParameterName" - ] - }, - "istio_io_api_networking_v1alpha3_isLoadBalancerSettings_LbPolicy": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsLbPolicy", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHash", - "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsSimple" - ] - }, - "istio_io_api_networking_v1alpha3_isReadinessProbe_HealthCheckMethod": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsReadinessProbeHealthCheckMethod", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeExec", - "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeHttpGet", - "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeTcpSocket" - ] - }, - "istio_io_api_networking_v1alpha3_isStringMatch_MatchType": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsStringMatchMatchType", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1alpha3.StringMatchExact", - "io.fabric8.istio.api.networking.v1alpha3.StringMatchRegex", - "io.fabric8.istio.api.networking.v1alpha3.StringMatchPrefix" - ] - }, - "istio_io_api_telemetry_v1alpha1_AccessLogging": { - "type": "object", - "properties": { - "disabled": { - "existingJavaType": "java.lang.Boolean" - }, - "filter": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_AccessLogging_Filter", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLoggingFilter" - }, - "match": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_AccessLogging_LogSelector", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLoggingLogSelector" - }, - "providers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_ProviderRef", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.ProviderRef" - } - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLogging", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_AccessLogging_Filter": { - "type": "object", - "properties": { - "expression": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLoggingFilter", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_AccessLogging_LogSelector": { - "type": "object", - "properties": { - "mode": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_WorkloadMode", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.WorkloadMode" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLoggingLogSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_MetricSelector": { - "type": "object", - "properties": { - "MetricMatch": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_isMetricSelector_MetricMatch", - "interfaceType": "io.fabric8.istio.api.telemetry.v1alpha1.IsMetricSelectorMetricMatch" - }, - "mode": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_WorkloadMode", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.WorkloadMode" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_MetricSelector_CustomMetric": { - "type": "object", - "properties": { - "customMetric": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorCustomMetric", - "javaInterfaces": [ - "io.fabric8.istio.api.telemetry.v1alpha1.IsMetricSelectorMetricMatch" - ] - }, - "istio_io_api_telemetry_v1alpha1_MetricSelector_IstioMetric": { - "type": "integer", - "javaEnums": [ - { - "name": "ALL_METRICS" - }, - { - "name": "REQUEST_COUNT" - }, - { - "name": "REQUEST_DURATION" - }, - { - "name": "REQUEST_SIZE" - }, - { - "name": "RESPONSE_SIZE" - }, - { - "name": "TCP_OPENED_CONNECTIONS" - }, - { - "name": "TCP_CLOSED_CONNECTIONS" - }, - { - "name": "TCP_SENT_BYTES" - }, - { - "name": "TCP_RECEIVED_BYTES" - }, - { - "name": "GRPC_REQUEST_MESSAGES" - }, - { - "name": "GRPC_RESPONSE_MESSAGES" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10 - ], - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorIstioMetric" - }, - "istio_io_api_telemetry_v1alpha1_MetricSelector_Metric": { - "type": "object", - "properties": { - "metric": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricSelector_IstioMetric", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorIstioMetric" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorMetric", - "javaInterfaces": [ - "io.fabric8.istio.api.telemetry.v1alpha1.IsMetricSelectorMetricMatch" - ] - }, - "istio_io_api_telemetry_v1alpha1_Metrics": { - "type": "object", - "properties": { - "overrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricsOverrides", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverrides" - } - }, - "providers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_ProviderRef", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.ProviderRef" - } - }, - "reportingInterval": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.Metrics", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_MetricsOverrides": { - "type": "object", - "properties": { - "disabled": { - "existingJavaType": "java.lang.Boolean" - }, - "match": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricSelector", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelector" - }, - "tagOverrides": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverridesTagOverride\u003e" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverrides", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_MetricsOverrides_TagOverride": { - "type": "object", - "properties": { - "operation": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricsOverrides_TagOverride_Operation", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverridesTagOverrideOperation" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverridesTagOverride", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_MetricsOverrides_TagOverride_Operation": { - "type": "integer", - "javaEnums": [ - { - "name": "UPSERT" - }, - { - "name": "REMOVE" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverridesTagOverrideOperation" - }, - "istio_io_api_telemetry_v1alpha1_ProviderRef": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.ProviderRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_Telemetry": { - "type": "object", - "properties": { - "accessLogging": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_AccessLogging", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLogging" - } - }, - "metrics": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Metrics", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.Metrics" - } - }, - "selector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector" - }, - "targetRef": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_PolicyTargetReference", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.PolicyTargetReference" - }, - "tracing": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.Tracing" - } - } - }, - "javaType": "io.fabric8.istio.api.extensions.v1alpha1.TelemetrySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing": { - "type": "object", - "properties": { - "customTags": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTag\u003e" - }, - "disableSpanReporting": { - "existingJavaType": "java.lang.Boolean" - }, - "match": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_TracingSelector", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingTracingSelector" - }, - "providers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_ProviderRef", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.ProviderRef" - } - }, - "randomSamplingPercentage": { - "existingJavaType": "java.lang.Double" - }, - "useRequestIdForTraceSampling": { - "existingJavaType": "java.lang.Boolean" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.Tracing", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing_CustomTag": { - "type": "object", - "properties": { - "Type": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_isTracing_CustomTag_Type", - "interfaceType": "io.fabric8.istio.api.telemetry.v1alpha1.IsTracingCustomTagType" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTag", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Environment": { - "type": "object", - "properties": { - "environment": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_Environment", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingEnvironment" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagEnvironment", - "javaInterfaces": [ - "io.fabric8.istio.api.telemetry.v1alpha1.IsTracingCustomTagType" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Header": { - "type": "object", - "properties": { - "header": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_RequestHeader", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingRequestHeader" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagHeader", - "javaInterfaces": [ - "io.fabric8.istio.api.telemetry.v1alpha1.IsTracingCustomTagType" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Literal": { - "type": "object", - "properties": { - "literal": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_Literal", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingLiteral" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagLiteral", - "javaInterfaces": [ - "io.fabric8.istio.api.telemetry.v1alpha1.IsTracingCustomTagType" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing_Environment": { - "type": "object", - "properties": { - "defaultValue": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingEnvironment", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing_Literal": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingLiteral", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing_RequestHeader": { - "type": "object", - "properties": { - "defaultValue": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingRequestHeader", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_Tracing_TracingSelector": { - "type": "object", - "properties": { - "mode": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_WorkloadMode", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.WorkloadMode" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingTracingSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_telemetry_v1alpha1_WorkloadMode": { - "type": "integer", - "javaEnums": [ - { - "name": "CLIENT_AND_SERVER" - }, - { - "name": "CLIENT" - }, - { - "name": "SERVER" - } - ], - "enum": [ - 0, - 1, - 2 - ], - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.WorkloadMode" - }, - "istio_io_api_telemetry_v1alpha1_isMetricSelector_MetricMatch": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.telemetry.v1alpha1.IsMetricSelectorMetricMatch", - "interfaceImpls": [ - "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorMetric", - "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorCustomMetric" - ] - }, - "istio_io_api_telemetry_v1alpha1_isTracing_CustomTag_Type": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.telemetry.v1alpha1.IsTracingCustomTagType", - "interfaceImpls": [ - "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagLiteral", - "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagEnvironment", - "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagHeader" - ] - }, - "istio_io_api_type_v1beta1_PolicyTargetReference": { - "type": "object", - "properties": { - "group": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "namespace": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.PolicyTargetReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_type_v1beta1_PortSelector": { - "type": "object", - "properties": { - "number": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.PortSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_type_v1beta1_WorkloadMode": { - "type": "integer", - "javaEnums": [ - { - "name": "UNDEFINED" - }, - { - "name": "CLIENT" - }, - { - "name": "SERVER" - }, - { - "name": "CLIENT_AND_SERVER" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.type.v1beta1.WorkloadMode" - }, - "istio_io_api_type_v1beta1_WorkloadSelector": { - "type": "object", - "properties": { - "matchLabels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_client-go_pkg_apis_extensions_v1alpha1_WasmPlugin": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "extensions.istio.io/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "WasmPlugin", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_WasmPlugin", - "existingJavaType": "io.fabric8.istio.api.extensions.v1alpha1.WasmPluginSpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.extensions.v1alpha1.WasmPlugin", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_extensions_v1alpha1_WasmPluginList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "extensions.istio.io/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_extensions_v1alpha1_WasmPlugin", - "existingJavaType": "io.fabric8.istio.api.extensions.v1alpha1.WasmPlugin" - } - }, - "kind": { - "type": "string", - "default": "WasmPluginList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.extensions.v1alpha1.WasmPluginList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.extensions.v1alpha1.WasmPlugin\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_DestinationRule": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "kind": { - "type": "string", - "default": "DestinationRule", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_DestinationRule", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.DestinationRuleSpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.DestinationRule", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_DestinationRuleList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_DestinationRule", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.DestinationRule" - } - }, - "kind": { - "type": "string", - "default": "DestinationRuleList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.DestinationRuleList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1alpha3.DestinationRule\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_EnvoyFilter": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "kind": { - "type": "string", - "default": "EnvoyFilter", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterSpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilter", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_EnvoyFilterList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_EnvoyFilter", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilter" - } - }, - "kind": { - "type": "string", - "default": "EnvoyFilterList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1alpha3.EnvoyFilter\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_Gateway": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "kind": { - "type": "string", - "default": "Gateway", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Gateway", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.GatewaySpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Gateway", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_GatewayList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_Gateway", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Gateway" - } - }, - "kind": { - "type": "string", - "default": "GatewayList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.GatewayList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1alpha3.Gateway\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_ServiceEntry": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "kind": { - "type": "string", - "default": "ServiceEntry", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServiceEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntrySpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_ServiceEntryList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_ServiceEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntry" - } - }, - "kind": { - "type": "string", - "default": "ServiceEntryList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntryList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1alpha3.ServiceEntry\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_Sidecar": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "kind": { - "type": "string", - "default": "Sidecar", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Sidecar", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarSpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.Sidecar", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_SidecarList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_Sidecar", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Sidecar" - } - }, - "kind": { - "type": "string", - "default": "SidecarList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1alpha3.Sidecar\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_VirtualService": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "kind": { - "type": "string", - "default": "VirtualService", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_VirtualService", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.VirtualServiceSpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.VirtualService", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_VirtualServiceList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_VirtualService", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.VirtualService" - } - }, - "kind": { - "type": "string", - "default": "VirtualServiceList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.VirtualServiceList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1alpha3.VirtualService\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadEntry": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "kind": { - "type": "string", - "default": "WorkloadEntry", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntrySpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadEntryList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntry" - } - }, - "kind": { - "type": "string", - "default": "WorkloadEntryList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntryList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1alpha3.WorkloadEntry\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadGroup": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "kind": { - "type": "string", - "default": "WorkloadGroup", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadGroup", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupSpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroup", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadGroupList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1alpha3", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadGroup", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroup" - } - }, - "kind": { - "type": "string", - "default": "WorkloadGroupList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1alpha3.WorkloadGroup\u003e" - ] - }, - "istio_io_client-go_pkg_apis_telemetry_v1alpha1_Telemetry": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "telemetry.istio.io/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "Telemetry", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Telemetry", - "existingJavaType": "io.fabric8.istio.api.extensions.v1alpha1.TelemetrySpec" - }, - "status": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.Telemetry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_telemetry_v1alpha1_TelemetryList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "telemetry.istio.io/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_telemetry_v1alpha1_Telemetry", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.Telemetry" - } - }, - "kind": { - "type": "string", - "default": "TelemetryList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TelemetryList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.telemetry.v1alpha1.Telemetry\u003e" - ] - } - }, - "type": "object", - "properties": { - "github_com_gogo_protobuf_types_ListValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_ListValue", - "existingJavaType": "io.fabric8.istio.api.internal.protobuf.types.ListValue" - }, - "github_com_gogo_protobuf_types_NullValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_NullValue", - "javaType": "io.fabric8.istio.api.internal.protobuf.types.NullValue" - }, - "github_com_gogo_protobuf_types_Struct": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Struct", - "existingJavaType": "io.fabric8.istio.api.internal.protobuf.types.Struct" - }, - "github_com_gogo_protobuf_types_Value": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Value", - "existingJavaType": "io.fabric8.istio.api.internal.protobuf.types.Value" - }, - "github_com_gogo_protobuf_types_Value_BoolValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Value_BoolValue", - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueBoolValue" - }, - "github_com_gogo_protobuf_types_Value_ListValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Value_ListValue", - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueListValue" - }, - "github_com_gogo_protobuf_types_Value_NullValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Value_NullValue", - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueNullValue" - }, - "github_com_gogo_protobuf_types_Value_NumberValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Value_NumberValue", - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueNumberValue" - }, - "github_com_gogo_protobuf_types_Value_StringValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Value_StringValue", - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueStringValue" - }, - "github_com_gogo_protobuf_types_Value_StructValue": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_Value_StructValue", - "javaType": "io.fabric8.istio.api.internal.protobuf.types.ValueStructValue" - }, - "github_com_gogo_protobuf_types_isValue_Kind": { - "$ref": "#/definitions/github_com_gogo_protobuf_types_isValue_Kind", - "interfaceType": "io.fabric8.istio.api.internal.protobuf.types.IsValueKind" - }, - "istio_io_api_analysis_v1alpha1_AnalysisMessageBase": { - "$ref": "#/definitions/istio_io_api_analysis_v1alpha1_AnalysisMessageBase", - "existingJavaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBase" - }, - "istio_io_api_analysis_v1alpha1_AnalysisMessageBase_Level": { - "$ref": "#/definitions/istio_io_api_analysis_v1alpha1_AnalysisMessageBase_Level", - "javaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBaseLevel" - }, - "istio_io_api_analysis_v1alpha1_AnalysisMessageBase_Type": { - "$ref": "#/definitions/istio_io_api_analysis_v1alpha1_AnalysisMessageBase_Type", - "existingJavaType": "io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBaseType" - }, - "istio_io_api_extensions_v1alpha1_EnvValueSource": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_EnvValueSource", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.EnvValueSource" - }, - "istio_io_api_extensions_v1alpha1_EnvVar": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_EnvVar", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha1.EnvVar" - }, - "istio_io_api_extensions_v1alpha1_FailStrategy": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_FailStrategy", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.FailStrategy" - }, - "istio_io_api_extensions_v1alpha1_PluginPhase": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_PluginPhase", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PluginPhase" - }, - "istio_io_api_extensions_v1alpha1_PluginType": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_PluginType", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PluginType" - }, - "istio_io_api_extensions_v1alpha1_PullPolicy": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_PullPolicy", - "javaType": "io.fabric8.istio.api.networking.v1alpha1.PullPolicy" - }, - "istio_io_api_extensions_v1alpha1_VmConfig": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_VmConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha1.VmConfig" - }, - "istio_io_api_extensions_v1alpha1_WasmPlugin": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_WasmPlugin", - "existingJavaType": "io.fabric8.istio.api.extensions.v1alpha1.WasmPluginSpec" - }, - "istio_io_api_extensions_v1alpha1_WasmPlugin_TrafficSelector": { - "$ref": "#/definitions/istio_io_api_extensions_v1alpha1_WasmPlugin_TrafficSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha1.WasmPluginTrafficSelector" - }, - "istio_io_api_meta_v1alpha1_IstioCondition": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioCondition", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioCondition" - }, - "istio_io_api_meta_v1alpha1_IstioStatus": { - "$ref": "#/definitions/istio_io_api_meta_v1alpha1_IstioStatus", - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - }, - "istio_io_api_networking_v1alpha3_CaptureMode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_CaptureMode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.CaptureMode" - }, - "istio_io_api_networking_v1alpha3_ClientTLSSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ClientTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ClientTLSSettings" - }, - "istio_io_api_networking_v1alpha3_ClientTLSSettings_TLSmode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ClientTLSSettings_TLSmode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ClientTLSSettingsTLSmode" - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettings" - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsHTTPSettings" - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy" - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings_TCPSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings_TCPSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsTCPSettings" - }, - "istio_io_api_networking_v1alpha3_ConnectionPoolSettings_TCPSettings_TcpKeepalive": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ConnectionPoolSettings_TCPSettings_TcpKeepalive", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ConnectionPoolSettingsTCPSettingsTcpKeepalive" - }, - "istio_io_api_networking_v1alpha3_Delegate": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Delegate", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Delegate" - }, - "istio_io_api_networking_v1alpha3_Destination": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Destination" - }, - "istio_io_api_networking_v1alpha3_DestinationRule": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_DestinationRule", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.DestinationRuleSpec" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterSpec" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ApplyTo": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ApplyTo", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterApplyTo" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ClusterMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ClusterMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterClusterMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_Cluster": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_Cluster", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchCluster" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_Listener": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_Listener", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchListener" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectPatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_EnvoyConfigObjectPatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectPatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_FilterChainMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_FilterChainMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchFilterChainMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_FilterMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_FilterMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchFilterMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_SubFilterMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ListenerMatch_SubFilterMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterListenerMatchSubFilterMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_Patch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_Patch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_PatchContext": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_PatchContext", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchContext" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_Patch_FilterClass": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_Patch_FilterClass", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchFilterClass" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_Patch_Operation": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_Patch_Operation", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchOperation" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_ProxyMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_ProxyMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterProxyMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_RouteMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_RouteMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchRouteMatch" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_RouteMatch_Action": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_RouteMatch_Action", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchRouteMatchAction" - }, - "istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_VirtualHostMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_EnvoyFilter_RouteConfigurationMatch_VirtualHostMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterRouteConfigurationMatchVirtualHostMatch" - }, - "istio_io_api_networking_v1alpha3_ExecHealthCheckConfig": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ExecHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ExecHealthCheckConfig" - }, - "istio_io_api_networking_v1alpha3_Gateway": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Gateway", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.GatewaySpec" - }, - "istio_io_api_networking_v1alpha3_HTTPBody": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPBody", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPBody" - }, - "istio_io_api_networking_v1alpha3_HTTPBody_Bytes": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPBody_Bytes", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPBodyBytes" - }, - "istio_io_api_networking_v1alpha3_HTTPBody_String_": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPBody_String_", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPBodyString" - }, - "istio_io_api_networking_v1alpha3_HTTPDirectResponse": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPDirectResponse", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPDirectResponse" - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjection" - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbort" - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_GrpcStatus": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_GrpcStatus", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortGrpcStatus" - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_Http2Error": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_Http2Error", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortHttp2Error" - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_HttpStatus": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Abort_HttpStatus", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionAbortHttpStatus" - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelay" - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay_ExponentialDelay": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay_ExponentialDelay", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelayExponentialDelay" - }, - "istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay_FixedDelay": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPFaultInjection_Delay_FixedDelay", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPFaultInjectionDelayFixedDelay" - }, - "istio_io_api_networking_v1alpha3_HTTPHeader": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPHeader", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPHeader" - }, - "istio_io_api_networking_v1alpha3_HTTPHealthCheckConfig": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPHealthCheckConfig" - }, - "istio_io_api_networking_v1alpha3_HTTPMatchRequest": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPMatchRequest", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPMatchRequest" - }, - "istio_io_api_networking_v1alpha3_HTTPMirrorPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPMirrorPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPMirrorPolicy" - }, - "istio_io_api_networking_v1alpha3_HTTPRedirect": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRedirect", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirect" - }, - "istio_io_api_networking_v1alpha3_HTTPRedirect_DerivePort": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRedirect_DerivePort", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectDerivePort" - }, - "istio_io_api_networking_v1alpha3_HTTPRedirect_Port": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRedirect_Port", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectPort" - }, - "istio_io_api_networking_v1alpha3_HTTPRedirect_RedirectPortSelection": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRedirect_RedirectPortSelection", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRedirectRedirectPortSelection" - }, - "istio_io_api_networking_v1alpha3_HTTPRetry": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRetry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRetry" - }, - "istio_io_api_networking_v1alpha3_HTTPRewrite": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRewrite", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRewrite" - }, - "istio_io_api_networking_v1alpha3_HTTPRoute": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRoute" - }, - "istio_io_api_networking_v1alpha3_HTTPRouteDestination": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_HTTPRouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HTTPRouteDestination" - }, - "istio_io_api_networking_v1alpha3_Headers": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Headers", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Headers" - }, - "istio_io_api_networking_v1alpha3_Headers_HeaderOperations": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Headers_HeaderOperations", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.HeadersHeaderOperations" - }, - "istio_io_api_networking_v1alpha3_IstioEgressListener": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_IstioEgressListener", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.IstioEgressListener" - }, - "istio_io_api_networking_v1alpha3_IstioIngressListener": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_IstioIngressListener", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.IstioIngressListener" - }, - "istio_io_api_networking_v1alpha3_L4MatchAttributes": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_L4MatchAttributes", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.L4MatchAttributes" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettings" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHash": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHash", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHash" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLB" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HTTPCookie": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HTTPCookie", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookieValue" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpCookie": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpCookie", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookie" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpHeaderName": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpHeaderName", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpHeaderName" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpQueryParameterName" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_MagLev": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_MagLev", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBMagLevValue" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_Maglev": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_Maglev", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBMaglev" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_RingHash": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_RingHash", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHashValue" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_RingHashWrapper": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_RingHashWrapper", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHash" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_UseSourceIp": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_ConsistentHashLB_UseSourceIp", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBUseSourceIp" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_Simple": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_Simple", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsSimple" - }, - "istio_io_api_networking_v1alpha3_LoadBalancerSettings_SimpleLB": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LoadBalancerSettings_SimpleLB", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsSimpleLB" - }, - "istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting" - }, - "istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting_Distribute": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting_Distribute", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSettingDistribute" - }, - "istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting_Failover": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_LocalityLoadBalancerSetting_Failover", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.LocalityLoadBalancerSettingFailover" - }, - "istio_io_api_networking_v1alpha3_OutboundTrafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_OutboundTrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.OutboundTrafficPolicy" - }, - "istio_io_api_networking_v1alpha3_OutboundTrafficPolicy_Mode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_OutboundTrafficPolicy_Mode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.OutboundTrafficPolicyMode" - }, - "istio_io_api_networking_v1alpha3_OutlierDetection": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_OutlierDetection", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.OutlierDetection" - }, - "istio_io_api_networking_v1alpha3_Percent": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Percent" - }, - "istio_io_api_networking_v1alpha3_Port": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Port", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Port" - }, - "istio_io_api_networking_v1alpha3_PortSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_PortSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.PortSelector" - }, - "istio_io_api_networking_v1alpha3_ReadinessProbe": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ReadinessProbe", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbe" - }, - "istio_io_api_networking_v1alpha3_ReadinessProbe_Exec": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ReadinessProbe_Exec", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeExec" - }, - "istio_io_api_networking_v1alpha3_ReadinessProbe_HttpGet": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ReadinessProbe_HttpGet", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeHttpGet" - }, - "istio_io_api_networking_v1alpha3_ReadinessProbe_TcpSocket": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ReadinessProbe_TcpSocket", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ReadinessProbeTcpSocket" - }, - "istio_io_api_networking_v1alpha3_RegexRewrite": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_RegexRewrite", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.RegexRewrite" - }, - "istio_io_api_networking_v1alpha3_RouteDestination": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_RouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.RouteDestination" - }, - "istio_io_api_networking_v1alpha3_Server": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Server", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Server" - }, - "istio_io_api_networking_v1alpha3_ServerTLSSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServerTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettings" - }, - "istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSProtocol": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSProtocol", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettingsTLSProtocol" - }, - "istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSmode": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServerTLSSettings_TLSmode", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServerTLSSettingsTLSmode" - }, - "istio_io_api_networking_v1alpha3_ServiceEntry": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServiceEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntrySpec" - }, - "istio_io_api_networking_v1alpha3_ServiceEntry_Location": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServiceEntry_Location", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntryLocation" - }, - "istio_io_api_networking_v1alpha3_ServiceEntry_Resolution": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServiceEntry_Resolution", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntryResolution" - }, - "istio_io_api_networking_v1alpha3_ServicePort": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_ServicePort", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServicePort" - }, - "istio_io_api_networking_v1alpha3_Sidecar": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Sidecar", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarSpec" - }, - "istio_io_api_networking_v1alpha3_SidecarPort": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_SidecarPort", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarPort" - }, - "istio_io_api_networking_v1alpha3_StringMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatch" - }, - "istio_io_api_networking_v1alpha3_StringMatch_Exact": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_StringMatch_Exact", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatchExact" - }, - "istio_io_api_networking_v1alpha3_StringMatch_Prefix": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_StringMatch_Prefix", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatchPrefix" - }, - "istio_io_api_networking_v1alpha3_StringMatch_Regex": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_StringMatch_Regex", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.StringMatchRegex" - }, - "istio_io_api_networking_v1alpha3_Subset": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_Subset", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Subset" - }, - "istio_io_api_networking_v1alpha3_TCPHealthCheckConfig": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TCPHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TCPHealthCheckConfig" - }, - "istio_io_api_networking_v1alpha3_TCPRoute": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TCPRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TCPRoute" - }, - "istio_io_api_networking_v1alpha3_TLSMatchAttributes": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TLSMatchAttributes", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TLSMatchAttributes" - }, - "istio_io_api_networking_v1alpha3_TLSRoute": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TLSRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TLSRoute" - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicy" - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy_PortTrafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy_PortTrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyPortTrafficPolicy" - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy_ProxyProtocol": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy_ProxyProtocol", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyProxyProtocol" - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy_ProxyProtocol_VERSION": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy_ProxyProtocol_VERSION", - "javaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyProxyProtocolVERSION" - }, - "istio_io_api_networking_v1alpha3_TrafficPolicy_TunnelSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_TrafficPolicy_TunnelSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.TrafficPolicyTunnelSettings" - }, - "istio_io_api_networking_v1alpha3_VirtualService": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_VirtualService", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.VirtualServiceSpec" - }, - "istio_io_api_networking_v1alpha3_WorkloadEntry": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntrySpec" - }, - "istio_io_api_networking_v1alpha3_WorkloadGroup": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadGroup", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupSpec" - }, - "istio_io_api_networking_v1alpha3_WorkloadGroup_ObjectMeta": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadGroup_ObjectMeta", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupObjectMeta" - }, - "istio_io_api_networking_v1alpha3_WorkloadSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadSelector" - }, - "istio_io_api_networking_v1alpha3_isEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes" - }, - "istio_io_api_networking_v1alpha3_isHTTPBody_Specifier": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isHTTPBody_Specifier", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPBodySpecifier" - }, - "istio_io_api_networking_v1alpha3_isHTTPFaultInjection_Abort_ErrorType": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isHTTPFaultInjection_Abort_ErrorType", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionAbortErrorType" - }, - "istio_io_api_networking_v1alpha3_isHTTPFaultInjection_Delay_HttpDelayType": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isHTTPFaultInjection_Delay_HttpDelayType", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPFaultInjectionDelayHttpDelayType" - }, - "istio_io_api_networking_v1alpha3_isHTTPRedirect_RedirectPort": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isHTTPRedirect_RedirectPort", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsHTTPRedirectRedirectPort" - }, - "istio_io_api_networking_v1alpha3_isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm" - }, - "istio_io_api_networking_v1alpha3_isLoadBalancerSettings_ConsistentHashLB_HashKey": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isLoadBalancerSettings_ConsistentHashLB_HashKey", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey" - }, - "istio_io_api_networking_v1alpha3_isLoadBalancerSettings_LbPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isLoadBalancerSettings_LbPolicy", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsLbPolicy" - }, - "istio_io_api_networking_v1alpha3_isReadinessProbe_HealthCheckMethod": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isReadinessProbe_HealthCheckMethod", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsReadinessProbeHealthCheckMethod" - }, - "istio_io_api_networking_v1alpha3_isStringMatch_MatchType": { - "$ref": "#/definitions/istio_io_api_networking_v1alpha3_isStringMatch_MatchType", - "interfaceType": "io.fabric8.istio.api.networking.v1alpha3.IsStringMatchMatchType" - }, - "istio_io_api_telemetry_v1alpha1_AccessLogging": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_AccessLogging", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLogging" - }, - "istio_io_api_telemetry_v1alpha1_AccessLogging_Filter": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_AccessLogging_Filter", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLoggingFilter" - }, - "istio_io_api_telemetry_v1alpha1_AccessLogging_LogSelector": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_AccessLogging_LogSelector", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.AccessLoggingLogSelector" - }, - "istio_io_api_telemetry_v1alpha1_MetricSelector": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricSelector", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelector" - }, - "istio_io_api_telemetry_v1alpha1_MetricSelector_CustomMetric": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricSelector_CustomMetric", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorCustomMetric" - }, - "istio_io_api_telemetry_v1alpha1_MetricSelector_IstioMetric": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricSelector_IstioMetric", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorIstioMetric" - }, - "istio_io_api_telemetry_v1alpha1_MetricSelector_Metric": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricSelector_Metric", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorMetric" - }, - "istio_io_api_telemetry_v1alpha1_Metrics": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Metrics", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.Metrics" - }, - "istio_io_api_telemetry_v1alpha1_MetricsOverrides": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricsOverrides", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverrides" - }, - "istio_io_api_telemetry_v1alpha1_MetricsOverrides_TagOverride": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricsOverrides_TagOverride", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverridesTagOverride" - }, - "istio_io_api_telemetry_v1alpha1_MetricsOverrides_TagOverride_Operation": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_MetricsOverrides_TagOverride_Operation", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.MetricsOverridesTagOverrideOperation" - }, - "istio_io_api_telemetry_v1alpha1_ProviderRef": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_ProviderRef", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.ProviderRef" - }, - "istio_io_api_telemetry_v1alpha1_Telemetry": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Telemetry", - "existingJavaType": "io.fabric8.istio.api.extensions.v1alpha1.TelemetrySpec" - }, - "istio_io_api_telemetry_v1alpha1_Tracing": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.Tracing" - }, - "istio_io_api_telemetry_v1alpha1_Tracing_CustomTag": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_CustomTag", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTag" - }, - "istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Environment": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Environment", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagEnvironment" - }, - "istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Header": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Header", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagHeader" - }, - "istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Literal": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_CustomTag_Literal", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagLiteral" - }, - "istio_io_api_telemetry_v1alpha1_Tracing_Environment": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_Environment", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingEnvironment" - }, - "istio_io_api_telemetry_v1alpha1_Tracing_Literal": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_Literal", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingLiteral" - }, - "istio_io_api_telemetry_v1alpha1_Tracing_RequestHeader": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_RequestHeader", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingRequestHeader" - }, - "istio_io_api_telemetry_v1alpha1_Tracing_TracingSelector": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_Tracing_TracingSelector", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TracingTracingSelector" - }, - "istio_io_api_telemetry_v1alpha1_WorkloadMode": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_WorkloadMode", - "javaType": "io.fabric8.istio.api.telemetry.v1alpha1.WorkloadMode" - }, - "istio_io_api_telemetry_v1alpha1_isMetricSelector_MetricMatch": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_isMetricSelector_MetricMatch", - "interfaceType": "io.fabric8.istio.api.telemetry.v1alpha1.IsMetricSelectorMetricMatch" - }, - "istio_io_api_telemetry_v1alpha1_isTracing_CustomTag_Type": { - "$ref": "#/definitions/istio_io_api_telemetry_v1alpha1_isTracing_CustomTag_Type", - "interfaceType": "io.fabric8.istio.api.telemetry.v1alpha1.IsTracingCustomTagType" - }, - "istio_io_api_type_v1beta1_PolicyTargetReference": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_PolicyTargetReference", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.PolicyTargetReference" - }, - "istio_io_api_type_v1beta1_PortSelector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_PortSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.PortSelector" - }, - "istio_io_api_type_v1beta1_WorkloadMode": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadMode", - "javaType": "io.fabric8.istio.api.type.v1beta1.WorkloadMode" - }, - "istio_io_api_type_v1beta1_WorkloadSelector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector" - }, - "istio_io_client-go_pkg_apis_extensions_v1alpha1_WasmPlugin": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_extensions_v1alpha1_WasmPlugin", - "existingJavaType": "io.fabric8.istio.api.extensions.v1alpha1.WasmPlugin" - }, - "istio_io_client-go_pkg_apis_extensions_v1alpha1_WasmPluginList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_extensions_v1alpha1_WasmPluginList", - "existingJavaType": "io.fabric8.istio.api.extensions.v1alpha1.WasmPluginList" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_DestinationRule": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_DestinationRule", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.DestinationRule" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_DestinationRuleList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_DestinationRuleList", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.DestinationRuleList" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_EnvoyFilter": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_EnvoyFilter", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilter" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_EnvoyFilterList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_EnvoyFilterList", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterList" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_Gateway": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_Gateway", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Gateway" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_GatewayList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_GatewayList", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.GatewayList" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_ServiceEntry": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_ServiceEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntry" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_ServiceEntryList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_ServiceEntryList", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.ServiceEntryList" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_Sidecar": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_Sidecar", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.Sidecar" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_SidecarList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_SidecarList", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.SidecarList" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_VirtualService": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_VirtualService", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.VirtualService" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_VirtualServiceList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_VirtualServiceList", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.VirtualServiceList" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadEntry": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntry" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadEntryList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadEntryList", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadEntryList" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadGroup": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadGroup", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroup" - }, - "istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadGroupList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1alpha3_WorkloadGroupList", - "existingJavaType": "io.fabric8.istio.api.networking.v1alpha3.WorkloadGroupList" - }, - "istio_io_client-go_pkg_apis_telemetry_v1alpha1_Telemetry": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_telemetry_v1alpha1_Telemetry", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.Telemetry" - }, - "istio_io_client-go_pkg_apis_telemetry_v1alpha1_TelemetryList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_telemetry_v1alpha1_TelemetryList", - "existingJavaType": "io.fabric8.istio.api.telemetry.v1alpha1.TelemetryList" - } - }, - "additionalProperties": false -} diff --git a/extensions/istio/model-v1beta1/pom.xml b/extensions/istio/model-v1beta1/pom.xml deleted file mode 100644 index 8ea5ed9cbc9..00000000000 --- a/extensions/istio/model-v1beta1/pom.xml +++ /dev/null @@ -1,153 +0,0 @@ - - - - 4.0.0 - - io.fabric8 - istio-extension-pom - 7.0-SNAPSHOT - - - istio-model-v1beta1 - bundle - Fabric8 :: Istio :: Model v1beta1 - - - - io.fabric8.kubernetes.api.builder, - * - - - io.fabric8.istio.api.security.v1beta1.*, - io.fabric8.istio.api.networking.v1beta1.*;-split-package:=merge-last, - io.fabric8.istio.api.type.v1beta1.*;-split-package:=merge-last - - - - - - io.fabric8 - istio-model-v1alpha3 - - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.sundr - sundr-codegen-velocity-nodeps - - - io.fabric8 - kubernetes-model-core - - - org.projectlombok - lombok - - - org.junit.jupiter - junit-jupiter-engine - - - org.assertj - assertj-core - - - - - - generate - - - - org.jsonschema2pojo - jsonschema2pojo-maven-plugin - - - maven-antrun-plugin - - - generate-sources - - - - - - - - run - - - - - - - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.outputDirectory}/schema/istio-schema.json - json - schema - - - - - - add-source - process-resources - - add-source - - - - src/generated/java - target/generated-sources/annotations - - - - - - - - diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/CaptureMode.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/CaptureMode.java deleted file mode 100644 index f47f496801a..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/CaptureMode.java +++ /dev/null @@ -1,52 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum CaptureMode { - - DEFAULT(0), - IPTABLES(1), - NONE(2); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (CaptureMode c: values()) { - CONSTANTS.put(c.value, c); - } - for (CaptureMode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - CaptureMode(Integer value) { - this.value = value; - } - - @JsonCreator - public static CaptureMode fromValue(Object value) { - if (value instanceof String) { - { - CaptureMode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - CaptureMode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettings.java deleted file mode 100644 index 7f64ea0de12..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettings.java +++ /dev/null @@ -1,218 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "caCertificates", - "clientCertificate", - "credentialName", - "insecureSkipVerify", - "mode", - "privateKey", - "sni", - "subjectAltNames" -}) -@ToString -@EqualsAndHashCode -@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 ClientTLSSettings implements Editable , KubernetesResource -{ - - @JsonProperty("caCertificates") - private String caCertificates; - @JsonProperty("clientCertificate") - private String clientCertificate; - @JsonProperty("credentialName") - private String credentialName; - @JsonProperty("insecureSkipVerify") - private Boolean insecureSkipVerify; - @JsonProperty("mode") - private ClientTLSSettingsTLSmode mode; - @JsonProperty("privateKey") - private String privateKey; - @JsonProperty("sni") - private String sni; - @JsonProperty("subjectAltNames") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List subjectAltNames = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ClientTLSSettings() { - } - - public ClientTLSSettings(String caCertificates, String clientCertificate, String credentialName, Boolean insecureSkipVerify, ClientTLSSettingsTLSmode mode, String privateKey, String sni, List subjectAltNames) { - super(); - this.caCertificates = caCertificates; - this.clientCertificate = clientCertificate; - this.credentialName = credentialName; - this.insecureSkipVerify = insecureSkipVerify; - this.mode = mode; - this.privateKey = privateKey; - this.sni = sni; - this.subjectAltNames = subjectAltNames; - } - - @JsonProperty("caCertificates") - public String getCaCertificates() { - return caCertificates; - } - - @JsonProperty("caCertificates") - public void setCaCertificates(String caCertificates) { - this.caCertificates = caCertificates; - } - - @JsonProperty("clientCertificate") - public String getClientCertificate() { - return clientCertificate; - } - - @JsonProperty("clientCertificate") - public void setClientCertificate(String clientCertificate) { - this.clientCertificate = clientCertificate; - } - - @JsonProperty("credentialName") - public String getCredentialName() { - return credentialName; - } - - @JsonProperty("credentialName") - public void setCredentialName(String credentialName) { - this.credentialName = credentialName; - } - - @JsonProperty("insecureSkipVerify") - public Boolean getInsecureSkipVerify() { - return insecureSkipVerify; - } - - @JsonProperty("insecureSkipVerify") - public void setInsecureSkipVerify(Boolean insecureSkipVerify) { - this.insecureSkipVerify = insecureSkipVerify; - } - - @JsonProperty("mode") - public ClientTLSSettingsTLSmode getMode() { - return mode; - } - - @JsonProperty("mode") - public void setMode(ClientTLSSettingsTLSmode mode) { - this.mode = mode; - } - - @JsonProperty("privateKey") - public String getPrivateKey() { - return privateKey; - } - - @JsonProperty("privateKey") - public void setPrivateKey(String privateKey) { - this.privateKey = privateKey; - } - - @JsonProperty("sni") - public String getSni() { - return sni; - } - - @JsonProperty("sni") - public void setSni(String sni) { - this.sni = sni; - } - - @JsonProperty("subjectAltNames") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSubjectAltNames() { - return subjectAltNames; - } - - @JsonProperty("subjectAltNames") - public void setSubjectAltNames(List subjectAltNames) { - this.subjectAltNames = subjectAltNames; - } - - @JsonIgnore - public ClientTLSSettingsBuilder edit() { - return new ClientTLSSettingsBuilder(this); - } - - @JsonIgnore - public ClientTLSSettingsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettingsTLSmode.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettingsTLSmode.java deleted file mode 100644 index d490ed1c525..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ClientTLSSettingsTLSmode.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ClientTLSSettingsTLSmode { - - DISABLE(0), - SIMPLE(1), - MUTUAL(2), - ISTIO_MUTUAL(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ClientTLSSettingsTLSmode c: values()) { - CONSTANTS.put(c.value, c); - } - for (ClientTLSSettingsTLSmode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ClientTLSSettingsTLSmode(Integer value) { - this.value = value; - } - - @JsonCreator - public static ClientTLSSettingsTLSmode fromValue(Object value) { - if (value instanceof String) { - { - ClientTLSSettingsTLSmode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ClientTLSSettingsTLSmode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettings.java deleted file mode 100644 index 3ff93180d5c..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettings.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "http", - "tcp" -}) -@ToString -@EqualsAndHashCode -@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 ConnectionPoolSettings implements Editable , KubernetesResource -{ - - @JsonProperty("http") - private ConnectionPoolSettingsHTTPSettings http; - @JsonProperty("tcp") - private ConnectionPoolSettingsTCPSettings tcp; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ConnectionPoolSettings() { - } - - public ConnectionPoolSettings(ConnectionPoolSettingsHTTPSettings http, ConnectionPoolSettingsTCPSettings tcp) { - super(); - this.http = http; - this.tcp = tcp; - } - - @JsonProperty("http") - public ConnectionPoolSettingsHTTPSettings getHttp() { - return http; - } - - @JsonProperty("http") - public void setHttp(ConnectionPoolSettingsHTTPSettings http) { - this.http = http; - } - - @JsonProperty("tcp") - public ConnectionPoolSettingsTCPSettings getTcp() { - return tcp; - } - - @JsonProperty("tcp") - public void setTcp(ConnectionPoolSettingsTCPSettings tcp) { - this.tcp = tcp; - } - - @JsonIgnore - public ConnectionPoolSettingsBuilder edit() { - return new ConnectionPoolSettingsBuilder(this); - } - - @JsonIgnore - public ConnectionPoolSettingsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettings.java deleted file mode 100644 index 348779220a7..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettings.java +++ /dev/null @@ -1,214 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "h2UpgradePolicy", - "http1MaxPendingRequests", - "http2MaxRequests", - "idleTimeout", - "maxConcurrentStreams", - "maxRequestsPerConnection", - "maxRetries", - "useClientProtocol" -}) -@ToString -@EqualsAndHashCode -@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 ConnectionPoolSettingsHTTPSettings implements Editable , KubernetesResource -{ - - @JsonProperty("h2UpgradePolicy") - private ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy h2UpgradePolicy; - @JsonProperty("http1MaxPendingRequests") - private Integer http1MaxPendingRequests; - @JsonProperty("http2MaxRequests") - private Integer http2MaxRequests; - @JsonProperty("idleTimeout") - private String idleTimeout; - @JsonProperty("maxConcurrentStreams") - private Integer maxConcurrentStreams; - @JsonProperty("maxRequestsPerConnection") - private Integer maxRequestsPerConnection; - @JsonProperty("maxRetries") - private Integer maxRetries; - @JsonProperty("useClientProtocol") - private Boolean useClientProtocol; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ConnectionPoolSettingsHTTPSettings() { - } - - public ConnectionPoolSettingsHTTPSettings(ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy h2UpgradePolicy, Integer http1MaxPendingRequests, Integer http2MaxRequests, String idleTimeout, Integer maxConcurrentStreams, Integer maxRequestsPerConnection, Integer maxRetries, Boolean useClientProtocol) { - super(); - this.h2UpgradePolicy = h2UpgradePolicy; - this.http1MaxPendingRequests = http1MaxPendingRequests; - this.http2MaxRequests = http2MaxRequests; - this.idleTimeout = idleTimeout; - this.maxConcurrentStreams = maxConcurrentStreams; - this.maxRequestsPerConnection = maxRequestsPerConnection; - this.maxRetries = maxRetries; - this.useClientProtocol = useClientProtocol; - } - - @JsonProperty("h2UpgradePolicy") - public ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy getH2UpgradePolicy() { - return h2UpgradePolicy; - } - - @JsonProperty("h2UpgradePolicy") - public void setH2UpgradePolicy(ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy h2UpgradePolicy) { - this.h2UpgradePolicy = h2UpgradePolicy; - } - - @JsonProperty("http1MaxPendingRequests") - public Integer getHttp1MaxPendingRequests() { - return http1MaxPendingRequests; - } - - @JsonProperty("http1MaxPendingRequests") - public void setHttp1MaxPendingRequests(Integer http1MaxPendingRequests) { - this.http1MaxPendingRequests = http1MaxPendingRequests; - } - - @JsonProperty("http2MaxRequests") - public Integer getHttp2MaxRequests() { - return http2MaxRequests; - } - - @JsonProperty("http2MaxRequests") - public void setHttp2MaxRequests(Integer http2MaxRequests) { - this.http2MaxRequests = http2MaxRequests; - } - - @JsonProperty("idleTimeout") - public String getIdleTimeout() { - return idleTimeout; - } - - @JsonProperty("idleTimeout") - public void setIdleTimeout(String idleTimeout) { - this.idleTimeout = idleTimeout; - } - - @JsonProperty("maxConcurrentStreams") - public Integer getMaxConcurrentStreams() { - return maxConcurrentStreams; - } - - @JsonProperty("maxConcurrentStreams") - public void setMaxConcurrentStreams(Integer maxConcurrentStreams) { - this.maxConcurrentStreams = maxConcurrentStreams; - } - - @JsonProperty("maxRequestsPerConnection") - public Integer getMaxRequestsPerConnection() { - return maxRequestsPerConnection; - } - - @JsonProperty("maxRequestsPerConnection") - public void setMaxRequestsPerConnection(Integer maxRequestsPerConnection) { - this.maxRequestsPerConnection = maxRequestsPerConnection; - } - - @JsonProperty("maxRetries") - public Integer getMaxRetries() { - return maxRetries; - } - - @JsonProperty("maxRetries") - public void setMaxRetries(Integer maxRetries) { - this.maxRetries = maxRetries; - } - - @JsonProperty("useClientProtocol") - public Boolean getUseClientProtocol() { - return useClientProtocol; - } - - @JsonProperty("useClientProtocol") - public void setUseClientProtocol(Boolean useClientProtocol) { - this.useClientProtocol = useClientProtocol; - } - - @JsonIgnore - public ConnectionPoolSettingsHTTPSettingsBuilder edit() { - return new ConnectionPoolSettingsHTTPSettingsBuilder(this); - } - - @JsonIgnore - public ConnectionPoolSettingsHTTPSettingsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java deleted file mode 100644 index f398410edc6..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java +++ /dev/null @@ -1,52 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy { - - DEFAULT(0), - DO_NOT_UPGRADE(1), - UPGRADE(2); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy c: values()) { - CONSTANTS.put(c.value, c); - } - for (ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy(Integer value) { - this.value = value; - } - - @JsonCreator - public static ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy fromValue(Object value) { - if (value instanceof String) { - { - ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Destination.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Destination.java deleted file mode 100644 index 8f87dbd07fb..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Destination.java +++ /dev/null @@ -1,144 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "host", - "port", - "subset" -}) -@ToString -@EqualsAndHashCode -@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 Destination implements Editable , KubernetesResource -{ - - @JsonProperty("host") - private String host; - @JsonProperty("port") - private PortSelector port; - @JsonProperty("subset") - private String subset; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Destination() { - } - - public Destination(String host, PortSelector port, String subset) { - super(); - this.host = host; - this.port = port; - this.subset = subset; - } - - @JsonProperty("host") - public String getHost() { - return host; - } - - @JsonProperty("host") - public void setHost(String host) { - this.host = host; - } - - @JsonProperty("port") - public PortSelector getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(PortSelector port) { - this.port = port; - } - - @JsonProperty("subset") - public String getSubset() { - return subset; - } - - @JsonProperty("subset") - public void setSubset(String subset) { - this.subset = subset; - } - - @JsonIgnore - public DestinationBuilder edit() { - return new DestinationBuilder(this); - } - - @JsonIgnore - public DestinationBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBody.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBody.java deleted file mode 100644 index 12ab0eabfd6..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBody.java +++ /dev/null @@ -1,119 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "Specifier" -}) -@ToString -@EqualsAndHashCode -@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 HTTPBody implements Editable , KubernetesResource -{ - - @JsonProperty("Specifier") - @JsonUnwrapped - private IsHTTPBodySpecifier specifier; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPBody() { - } - - public HTTPBody(IsHTTPBodySpecifier specifier) { - super(); - this.specifier = specifier; - } - - @JsonProperty("Specifier") - @JsonUnwrapped - public IsHTTPBodySpecifier getSpecifier() { - return specifier; - } - - @JsonProperty("Specifier") - public void setSpecifier(IsHTTPBodySpecifier specifier) { - this.specifier = specifier; - } - - @JsonIgnore - public HTTPBodyBuilder edit() { - return new HTTPBodyBuilder(this); - } - - @JsonIgnore - public HTTPBodyBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBodyString.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBodyString.java deleted file mode 100644 index 528e22c9794..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBodyString.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "string" -}) -@ToString -@EqualsAndHashCode -@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 HTTPBodyString implements IsHTTPBodySpecifier, Editable -{ - - @JsonProperty("string") - private String string; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPBodyString() { - } - - public HTTPBodyString(String string) { - super(); - this.string = string; - } - - @JsonProperty("string") - public String getString() { - return string; - } - - @JsonProperty("string") - public void setString(String string) { - this.string = string; - } - - @JsonIgnore - public HTTPBodyStringBuilder edit() { - return new HTTPBodyStringBuilder(this); - } - - @JsonIgnore - public HTTPBodyStringBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbort.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbort.java deleted file mode 100644 index ae35a025298..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbort.java +++ /dev/null @@ -1,133 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "ErrorType", - "percentage" -}) -@ToString -@EqualsAndHashCode -@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 HTTPFaultInjectionAbort implements Editable , KubernetesResource -{ - - @JsonProperty("ErrorType") - @JsonUnwrapped - private IsHTTPFaultInjectionAbortErrorType errorType; - @JsonProperty("percentage") - private Percent percentage; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPFaultInjectionAbort() { - } - - public HTTPFaultInjectionAbort(IsHTTPFaultInjectionAbortErrorType errorType, Percent percentage) { - super(); - this.errorType = errorType; - this.percentage = percentage; - } - - @JsonProperty("ErrorType") - @JsonUnwrapped - public IsHTTPFaultInjectionAbortErrorType getErrorType() { - return errorType; - } - - @JsonProperty("ErrorType") - public void setErrorType(IsHTTPFaultInjectionAbortErrorType errorType) { - this.errorType = errorType; - } - - @JsonProperty("percentage") - public Percent getPercentage() { - return percentage; - } - - @JsonProperty("percentage") - public void setPercentage(Percent percentage) { - this.percentage = percentage; - } - - @JsonIgnore - public HTTPFaultInjectionAbortBuilder edit() { - return new HTTPFaultInjectionAbortBuilder(this); - } - - @JsonIgnore - public HTTPFaultInjectionAbortBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttpStatus.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttpStatus.java deleted file mode 100644 index c48a9d2aee4..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttpStatus.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "httpStatus" -}) -@ToString -@EqualsAndHashCode -@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 HTTPFaultInjectionAbortHttpStatus implements IsHTTPFaultInjectionAbortErrorType, Editable -{ - - @JsonProperty("httpStatus") - private Integer httpStatus; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPFaultInjectionAbortHttpStatus() { - } - - public HTTPFaultInjectionAbortHttpStatus(Integer httpStatus) { - super(); - this.httpStatus = httpStatus; - } - - @JsonProperty("httpStatus") - public Integer getHttpStatus() { - return httpStatus; - } - - @JsonProperty("httpStatus") - public void setHttpStatus(Integer httpStatus) { - this.httpStatus = httpStatus; - } - - @JsonIgnore - public HTTPFaultInjectionAbortHttpStatusBuilder edit() { - return new HTTPFaultInjectionAbortHttpStatusBuilder(this); - } - - @JsonIgnore - public HTTPFaultInjectionAbortHttpStatusBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelay.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelay.java deleted file mode 100644 index d10821d4f3b..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelay.java +++ /dev/null @@ -1,147 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "HttpDelayType", - "percent", - "percentage" -}) -@ToString -@EqualsAndHashCode -@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 HTTPFaultInjectionDelay implements Editable , KubernetesResource -{ - - @JsonProperty("HttpDelayType") - @JsonUnwrapped - private IsHTTPFaultInjectionDelayHttpDelayType httpDelayType; - @JsonProperty("percent") - private Integer percent; - @JsonProperty("percentage") - private Percent percentage; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPFaultInjectionDelay() { - } - - public HTTPFaultInjectionDelay(IsHTTPFaultInjectionDelayHttpDelayType httpDelayType, Integer percent, Percent percentage) { - super(); - this.httpDelayType = httpDelayType; - this.percent = percent; - this.percentage = percentage; - } - - @JsonProperty("HttpDelayType") - @JsonUnwrapped - public IsHTTPFaultInjectionDelayHttpDelayType getHttpDelayType() { - return httpDelayType; - } - - @JsonProperty("HttpDelayType") - public void setHttpDelayType(IsHTTPFaultInjectionDelayHttpDelayType httpDelayType) { - this.httpDelayType = httpDelayType; - } - - @JsonProperty("percent") - public Integer getPercent() { - return percent; - } - - @JsonProperty("percent") - public void setPercent(Integer percent) { - this.percent = percent; - } - - @JsonProperty("percentage") - public Percent getPercentage() { - return percentage; - } - - @JsonProperty("percentage") - public void setPercentage(Percent percentage) { - this.percentage = percentage; - } - - @JsonIgnore - public HTTPFaultInjectionDelayBuilder edit() { - return new HTTPFaultInjectionDelayBuilder(this); - } - - @JsonIgnore - public HTTPFaultInjectionDelayBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayExponentialDelay.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayExponentialDelay.java deleted file mode 100644 index 9a2db2dae78..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayExponentialDelay.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "exponentialDelay" -}) -@ToString -@EqualsAndHashCode -@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 HTTPFaultInjectionDelayExponentialDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable -{ - - @JsonProperty("exponentialDelay") - private String exponentialDelay; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPFaultInjectionDelayExponentialDelay() { - } - - public HTTPFaultInjectionDelayExponentialDelay(String exponentialDelay) { - super(); - this.exponentialDelay = exponentialDelay; - } - - @JsonProperty("exponentialDelay") - public String getExponentialDelay() { - return exponentialDelay; - } - - @JsonProperty("exponentialDelay") - public void setExponentialDelay(String exponentialDelay) { - this.exponentialDelay = exponentialDelay; - } - - @JsonIgnore - public HTTPFaultInjectionDelayExponentialDelayBuilder edit() { - return new HTTPFaultInjectionDelayExponentialDelayBuilder(this); - } - - @JsonIgnore - public HTTPFaultInjectionDelayExponentialDelayBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMirrorPolicy.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMirrorPolicy.java deleted file mode 100644 index 979e121c2bb..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMirrorPolicy.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "destination", - "percentage" -}) -@ToString -@EqualsAndHashCode -@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 HTTPMirrorPolicy implements Editable , KubernetesResource -{ - - @JsonProperty("destination") - private Destination destination; - @JsonProperty("percentage") - private Percent percentage; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPMirrorPolicy() { - } - - public HTTPMirrorPolicy(Destination destination, Percent percentage) { - super(); - this.destination = destination; - this.percentage = percentage; - } - - @JsonProperty("destination") - public Destination getDestination() { - return destination; - } - - @JsonProperty("destination") - public void setDestination(Destination destination) { - this.destination = destination; - } - - @JsonProperty("percentage") - public Percent getPercentage() { - return percentage; - } - - @JsonProperty("percentage") - public void setPercentage(Percent percentage) { - this.percentage = percentage; - } - - @JsonIgnore - public HTTPMirrorPolicyBuilder edit() { - return new HTTPMirrorPolicyBuilder(this); - } - - @JsonIgnore - public HTTPMirrorPolicyBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectDerivePort.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectDerivePort.java deleted file mode 100644 index ef467fe2511..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectDerivePort.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "derivePort" -}) -@ToString -@EqualsAndHashCode -@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 HTTPRedirectDerivePort implements IsHTTPRedirectRedirectPort, Editable -{ - - @JsonProperty("derivePort") - private HTTPRedirectRedirectPortSelection derivePort; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPRedirectDerivePort() { - } - - public HTTPRedirectDerivePort(HTTPRedirectRedirectPortSelection derivePort) { - super(); - this.derivePort = derivePort; - } - - @JsonProperty("derivePort") - public HTTPRedirectRedirectPortSelection getDerivePort() { - return derivePort; - } - - @JsonProperty("derivePort") - public void setDerivePort(HTTPRedirectRedirectPortSelection derivePort) { - this.derivePort = derivePort; - } - - @JsonIgnore - public HTTPRedirectDerivePortBuilder edit() { - return new HTTPRedirectDerivePortBuilder(this); - } - - @JsonIgnore - public HTTPRedirectDerivePortBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectPort.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectPort.java deleted file mode 100644 index d38622301fc..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectPort.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "port" -}) -@ToString -@EqualsAndHashCode -@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 HTTPRedirectPort implements IsHTTPRedirectRedirectPort, Editable -{ - - @JsonProperty("port") - private Integer port; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPRedirectPort() { - } - - public HTTPRedirectPort(Integer port) { - super(); - this.port = port; - } - - @JsonProperty("port") - public Integer getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(Integer port) { - this.port = port; - } - - @JsonIgnore - public HTTPRedirectPortBuilder edit() { - return new HTTPRedirectPortBuilder(this); - } - - @JsonIgnore - public HTTPRedirectPortBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectRedirectPortSelection.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectRedirectPortSelection.java deleted file mode 100644 index e244a2e85d6..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirectRedirectPortSelection.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum HTTPRedirectRedirectPortSelection { - - FROM_PROTOCOL_DEFAULT(0), - FROM_REQUEST_PORT(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (HTTPRedirectRedirectPortSelection c: values()) { - CONSTANTS.put(c.value, c); - } - for (HTTPRedirectRedirectPortSelection c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - HTTPRedirectRedirectPortSelection(Integer value) { - this.value = value; - } - - @JsonCreator - public static HTTPRedirectRedirectPortSelection fromValue(Object value) { - if (value instanceof String) { - { - HTTPRedirectRedirectPortSelection constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - HTTPRedirectRedirectPortSelection constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRewrite.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRewrite.java deleted file mode 100644 index e62a4e46ad3..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRewrite.java +++ /dev/null @@ -1,144 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "authority", - "uri", - "uriRegexRewrite" -}) -@ToString -@EqualsAndHashCode -@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 HTTPRewrite implements Editable , KubernetesResource -{ - - @JsonProperty("authority") - private String authority; - @JsonProperty("uri") - private String uri; - @JsonProperty("uriRegexRewrite") - private RegexRewrite uriRegexRewrite; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public HTTPRewrite() { - } - - public HTTPRewrite(String authority, String uri, RegexRewrite uriRegexRewrite) { - super(); - this.authority = authority; - this.uri = uri; - this.uriRegexRewrite = uriRegexRewrite; - } - - @JsonProperty("authority") - public String getAuthority() { - return authority; - } - - @JsonProperty("authority") - public void setAuthority(String authority) { - this.authority = authority; - } - - @JsonProperty("uri") - public String getUri() { - return uri; - } - - @JsonProperty("uri") - public void setUri(String uri) { - this.uri = uri; - } - - @JsonProperty("uriRegexRewrite") - public RegexRewrite getUriRegexRewrite() { - return uriRegexRewrite; - } - - @JsonProperty("uriRegexRewrite") - public void setUriRegexRewrite(RegexRewrite uriRegexRewrite) { - this.uriRegexRewrite = uriRegexRewrite; - } - - @JsonIgnore - public HTTPRewriteBuilder edit() { - return new HTTPRewriteBuilder(this); - } - - @JsonIgnore - public HTTPRewriteBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Headers.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Headers.java deleted file mode 100644 index 59f4bfec23d..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Headers.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "request", - "response" -}) -@ToString -@EqualsAndHashCode -@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 Headers implements Editable , KubernetesResource -{ - - @JsonProperty("request") - private HeadersHeaderOperations request; - @JsonProperty("response") - private HeadersHeaderOperations response; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Headers() { - } - - public Headers(HeadersHeaderOperations request, HeadersHeaderOperations response) { - super(); - this.request = request; - this.response = response; - } - - @JsonProperty("request") - public HeadersHeaderOperations getRequest() { - return request; - } - - @JsonProperty("request") - public void setRequest(HeadersHeaderOperations request) { - this.request = request; - } - - @JsonProperty("response") - public HeadersHeaderOperations getResponse() { - return response; - } - - @JsonProperty("response") - public void setResponse(HeadersHeaderOperations response) { - this.response = response; - } - - @JsonIgnore - public HeadersBuilder edit() { - return new HeadersBuilder(this); - } - - @JsonIgnore - public HeadersBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettings.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettings.java deleted file mode 100644 index d9c0790c2b8..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettings.java +++ /dev/null @@ -1,147 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "LbPolicy", - "localityLbSetting", - "warmupDurationSecs" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettings implements Editable , KubernetesResource -{ - - @JsonProperty("LbPolicy") - @JsonUnwrapped - private IsLoadBalancerSettingsLbPolicy lbPolicy; - @JsonProperty("localityLbSetting") - private LocalityLoadBalancerSetting localityLbSetting; - @JsonProperty("warmupDurationSecs") - private String warmupDurationSecs; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettings() { - } - - public LoadBalancerSettings(IsLoadBalancerSettingsLbPolicy lbPolicy, LocalityLoadBalancerSetting localityLbSetting, String warmupDurationSecs) { - super(); - this.lbPolicy = lbPolicy; - this.localityLbSetting = localityLbSetting; - this.warmupDurationSecs = warmupDurationSecs; - } - - @JsonProperty("LbPolicy") - @JsonUnwrapped - public IsLoadBalancerSettingsLbPolicy getLbPolicy() { - return lbPolicy; - } - - @JsonProperty("LbPolicy") - public void setLbPolicy(IsLoadBalancerSettingsLbPolicy lbPolicy) { - this.lbPolicy = lbPolicy; - } - - @JsonProperty("localityLbSetting") - public LocalityLoadBalancerSetting getLocalityLbSetting() { - return localityLbSetting; - } - - @JsonProperty("localityLbSetting") - public void setLocalityLbSetting(LocalityLoadBalancerSetting localityLbSetting) { - this.localityLbSetting = localityLbSetting; - } - - @JsonProperty("warmupDurationSecs") - public String getWarmupDurationSecs() { - return warmupDurationSecs; - } - - @JsonProperty("warmupDurationSecs") - public void setWarmupDurationSecs(String warmupDurationSecs) { - this.warmupDurationSecs = warmupDurationSecs; - } - - @JsonIgnore - public LoadBalancerSettingsBuilder edit() { - return new LoadBalancerSettingsBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookie.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookie.java deleted file mode 100644 index 7d4c33f346e..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpCookie.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "httpCookie" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBHttpCookie implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable -{ - - @JsonProperty("httpCookie") - private LoadBalancerSettingsConsistentHashLBHttpCookieValue httpCookie; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBHttpCookie() { - } - - public LoadBalancerSettingsConsistentHashLBHttpCookie(LoadBalancerSettingsConsistentHashLBHttpCookieValue httpCookie) { - super(); - this.httpCookie = httpCookie; - } - - @JsonProperty("httpCookie") - public LoadBalancerSettingsConsistentHashLBHttpCookieValue getHttpCookie() { - return httpCookie; - } - - @JsonProperty("httpCookie") - public void setHttpCookie(LoadBalancerSettingsConsistentHashLBHttpCookieValue httpCookie) { - this.httpCookie = httpCookie; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpCookieBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBHttpCookieBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpCookieBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java deleted file mode 100644 index 3133fa94503..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "httpHeaderName" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBHttpHeaderName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable -{ - - @JsonProperty("httpHeaderName") - private String httpHeaderName; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBHttpHeaderName() { - } - - public LoadBalancerSettingsConsistentHashLBHttpHeaderName(String httpHeaderName) { - super(); - this.httpHeaderName = httpHeaderName; - } - - @JsonProperty("httpHeaderName") - public String getHttpHeaderName() { - return httpHeaderName; - } - - @JsonProperty("httpHeaderName") - public void setHttpHeaderName(String httpHeaderName) { - this.httpHeaderName = httpHeaderName; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpHeaderNameBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java deleted file mode 100644 index babc1cd7a6d..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "httpQueryParameterName" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBHttpQueryParameterName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable -{ - - @JsonProperty("httpQueryParameterName") - private String httpQueryParameterName; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBHttpQueryParameterName() { - } - - public LoadBalancerSettingsConsistentHashLBHttpQueryParameterName(String httpQueryParameterName) { - super(); - this.httpQueryParameterName = httpQueryParameterName; - } - - @JsonProperty("httpQueryParameterName") - public String getHttpQueryParameterName() { - return httpQueryParameterName; - } - - @JsonProperty("httpQueryParameterName") - public void setHttpQueryParameterName(String httpQueryParameterName) { - this.httpQueryParameterName = httpQueryParameterName; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpQueryParameterNameBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBMaglev.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBMaglev.java deleted file mode 100644 index 17787612f14..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBMaglev.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "maglev" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBMaglev implements IsLoadBalancerSettingsConsistentHashLBHashAlgorithm, Editable -{ - - @JsonProperty("maglev") - private LoadBalancerSettingsConsistentHashLBMagLevValue maglev; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBMaglev() { - } - - public LoadBalancerSettingsConsistentHashLBMaglev(LoadBalancerSettingsConsistentHashLBMagLevValue maglev) { - super(); - this.maglev = maglev; - } - - @JsonProperty("maglev") - public LoadBalancerSettingsConsistentHashLBMagLevValue getMaglev() { - return maglev; - } - - @JsonProperty("maglev") - public void setMaglev(LoadBalancerSettingsConsistentHashLBMagLevValue maglev) { - this.maglev = maglev; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBMaglevBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBMaglevBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBMaglevBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBRingHash.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBRingHash.java deleted file mode 100644 index 42a6ed55e08..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBRingHash.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "ringHash" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBRingHash implements IsLoadBalancerSettingsConsistentHashLBHashAlgorithm, Editable -{ - - @JsonProperty("ringHash") - private LoadBalancerSettingsConsistentHashLBRingHashValue ringHash; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBRingHash() { - } - - public LoadBalancerSettingsConsistentHashLBRingHash(LoadBalancerSettingsConsistentHashLBRingHashValue ringHash) { - super(); - this.ringHash = ringHash; - } - - @JsonProperty("ringHash") - public LoadBalancerSettingsConsistentHashLBRingHashValue getRingHash() { - return ringHash; - } - - @JsonProperty("ringHash") - public void setRingHash(LoadBalancerSettingsConsistentHashLBRingHashValue ringHash) { - this.ringHash = ringHash; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBRingHashBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBRingHashBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBRingHashBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBRingHashValue.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBRingHashValue.java deleted file mode 100644 index 8721ec21b9e..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBRingHashValue.java +++ /dev/null @@ -1,116 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "minimumRingSize" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBRingHashValue implements Editable , KubernetesResource -{ - - @JsonProperty("minimumRingSize") - private Integer minimumRingSize; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBRingHashValue() { - } - - public LoadBalancerSettingsConsistentHashLBRingHashValue(Integer minimumRingSize) { - super(); - this.minimumRingSize = minimumRingSize; - } - - @JsonProperty("minimumRingSize") - public Integer getMinimumRingSize() { - return minimumRingSize; - } - - @JsonProperty("minimumRingSize") - public void setMinimumRingSize(Integer minimumRingSize) { - this.minimumRingSize = minimumRingSize; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBRingHashValueBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBRingHashValueBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBRingHashValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBUseSourceIp.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBUseSourceIp.java deleted file mode 100644 index 0e178e35059..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBUseSourceIp.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "useSourceIp" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsConsistentHashLBUseSourceIp implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable -{ - - @JsonProperty("useSourceIp") - private Boolean useSourceIp; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsConsistentHashLBUseSourceIp() { - } - - public LoadBalancerSettingsConsistentHashLBUseSourceIp(Boolean useSourceIp) { - super(); - this.useSourceIp = useSourceIp; - } - - @JsonProperty("useSourceIp") - public Boolean getUseSourceIp() { - return useSourceIp; - } - - @JsonProperty("useSourceIp") - public void setUseSourceIp(Boolean useSourceIp) { - this.useSourceIp = useSourceIp; - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsConsistentHashLBUseSourceIpBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimple.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimple.java deleted file mode 100644 index 19876d57b56..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimple.java +++ /dev/null @@ -1,115 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "simple" -}) -@ToString -@EqualsAndHashCode -@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 LoadBalancerSettingsSimple implements IsLoadBalancerSettingsLbPolicy, Editable -{ - - @JsonProperty("simple") - private LoadBalancerSettingsSimpleLB simple; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public LoadBalancerSettingsSimple() { - } - - public LoadBalancerSettingsSimple(LoadBalancerSettingsSimpleLB simple) { - super(); - this.simple = simple; - } - - @JsonProperty("simple") - public LoadBalancerSettingsSimpleLB getSimple() { - return simple; - } - - @JsonProperty("simple") - public void setSimple(LoadBalancerSettingsSimpleLB simple) { - this.simple = simple; - } - - @JsonIgnore - public LoadBalancerSettingsSimpleBuilder edit() { - return new LoadBalancerSettingsSimpleBuilder(this); - } - - @JsonIgnore - public LoadBalancerSettingsSimpleBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimpleLB.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimpleLB.java deleted file mode 100644 index 3c8e3f13626..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsSimpleLB.java +++ /dev/null @@ -1,55 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum LoadBalancerSettingsSimpleLB { - - UNSPECIFIED(0), - LEAST_CONN(1), - RANDOM(2), - PASSTHROUGH(3), - ROUND_ROBIN(4), - LEAST_REQUEST(5); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (LoadBalancerSettingsSimpleLB c: values()) { - CONSTANTS.put(c.value, c); - } - for (LoadBalancerSettingsSimpleLB c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - LoadBalancerSettingsSimpleLB(Integer value) { - this.value = value; - } - - @JsonCreator - public static LoadBalancerSettingsSimpleLB fromValue(Object value) { - if (value instanceof String) { - { - LoadBalancerSettingsSimpleLB constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - LoadBalancerSettingsSimpleLB constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicy.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicy.java deleted file mode 100644 index bf729447bb4..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicy.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "egressProxy", - "mode" -}) -@ToString -@EqualsAndHashCode -@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 OutboundTrafficPolicy implements Editable , KubernetesResource -{ - - @JsonProperty("egressProxy") - private Destination egressProxy; - @JsonProperty("mode") - private OutboundTrafficPolicyMode mode; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public OutboundTrafficPolicy() { - } - - public OutboundTrafficPolicy(Destination egressProxy, OutboundTrafficPolicyMode mode) { - super(); - this.egressProxy = egressProxy; - this.mode = mode; - } - - @JsonProperty("egressProxy") - public Destination getEgressProxy() { - return egressProxy; - } - - @JsonProperty("egressProxy") - public void setEgressProxy(Destination egressProxy) { - this.egressProxy = egressProxy; - } - - @JsonProperty("mode") - public OutboundTrafficPolicyMode getMode() { - return mode; - } - - @JsonProperty("mode") - public void setMode(OutboundTrafficPolicyMode mode) { - this.mode = mode; - } - - @JsonIgnore - public OutboundTrafficPolicyBuilder edit() { - return new OutboundTrafficPolicyBuilder(this); - } - - @JsonIgnore - public OutboundTrafficPolicyBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicyMode.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicyMode.java deleted file mode 100644 index 1b8b37f3808..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutboundTrafficPolicyMode.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum OutboundTrafficPolicyMode { - - REGISTRY_ONLY(0), - ALLOW_ANY(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (OutboundTrafficPolicyMode c: values()) { - CONSTANTS.put(c.value, c); - } - for (OutboundTrafficPolicyMode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - OutboundTrafficPolicyMode(Integer value) { - this.value = value; - } - - @JsonCreator - public static OutboundTrafficPolicyMode fromValue(Object value) { - if (value instanceof String) { - { - OutboundTrafficPolicyMode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - OutboundTrafficPolicyMode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutlierDetection.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutlierDetection.java deleted file mode 100644 index 9381d66d740..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/OutlierDetection.java +++ /dev/null @@ -1,228 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "baseEjectionTime", - "consecutive5xxErrors", - "consecutiveErrors", - "consecutiveGatewayErrors", - "consecutiveLocalOriginFailures", - "interval", - "maxEjectionPercent", - "minHealthPercent", - "splitExternalLocalOriginErrors" -}) -@ToString -@EqualsAndHashCode -@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 OutlierDetection implements Editable , KubernetesResource -{ - - @JsonProperty("baseEjectionTime") - private String baseEjectionTime; - @JsonProperty("consecutive5xxErrors") - private Integer consecutive5xxErrors; - @JsonProperty("consecutiveErrors") - private Integer consecutiveErrors; - @JsonProperty("consecutiveGatewayErrors") - private Integer consecutiveGatewayErrors; - @JsonProperty("consecutiveLocalOriginFailures") - private Integer consecutiveLocalOriginFailures; - @JsonProperty("interval") - private String interval; - @JsonProperty("maxEjectionPercent") - private Integer maxEjectionPercent; - @JsonProperty("minHealthPercent") - private Integer minHealthPercent; - @JsonProperty("splitExternalLocalOriginErrors") - private Boolean splitExternalLocalOriginErrors; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public OutlierDetection() { - } - - public OutlierDetection(String baseEjectionTime, Integer consecutive5xxErrors, Integer consecutiveErrors, Integer consecutiveGatewayErrors, Integer consecutiveLocalOriginFailures, String interval, Integer maxEjectionPercent, Integer minHealthPercent, Boolean splitExternalLocalOriginErrors) { - super(); - this.baseEjectionTime = baseEjectionTime; - this.consecutive5xxErrors = consecutive5xxErrors; - this.consecutiveErrors = consecutiveErrors; - this.consecutiveGatewayErrors = consecutiveGatewayErrors; - this.consecutiveLocalOriginFailures = consecutiveLocalOriginFailures; - this.interval = interval; - this.maxEjectionPercent = maxEjectionPercent; - this.minHealthPercent = minHealthPercent; - this.splitExternalLocalOriginErrors = splitExternalLocalOriginErrors; - } - - @JsonProperty("baseEjectionTime") - public String getBaseEjectionTime() { - return baseEjectionTime; - } - - @JsonProperty("baseEjectionTime") - public void setBaseEjectionTime(String baseEjectionTime) { - this.baseEjectionTime = baseEjectionTime; - } - - @JsonProperty("consecutive5xxErrors") - public Integer getConsecutive5xxErrors() { - return consecutive5xxErrors; - } - - @JsonProperty("consecutive5xxErrors") - public void setConsecutive5xxErrors(Integer consecutive5xxErrors) { - this.consecutive5xxErrors = consecutive5xxErrors; - } - - @JsonProperty("consecutiveErrors") - public Integer getConsecutiveErrors() { - return consecutiveErrors; - } - - @JsonProperty("consecutiveErrors") - public void setConsecutiveErrors(Integer consecutiveErrors) { - this.consecutiveErrors = consecutiveErrors; - } - - @JsonProperty("consecutiveGatewayErrors") - public Integer getConsecutiveGatewayErrors() { - return consecutiveGatewayErrors; - } - - @JsonProperty("consecutiveGatewayErrors") - public void setConsecutiveGatewayErrors(Integer consecutiveGatewayErrors) { - this.consecutiveGatewayErrors = consecutiveGatewayErrors; - } - - @JsonProperty("consecutiveLocalOriginFailures") - public Integer getConsecutiveLocalOriginFailures() { - return consecutiveLocalOriginFailures; - } - - @JsonProperty("consecutiveLocalOriginFailures") - public void setConsecutiveLocalOriginFailures(Integer consecutiveLocalOriginFailures) { - this.consecutiveLocalOriginFailures = consecutiveLocalOriginFailures; - } - - @JsonProperty("interval") - public String getInterval() { - return interval; - } - - @JsonProperty("interval") - public void setInterval(String interval) { - this.interval = interval; - } - - @JsonProperty("maxEjectionPercent") - public Integer getMaxEjectionPercent() { - return maxEjectionPercent; - } - - @JsonProperty("maxEjectionPercent") - public void setMaxEjectionPercent(Integer maxEjectionPercent) { - this.maxEjectionPercent = maxEjectionPercent; - } - - @JsonProperty("minHealthPercent") - public Integer getMinHealthPercent() { - return minHealthPercent; - } - - @JsonProperty("minHealthPercent") - public void setMinHealthPercent(Integer minHealthPercent) { - this.minHealthPercent = minHealthPercent; - } - - @JsonProperty("splitExternalLocalOriginErrors") - public Boolean getSplitExternalLocalOriginErrors() { - return splitExternalLocalOriginErrors; - } - - @JsonProperty("splitExternalLocalOriginErrors") - public void setSplitExternalLocalOriginErrors(Boolean splitExternalLocalOriginErrors) { - this.splitExternalLocalOriginErrors = splitExternalLocalOriginErrors; - } - - @JsonIgnore - public OutlierDetectionBuilder edit() { - return new OutlierDetectionBuilder(this); - } - - @JsonIgnore - public OutlierDetectionBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbe.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbe.java deleted file mode 100644 index 58c6eee4f47..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbe.java +++ /dev/null @@ -1,189 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "HealthCheckMethod", - "failureThreshold", - "initialDelaySeconds", - "periodSeconds", - "successThreshold", - "timeoutSeconds" -}) -@ToString -@EqualsAndHashCode -@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 ReadinessProbe implements Editable , KubernetesResource -{ - - @JsonProperty("HealthCheckMethod") - @JsonUnwrapped - private IsReadinessProbeHealthCheckMethod healthCheckMethod; - @JsonProperty("failureThreshold") - private Integer failureThreshold; - @JsonProperty("initialDelaySeconds") - private Integer initialDelaySeconds; - @JsonProperty("periodSeconds") - private Integer periodSeconds; - @JsonProperty("successThreshold") - private Integer successThreshold; - @JsonProperty("timeoutSeconds") - private Integer timeoutSeconds; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ReadinessProbe() { - } - - public ReadinessProbe(IsReadinessProbeHealthCheckMethod healthCheckMethod, Integer failureThreshold, Integer initialDelaySeconds, Integer periodSeconds, Integer successThreshold, Integer timeoutSeconds) { - super(); - this.healthCheckMethod = healthCheckMethod; - this.failureThreshold = failureThreshold; - this.initialDelaySeconds = initialDelaySeconds; - this.periodSeconds = periodSeconds; - this.successThreshold = successThreshold; - this.timeoutSeconds = timeoutSeconds; - } - - @JsonProperty("HealthCheckMethod") - @JsonUnwrapped - public IsReadinessProbeHealthCheckMethod getHealthCheckMethod() { - return healthCheckMethod; - } - - @JsonProperty("HealthCheckMethod") - public void setHealthCheckMethod(IsReadinessProbeHealthCheckMethod healthCheckMethod) { - this.healthCheckMethod = healthCheckMethod; - } - - @JsonProperty("failureThreshold") - public Integer getFailureThreshold() { - return failureThreshold; - } - - @JsonProperty("failureThreshold") - public void setFailureThreshold(Integer failureThreshold) { - this.failureThreshold = failureThreshold; - } - - @JsonProperty("initialDelaySeconds") - public Integer getInitialDelaySeconds() { - return initialDelaySeconds; - } - - @JsonProperty("initialDelaySeconds") - public void setInitialDelaySeconds(Integer initialDelaySeconds) { - this.initialDelaySeconds = initialDelaySeconds; - } - - @JsonProperty("periodSeconds") - public Integer getPeriodSeconds() { - return periodSeconds; - } - - @JsonProperty("periodSeconds") - public void setPeriodSeconds(Integer periodSeconds) { - this.periodSeconds = periodSeconds; - } - - @JsonProperty("successThreshold") - public Integer getSuccessThreshold() { - return successThreshold; - } - - @JsonProperty("successThreshold") - public void setSuccessThreshold(Integer successThreshold) { - this.successThreshold = successThreshold; - } - - @JsonProperty("timeoutSeconds") - public Integer getTimeoutSeconds() { - return timeoutSeconds; - } - - @JsonProperty("timeoutSeconds") - public void setTimeoutSeconds(Integer timeoutSeconds) { - this.timeoutSeconds = timeoutSeconds; - } - - @JsonIgnore - public ReadinessProbeBuilder edit() { - return new ReadinessProbeBuilder(this); - } - - @JsonIgnore - public ReadinessProbeBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RouteDestination.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RouteDestination.java deleted file mode 100644 index d261deaa36b..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RouteDestination.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "destination", - "weight" -}) -@ToString -@EqualsAndHashCode -@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 RouteDestination implements Editable , KubernetesResource -{ - - @JsonProperty("destination") - private Destination destination; - @JsonProperty("weight") - private Integer weight; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public RouteDestination() { - } - - public RouteDestination(Destination destination, Integer weight) { - super(); - this.destination = destination; - this.weight = weight; - } - - @JsonProperty("destination") - public Destination getDestination() { - return destination; - } - - @JsonProperty("destination") - public void setDestination(Destination destination) { - this.destination = destination; - } - - @JsonProperty("weight") - public Integer getWeight() { - return weight; - } - - @JsonProperty("weight") - public void setWeight(Integer weight) { - this.weight = weight; - } - - @JsonIgnore - public RouteDestinationBuilder edit() { - return new RouteDestinationBuilder(this); - } - - @JsonIgnore - public RouteDestinationBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettingsTLSProtocol.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettingsTLSProtocol.java deleted file mode 100644 index 15631df1fa5..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettingsTLSProtocol.java +++ /dev/null @@ -1,54 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ServerTLSSettingsTLSProtocol { - - TLS_AUTO(0), - TLSV1_0(1), - TLSV1_1(2), - TLSV1_2(3), - TLSV1_3(4); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ServerTLSSettingsTLSProtocol c: values()) { - CONSTANTS.put(c.value, c); - } - for (ServerTLSSettingsTLSProtocol c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ServerTLSSettingsTLSProtocol(Integer value) { - this.value = value; - } - - @JsonCreator - public static ServerTLSSettingsTLSProtocol fromValue(Object value) { - if (value instanceof String) { - { - ServerTLSSettingsTLSProtocol constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ServerTLSSettingsTLSProtocol constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettingsTLSmode.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettingsTLSmode.java deleted file mode 100644 index cbe140223e3..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettingsTLSmode.java +++ /dev/null @@ -1,55 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ServerTLSSettingsTLSmode { - - PASSTHROUGH(0), - SIMPLE(1), - MUTUAL(2), - AUTO_PASSTHROUGH(3), - ISTIO_MUTUAL(4), - OPTIONAL_MUTUAL(5); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ServerTLSSettingsTLSmode c: values()) { - CONSTANTS.put(c.value, c); - } - for (ServerTLSSettingsTLSmode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ServerTLSSettingsTLSmode(Integer value) { - this.value = value; - } - - @JsonCreator - public static ServerTLSSettingsTLSmode fromValue(Object value) { - if (value instanceof String) { - { - ServerTLSSettingsTLSmode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ServerTLSSettingsTLSmode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryLocation.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryLocation.java deleted file mode 100644 index 375e1105080..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryLocation.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ServiceEntryLocation { - - MESH_EXTERNAL(0), - MESH_INTERNAL(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ServiceEntryLocation c: values()) { - CONSTANTS.put(c.value, c); - } - for (ServiceEntryLocation c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ServiceEntryLocation(Integer value) { - this.value = value; - } - - @JsonCreator - public static ServiceEntryLocation fromValue(Object value) { - if (value instanceof String) { - { - ServiceEntryLocation constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ServiceEntryLocation constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryResolution.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryResolution.java deleted file mode 100644 index 0e625da9f55..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryResolution.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum ServiceEntryResolution { - - NONE(0), - STATIC(1), - DNS(2), - DNS_ROUND_ROBIN(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (ServiceEntryResolution c: values()) { - CONSTANTS.put(c.value, c); - } - for (ServiceEntryResolution c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - ServiceEntryResolution(Integer value) { - this.value = value; - } - - @JsonCreator - public static ServiceEntryResolution fromValue(Object value) { - if (value instanceof String) { - { - ServiceEntryResolution constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - ServiceEntryResolution constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntrySpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntrySpec.java deleted file mode 100644 index 5a4ce54b7ea..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntrySpec.java +++ /dev/null @@ -1,242 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "addresses", - "endpoints", - "exportTo", - "hosts", - "location", - "ports", - "resolution", - "subjectAltNames", - "workloadSelector" -}) -@ToString -@EqualsAndHashCode -@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 ServiceEntrySpec implements Editable , KubernetesResource -{ - - @JsonProperty("addresses") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List addresses = new ArrayList<>(); - @JsonProperty("endpoints") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List endpoints = new ArrayList<>(); - @JsonProperty("exportTo") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List exportTo = new ArrayList<>(); - @JsonProperty("hosts") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hosts = new ArrayList<>(); - @JsonProperty("location") - private ServiceEntryLocation location; - @JsonProperty("ports") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List ports = new ArrayList<>(); - @JsonProperty("resolution") - private ServiceEntryResolution resolution; - @JsonProperty("subjectAltNames") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List subjectAltNames = new ArrayList<>(); - @JsonProperty("workloadSelector") - private WorkloadSelector workloadSelector; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ServiceEntrySpec() { - } - - public ServiceEntrySpec(List addresses, List endpoints, List exportTo, List hosts, ServiceEntryLocation location, List ports, ServiceEntryResolution resolution, List subjectAltNames, WorkloadSelector workloadSelector) { - super(); - this.addresses = addresses; - this.endpoints = endpoints; - this.exportTo = exportTo; - this.hosts = hosts; - this.location = location; - this.ports = ports; - this.resolution = resolution; - this.subjectAltNames = subjectAltNames; - this.workloadSelector = workloadSelector; - } - - @JsonProperty("addresses") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getAddresses() { - return addresses; - } - - @JsonProperty("addresses") - public void setAddresses(List addresses) { - this.addresses = addresses; - } - - @JsonProperty("endpoints") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEndpoints() { - return endpoints; - } - - @JsonProperty("endpoints") - public void setEndpoints(List endpoints) { - this.endpoints = endpoints; - } - - @JsonProperty("exportTo") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getExportTo() { - return exportTo; - } - - @JsonProperty("exportTo") - public void setExportTo(List exportTo) { - this.exportTo = exportTo; - } - - @JsonProperty("hosts") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHosts() { - return hosts; - } - - @JsonProperty("hosts") - public void setHosts(List hosts) { - this.hosts = hosts; - } - - @JsonProperty("location") - public ServiceEntryLocation getLocation() { - return location; - } - - @JsonProperty("location") - public void setLocation(ServiceEntryLocation location) { - this.location = location; - } - - @JsonProperty("ports") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPorts() { - return ports; - } - - @JsonProperty("ports") - public void setPorts(List ports) { - this.ports = ports; - } - - @JsonProperty("resolution") - public ServiceEntryResolution getResolution() { - return resolution; - } - - @JsonProperty("resolution") - public void setResolution(ServiceEntryResolution resolution) { - this.resolution = resolution; - } - - @JsonProperty("subjectAltNames") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSubjectAltNames() { - return subjectAltNames; - } - - @JsonProperty("subjectAltNames") - public void setSubjectAltNames(List subjectAltNames) { - this.subjectAltNames = subjectAltNames; - } - - @JsonProperty("workloadSelector") - public WorkloadSelector getWorkloadSelector() { - return workloadSelector; - } - - @JsonProperty("workloadSelector") - public void setWorkloadSelector(WorkloadSelector workloadSelector) { - this.workloadSelector = workloadSelector; - } - - @JsonIgnore - public ServiceEntrySpecBuilder edit() { - return new ServiceEntrySpecBuilder(this); - } - - @JsonIgnore - public ServiceEntrySpecBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarSpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarSpec.java deleted file mode 100644 index abc0260b3e8..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarSpec.java +++ /dev/null @@ -1,178 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "egress", - "inboundConnectionPool", - "ingress", - "outboundTrafficPolicy", - "workloadSelector" -}) -@ToString -@EqualsAndHashCode -@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 SidecarSpec implements Editable , KubernetesResource -{ - - @JsonProperty("egress") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List egress = new ArrayList<>(); - @JsonProperty("inboundConnectionPool") - private ConnectionPoolSettings inboundConnectionPool; - @JsonProperty("ingress") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List ingress = new ArrayList<>(); - @JsonProperty("outboundTrafficPolicy") - private OutboundTrafficPolicy outboundTrafficPolicy; - @JsonProperty("workloadSelector") - private WorkloadSelector workloadSelector; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public SidecarSpec() { - } - - public SidecarSpec(List egress, ConnectionPoolSettings inboundConnectionPool, List ingress, OutboundTrafficPolicy outboundTrafficPolicy, WorkloadSelector workloadSelector) { - super(); - this.egress = egress; - this.inboundConnectionPool = inboundConnectionPool; - this.ingress = ingress; - this.outboundTrafficPolicy = outboundTrafficPolicy; - this.workloadSelector = workloadSelector; - } - - @JsonProperty("egress") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEgress() { - return egress; - } - - @JsonProperty("egress") - public void setEgress(List egress) { - this.egress = egress; - } - - @JsonProperty("inboundConnectionPool") - public ConnectionPoolSettings getInboundConnectionPool() { - return inboundConnectionPool; - } - - @JsonProperty("inboundConnectionPool") - public void setInboundConnectionPool(ConnectionPoolSettings inboundConnectionPool) { - this.inboundConnectionPool = inboundConnectionPool; - } - - @JsonProperty("ingress") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getIngress() { - return ingress; - } - - @JsonProperty("ingress") - public void setIngress(List ingress) { - this.ingress = ingress; - } - - @JsonProperty("outboundTrafficPolicy") - public OutboundTrafficPolicy getOutboundTrafficPolicy() { - return outboundTrafficPolicy; - } - - @JsonProperty("outboundTrafficPolicy") - public void setOutboundTrafficPolicy(OutboundTrafficPolicy outboundTrafficPolicy) { - this.outboundTrafficPolicy = outboundTrafficPolicy; - } - - @JsonProperty("workloadSelector") - public WorkloadSelector getWorkloadSelector() { - return workloadSelector; - } - - @JsonProperty("workloadSelector") - public void setWorkloadSelector(WorkloadSelector workloadSelector) { - this.workloadSelector = workloadSelector; - } - - @JsonIgnore - public SidecarSpecBuilder edit() { - return new SidecarSpecBuilder(this); - } - - @JsonIgnore - public SidecarSpecBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatch.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatch.java deleted file mode 100644 index 1130304bddd..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatch.java +++ /dev/null @@ -1,119 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.annotation.JsonUnwrapped; -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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = io.fabric8.kubernetes.model.jackson.JsonUnwrappedDeserializer.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "MatchType" -}) -@ToString -@EqualsAndHashCode -@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 StringMatch implements Editable , KubernetesResource -{ - - @JsonProperty("MatchType") - @JsonUnwrapped - private IsStringMatchMatchType matchType; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public StringMatch() { - } - - public StringMatch(IsStringMatchMatchType matchType) { - super(); - this.matchType = matchType; - } - - @JsonProperty("MatchType") - @JsonUnwrapped - public IsStringMatchMatchType getMatchType() { - return matchType; - } - - @JsonProperty("MatchType") - public void setMatchType(IsStringMatchMatchType matchType) { - this.matchType = matchType; - } - - @JsonIgnore - public StringMatchBuilder edit() { - return new StringMatchBuilder(this); - } - - @JsonIgnore - public StringMatchBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPRoute.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPRoute.java deleted file mode 100644 index f6ba709c49b..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPRoute.java +++ /dev/null @@ -1,136 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "match", - "route" -}) -@ToString -@EqualsAndHashCode -@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 TCPRoute implements Editable , KubernetesResource -{ - - @JsonProperty("match") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List match = new ArrayList<>(); - @JsonProperty("route") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List route = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TCPRoute() { - } - - public TCPRoute(List match, List route) { - super(); - this.match = match; - this.route = route; - } - - @JsonProperty("match") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMatch() { - return match; - } - - @JsonProperty("match") - public void setMatch(List match) { - this.match = match; - } - - @JsonProperty("route") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRoute() { - return route; - } - - @JsonProperty("route") - public void setRoute(List route) { - this.route = route; - } - - @JsonIgnore - public TCPRouteBuilder edit() { - return new TCPRouteBuilder(this); - } - - @JsonIgnore - public TCPRouteBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSRoute.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSRoute.java deleted file mode 100644 index 99ceb1690c4..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TLSRoute.java +++ /dev/null @@ -1,136 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "match", - "route" -}) -@ToString -@EqualsAndHashCode -@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 TLSRoute implements Editable , KubernetesResource -{ - - @JsonProperty("match") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List match = new ArrayList<>(); - @JsonProperty("route") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List route = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TLSRoute() { - } - - public TLSRoute(List match, List route) { - super(); - this.match = match; - this.route = route; - } - - @JsonProperty("match") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMatch() { - return match; - } - - @JsonProperty("match") - public void setMatch(List match) { - this.match = match; - } - - @JsonProperty("route") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRoute() { - return route; - } - - @JsonProperty("route") - public void setRoute(List route) { - this.route = route; - } - - @JsonIgnore - public TLSRouteBuilder edit() { - return new TLSRouteBuilder(this); - } - - @JsonIgnore - public TLSRouteBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyPortTrafficPolicy.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyPortTrafficPolicy.java deleted file mode 100644 index 2b9e0a29260..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyPortTrafficPolicy.java +++ /dev/null @@ -1,172 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "connectionPool", - "loadBalancer", - "outlierDetection", - "port", - "tls" -}) -@ToString -@EqualsAndHashCode -@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 TrafficPolicyPortTrafficPolicy implements Editable , KubernetesResource -{ - - @JsonProperty("connectionPool") - private ConnectionPoolSettings connectionPool; - @JsonProperty("loadBalancer") - private LoadBalancerSettings loadBalancer; - @JsonProperty("outlierDetection") - private OutlierDetection outlierDetection; - @JsonProperty("port") - private PortSelector port; - @JsonProperty("tls") - private ClientTLSSettings tls; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TrafficPolicyPortTrafficPolicy() { - } - - public TrafficPolicyPortTrafficPolicy(ConnectionPoolSettings connectionPool, LoadBalancerSettings loadBalancer, OutlierDetection outlierDetection, PortSelector port, ClientTLSSettings tls) { - super(); - this.connectionPool = connectionPool; - this.loadBalancer = loadBalancer; - this.outlierDetection = outlierDetection; - this.port = port; - this.tls = tls; - } - - @JsonProperty("connectionPool") - public ConnectionPoolSettings getConnectionPool() { - return connectionPool; - } - - @JsonProperty("connectionPool") - public void setConnectionPool(ConnectionPoolSettings connectionPool) { - this.connectionPool = connectionPool; - } - - @JsonProperty("loadBalancer") - public LoadBalancerSettings getLoadBalancer() { - return loadBalancer; - } - - @JsonProperty("loadBalancer") - public void setLoadBalancer(LoadBalancerSettings loadBalancer) { - this.loadBalancer = loadBalancer; - } - - @JsonProperty("outlierDetection") - public OutlierDetection getOutlierDetection() { - return outlierDetection; - } - - @JsonProperty("outlierDetection") - public void setOutlierDetection(OutlierDetection outlierDetection) { - this.outlierDetection = outlierDetection; - } - - @JsonProperty("port") - public PortSelector getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(PortSelector port) { - this.port = port; - } - - @JsonProperty("tls") - public ClientTLSSettings getTls() { - return tls; - } - - @JsonProperty("tls") - public void setTls(ClientTLSSettings tls) { - this.tls = tls; - } - - @JsonIgnore - public TrafficPolicyPortTrafficPolicyBuilder edit() { - return new TrafficPolicyPortTrafficPolicyBuilder(this); - } - - @JsonIgnore - public TrafficPolicyPortTrafficPolicyBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyProxyProtocolVERSION.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyProxyProtocolVERSION.java deleted file mode 100644 index 37ffd0a0654..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyProxyProtocolVERSION.java +++ /dev/null @@ -1,51 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum TrafficPolicyProxyProtocolVERSION { - - V1(0), - V2(1); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (TrafficPolicyProxyProtocolVERSION c: values()) { - CONSTANTS.put(c.value, c); - } - for (TrafficPolicyProxyProtocolVERSION c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - TrafficPolicyProxyProtocolVERSION(Integer value) { - this.value = value; - } - - @JsonCreator - public static TrafficPolicyProxyProtocolVERSION fromValue(Object value) { - if (value instanceof String) { - { - TrafficPolicyProxyProtocolVERSION constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - TrafficPolicyProxyProtocolVERSION constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceSpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceSpec.java deleted file mode 100644 index 7f2fabd4b86..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceSpec.java +++ /dev/null @@ -1,200 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "exportTo", - "gateways", - "hosts", - "http", - "tcp", - "tls" -}) -@ToString -@EqualsAndHashCode -@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 VirtualServiceSpec implements Editable , KubernetesResource -{ - - @JsonProperty("exportTo") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List exportTo = new ArrayList<>(); - @JsonProperty("gateways") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List gateways = new ArrayList<>(); - @JsonProperty("hosts") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hosts = new ArrayList<>(); - @JsonProperty("http") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List http = new ArrayList<>(); - @JsonProperty("tcp") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tcp = new ArrayList<>(); - @JsonProperty("tls") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tls = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public VirtualServiceSpec() { - } - - public VirtualServiceSpec(List exportTo, List gateways, List hosts, List http, List tcp, List tls) { - super(); - this.exportTo = exportTo; - this.gateways = gateways; - this.hosts = hosts; - this.http = http; - this.tcp = tcp; - this.tls = tls; - } - - @JsonProperty("exportTo") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getExportTo() { - return exportTo; - } - - @JsonProperty("exportTo") - public void setExportTo(List exportTo) { - this.exportTo = exportTo; - } - - @JsonProperty("gateways") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getGateways() { - return gateways; - } - - @JsonProperty("gateways") - public void setGateways(List gateways) { - this.gateways = gateways; - } - - @JsonProperty("hosts") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHosts() { - return hosts; - } - - @JsonProperty("hosts") - public void setHosts(List hosts) { - this.hosts = hosts; - } - - @JsonProperty("http") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHttp() { - return http; - } - - @JsonProperty("http") - public void setHttp(List http) { - this.http = http; - } - - @JsonProperty("tcp") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTcp() { - return tcp; - } - - @JsonProperty("tcp") - public void setTcp(List tcp) { - this.tcp = tcp; - } - - @JsonProperty("tls") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTls() { - return tls; - } - - @JsonProperty("tls") - public void setTls(List tls) { - this.tls = tls; - } - - @JsonIgnore - public VirtualServiceSpecBuilder edit() { - return new VirtualServiceSpecBuilder(this); - } - - @JsonIgnore - public VirtualServiceSpecBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntrySpec.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntrySpec.java deleted file mode 100644 index a463634eb32..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntrySpec.java +++ /dev/null @@ -1,204 +0,0 @@ - -package io.fabric8.istio.api.networking.v1beta1; - -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.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; -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.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "address", - "labels", - "locality", - "network", - "ports", - "serviceAccount", - "weight" -}) -@ToString -@EqualsAndHashCode -@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 WorkloadEntrySpec implements Editable , KubernetesResource -{ - - @JsonProperty("address") - private java.lang.String address; - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map labels = new LinkedHashMap<>(); - @JsonProperty("locality") - private java.lang.String locality; - @JsonProperty("network") - private java.lang.String network; - @JsonProperty("ports") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map ports = new LinkedHashMap<>(); - @JsonProperty("serviceAccount") - private java.lang.String serviceAccount; - @JsonProperty("weight") - private Integer weight; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public WorkloadEntrySpec() { - } - - public WorkloadEntrySpec(java.lang.String address, Map labels, java.lang.String locality, java.lang.String network, Map ports, java.lang.String serviceAccount, Integer weight) { - super(); - this.address = address; - this.labels = labels; - this.locality = locality; - this.network = network; - this.ports = ports; - this.serviceAccount = serviceAccount; - this.weight = weight; - } - - @JsonProperty("address") - public java.lang.String getAddress() { - return address; - } - - @JsonProperty("address") - public void setAddress(java.lang.String address) { - this.address = address; - } - - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getLabels() { - return labels; - } - - @JsonProperty("labels") - public void setLabels(Map labels) { - this.labels = labels; - } - - @JsonProperty("locality") - public java.lang.String getLocality() { - return locality; - } - - @JsonProperty("locality") - public void setLocality(java.lang.String locality) { - this.locality = locality; - } - - @JsonProperty("network") - public java.lang.String getNetwork() { - return network; - } - - @JsonProperty("network") - public void setNetwork(java.lang.String network) { - this.network = network; - } - - @JsonProperty("ports") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getPorts() { - return ports; - } - - @JsonProperty("ports") - public void setPorts(Map ports) { - this.ports = ports; - } - - @JsonProperty("serviceAccount") - public java.lang.String getServiceAccount() { - return serviceAccount; - } - - @JsonProperty("serviceAccount") - public void setServiceAccount(java.lang.String serviceAccount) { - this.serviceAccount = serviceAccount; - } - - @JsonProperty("weight") - public Integer getWeight() { - return weight; - } - - @JsonProperty("weight") - public void setWeight(Integer weight) { - this.weight = weight; - } - - @JsonIgnore - public WorkloadEntrySpecBuilder edit() { - return new WorkloadEntrySpecBuilder(this); - } - - @JsonIgnore - public WorkloadEntrySpecBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyAction.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyAction.java deleted file mode 100644 index 9ef213478fe..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyAction.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.security.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum AuthorizationPolicyAction { - - ALLOW(0), - DENY(1), - AUDIT(2), - CUSTOM(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (AuthorizationPolicyAction c: values()) { - CONSTANTS.put(c.value, c); - } - for (AuthorizationPolicyAction c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - AuthorizationPolicyAction(Integer value) { - this.value = value; - } - - @JsonCreator - public static AuthorizationPolicyAction fromValue(Object value) { - if (value instanceof String) { - { - AuthorizationPolicyAction constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - AuthorizationPolicyAction constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/IsAuthorizationPolicyActionDetail.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/IsAuthorizationPolicyActionDetail.java deleted file mode 100644 index d818807ffa6..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/IsAuthorizationPolicyActionDetail.java +++ /dev/null @@ -1,20 +0,0 @@ - -package io.fabric8.istio.api.security.v1beta1; - -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) -@JsonSubTypes({ - @JsonSubTypes.Type(io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyProvider.class) -}) -@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION, defaultImpl = io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyProvider.class) -public interface IsAuthorizationPolicyActionDetail { - - -} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLSMode.java b/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLSMode.java deleted file mode 100644 index d7dbd4cf30d..00000000000 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLSMode.java +++ /dev/null @@ -1,53 +0,0 @@ - -package io.fabric8.istio.api.security.v1beta1; - -import java.util.HashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonCreator; - -@Generated("jsonschema2pojo") -public enum PeerAuthenticationMutualTLSMode { - - UNSET(0), - DISABLE(1), - PERMISSIVE(2), - STRICT(3); - private final Integer value; - private final static Map CONSTANTS = new HashMap(); - private final static Map NAME_CONSTANTS = new HashMap(); - - static { - for (PeerAuthenticationMutualTLSMode c: values()) { - CONSTANTS.put(c.value, c); - } - for (PeerAuthenticationMutualTLSMode c: values()) { - NAME_CONSTANTS.put(c.name().toLowerCase(), c); - } - } - - PeerAuthenticationMutualTLSMode(Integer value) { - this.value = value; - } - - @JsonCreator - public static PeerAuthenticationMutualTLSMode fromValue(Object value) { - if (value instanceof String) { - { - PeerAuthenticationMutualTLSMode constant = NAME_CONSTANTS.get(((String) value).toLowerCase()); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - } - PeerAuthenticationMutualTLSMode constant = CONSTANTS.get(value); - if (constant == null) { - throw new IllegalArgumentException((value +"")); - } else { - return constant; - } - } - -} diff --git a/extensions/istio/model-v1beta1/src/main/java/io.fabric8.istio.api.networking.v1beta1/CorsPolicy.java b/extensions/istio/model-v1beta1/src/main/java/io.fabric8.istio.api.networking.v1beta1/CorsPolicy.java deleted file mode 100644 index 0473a7c726d..00000000000 --- a/extensions/istio/model-v1beta1/src/main/java/io.fabric8.istio.api.networking.v1beta1/CorsPolicy.java +++ /dev/null @@ -1,198 +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 io.fabric8.istio.api.networking.v1beta1; - -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.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -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; -import lombok.ToString; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "allowCredentials", - "allowHeaders", - "allowMethods", - "allowOrigin", - "allowOrigins", - "exposeHeaders", - "maxAge" -}) -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@ToString -@EqualsAndHashCode -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -public class CorsPolicy implements KubernetesResource { - - @JsonProperty("allowCredentials") - private Boolean allowCredentials; - @JsonProperty("allowHeaders") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List allowHeaders = new ArrayList(); - @JsonProperty("allowMethods") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List allowMethods = new ArrayList(); - @JsonProperty("allowOrigin") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List deprecatedAllowOrigin = new ArrayList(); - @JsonProperty("allowOrigins") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List allowOrigins = new ArrayList(); - @JsonProperty("exposeHeaders") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List exposeHeaders = new ArrayList(); - @JsonProperty("maxAge") - private String maxAge; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * No args constructor for use in serialization - */ - public CorsPolicy() { - } - - /** - * @param allowMethods - * @param allowHeaders - * @param exposeHeaders - * @param maxAge - * @param allowCredentials - * @param deprecatedAllowOrigin - * @param allowOrigins - */ - public CorsPolicy(Boolean allowCredentials, List allowHeaders, List allowMethods, - List deprecatedAllowOrigin, List allowOrigins, List exposeHeaders, String maxAge) { - super(); - this.allowCredentials = allowCredentials; - this.allowHeaders = allowHeaders; - this.allowMethods = allowMethods; - this.deprecatedAllowOrigin = deprecatedAllowOrigin; - this.allowOrigins = allowOrigins; - this.exposeHeaders = exposeHeaders; - this.maxAge = maxAge; - } - - @JsonProperty("allowCredentials") - public Boolean getAllowCredentials() { - return allowCredentials; - } - - @JsonProperty("allowCredentials") - public void setAllowCredentials(Boolean allowCredentials) { - this.allowCredentials = allowCredentials; - } - - @JsonProperty("allowHeaders") - public List getAllowHeaders() { - return allowHeaders; - } - - @JsonProperty("allowHeaders") - public void setAllowHeaders(List allowHeaders) { - this.allowHeaders = allowHeaders; - } - - @JsonProperty("allowMethods") - public List getAllowMethods() { - return allowMethods; - } - - @JsonProperty("allowMethods") - public void setAllowMethods(List allowMethods) { - this.allowMethods = allowMethods; - } - - @JsonProperty("allowOrigin") - public List getDeprecatedAllowOrigin() { - return deprecatedAllowOrigin; - } - - @JsonProperty("allowOrigin") - public void setDeprecatedAllowOrigin(List deprecatedAllowOrigin) { - this.deprecatedAllowOrigin = deprecatedAllowOrigin; - } - - @JsonProperty("allowOrigins") - public List getAllowOrigins() { - return allowOrigins; - } - - @JsonProperty("allowOrigins") - public void setAllowOrigins(List allowOrigins) { - this.allowOrigins = allowOrigins; - } - - @JsonProperty("exposeHeaders") - public List getExposeHeaders() { - return exposeHeaders; - } - - @JsonProperty("exposeHeaders") - public void setExposeHeaders(List exposeHeaders) { - this.exposeHeaders = exposeHeaders; - } - - @JsonProperty("maxAge") - public String getMaxAge() { - return maxAge; - } - - @JsonProperty("maxAge") - public void setMaxAge(String maxAge) { - this.maxAge = maxAge; - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - -} diff --git a/extensions/istio/model-v1beta1/src/main/resources/schema/istio-schema.json b/extensions/istio/model-v1beta1/src/main/resources/schema/istio-schema.json deleted file mode 100644 index 727a18f35f1..00000000000 --- a/extensions/istio/model-v1beta1/src/main/resources/schema/istio-schema.json +++ /dev/null @@ -1,4118 +0,0 @@ -{ - "id": "http://fabric8.io/istio/IstioSchema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "istio_io_api_networking_v1beta1_CaptureMode": { - "type": "integer", - "javaEnums": [ - { - "name": "DEFAULT" - }, - { - "name": "IPTABLES" - }, - { - "name": "NONE" - } - ], - "enum": [ - 0, - 1, - 2 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.CaptureMode" - }, - "istio_io_api_networking_v1beta1_ClientTLSSettings": { - "type": "object", - "properties": { - "caCertificates": { - "type": "string" - }, - "clientCertificate": { - "type": "string" - }, - "credentialName": { - "type": "string" - }, - "insecureSkipVerify": { - "existingJavaType": "java.lang.Boolean" - }, - "mode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ClientTLSSettings_TLSmode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ClientTLSSettingsTLSmode" - }, - "privateKey": { - "type": "string" - }, - "sni": { - "type": "string" - }, - "subjectAltNames": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ClientTLSSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ClientTLSSettings_TLSmode": { - "type": "integer", - "javaEnums": [ - { - "name": "DISABLE" - }, - { - "name": "SIMPLE" - }, - { - "name": "MUTUAL" - }, - { - "name": "ISTIO_MUTUAL" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.ClientTLSSettingsTLSmode" - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings": { - "type": "object", - "properties": { - "http": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings_HTTPSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsHTTPSettings" - }, - "tcp": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings_TCPSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsTCPSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings_HTTPSettings": { - "type": "object", - "properties": { - "h2UpgradePolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy" - }, - "http1MaxPendingRequests": { - "type": "integer" - }, - "http2MaxRequests": { - "type": "integer" - }, - "idleTimeout": { - "existingJavaType": "java.lang.String" - }, - "maxConcurrentStreams": { - "type": "integer" - }, - "maxRequestsPerConnection": { - "type": "integer" - }, - "maxRetries": { - "type": "integer" - }, - "useClientProtocol": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsHTTPSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy": { - "type": "integer", - "javaEnums": [ - { - "name": "DEFAULT" - }, - { - "name": "DO_NOT_UPGRADE" - }, - { - "name": "UPGRADE" - } - ], - "enum": [ - 0, - 1, - 2 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy" - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings_TCPSettings": { - "type": "object", - "properties": { - "connectTimeout": { - "existingJavaType": "java.lang.String" - }, - "idleTimeout": { - "existingJavaType": "java.lang.String" - }, - "maxConnectionDuration": { - "existingJavaType": "java.lang.String" - }, - "maxConnections": { - "type": "integer" - }, - "tcpKeepalive": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings_TCPSettings_TcpKeepalive", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsTCPSettingsTcpKeepalive" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsTCPSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings_TCPSettings_TcpKeepalive": { - "type": "object", - "properties": { - "interval": { - "existingJavaType": "java.lang.String" - }, - "probes": { - "type": "integer" - }, - "time": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsTCPSettingsTcpKeepalive", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Delegate": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "namespace": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Delegate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Destination": { - "type": "object", - "properties": { - "host": { - "type": "string" - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_PortSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.PortSelector" - }, - "subset": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Destination", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_DestinationRule": { - "type": "object", - "properties": { - "exportTo": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "host": { - "type": "string" - }, - "subsets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Subset", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Subset" - } - }, - "trafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicy" - }, - "workloadSelector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.DestinationRuleSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ExecHealthCheckConfig": { - "type": "object", - "properties": { - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ExecHealthCheckConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Gateway": { - "type": "object", - "properties": { - "selector": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "servers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Server", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Server" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.GatewaySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPBody": { - "type": "object", - "properties": { - "Specifier": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isHTTPBody_Specifier", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPBodySpecifier" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPBody", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPBody_Bytes": { - "type": "object", - "properties": { - "bytes": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPBodyBytes", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPBodySpecifier" - ] - }, - "istio_io_api_networking_v1beta1_HTTPBody_String_": { - "type": "object", - "properties": { - "string": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPBodyString", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPBodySpecifier" - ] - }, - "istio_io_api_networking_v1beta1_HTTPDirectResponse": { - "type": "object", - "properties": { - "body": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPBody", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPBody" - }, - "status": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPDirectResponse", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection": { - "type": "object", - "properties": { - "abort": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbort" - }, - "delay": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelay" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjection", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort": { - "type": "object", - "properties": { - "ErrorType": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isHTTPFaultInjection_Abort_ErrorType", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionAbortErrorType" - }, - "percentage": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Percent" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbort", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_GrpcStatus": { - "type": "object", - "properties": { - "grpcStatus": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortGrpcStatus", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionAbortErrorType" - ] - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_Http2Error": { - "type": "object", - "properties": { - "http2Error": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttp2Error", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionAbortErrorType" - ] - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_HttpStatus": { - "type": "object", - "properties": { - "httpStatus": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttpStatus", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionAbortErrorType" - ] - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay": { - "type": "object", - "properties": { - "HttpDelayType": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isHTTPFaultInjection_Delay_HttpDelayType", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionDelayHttpDelayType" - }, - "percent": { - "type": "integer" - }, - "percentage": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Percent" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelay", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay_ExponentialDelay": { - "type": "object", - "properties": { - "exponentialDelay": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelayExponentialDelay", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionDelayHttpDelayType" - ] - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay_FixedDelay": { - "type": "object", - "properties": { - "fixedDelay": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelayFixedDelay", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionDelayHttpDelayType" - ] - }, - "istio_io_api_networking_v1beta1_HTTPHeader": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPHeader", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPHealthCheckConfig": { - "type": "object", - "properties": { - "host": { - "type": "string" - }, - "httpHeaders": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPHeader", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPHeader" - } - }, - "path": { - "type": "string" - }, - "port": { - "type": "integer" - }, - "scheme": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPHealthCheckConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPMatchRequest": { - "type": "object", - "properties": { - "authority": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.StringMatch" - }, - "gateways": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "headers": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.networking.v1beta1.StringMatch\u003e" - }, - "ignoreUriCase": { - "type": "boolean" - }, - "method": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.StringMatch" - }, - "name": { - "type": "string" - }, - "port": { - "type": "integer" - }, - "queryParams": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.networking.v1beta1.StringMatch\u003e" - }, - "scheme": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.StringMatch" - }, - "sourceLabels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "sourceNamespace": { - "type": "string" - }, - "statPrefix": { - "type": "string" - }, - "uri": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.StringMatch" - }, - "withoutHeaders": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.istio.api.networking.v1beta1.StringMatch\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPMatchRequest", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPMirrorPolicy": { - "type": "object", - "properties": { - "destination": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Destination" - }, - "percentage": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Percent" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPMirrorPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPRedirect": { - "type": "object", - "properties": { - "RedirectPort": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isHTTPRedirect_RedirectPort", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPRedirectRedirectPort" - }, - "authority": { - "type": "string" - }, - "redirectCode": { - "type": "integer" - }, - "scheme": { - "type": "string" - }, - "uri": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirect", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPRedirect_DerivePort": { - "type": "object", - "properties": { - "derivePort": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRedirect_RedirectPortSelection", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectRedirectPortSelection" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectDerivePort", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPRedirectRedirectPort" - ] - }, - "istio_io_api_networking_v1beta1_HTTPRedirect_Port": { - "type": "object", - "properties": { - "port": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectPort", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsHTTPRedirectRedirectPort" - ] - }, - "istio_io_api_networking_v1beta1_HTTPRedirect_RedirectPortSelection": { - "type": "integer", - "javaEnums": [ - { - "name": "FROM_PROTOCOL_DEFAULT" - }, - { - "name": "FROM_REQUEST_PORT" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectRedirectPortSelection" - }, - "istio_io_api_networking_v1beta1_HTTPRetry": { - "type": "object", - "properties": { - "attempts": { - "type": "integer" - }, - "perTryTimeout": { - "existingJavaType": "java.lang.String" - }, - "retryOn": { - "type": "string" - }, - "retryRemoteLocalities": { - "existingJavaType": "java.lang.Boolean" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRetry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPRewrite": { - "type": "object", - "properties": { - "authority": { - "type": "string" - }, - "uri": { - "type": "string" - }, - "uriRegexRewrite": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_RegexRewrite", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.RegexRewrite" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRewrite", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPRoute": { - "type": "object", - "properties": { - "corsPolicy": { - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.CorsPolicy" - }, - "delegate": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Delegate", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Delegate" - }, - "directResponse": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPDirectResponse", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPDirectResponse" - }, - "fault": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjection" - }, - "headers": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Headers", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Headers" - }, - "match": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPMatchRequest", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPMatchRequest" - } - }, - "mirror": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Destination" - }, - "mirrorPercent": { - "existingJavaType": "java.lang.Integer" - }, - "mirrorPercentage": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Percent" - }, - "mirrors": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPMirrorPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPMirrorPolicy" - } - }, - "name": { - "type": "string" - }, - "redirect": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRedirect", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirect" - }, - "retries": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRetry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRetry" - }, - "rewrite": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRewrite", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRewrite" - }, - "route": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRouteDestination" - } - }, - "timeout": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRoute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_HTTPRouteDestination": { - "type": "object", - "properties": { - "destination": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Destination" - }, - "headers": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Headers", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Headers" - }, - "weight": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRouteDestination", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Headers": { - "type": "object", - "properties": { - "request": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Headers_HeaderOperations", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HeadersHeaderOperations" - }, - "response": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Headers_HeaderOperations", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HeadersHeaderOperations" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Headers", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Headers_HeaderOperations": { - "type": "object", - "properties": { - "add": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "remove": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "set": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.HeadersHeaderOperations", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_IstioEgressListener": { - "type": "object", - "properties": { - "bind": { - "type": "string" - }, - "captureMode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_CaptureMode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.CaptureMode" - }, - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_SidecarPort", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.SidecarPort" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.IstioEgressListener", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_IstioIngressListener": { - "type": "object", - "properties": { - "bind": { - "type": "string" - }, - "captureMode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_CaptureMode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.CaptureMode" - }, - "connectionPool": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettings" - }, - "defaultEndpoint": { - "type": "string" - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_SidecarPort", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.SidecarPort" - }, - "tls": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServerTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.IstioIngressListener", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_L4MatchAttributes": { - "type": "object", - "properties": { - "destinationSubnets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "gateways": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "port": { - "type": "integer" - }, - "sourceLabels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "sourceNamespace": { - "type": "string" - }, - "sourceSubnet": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.L4MatchAttributes", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings": { - "type": "object", - "properties": { - "LbPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isLoadBalancerSettings_LbPolicy", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsLbPolicy" - }, - "localityLbSetting": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSetting" - }, - "warmupDurationSecs": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHash": { - "type": "object", - "properties": { - "consistentHash": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLB" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHash", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsLbPolicy" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB": { - "type": "object", - "properties": { - "HashAlgorithm": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm" - }, - "HashKey": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isLoadBalancerSettings_ConsistentHashLB_HashKey", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashKey" - }, - "minimumRingSize": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLB", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HTTPCookie": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "path": { - "type": "string" - }, - "ttl": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpCookieValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpCookie": { - "type": "object", - "properties": { - "httpCookie": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HTTPCookie", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpCookieValue" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpCookie", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashKey" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpHeaderName": { - "type": "object", - "properties": { - "httpHeaderName": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpHeaderName", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashKey" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName": { - "type": "object", - "properties": { - "httpQueryParameterName": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpQueryParameterName", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashKey" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_MagLev": { - "type": "object", - "properties": { - "tableSize": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBMagLevValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_Maglev": { - "type": "object", - "properties": { - "maglev": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_MagLev", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBMagLevValue" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBMaglev", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_RingHash": { - "type": "object", - "properties": { - "minimumRingSize": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBRingHashValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_RingHashWrapper": { - "type": "object", - "properties": { - "ringHash": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_RingHash", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBRingHashValue" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBRingHash", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_UseSourceIp": { - "type": "object", - "properties": { - "useSourceIp": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBUseSourceIp", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashKey" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_Simple": { - "type": "object", - "properties": { - "simple": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_SimpleLB", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimpleLB" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimple", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsLbPolicy" - ] - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_SimpleLB": { - "type": "integer", - "javaEnums": [ - { - "name": "UNSPECIFIED" - }, - { - "name": "LEAST_CONN" - }, - { - "name": "RANDOM" - }, - { - "name": "PASSTHROUGH" - }, - { - "name": "ROUND_ROBIN" - }, - { - "name": "LEAST_REQUEST" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimpleLB" - }, - "istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting": { - "type": "object", - "properties": { - "distribute": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting_Distribute", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSettingDistribute" - } - }, - "enabled": { - "existingJavaType": "java.lang.Boolean" - }, - "failover": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting_Failover", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSettingFailover" - } - }, - "failoverPriority": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSetting", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting_Distribute": { - "type": "object", - "properties": { - "from": { - "type": "string" - }, - "to": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,Long\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSettingDistribute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting_Failover": { - "type": "object", - "properties": { - "from": { - "type": "string" - }, - "to": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSettingFailover", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_OutboundTrafficPolicy": { - "type": "object", - "properties": { - "egressProxy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Destination" - }, - "mode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_OutboundTrafficPolicy_Mode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.OutboundTrafficPolicyMode" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.OutboundTrafficPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_OutboundTrafficPolicy_Mode": { - "type": "integer", - "javaEnums": [ - { - "name": "REGISTRY_ONLY" - }, - { - "name": "ALLOW_ANY" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.OutboundTrafficPolicyMode" - }, - "istio_io_api_networking_v1beta1_OutlierDetection": { - "type": "object", - "properties": { - "baseEjectionTime": { - "existingJavaType": "java.lang.String" - }, - "consecutive5xxErrors": { - "existingJavaType": "java.lang.Integer" - }, - "consecutiveErrors": { - "type": "integer" - }, - "consecutiveGatewayErrors": { - "existingJavaType": "java.lang.Integer" - }, - "consecutiveLocalOriginFailures": { - "existingJavaType": "java.lang.Integer" - }, - "interval": { - "existingJavaType": "java.lang.String" - }, - "maxEjectionPercent": { - "type": "integer" - }, - "minHealthPercent": { - "type": "integer" - }, - "splitExternalLocalOriginErrors": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.OutlierDetection", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Percent": { - "type": "object", - "properties": { - "value": { - "type": "number" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Percent", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Port": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "number": { - "type": "integer" - }, - "protocol": { - "type": "string" - }, - "targetPort": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Port", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_PortSelector": { - "type": "object", - "properties": { - "number": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.PortSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ProxyConfig": { - "type": "object", - "properties": { - "concurrency": { - "existingJavaType": "java.lang.Integer" - }, - "environmentVariables": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "image": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ProxyImage", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ProxyImage" - }, - "selector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ProxyConfigSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ProxyImage": { - "type": "object", - "properties": { - "imageType": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ProxyImage", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ReadinessProbe": { - "type": "object", - "properties": { - "HealthCheckMethod": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isReadinessProbe_HealthCheckMethod", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsReadinessProbeHealthCheckMethod" - }, - "failureThreshold": { - "type": "integer" - }, - "initialDelaySeconds": { - "type": "integer" - }, - "periodSeconds": { - "type": "integer" - }, - "successThreshold": { - "type": "integer" - }, - "timeoutSeconds": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbe", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ReadinessProbe_Exec": { - "type": "object", - "properties": { - "exec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ExecHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ExecHealthCheckConfig" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeExec", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsReadinessProbeHealthCheckMethod" - ] - }, - "istio_io_api_networking_v1beta1_ReadinessProbe_HttpGet": { - "type": "object", - "properties": { - "httpGet": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPHealthCheckConfig" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeHttpGet", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsReadinessProbeHealthCheckMethod" - ] - }, - "istio_io_api_networking_v1beta1_ReadinessProbe_TcpSocket": { - "type": "object", - "properties": { - "tcpSocket": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TCPHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TCPHealthCheckConfig" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeTcpSocket", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsReadinessProbeHealthCheckMethod" - ] - }, - "istio_io_api_networking_v1beta1_RegexRewrite": { - "type": "object", - "properties": { - "match": { - "type": "string" - }, - "rewrite": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.RegexRewrite", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_RouteDestination": { - "type": "object", - "properties": { - "destination": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Destination" - }, - "weight": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.RouteDestination", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Server": { - "type": "object", - "properties": { - "bind": { - "type": "string" - }, - "defaultEndpoint": { - "type": "string" - }, - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "name": { - "type": "string" - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Port", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Port" - }, - "tls": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServerTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Server", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ServerTLSSettings": { - "type": "object", - "properties": { - "caCertificates": { - "type": "string" - }, - "cipherSuites": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "credentialName": { - "type": "string" - }, - "httpsRedirect": { - "type": "boolean" - }, - "maxProtocolVersion": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServerTLSSettings_TLSProtocol", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSProtocol" - }, - "minProtocolVersion": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServerTLSSettings_TLSProtocol", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSProtocol" - }, - "mode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServerTLSSettings_TLSmode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSmode" - }, - "privateKey": { - "type": "string" - }, - "serverCertificate": { - "type": "string" - }, - "subjectAltNames": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "verifyCertificateHash": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "verifyCertificateSpki": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ServerTLSSettings_TLSProtocol": { - "type": "integer", - "javaEnums": [ - { - "name": "TLS_AUTO" - }, - { - "name": "TLSV1_0" - }, - { - "name": "TLSV1_1" - }, - { - "name": "TLSV1_2" - }, - { - "name": "TLSV1_3" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSProtocol" - }, - "istio_io_api_networking_v1beta1_ServerTLSSettings_TLSmode": { - "type": "integer", - "javaEnums": [ - { - "name": "PASSTHROUGH" - }, - { - "name": "SIMPLE" - }, - { - "name": "MUTUAL" - }, - { - "name": "AUTO_PASSTHROUGH" - }, - { - "name": "ISTIO_MUTUAL" - }, - { - "name": "OPTIONAL_MUTUAL" - } - ], - "enum": [ - 0, - 1, - 2, - 3, - 4, - 5 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSmode" - }, - "istio_io_api_networking_v1beta1_ServiceEntry": { - "type": "object", - "properties": { - "addresses": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "endpoints": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntrySpec" - } - }, - "exportTo": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "location": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServiceEntry_Location", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntryLocation" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServicePort", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServicePort" - } - }, - "resolution": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServiceEntry_Resolution", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntryResolution" - }, - "subjectAltNames": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "workloadSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntrySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_ServiceEntry_Location": { - "type": "integer", - "javaEnums": [ - { - "name": "MESH_EXTERNAL" - }, - { - "name": "MESH_INTERNAL" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntryLocation" - }, - "istio_io_api_networking_v1beta1_ServiceEntry_Resolution": { - "type": "integer", - "javaEnums": [ - { - "name": "NONE" - }, - { - "name": "STATIC" - }, - { - "name": "DNS" - }, - { - "name": "DNS_ROUND_ROBIN" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntryResolution" - }, - "istio_io_api_networking_v1beta1_ServicePort": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "number": { - "type": "integer" - }, - "protocol": { - "type": "string" - }, - "targetPort": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServicePort", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_Sidecar": { - "type": "object", - "properties": { - "egress": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_IstioEgressListener", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.IstioEgressListener" - } - }, - "inboundConnectionPool": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettings" - }, - "ingress": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_IstioIngressListener", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.IstioIngressListener" - } - }, - "outboundTrafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_OutboundTrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.OutboundTrafficPolicy" - }, - "workloadSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.SidecarSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_SidecarPort": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "number": { - "type": "integer" - }, - "protocol": { - "type": "string" - }, - "targetPort": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.SidecarPort", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_StringMatch": { - "type": "object", - "properties": { - "MatchType": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isStringMatch_MatchType", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsStringMatchMatchType" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.StringMatch", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_StringMatch_Exact": { - "type": "object", - "properties": { - "exact": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.StringMatchExact", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsStringMatchMatchType" - ] - }, - "istio_io_api_networking_v1beta1_StringMatch_Prefix": { - "type": "object", - "properties": { - "prefix": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.StringMatchPrefix", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsStringMatchMatchType" - ] - }, - "istio_io_api_networking_v1beta1_StringMatch_Regex": { - "type": "object", - "properties": { - "regex": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.StringMatchRegex", - "javaInterfaces": [ - "io.fabric8.istio.api.networking.v1beta1.IsStringMatchMatchType" - ] - }, - "istio_io_api_networking_v1beta1_Subset": { - "type": "object", - "properties": { - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "name": { - "type": "string" - }, - "trafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicy" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Subset", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_TCPHealthCheckConfig": { - "type": "object", - "properties": { - "host": { - "type": "string" - }, - "port": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.TCPHealthCheckConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_TCPRoute": { - "type": "object", - "properties": { - "match": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_L4MatchAttributes", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.L4MatchAttributes" - } - }, - "route": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_RouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.RouteDestination" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.TCPRoute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_TLSMatchAttributes": { - "type": "object", - "properties": { - "destinationSubnets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "gateways": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "port": { - "type": "integer" - }, - "sniHosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "sourceLabels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "sourceNamespace": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.TLSMatchAttributes", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_TLSRoute": { - "type": "object", - "properties": { - "match": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TLSMatchAttributes", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TLSMatchAttributes" - } - }, - "route": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_RouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.RouteDestination" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.TLSRoute", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_TrafficPolicy": { - "type": "object", - "properties": { - "connectionPool": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettings" - }, - "loadBalancer": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettings" - }, - "outlierDetection": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_OutlierDetection", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.OutlierDetection" - }, - "portLevelSettings": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy_PortTrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyPortTrafficPolicy" - } - }, - "proxyProtocol": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy_ProxyProtocol", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyProxyProtocol" - }, - "tls": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ClientTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ClientTLSSettings" - }, - "tunnel": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy_TunnelSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyTunnelSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_TrafficPolicy_PortTrafficPolicy": { - "type": "object", - "properties": { - "connectionPool": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettings" - }, - "loadBalancer": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettings" - }, - "outlierDetection": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_OutlierDetection", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.OutlierDetection" - }, - "port": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_PortSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.PortSelector" - }, - "tls": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ClientTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ClientTLSSettings" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyPortTrafficPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_TrafficPolicy_ProxyProtocol": { - "type": "object", - "properties": { - "version": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy_ProxyProtocol_VERSION", - "javaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyProxyProtocolVERSION" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyProxyProtocol", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_TrafficPolicy_ProxyProtocol_VERSION": { - "type": "integer", - "javaEnums": [ - { - "name": "V1" - }, - { - "name": "V2" - } - ], - "enum": [ - 0, - 1 - ], - "javaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyProxyProtocolVERSION" - }, - "istio_io_api_networking_v1beta1_TrafficPolicy_TunnelSettings": { - "type": "object", - "properties": { - "protocol": { - "type": "string" - }, - "targetHost": { - "type": "string" - }, - "targetPort": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyTunnelSettings", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_VirtualService": { - "type": "object", - "properties": { - "exportTo": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "gateways": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "http": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRoute" - } - }, - "tcp": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TCPRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TCPRoute" - } - }, - "tls": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TLSRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TLSRoute" - } - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.VirtualServiceSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_WorkloadEntry": { - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "locality": { - "type": "string" - }, - "network": { - "type": "string" - }, - "ports": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,Long\u003e" - }, - "serviceAccount": { - "type": "string" - }, - "weight": { - "type": "integer" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntrySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_WorkloadGroup": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadGroup_ObjectMeta", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupObjectMeta" - }, - "probe": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ReadinessProbe", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbe" - }, - "template": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntrySpec" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_WorkloadGroup_ObjectMeta": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupObjectMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_WorkloadSelector": { - "type": "object", - "properties": { - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_networking_v1beta1_isHTTPBody_Specifier": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPBodySpecifier", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.HTTPBodyString", - "io.fabric8.istio.api.networking.v1beta1.HTTPBodyBytes" - ] - }, - "istio_io_api_networking_v1beta1_isHTTPFaultInjection_Abort_ErrorType": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionAbortErrorType", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttpStatus", - "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortGrpcStatus", - "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttp2Error" - ] - }, - "istio_io_api_networking_v1beta1_isHTTPFaultInjection_Delay_HttpDelayType": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionDelayHttpDelayType", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelayExponentialDelay", - "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelayFixedDelay" - ] - }, - "istio_io_api_networking_v1beta1_isHTTPRedirect_RedirectPort": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPRedirectRedirectPort", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectPort", - "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectDerivePort" - ] - }, - "istio_io_api_networking_v1beta1_isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBRingHash", - "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBMaglev" - ] - }, - "istio_io_api_networking_v1beta1_isLoadBalancerSettings_ConsistentHashLB_HashKey": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashKey", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpHeaderName", - "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpCookie", - "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBUseSourceIp", - "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpQueryParameterName" - ] - }, - "istio_io_api_networking_v1beta1_isLoadBalancerSettings_LbPolicy": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsLbPolicy", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHash", - "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimple" - ] - }, - "istio_io_api_networking_v1beta1_isReadinessProbe_HealthCheckMethod": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsReadinessProbeHealthCheckMethod", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeHttpGet", - "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeTcpSocket", - "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeExec" - ] - }, - "istio_io_api_networking_v1beta1_isStringMatch_MatchType": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsStringMatchMatchType", - "interfaceImpls": [ - "io.fabric8.istio.api.networking.v1beta1.StringMatchExact", - "io.fabric8.istio.api.networking.v1beta1.StringMatchRegex", - "io.fabric8.istio.api.networking.v1beta1.StringMatchPrefix" - ] - }, - "istio_io_api_security_v1beta1_AuthorizationPolicy": { - "type": "object", - "properties": { - "ActionDetail": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_isAuthorizationPolicy_ActionDetail", - "interfaceType": "io.fabric8.istio.api.security.v1beta1.IsAuthorizationPolicyActionDetail" - }, - "action": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_AuthorizationPolicy_Action", - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyAction" - }, - "rules": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Rule", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.Rule" - } - }, - "selector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.WorkloadSelector" - }, - "targetRef": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_PolicyTargetReference", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.PolicyTargetReference" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_AuthorizationPolicy_Action": { - "type": "integer", - "javaEnums": [ - { - "name": "ALLOW" - }, - { - "name": "DENY" - }, - { - "name": "AUDIT" - }, - { - "name": "CUSTOM" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyAction" - }, - "istio_io_api_security_v1beta1_AuthorizationPolicy_ExtensionProvider": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyExtensionProvider", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_AuthorizationPolicy_Provider": { - "type": "object", - "properties": { - "provider": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_AuthorizationPolicy_ExtensionProvider", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyExtensionProvider" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyProvider", - "javaInterfaces": [ - "io.fabric8.istio.api.security.v1beta1.IsAuthorizationPolicyActionDetail" - ] - }, - "istio_io_api_security_v1beta1_ClaimToHeader": { - "type": "object", - "properties": { - "claim": { - "type": "string" - }, - "header": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.ClaimToHeader", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_Condition": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "notValues": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "values": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.Condition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_JWTHeader": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "prefix": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.JWTHeader", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_JWTRule": { - "type": "object", - "properties": { - "audiences": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "forwardOriginalToken": { - "type": "boolean" - }, - "fromCookies": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "fromHeaders": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_JWTHeader", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.JWTHeader" - } - }, - "fromParams": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "issuer": { - "type": "string" - }, - "jwks": { - "type": "string" - }, - "jwksUri": { - "type": "string" - }, - "outputClaimToHeaders": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_ClaimToHeader", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.ClaimToHeader" - } - }, - "outputPayloadToHeader": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.JWTRule", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_Operation": { - "type": "object", - "properties": { - "hosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "methods": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notHosts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notMethods": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notPaths": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notPorts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "paths": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.Operation", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_PeerAuthentication": { - "type": "object", - "properties": { - "mtls": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_PeerAuthentication_MutualTLS", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLS" - }, - "portLevelMtls": { - "type": "object", - "existingJavaType": "java.util.Map\u003cLong,io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLS\u003e" - }, - "selector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.WorkloadSelector" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_PeerAuthentication_MutualTLS": { - "type": "object", - "properties": { - "mode": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_PeerAuthentication_MutualTLS_Mode", - "javaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLSMode" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLS", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_PeerAuthentication_MutualTLS_Mode": { - "type": "integer", - "javaEnums": [ - { - "name": "UNSET" - }, - { - "name": "DISABLE" - }, - { - "name": "PERMISSIVE" - }, - { - "name": "STRICT" - } - ], - "enum": [ - 0, - 1, - 2, - 3 - ], - "javaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLSMode" - }, - "istio_io_api_security_v1beta1_RequestAuthentication": { - "type": "object", - "properties": { - "jwtRules": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_JWTRule", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.JWTRule" - } - }, - "selector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.WorkloadSelector" - }, - "targetRef": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_PolicyTargetReference", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.PolicyTargetReference" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.RequestAuthenticationSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_Rule": { - "type": "object", - "properties": { - "from": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Rule_From", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RuleFrom" - } - }, - "to": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Rule_To", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RuleTo" - } - }, - "when": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Condition", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.Condition" - } - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.Rule", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_Rule_From": { - "type": "object", - "properties": { - "source": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Source", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.Source" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.RuleFrom", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_Rule_To": { - "type": "object", - "properties": { - "operation": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Operation", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.Operation" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.RuleTo", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_Source": { - "type": "object", - "properties": { - "ipBlocks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "namespaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notIpBlocks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notNamespaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notPrincipals": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notRemoteIpBlocks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "notRequestPrincipals": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "principals": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "remoteIpBlocks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "requestPrincipals": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.Source", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_security_v1beta1_isAuthorizationPolicy_ActionDetail": { - "type": "object", - "interfaceType": "io.fabric8.istio.api.security.v1beta1.IsAuthorizationPolicyActionDetail", - "interfaceImpls": [ - "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyProvider" - ] - }, - "istio_io_api_type_v1beta1_PolicyTargetReference": { - "type": "object", - "properties": { - "group": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "namespace": { - "type": "string" - } - }, - "javaType": "io.fabric8.istio.api.type.v1beta1.PolicyTargetReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_api_type_v1beta1_WorkloadSelector": { - "type": "object", - "properties": { - "matchLabels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.istio.api.type.v1beta1.WorkloadSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_DestinationRule": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "DestinationRule", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_DestinationRule", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.DestinationRuleSpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.DestinationRule", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_DestinationRuleList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_DestinationRule", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.DestinationRule" - } - }, - "kind": { - "type": "string", - "default": "DestinationRuleList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.DestinationRuleList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1beta1.DestinationRule\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_Gateway": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "Gateway", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Gateway", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.GatewaySpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Gateway", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_GatewayList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_Gateway", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Gateway" - } - }, - "kind": { - "type": "string", - "default": "GatewayList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.GatewayList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1beta1.Gateway\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_ProxyConfig": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "ProxyConfig", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ProxyConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ProxyConfigSpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ProxyConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_ProxyConfigList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_ProxyConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ProxyConfig" - } - }, - "kind": { - "type": "string", - "default": "ProxyConfigList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ProxyConfigList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1beta1.ProxyConfig\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_ServiceEntry": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "ServiceEntry", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServiceEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntrySpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_ServiceEntryList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_ServiceEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntry" - } - }, - "kind": { - "type": "string", - "default": "ServiceEntryList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntryList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1beta1.ServiceEntry\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_Sidecar": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "Sidecar", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.SidecarSpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.Sidecar", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_SidecarList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Sidecar" - } - }, - "kind": { - "type": "string", - "default": "SidecarList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.SidecarList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1beta1.Sidecar\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_VirtualService": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "VirtualService", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_VirtualService", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.VirtualServiceSpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.VirtualService", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_VirtualServiceList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_VirtualService", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.VirtualService" - } - }, - "kind": { - "type": "string", - "default": "VirtualServiceList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.VirtualServiceList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1beta1.VirtualService\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadEntry": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "WorkloadEntry", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntrySpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntry", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadEntryList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntry" - } - }, - "kind": { - "type": "string", - "default": "WorkloadEntryList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntryList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1beta1.WorkloadEntry\u003e" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadGroup": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "WorkloadGroup", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadGroup", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupSpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroup", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadGroupList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "networking.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadGroup", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroup" - } - }, - "kind": { - "type": "string", - "default": "WorkloadGroupList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.networking.v1beta1.WorkloadGroup\u003e" - ] - }, - "istio_io_client-go_pkg_apis_security_v1beta1_AuthorizationPolicy": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "security.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "AuthorizationPolicy", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_AuthorizationPolicy", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicySpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_security_v1beta1_AuthorizationPolicyList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "security.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_AuthorizationPolicy", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicy" - } - }, - "kind": { - "type": "string", - "default": "AuthorizationPolicyList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.security.v1beta1.AuthorizationPolicy\u003e" - ] - }, - "istio_io_client-go_pkg_apis_security_v1beta1_PeerAuthentication": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "security.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "PeerAuthentication", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_PeerAuthentication", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationSpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthentication", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_security_v1beta1_PeerAuthenticationList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "security.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_PeerAuthentication", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthentication" - } - }, - "kind": { - "type": "string", - "default": "PeerAuthenticationList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.security.v1beta1.PeerAuthentication\u003e" - ] - }, - "istio_io_client-go_pkg_apis_security_v1beta1_RequestAuthentication": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "security.istio.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "RequestAuthentication", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_RequestAuthentication", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RequestAuthenticationSpec" - }, - "status": { - "existingJavaType": "io.fabric8.istio.api.meta.v1alpha1.IstioStatus" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.RequestAuthentication", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "istio_io_client-go_pkg_apis_security_v1beta1_RequestAuthenticationList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "security.istio.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_RequestAuthentication", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RequestAuthentication" - } - }, - "kind": { - "type": "string", - "default": "RequestAuthenticationList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.istio.api.security.v1beta1.RequestAuthenticationList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.istio.api.security.v1beta1.RequestAuthentication\u003e" - ] - } - }, - "type": "object", - "properties": { - "istio_io_api_networking_v1beta1_CaptureMode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_CaptureMode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.CaptureMode" - }, - "istio_io_api_networking_v1beta1_ClientTLSSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ClientTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ClientTLSSettings" - }, - "istio_io_api_networking_v1beta1_ClientTLSSettings_TLSmode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ClientTLSSettings_TLSmode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ClientTLSSettingsTLSmode" - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettings" - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings_HTTPSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings_HTTPSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsHTTPSettings" - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy" - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings_TCPSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings_TCPSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsTCPSettings" - }, - "istio_io_api_networking_v1beta1_ConnectionPoolSettings_TCPSettings_TcpKeepalive": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ConnectionPoolSettings_TCPSettings_TcpKeepalive", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ConnectionPoolSettingsTCPSettingsTcpKeepalive" - }, - "istio_io_api_networking_v1beta1_Delegate": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Delegate", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Delegate" - }, - "istio_io_api_networking_v1beta1_Destination": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Destination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Destination" - }, - "istio_io_api_networking_v1beta1_DestinationRule": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_DestinationRule", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.DestinationRuleSpec" - }, - "istio_io_api_networking_v1beta1_ExecHealthCheckConfig": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ExecHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ExecHealthCheckConfig" - }, - "istio_io_api_networking_v1beta1_Gateway": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Gateway", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.GatewaySpec" - }, - "istio_io_api_networking_v1beta1_HTTPBody": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPBody", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPBody" - }, - "istio_io_api_networking_v1beta1_HTTPBody_Bytes": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPBody_Bytes", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPBodyBytes" - }, - "istio_io_api_networking_v1beta1_HTTPBody_String_": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPBody_String_", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPBodyString" - }, - "istio_io_api_networking_v1beta1_HTTPDirectResponse": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPDirectResponse", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPDirectResponse" - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjection" - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbort" - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_GrpcStatus": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_GrpcStatus", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortGrpcStatus" - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_Http2Error": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_Http2Error", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttp2Error" - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_HttpStatus": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Abort_HttpStatus", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttpStatus" - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelay" - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay_ExponentialDelay": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay_ExponentialDelay", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelayExponentialDelay" - }, - "istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay_FixedDelay": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPFaultInjection_Delay_FixedDelay", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelayFixedDelay" - }, - "istio_io_api_networking_v1beta1_HTTPHeader": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPHeader", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPHeader" - }, - "istio_io_api_networking_v1beta1_HTTPHealthCheckConfig": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPHealthCheckConfig" - }, - "istio_io_api_networking_v1beta1_HTTPMatchRequest": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPMatchRequest", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPMatchRequest" - }, - "istio_io_api_networking_v1beta1_HTTPMirrorPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPMirrorPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPMirrorPolicy" - }, - "istio_io_api_networking_v1beta1_HTTPRedirect": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRedirect", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirect" - }, - "istio_io_api_networking_v1beta1_HTTPRedirect_DerivePort": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRedirect_DerivePort", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectDerivePort" - }, - "istio_io_api_networking_v1beta1_HTTPRedirect_Port": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRedirect_Port", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectPort" - }, - "istio_io_api_networking_v1beta1_HTTPRedirect_RedirectPortSelection": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRedirect_RedirectPortSelection", - "javaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRedirectRedirectPortSelection" - }, - "istio_io_api_networking_v1beta1_HTTPRetry": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRetry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRetry" - }, - "istio_io_api_networking_v1beta1_HTTPRewrite": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRewrite", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRewrite" - }, - "istio_io_api_networking_v1beta1_HTTPRoute": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRoute" - }, - "istio_io_api_networking_v1beta1_HTTPRouteDestination": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_HTTPRouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HTTPRouteDestination" - }, - "istio_io_api_networking_v1beta1_Headers": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Headers", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Headers" - }, - "istio_io_api_networking_v1beta1_Headers_HeaderOperations": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Headers_HeaderOperations", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.HeadersHeaderOperations" - }, - "istio_io_api_networking_v1beta1_IstioEgressListener": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_IstioEgressListener", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.IstioEgressListener" - }, - "istio_io_api_networking_v1beta1_IstioIngressListener": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_IstioIngressListener", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.IstioIngressListener" - }, - "istio_io_api_networking_v1beta1_L4MatchAttributes": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_L4MatchAttributes", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.L4MatchAttributes" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettings" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHash": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHash", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHash" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLB" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HTTPCookie": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HTTPCookie", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpCookieValue" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpCookie": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpCookie", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpCookie" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpHeaderName": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpHeaderName", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpHeaderName" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpQueryParameterName" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_MagLev": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_MagLev", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBMagLevValue" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_Maglev": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_Maglev", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBMaglev" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_RingHash": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_RingHash", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBRingHashValue" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_RingHashWrapper": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_RingHashWrapper", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBRingHash" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_UseSourceIp": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_ConsistentHashLB_UseSourceIp", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBUseSourceIp" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_Simple": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_Simple", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimple" - }, - "istio_io_api_networking_v1beta1_LoadBalancerSettings_SimpleLB": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LoadBalancerSettings_SimpleLB", - "javaType": "io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimpleLB" - }, - "istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSetting" - }, - "istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting_Distribute": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting_Distribute", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSettingDistribute" - }, - "istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting_Failover": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_LocalityLoadBalancerSetting_Failover", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.LocalityLoadBalancerSettingFailover" - }, - "istio_io_api_networking_v1beta1_OutboundTrafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_OutboundTrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.OutboundTrafficPolicy" - }, - "istio_io_api_networking_v1beta1_OutboundTrafficPolicy_Mode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_OutboundTrafficPolicy_Mode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.OutboundTrafficPolicyMode" - }, - "istio_io_api_networking_v1beta1_OutlierDetection": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_OutlierDetection", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.OutlierDetection" - }, - "istio_io_api_networking_v1beta1_Percent": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Percent", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Percent" - }, - "istio_io_api_networking_v1beta1_Port": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Port", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Port" - }, - "istio_io_api_networking_v1beta1_PortSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_PortSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.PortSelector" - }, - "istio_io_api_networking_v1beta1_ProxyConfig": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ProxyConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ProxyConfigSpec" - }, - "istio_io_api_networking_v1beta1_ProxyImage": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ProxyImage", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ProxyImage" - }, - "istio_io_api_networking_v1beta1_ReadinessProbe": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ReadinessProbe", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbe" - }, - "istio_io_api_networking_v1beta1_ReadinessProbe_Exec": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ReadinessProbe_Exec", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeExec" - }, - "istio_io_api_networking_v1beta1_ReadinessProbe_HttpGet": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ReadinessProbe_HttpGet", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeHttpGet" - }, - "istio_io_api_networking_v1beta1_ReadinessProbe_TcpSocket": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ReadinessProbe_TcpSocket", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ReadinessProbeTcpSocket" - }, - "istio_io_api_networking_v1beta1_RegexRewrite": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_RegexRewrite", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.RegexRewrite" - }, - "istio_io_api_networking_v1beta1_RouteDestination": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_RouteDestination", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.RouteDestination" - }, - "istio_io_api_networking_v1beta1_Server": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Server", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Server" - }, - "istio_io_api_networking_v1beta1_ServerTLSSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServerTLSSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettings" - }, - "istio_io_api_networking_v1beta1_ServerTLSSettings_TLSProtocol": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServerTLSSettings_TLSProtocol", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSProtocol" - }, - "istio_io_api_networking_v1beta1_ServerTLSSettings_TLSmode": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServerTLSSettings_TLSmode", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSmode" - }, - "istio_io_api_networking_v1beta1_ServiceEntry": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServiceEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntrySpec" - }, - "istio_io_api_networking_v1beta1_ServiceEntry_Location": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServiceEntry_Location", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntryLocation" - }, - "istio_io_api_networking_v1beta1_ServiceEntry_Resolution": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServiceEntry_Resolution", - "javaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntryResolution" - }, - "istio_io_api_networking_v1beta1_ServicePort": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_ServicePort", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServicePort" - }, - "istio_io_api_networking_v1beta1_Sidecar": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.SidecarSpec" - }, - "istio_io_api_networking_v1beta1_SidecarPort": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_SidecarPort", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.SidecarPort" - }, - "istio_io_api_networking_v1beta1_StringMatch": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_StringMatch", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.StringMatch" - }, - "istio_io_api_networking_v1beta1_StringMatch_Exact": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_StringMatch_Exact", - "javaType": "io.fabric8.istio.api.networking.v1beta1.StringMatchExact" - }, - "istio_io_api_networking_v1beta1_StringMatch_Prefix": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_StringMatch_Prefix", - "javaType": "io.fabric8.istio.api.networking.v1beta1.StringMatchPrefix" - }, - "istio_io_api_networking_v1beta1_StringMatch_Regex": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_StringMatch_Regex", - "javaType": "io.fabric8.istio.api.networking.v1beta1.StringMatchRegex" - }, - "istio_io_api_networking_v1beta1_Subset": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_Subset", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Subset" - }, - "istio_io_api_networking_v1beta1_TCPHealthCheckConfig": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TCPHealthCheckConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TCPHealthCheckConfig" - }, - "istio_io_api_networking_v1beta1_TCPRoute": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TCPRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TCPRoute" - }, - "istio_io_api_networking_v1beta1_TLSMatchAttributes": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TLSMatchAttributes", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TLSMatchAttributes" - }, - "istio_io_api_networking_v1beta1_TLSRoute": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TLSRoute", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TLSRoute" - }, - "istio_io_api_networking_v1beta1_TrafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicy" - }, - "istio_io_api_networking_v1beta1_TrafficPolicy_PortTrafficPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy_PortTrafficPolicy", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyPortTrafficPolicy" - }, - "istio_io_api_networking_v1beta1_TrafficPolicy_ProxyProtocol": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy_ProxyProtocol", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyProxyProtocol" - }, - "istio_io_api_networking_v1beta1_TrafficPolicy_ProxyProtocol_VERSION": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy_ProxyProtocol_VERSION", - "javaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyProxyProtocolVERSION" - }, - "istio_io_api_networking_v1beta1_TrafficPolicy_TunnelSettings": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_TrafficPolicy_TunnelSettings", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.TrafficPolicyTunnelSettings" - }, - "istio_io_api_networking_v1beta1_VirtualService": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_VirtualService", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.VirtualServiceSpec" - }, - "istio_io_api_networking_v1beta1_WorkloadEntry": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntrySpec" - }, - "istio_io_api_networking_v1beta1_WorkloadGroup": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadGroup", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupSpec" - }, - "istio_io_api_networking_v1beta1_WorkloadGroup_ObjectMeta": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadGroup_ObjectMeta", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupObjectMeta" - }, - "istio_io_api_networking_v1beta1_WorkloadSelector": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadSelector" - }, - "istio_io_api_networking_v1beta1_isHTTPBody_Specifier": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isHTTPBody_Specifier", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPBodySpecifier" - }, - "istio_io_api_networking_v1beta1_isHTTPFaultInjection_Abort_ErrorType": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isHTTPFaultInjection_Abort_ErrorType", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionAbortErrorType" - }, - "istio_io_api_networking_v1beta1_isHTTPFaultInjection_Delay_HttpDelayType": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isHTTPFaultInjection_Delay_HttpDelayType", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPFaultInjectionDelayHttpDelayType" - }, - "istio_io_api_networking_v1beta1_isHTTPRedirect_RedirectPort": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isHTTPRedirect_RedirectPort", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsHTTPRedirectRedirectPort" - }, - "istio_io_api_networking_v1beta1_isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isLoadBalancerSettings_ConsistentHashLB_HashAlgorithm", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashAlgorithm" - }, - "istio_io_api_networking_v1beta1_isLoadBalancerSettings_ConsistentHashLB_HashKey": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isLoadBalancerSettings_ConsistentHashLB_HashKey", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsConsistentHashLBHashKey" - }, - "istio_io_api_networking_v1beta1_isLoadBalancerSettings_LbPolicy": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isLoadBalancerSettings_LbPolicy", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsLoadBalancerSettingsLbPolicy" - }, - "istio_io_api_networking_v1beta1_isReadinessProbe_HealthCheckMethod": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isReadinessProbe_HealthCheckMethod", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsReadinessProbeHealthCheckMethod" - }, - "istio_io_api_networking_v1beta1_isStringMatch_MatchType": { - "$ref": "#/definitions/istio_io_api_networking_v1beta1_isStringMatch_MatchType", - "interfaceType": "io.fabric8.istio.api.networking.v1beta1.IsStringMatchMatchType" - }, - "istio_io_api_security_v1beta1_AuthorizationPolicy": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_AuthorizationPolicy", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicySpec" - }, - "istio_io_api_security_v1beta1_AuthorizationPolicy_Action": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_AuthorizationPolicy_Action", - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyAction" - }, - "istio_io_api_security_v1beta1_AuthorizationPolicy_ExtensionProvider": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_AuthorizationPolicy_ExtensionProvider", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyExtensionProvider" - }, - "istio_io_api_security_v1beta1_AuthorizationPolicy_Provider": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_AuthorizationPolicy_Provider", - "javaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyProvider" - }, - "istio_io_api_security_v1beta1_ClaimToHeader": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_ClaimToHeader", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.ClaimToHeader" - }, - "istio_io_api_security_v1beta1_Condition": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Condition", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.Condition" - }, - "istio_io_api_security_v1beta1_JWTHeader": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_JWTHeader", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.JWTHeader" - }, - "istio_io_api_security_v1beta1_JWTRule": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_JWTRule", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.JWTRule" - }, - "istio_io_api_security_v1beta1_Operation": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Operation", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.Operation" - }, - "istio_io_api_security_v1beta1_PeerAuthentication": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_PeerAuthentication", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationSpec" - }, - "istio_io_api_security_v1beta1_PeerAuthentication_MutualTLS": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_PeerAuthentication_MutualTLS", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLS" - }, - "istio_io_api_security_v1beta1_PeerAuthentication_MutualTLS_Mode": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_PeerAuthentication_MutualTLS_Mode", - "javaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLSMode" - }, - "istio_io_api_security_v1beta1_RequestAuthentication": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_RequestAuthentication", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RequestAuthenticationSpec" - }, - "istio_io_api_security_v1beta1_Rule": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Rule", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.Rule" - }, - "istio_io_api_security_v1beta1_Rule_From": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Rule_From", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RuleFrom" - }, - "istio_io_api_security_v1beta1_Rule_To": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Rule_To", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RuleTo" - }, - "istio_io_api_security_v1beta1_Source": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_Source", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.Source" - }, - "istio_io_api_security_v1beta1_isAuthorizationPolicy_ActionDetail": { - "$ref": "#/definitions/istio_io_api_security_v1beta1_isAuthorizationPolicy_ActionDetail", - "interfaceType": "io.fabric8.istio.api.security.v1beta1.IsAuthorizationPolicyActionDetail" - }, - "istio_io_api_type_v1beta1_PolicyTargetReference": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_PolicyTargetReference", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.PolicyTargetReference" - }, - "istio_io_api_type_v1beta1_WorkloadSelector": { - "$ref": "#/definitions/istio_io_api_type_v1beta1_WorkloadSelector", - "existingJavaType": "io.fabric8.istio.api.type.v1beta1.WorkloadSelector" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_DestinationRule": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_DestinationRule", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.DestinationRule" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_DestinationRuleList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_DestinationRuleList", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.DestinationRuleList" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_Gateway": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_Gateway", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Gateway" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_GatewayList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_GatewayList", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.GatewayList" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_ProxyConfig": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_ProxyConfig", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ProxyConfig" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_ProxyConfigList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_ProxyConfigList", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ProxyConfigList" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_ServiceEntry": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_ServiceEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntry" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_ServiceEntryList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_ServiceEntryList", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.ServiceEntryList" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_Sidecar": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.Sidecar" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_SidecarList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_SidecarList", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.SidecarList" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_VirtualService": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_VirtualService", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.VirtualService" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_VirtualServiceList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_VirtualServiceList", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.VirtualServiceList" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadEntry": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadEntry", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntry" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadEntryList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadEntryList", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadEntryList" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadGroup": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadGroup", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroup" - }, - "istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadGroupList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_networking_v1beta1_WorkloadGroupList", - "existingJavaType": "io.fabric8.istio.api.networking.v1beta1.WorkloadGroupList" - }, - "istio_io_client-go_pkg_apis_security_v1beta1_AuthorizationPolicy": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_AuthorizationPolicy", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicy" - }, - "istio_io_client-go_pkg_apis_security_v1beta1_AuthorizationPolicyList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_AuthorizationPolicyList", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyList" - }, - "istio_io_client-go_pkg_apis_security_v1beta1_PeerAuthentication": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_PeerAuthentication", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthentication" - }, - "istio_io_client-go_pkg_apis_security_v1beta1_PeerAuthenticationList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_PeerAuthenticationList", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.PeerAuthenticationList" - }, - "istio_io_client-go_pkg_apis_security_v1beta1_RequestAuthentication": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_RequestAuthentication", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RequestAuthentication" - }, - "istio_io_client-go_pkg_apis_security_v1beta1_RequestAuthenticationList": { - "$ref": "#/definitions/istio_io_client-go_pkg_apis_security_v1beta1_RequestAuthenticationList", - "existingJavaType": "io.fabric8.istio.api.security.v1beta1.RequestAuthenticationList" - } - }, - "additionalProperties": false -} diff --git a/extensions/istio/model/pom.xml b/extensions/istio/model/pom.xml new file mode 100644 index 00000000000..38f55e1736b --- /dev/null +++ b/extensions/istio/model/pom.xml @@ -0,0 +1,143 @@ + + + + 4.0.0 + + io.fabric8 + istio-extension-pom + 7.0-SNAPSHOT + + + istio-model + bundle + Fabric8 :: Istio :: Model + + + + io.fabric8.kubernetes.api.builder, + !io.fabric8.istio.*, + * + + + io.fabric8.istio.api.api.meta.v1alpha1.*, + io.fabric8.istio.api.api.type.v1beta1.*, + io.fabric8.istio.api.analysis.v1alpha1.*, + io.fabric8.istio.api.api.analysis.v1alpha1.*, + io.fabric8.istio.api.extensions.v1alpha1.*, + io.fabric8.istio.api.api.extensions.v1alpha1.*, + io.fabric8.istio.api.networking.v1alpha3.*, + io.fabric8.istio.api.api.networking.v1alpha3.*, + io.fabric8.istio.api.networking.v1beta1.*, + io.fabric8.istio.api.api.networking.v1beta1.*, + io.fabric8.istio.api.networking.v1.*, + io.fabric8.istio.api.api.security.v1alpha1.*, + io.fabric8.istio.api.security.v1beta1.*, + io.fabric8.istio.api.api.security.v1beta1.*, + io.fabric8.istio.api.security.v1.*, + io.fabric8.istio.api.telemetry.v1alpha1.*, + io.fabric8.istio.api.api.telemetry.v1alpha1.*, + io.fabric8.istio.api.telemetry.v1.*, + + + + + + io.fabric8 + kubernetes-model-core + + + org.junit.jupiter + junit-jupiter-engine + + + org.assertj + assertj-core + + + + + + generate + + + + io.fabric8 + openapi-model-generator-maven-plugin + + + + ${openapi.schema.io.istio} + + + ^io\.istio\..*$ + + + + + io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_HTTPCookie + LoadBalancerSettingsConsistentHashLBHTTPCookie_ + + + io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_MagLev + LoadBalancerSettingsConsistentHashLBMagLev_ + + + + + #/components/schemas/org.golang.google.protobuf.types.known.durationpb.Duration + java.lang.String + + + #/components/schemas/org.golang.google.protobuf.types.known.structpb.Struct + java.lang.Object + + + #/components/schemas/org.golang.google.protobuf.types.known.timestamppb.Timestamp + java.lang.String + + + #/components/schemas/org.golang.google.protobuf.types.known.wrapperspb.BoolValue + java.lang.Boolean + + + #/components/schemas/org.golang.google.protobuf.types.known.wrapperspb.DoubleValue + java.lang.Double + + + #/components/schemas/org.golang.google.protobuf.types.known.wrapperspb.Int32Value + java.lang.Integer + + + #/components/schemas/org.golang.google.protobuf.types.known.wrapperspb.UInt32Value + java.lang.Integer + + + + deprecatedAllowOrigin + + + + + + + + + diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBase.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBase.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBase.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBase.java index 1e76b33642d..077a557bc10 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBase.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBase.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.analysis.v1alpha1; +package io.fabric8.istio.api.api.analysis.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBaseLevel.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBaseLevel.java new file mode 100644 index 00000000000..ed401768af4 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBaseLevel.java @@ -0,0 +1,39 @@ + +package io.fabric8.istio.api.api.analysis.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum AnalysisMessageBaseLevel +{ + ERROR(3), + INFO(12), + UNKNOWN(0), + WARNING(8); + private final int value; + private AnalysisMessageBaseLevel(int value) { + this.value = value; + } + + @JsonCreator + public static AnalysisMessageBaseLevel fromValue(Object value) { + if (value instanceof String) { + for (AnalysisMessageBaseLevel e : AnalysisMessageBaseLevel.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (AnalysisMessageBaseLevel e : AnalysisMessageBaseLevel.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseType.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBaseType.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseType.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBaseType.java index 5d2f3ab698f..0499538d4d5 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/analysis/v1alpha1/AnalysisMessageBaseType.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageBaseType.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.analysis.v1alpha1; +package io.fabric8.istio.api.api.analysis.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHealthCheckConfig.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageWeakSchema.java similarity index 63% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHealthCheckConfig.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageWeakSchema.java index 4a8f97163dc..99782a118c9 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHealthCheckConfig.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageWeakSchema.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.analysis.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -37,11 +37,10 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "host", - "httpHeaders", - "path", - "port", - "scheme" + "args", + "description", + "messageBase", + "template" }) @ToString @EqualsAndHashCode @@ -65,20 +64,18 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPHealthCheckConfig implements Editable , KubernetesResource +public class AnalysisMessageWeakSchema implements Editable , KubernetesResource { - @JsonProperty("host") - private String host; - @JsonProperty("httpHeaders") + @JsonProperty("args") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List httpHeaders = new ArrayList<>(); - @JsonProperty("path") - private String path; - @JsonProperty("port") - private Integer port; - @JsonProperty("scheme") - private String scheme; + private List args = new ArrayList<>(); + @JsonProperty("description") + private String description; + @JsonProperty("messageBase") + private AnalysisMessageBase messageBase; + @JsonProperty("template") + private String template; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -86,76 +83,65 @@ public class HTTPHealthCheckConfig implements Editable httpHeaders, String path, Integer port, String scheme) { + public AnalysisMessageWeakSchema(List args, String description, AnalysisMessageBase messageBase, String template) { super(); - this.host = host; - this.httpHeaders = httpHeaders; - this.path = path; - this.port = port; - this.scheme = scheme; + this.args = args; + this.description = description; + this.messageBase = messageBase; + this.template = template; } - @JsonProperty("host") - public String getHost() { - return host; - } - - @JsonProperty("host") - public void setHost(String host) { - this.host = host; - } - - @JsonProperty("httpHeaders") + @JsonProperty("args") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHttpHeaders() { - return httpHeaders; + public List getArgs() { + return args; } - @JsonProperty("httpHeaders") - public void setHttpHeaders(List httpHeaders) { - this.httpHeaders = httpHeaders; + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; } - @JsonProperty("path") - public String getPath() { - return path; + @JsonProperty("description") + public String getDescription() { + return description; } - @JsonProperty("path") - public void setPath(String path) { - this.path = path; + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; } - @JsonProperty("port") - public Integer getPort() { - return port; + @JsonProperty("messageBase") + public AnalysisMessageBase getMessageBase() { + return messageBase; } - @JsonProperty("port") - public void setPort(Integer port) { - this.port = port; + @JsonProperty("messageBase") + public void setMessageBase(AnalysisMessageBase messageBase) { + this.messageBase = messageBase; } - @JsonProperty("scheme") - public String getScheme() { - return scheme; + @JsonProperty("template") + public String getTemplate() { + return template; } - @JsonProperty("scheme") - public void setScheme(String scheme) { - this.scheme = scheme; + @JsonProperty("template") + public void setTemplate(String template) { + this.template = template; } @JsonIgnore - public HTTPHealthCheckConfigBuilder edit() { - return new HTTPHealthCheckConfigBuilder(this); + public AnalysisMessageWeakSchemaBuilder edit() { + return new AnalysisMessageWeakSchemaBuilder(this); } @JsonIgnore - public HTTPHealthCheckConfigBuilder toBuilder() { + public AnalysisMessageWeakSchemaBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Delegate.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageWeakSchemaArgType.java similarity index 81% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Delegate.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageWeakSchemaArgType.java index 177ac2b4552..f0904b59628 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Delegate.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/AnalysisMessageWeakSchemaArgType.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.analysis.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -35,8 +35,8 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "name", - "namespace" + "goType", + "name" }) @ToString @EqualsAndHashCode @@ -60,13 +60,13 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Delegate implements Editable , KubernetesResource +public class AnalysisMessageWeakSchemaArgType implements Editable , KubernetesResource { + @JsonProperty("goType") + private String goType; @JsonProperty("name") private String name; - @JsonProperty("namespace") - private String namespace; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -74,13 +74,23 @@ public class Delegate implements Editable , KubernetesResource * No args constructor for use in serialization * */ - public Delegate() { + public AnalysisMessageWeakSchemaArgType() { } - public Delegate(String name, String namespace) { + public AnalysisMessageWeakSchemaArgType(String goType, String name) { super(); + this.goType = goType; this.name = name; - this.namespace = namespace; + } + + @JsonProperty("goType") + public String getGoType() { + return goType; + } + + @JsonProperty("goType") + public void setGoType(String goType) { + this.goType = goType; } @JsonProperty("name") @@ -93,23 +103,13 @@ public void setName(String name) { this.name = name; } - @JsonProperty("namespace") - public String getNamespace() { - return namespace; - } - - @JsonProperty("namespace") - public void setNamespace(String namespace) { - this.namespace = namespace; - } - @JsonIgnore - public DelegateBuilder edit() { - return new DelegateBuilder(this); + public AnalysisMessageWeakSchemaArgTypeBuilder edit() { + return new AnalysisMessageWeakSchemaArgTypeBuilder(this); } @JsonIgnore - public DelegateBuilder toBuilder() { + public AnalysisMessageWeakSchemaArgTypeBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioEgressListener.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/GenericAnalysisMessage.java similarity index 66% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioEgressListener.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/GenericAnalysisMessage.java index 971ebd72be2..a2f618c8190 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IstioEgressListener.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/GenericAnalysisMessage.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.analysis.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -37,10 +37,9 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "bind", - "captureMode", - "hosts", - "port" + "args", + "messageBase", + "resourcePaths" }) @ToString @EqualsAndHashCode @@ -64,18 +63,17 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class IstioEgressListener implements Editable , KubernetesResource +public class GenericAnalysisMessage implements Editable , KubernetesResource { - @JsonProperty("bind") - private String bind; - @JsonProperty("captureMode") - private CaptureMode captureMode; - @JsonProperty("hosts") + @JsonProperty("args") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object args; + @JsonProperty("messageBase") + private AnalysisMessageBase messageBase; + @JsonProperty("resourcePaths") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hosts = new ArrayList<>(); - @JsonProperty("port") - private SidecarPort port; + private List resourcePaths = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -83,65 +81,55 @@ public class IstioEgressListener implements Editable * No args constructor for use in serialization * */ - public IstioEgressListener() { + public GenericAnalysisMessage() { } - public IstioEgressListener(String bind, CaptureMode captureMode, List hosts, SidecarPort port) { + public GenericAnalysisMessage(Object args, AnalysisMessageBase messageBase, List resourcePaths) { super(); - this.bind = bind; - this.captureMode = captureMode; - this.hosts = hosts; - this.port = port; + this.args = args; + this.messageBase = messageBase; + this.resourcePaths = resourcePaths; } - @JsonProperty("bind") - public String getBind() { - return bind; + @JsonProperty("args") + public Object getArgs() { + return args; } - @JsonProperty("bind") - public void setBind(String bind) { - this.bind = bind; + @JsonProperty("args") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setArgs(Object args) { + this.args = args; } - @JsonProperty("captureMode") - public CaptureMode getCaptureMode() { - return captureMode; + @JsonProperty("messageBase") + public AnalysisMessageBase getMessageBase() { + return messageBase; } - @JsonProperty("captureMode") - public void setCaptureMode(CaptureMode captureMode) { - this.captureMode = captureMode; + @JsonProperty("messageBase") + public void setMessageBase(AnalysisMessageBase messageBase) { + this.messageBase = messageBase; } - @JsonProperty("hosts") + @JsonProperty("resourcePaths") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHosts() { - return hosts; + public List getResourcePaths() { + return resourcePaths; } - @JsonProperty("hosts") - public void setHosts(List hosts) { - this.hosts = hosts; - } - - @JsonProperty("port") - public SidecarPort getPort() { - return port; - } - - @JsonProperty("port") - public void setPort(SidecarPort port) { - this.port = port; + @JsonProperty("resourcePaths") + public void setResourcePaths(List resourcePaths) { + this.resourcePaths = resourcePaths; } @JsonIgnore - public IstioEgressListenerBuilder edit() { - return new IstioEgressListenerBuilder(this); + public GenericAnalysisMessageBuilder edit() { + return new GenericAnalysisMessageBuilder(this); } @JsonIgnore - public IstioEgressListenerBuilder toBuilder() { + public GenericAnalysisMessageBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPDirectResponse.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/InternalErrorAnalysisMessage.java similarity index 73% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPDirectResponse.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/InternalErrorAnalysisMessage.java index 3b2d9ad0651..ec7d9e1eb39 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPDirectResponse.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/analysis/v1alpha1/InternalErrorAnalysisMessage.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.analysis.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -35,8 +35,8 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "body", - "status" + "detail", + "messageBase" }) @ToString @EqualsAndHashCode @@ -60,13 +60,13 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPDirectResponse implements Editable , KubernetesResource +public class InternalErrorAnalysisMessage implements Editable , KubernetesResource { - @JsonProperty("body") - private HTTPBody body; - @JsonProperty("status") - private Integer status; + @JsonProperty("detail") + private String detail; + @JsonProperty("messageBase") + private AnalysisMessageBase messageBase; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -74,42 +74,42 @@ public class HTTPDirectResponse implements Editable , * No args constructor for use in serialization * */ - public HTTPDirectResponse() { + public InternalErrorAnalysisMessage() { } - public HTTPDirectResponse(HTTPBody body, Integer status) { + public InternalErrorAnalysisMessage(String detail, AnalysisMessageBase messageBase) { super(); - this.body = body; - this.status = status; + this.detail = detail; + this.messageBase = messageBase; } - @JsonProperty("body") - public HTTPBody getBody() { - return body; + @JsonProperty("detail") + public String getDetail() { + return detail; } - @JsonProperty("body") - public void setBody(HTTPBody body) { - this.body = body; + @JsonProperty("detail") + public void setDetail(String detail) { + this.detail = detail; } - @JsonProperty("status") - public Integer getStatus() { - return status; + @JsonProperty("messageBase") + public AnalysisMessageBase getMessageBase() { + return messageBase; } - @JsonProperty("status") - public void setStatus(Integer status) { - this.status = status; + @JsonProperty("messageBase") + public void setMessageBase(AnalysisMessageBase messageBase) { + this.messageBase = messageBase; } @JsonIgnore - public HTTPDirectResponseBuilder edit() { - return new HTTPDirectResponseBuilder(this); + public InternalErrorAnalysisMessageBuilder edit() { + return new InternalErrorAnalysisMessageBuilder(this); } @JsonIgnore - public HTTPDirectResponseBuilder toBuilder() { + public InternalErrorAnalysisMessageBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/EnvValueSource.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/EnvValueSource.java new file mode 100644 index 00000000000..854bd68cee4 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/EnvValueSource.java @@ -0,0 +1,37 @@ + +package io.fabric8.istio.api.api.extensions.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum EnvValueSource +{ + HOST(1), + INLINE(0); + private final int value; + private EnvValueSource(int value) { + this.value = value; + } + + @JsonCreator + public static EnvValueSource fromValue(Object value) { + if (value instanceof String) { + for (EnvValueSource e : EnvValueSource.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (EnvValueSource e : EnvValueSource.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/EnvVar.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/EnvVar.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/EnvVar.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/EnvVar.java index 91b3943f826..a72d788ddf8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/EnvVar.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/EnvVar.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha1; +package io.fabric8.istio.api.api.extensions.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/FailStrategy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/FailStrategy.java new file mode 100644 index 00000000000..457d117c769 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/FailStrategy.java @@ -0,0 +1,37 @@ + +package io.fabric8.istio.api.api.extensions.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum FailStrategy +{ + FAIL_CLOSE(0), + FAIL_OPEN(1); + private final int value; + private FailStrategy(int value) { + this.value = value; + } + + @JsonCreator + public static FailStrategy fromValue(Object value) { + if (value instanceof String) { + for (FailStrategy e : FailStrategy.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (FailStrategy e : FailStrategy.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PluginPhase.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PluginPhase.java new file mode 100644 index 00000000000..8c52cd3e6b3 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PluginPhase.java @@ -0,0 +1,39 @@ + +package io.fabric8.istio.api.api.extensions.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum PluginPhase +{ + AUTHN(1), + AUTHZ(2), + STATS(3), + UNSPECIFIED_PHASE(0); + private final int value; + private PluginPhase(int value) { + this.value = value; + } + + @JsonCreator + public static PluginPhase fromValue(Object value) { + if (value instanceof String) { + for (PluginPhase e : PluginPhase.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (PluginPhase e : PluginPhase.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PluginType.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PluginType.java new file mode 100644 index 00000000000..a31d9419b0b --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PluginType.java @@ -0,0 +1,38 @@ + +package io.fabric8.istio.api.api.extensions.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum PluginType +{ + HTTP(1), + NETWORK(2), + UNSPECIFIED_PLUGIN_TYPE(0); + private final int value; + private PluginType(int value) { + this.value = value; + } + + @JsonCreator + public static PluginType fromValue(Object value) { + if (value instanceof String) { + for (PluginType e : PluginType.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (PluginType e : PluginType.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PullPolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PullPolicy.java new file mode 100644 index 00000000000..5c2c50f104e --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/PullPolicy.java @@ -0,0 +1,38 @@ + +package io.fabric8.istio.api.api.extensions.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum PullPolicy +{ + Always(2), + IfNotPresent(1), + UNSPECIFIED_POLICY(0); + private final int value; + private PullPolicy(int value) { + this.value = value; + } + + @JsonCreator + public static PullPolicy fromValue(Object value) { + if (value instanceof String) { + for (PullPolicy e : PullPolicy.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (PullPolicy e : PullPolicy.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/VmConfig.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/VmConfig.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/VmConfig.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/VmConfig.java index 3247eac1473..f433b1a9de5 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/VmConfig.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/VmConfig.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha1; +package io.fabric8.istio.api.api.extensions.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -16,6 +16,7 @@ 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; @@ -54,7 +55,7 @@ @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), + @BuildableReference(EnvVar.class), @BuildableReference(ContainerPort.class), @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) @@ -65,7 +66,7 @@ public class VmConfig implements Editable , KubernetesResource @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -76,19 +77,19 @@ public class VmConfig implements Editable , KubernetesResource public VmConfig() { } - public VmConfig(List env) { + public VmConfig(List env) { super(); this.env = env; } @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginSpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/WasmPlugin.java similarity index 72% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginSpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/WasmPlugin.java index ce702adf4f0..e05f91d3c9a 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginSpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/WasmPlugin.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.extensions.v1alpha1; +package io.fabric8.istio.api.api.extensions.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,14 +13,8 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.networking.v1alpha1.FailStrategy; -import io.fabric8.istio.api.networking.v1alpha1.PluginPhase; -import io.fabric8.istio.api.networking.v1alpha1.PluginType; -import io.fabric8.istio.api.networking.v1alpha1.PullPolicy; -import io.fabric8.istio.api.networking.v1alpha1.VmConfig; -import io.fabric8.istio.api.networking.v1alpha1.WasmPluginTrafficSelector; -import io.fabric8.istio.api.networking.v1beta1.PolicyTargetReference; -import io.fabric8.istio.api.networking.v1beta1.WorkloadSelector; +import io.fabric8.istio.api.api.type.v1beta1.PolicyTargetReference; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelector; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -29,6 +23,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -36,8 +31,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -56,6 +55,7 @@ "selector", "sha256", "targetRef", + "targetRefs", "type", "url", "verificationKey", @@ -82,8 +82,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("") @Generated("jsonschema2pojo") -public class WasmPluginSpec implements Editable , KubernetesResource +public class WasmPlugin implements Editable , KubernetesResource, Namespaced { @JsonProperty("failStrategy") @@ -91,44 +96,47 @@ public class WasmPluginSpec implements Editable , Kuberne @JsonProperty("imagePullPolicy") private PullPolicy imagePullPolicy; @JsonProperty("imagePullSecret") - private java.lang.String imagePullSecret; + private String imagePullSecret; @JsonProperty("match") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List match = new ArrayList<>(); @JsonProperty("phase") private PluginPhase phase; @JsonProperty("pluginConfig") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map pluginConfig = new LinkedHashMap<>(); + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object pluginConfig; @JsonProperty("pluginName") - private java.lang.String pluginName; + private String pluginName; @JsonProperty("priority") private Integer priority; @JsonProperty("selector") private WorkloadSelector selector; @JsonProperty("sha256") - private java.lang.String sha256; + private String sha256; @JsonProperty("targetRef") private PolicyTargetReference targetRef; + @JsonProperty("targetRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetRefs = new ArrayList<>(); @JsonProperty("type") private PluginType type; @JsonProperty("url") - private java.lang.String url; + private String url; @JsonProperty("verificationKey") - private java.lang.String verificationKey; + private String verificationKey; @JsonProperty("vmConfig") private VmConfig vmConfig; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization * */ - public WasmPluginSpec() { + public WasmPlugin() { } - public WasmPluginSpec(FailStrategy failStrategy, PullPolicy imagePullPolicy, java.lang.String imagePullSecret, List match, PluginPhase phase, Map pluginConfig, java.lang.String pluginName, Integer priority, WorkloadSelector selector, java.lang.String sha256, PolicyTargetReference targetRef, PluginType type, java.lang.String url, java.lang.String verificationKey, VmConfig vmConfig) { + public WasmPlugin(FailStrategy failStrategy, PullPolicy imagePullPolicy, String imagePullSecret, List match, PluginPhase phase, Object pluginConfig, String pluginName, Integer priority, WorkloadSelector selector, String sha256, PolicyTargetReference targetRef, List targetRefs, PluginType type, String url, String verificationKey, VmConfig vmConfig) { super(); this.failStrategy = failStrategy; this.imagePullPolicy = imagePullPolicy; @@ -141,6 +149,7 @@ public WasmPluginSpec(FailStrategy failStrategy, PullPolicy imagePullPolicy, jav this.selector = selector; this.sha256 = sha256; this.targetRef = targetRef; + this.targetRefs = targetRefs; this.type = type; this.url = url; this.verificationKey = verificationKey; @@ -168,12 +177,12 @@ public void setImagePullPolicy(PullPolicy imagePullPolicy) { } @JsonProperty("imagePullSecret") - public java.lang.String getImagePullSecret() { + public String getImagePullSecret() { return imagePullSecret; } @JsonProperty("imagePullSecret") - public void setImagePullSecret(java.lang.String imagePullSecret) { + public void setImagePullSecret(String imagePullSecret) { this.imagePullSecret = imagePullSecret; } @@ -199,23 +208,23 @@ public void setPhase(PluginPhase phase) { } @JsonProperty("pluginConfig") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getPluginConfig() { + public Object getPluginConfig() { return pluginConfig; } @JsonProperty("pluginConfig") - public void setPluginConfig(Map pluginConfig) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setPluginConfig(Object pluginConfig) { this.pluginConfig = pluginConfig; } @JsonProperty("pluginName") - public java.lang.String getPluginName() { + public String getPluginName() { return pluginName; } @JsonProperty("pluginName") - public void setPluginName(java.lang.String pluginName) { + public void setPluginName(String pluginName) { this.pluginName = pluginName; } @@ -240,12 +249,12 @@ public void setSelector(WorkloadSelector selector) { } @JsonProperty("sha256") - public java.lang.String getSha256() { + public String getSha256() { return sha256; } @JsonProperty("sha256") - public void setSha256(java.lang.String sha256) { + public void setSha256(String sha256) { this.sha256 = sha256; } @@ -259,6 +268,17 @@ public void setTargetRef(PolicyTargetReference targetRef) { this.targetRef = targetRef; } + @JsonProperty("targetRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetRefs() { + return targetRefs; + } + + @JsonProperty("targetRefs") + public void setTargetRefs(List targetRefs) { + this.targetRefs = targetRefs; + } + @JsonProperty("type") public PluginType getType() { return type; @@ -270,22 +290,22 @@ public void setType(PluginType type) { } @JsonProperty("url") - public java.lang.String getUrl() { + public String getUrl() { return url; } @JsonProperty("url") - public void setUrl(java.lang.String url) { + public void setUrl(String url) { this.url = url; } @JsonProperty("verificationKey") - public java.lang.String getVerificationKey() { + public String getVerificationKey() { return verificationKey; } @JsonProperty("verificationKey") - public void setVerificationKey(java.lang.String verificationKey) { + public void setVerificationKey(String verificationKey) { this.verificationKey = verificationKey; } @@ -300,26 +320,26 @@ public void setVmConfig(VmConfig vmConfig) { } @JsonIgnore - public WasmPluginSpecBuilder edit() { - return new WasmPluginSpecBuilder(this); + public WasmPluginBuilder edit() { + return new WasmPluginBuilder(this); } @JsonIgnore - public WasmPluginSpecBuilder toBuilder() { + public WasmPluginBuilder toBuilder() { return edit(); } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, java.lang.Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/WasmPluginTrafficSelector.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/WasmPluginTrafficSelector.java similarity index 92% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/WasmPluginTrafficSelector.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/WasmPluginTrafficSelector.java index c5ba641e1a0..dec86a715f4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha1/WasmPluginTrafficSelector.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/extensions/v1alpha1/WasmPluginTrafficSelector.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha1; +package io.fabric8.istio.api.api.extensions.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,8 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.networking.v1beta1.PortSelector; -import io.fabric8.istio.api.type.v1beta1.WorkloadMode; +import io.fabric8.istio.api.api.type.v1beta1.PortSelector; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -68,7 +67,7 @@ public class WasmPluginTrafficSelector implements Editable ports = new ArrayList<>(); @@ -82,19 +81,19 @@ public class WasmPluginTrafficSelector implements Editable ports) { + public WasmPluginTrafficSelector(Integer mode, List ports) { super(); this.mode = mode; this.ports = ports; } @JsonProperty("mode") - public WorkloadMode getMode() { + public Integer getMode() { return mode; } @JsonProperty("mode") - public void setMode(WorkloadMode mode) { + public void setMode(Integer mode) { this.mode = mode; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioCondition.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/meta/v1alpha1/IstioCondition.java similarity index 99% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioCondition.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/meta/v1alpha1/IstioCondition.java index dc797e6a0fe..02faea2e8eb 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioCondition.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/meta/v1alpha1/IstioCondition.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.meta.v1alpha1; +package io.fabric8.istio.api.api.meta.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioStatus.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/meta/v1alpha1/IstioStatus.java similarity index 97% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioStatus.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/meta/v1alpha1/IstioStatus.java index bac356a3717..c41b73d3972 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/meta/v1alpha1/IstioStatus.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/meta/v1alpha1/IstioStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.meta.v1alpha1; +package io.fabric8.istio.api.api.meta.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,7 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBase; +import io.fabric8.istio.api.api.analysis.v1alpha1.AnalysisMessageBase; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CaptureMode.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CaptureMode.java new file mode 100644 index 00000000000..5558ac24304 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CaptureMode.java @@ -0,0 +1,38 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum CaptureMode +{ + DEFAULT(0), + IPTABLES(1), + NONE(2); + private final int value; + private CaptureMode(int value) { + this.value = value; + } + + @JsonCreator + public static CaptureMode fromValue(Object value) { + if (value instanceof String) { + for (CaptureMode e : CaptureMode.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (CaptureMode e : CaptureMode.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettings.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ClientTLSSettings.java similarity index 92% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettings.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ClientTLSSettings.java index 300075b7612..f1faf635804 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ClientTLSSettings.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ClientTLSSettings.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -38,6 +38,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "caCertificates", + "caCrl", "clientCertificate", "credentialName", "insecureSkipVerify", @@ -73,6 +74,8 @@ public class ClientTLSSettings implements Editable , K @JsonProperty("caCertificates") private String caCertificates; + @JsonProperty("caCrl") + private String caCrl; @JsonProperty("clientCertificate") private String clientCertificate; @JsonProperty("credentialName") @@ -98,9 +101,10 @@ public class ClientTLSSettings implements Editable , K public ClientTLSSettings() { } - public ClientTLSSettings(String caCertificates, String clientCertificate, String credentialName, Boolean insecureSkipVerify, ClientTLSSettingsTLSmode mode, String privateKey, String sni, List subjectAltNames) { + public ClientTLSSettings(String caCertificates, String caCrl, String clientCertificate, String credentialName, Boolean insecureSkipVerify, ClientTLSSettingsTLSmode mode, String privateKey, String sni, List subjectAltNames) { super(); this.caCertificates = caCertificates; + this.caCrl = caCrl; this.clientCertificate = clientCertificate; this.credentialName = credentialName; this.insecureSkipVerify = insecureSkipVerify; @@ -120,6 +124,16 @@ public void setCaCertificates(String caCertificates) { this.caCertificates = caCertificates; } + @JsonProperty("caCrl") + public String getCaCrl() { + return caCrl; + } + + @JsonProperty("caCrl") + public void setCaCrl(String caCrl) { + this.caCrl = caCrl; + } + @JsonProperty("clientCertificate") public String getClientCertificate() { return clientCertificate; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ClientTLSSettingsTLSmode.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ClientTLSSettingsTLSmode.java new file mode 100644 index 00000000000..0cb135bb3e1 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ClientTLSSettingsTLSmode.java @@ -0,0 +1,39 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum ClientTLSSettingsTLSmode +{ + DISABLE(0), + ISTIO_MUTUAL(3), + MUTUAL(2), + SIMPLE(1); + private final int value; + private ClientTLSSettingsTLSmode(int value) { + this.value = value; + } + + @JsonCreator + public static ClientTLSSettingsTLSmode fromValue(Object value) { + if (value instanceof String) { + for (ClientTLSSettingsTLSmode e : ClientTLSSettingsTLSmode.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (ClientTLSSettingsTLSmode e : ClientTLSSettingsTLSmode.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettings.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettings.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettings.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettings.java index 9f951e4afe1..68320a7abcf 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettings.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettings.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java similarity index 99% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java index 4978fe57b05..fab57aada30 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettings.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java new file mode 100644 index 00000000000..00d19257b86 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.java @@ -0,0 +1,38 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy +{ + DEFAULT(0), + DO_NOT_UPGRADE(1), + UPGRADE(2); + private final int value; + private ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy(int value) { + this.value = value; + } + + @JsonCreator + public static ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy fromValue(Object value) { + if (value instanceof String) { + for (ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy e : ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy e : ConnectionPoolSettingsHTTPSettingsH2UpgradePolicy.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettings.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java similarity index 99% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettings.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java index debe69491e3..96ee974d275 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettings.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettings.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java index a82731add42..eeb9662da7f 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ConnectionPoolSettingsTCPSettingsTcpKeepalive.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -67,7 +67,7 @@ public class ConnectionPoolSettingsTCPSettingsTcpKeepalive implements Editable , KubernetesResource +{ + + @JsonProperty("allowCredentials") + private Boolean allowCredentials; + @JsonProperty("allowHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List allowHeaders = new ArrayList<>(); + @JsonProperty("allowMethods") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List allowMethods = new ArrayList<>(); + @JsonProperty("allowOrigin") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List deprecatedAllowOrigin = new ArrayList<>(); + @JsonProperty("allowOrigins") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List allowOrigins = new ArrayList<>(); + @JsonProperty("exposeHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List exposeHeaders = new ArrayList<>(); + @JsonProperty("maxAge") + private String maxAge; + @JsonProperty("unmatchedPreflights") + private CorsPolicyUnmatchedPreflights unmatchedPreflights; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CorsPolicy() { + } + + public CorsPolicy(Boolean allowCredentials, List allowHeaders, List allowMethods, List deprecatedAllowOrigin, List allowOrigins, List exposeHeaders, String maxAge, CorsPolicyUnmatchedPreflights unmatchedPreflights) { + super(); + this.allowCredentials = allowCredentials; + this.allowHeaders = allowHeaders; + this.allowMethods = allowMethods; + this.deprecatedAllowOrigin = deprecatedAllowOrigin; + this.allowOrigins = allowOrigins; + this.exposeHeaders = exposeHeaders; + this.maxAge = maxAge; + this.unmatchedPreflights = unmatchedPreflights; + } + + @JsonProperty("allowCredentials") + public Boolean getAllowCredentials() { + return allowCredentials; + } + + @JsonProperty("allowCredentials") + public void setAllowCredentials(Boolean allowCredentials) { + this.allowCredentials = allowCredentials; + } + + @JsonProperty("allowHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAllowHeaders() { + return allowHeaders; + } + + @JsonProperty("allowHeaders") + public void setAllowHeaders(List allowHeaders) { + this.allowHeaders = allowHeaders; + } + + @JsonProperty("allowMethods") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAllowMethods() { + return allowMethods; + } + + @JsonProperty("allowMethods") + public void setAllowMethods(List allowMethods) { + this.allowMethods = allowMethods; + } + + @JsonProperty("allowOrigin") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAllowOrigin() { + return deprecatedAllowOrigin; + } + + @JsonProperty("allowOrigin") + public void setAllowOrigin(List deprecatedAllowOrigin) { + this.deprecatedAllowOrigin = deprecatedAllowOrigin; + } + + @JsonProperty("allowOrigins") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAllowOrigins() { + return allowOrigins; + } + + @JsonProperty("allowOrigins") + public void setAllowOrigins(List allowOrigins) { + this.allowOrigins = allowOrigins; + } + + @JsonProperty("exposeHeaders") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getExposeHeaders() { + return exposeHeaders; + } + + @JsonProperty("exposeHeaders") + public void setExposeHeaders(List exposeHeaders) { + this.exposeHeaders = exposeHeaders; + } + + @JsonProperty("maxAge") + public String getMaxAge() { + return maxAge; + } + + @JsonProperty("maxAge") + public void setMaxAge(String maxAge) { + this.maxAge = maxAge; + } + + @JsonProperty("unmatchedPreflights") + public CorsPolicyUnmatchedPreflights getUnmatchedPreflights() { + return unmatchedPreflights; + } + + @JsonProperty("unmatchedPreflights") + public void setUnmatchedPreflights(CorsPolicyUnmatchedPreflights unmatchedPreflights) { + this.unmatchedPreflights = unmatchedPreflights; + } + + @JsonIgnore + public CorsPolicyBuilder edit() { + return new CorsPolicyBuilder(this); + } + + @JsonIgnore + public CorsPolicyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CorsPolicyUnmatchedPreflights.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CorsPolicyUnmatchedPreflights.java new file mode 100644 index 00000000000..6340b65a032 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/CorsPolicyUnmatchedPreflights.java @@ -0,0 +1,38 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum CorsPolicyUnmatchedPreflights +{ + FORWARD(1), + IGNORE(2), + UNSPECIFIED(0); + private final int value; + private CorsPolicyUnmatchedPreflights(int value) { + this.value = value; + } + + @JsonCreator + public static CorsPolicyUnmatchedPreflights fromValue(Object value) { + if (value instanceof String) { + for (CorsPolicyUnmatchedPreflights e : CorsPolicyUnmatchedPreflights.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (CorsPolicyUnmatchedPreflights e : CorsPolicyUnmatchedPreflights.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Delegate.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Delegate.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Delegate.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Delegate.java index c0d0faa5f9e..be3270a70f2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Delegate.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Delegate.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Destination.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Destination.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Destination.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Destination.java index 2bd6e2f82bf..746e6f1a9d4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Destination.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Destination.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleSpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/DestinationRule.java similarity index 83% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleSpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/DestinationRule.java index 9d9c6c8f8a5..13b76ff4a2d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleSpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/DestinationRule.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,7 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.type.v1beta1.WorkloadSelector; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelector; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -22,6 +22,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -29,8 +30,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -65,8 +70,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha3") +@Group("") @Generated("jsonschema2pojo") -public class DestinationRuleSpec implements Editable , KubernetesResource +public class DestinationRule implements Editable , KubernetesResource, Namespaced { @JsonProperty("exportTo") @@ -88,10 +98,10 @@ public class DestinationRuleSpec implements Editable * No args constructor for use in serialization * */ - public DestinationRuleSpec() { + public DestinationRule() { } - public DestinationRuleSpec(List exportTo, String host, List subsets, TrafficPolicy trafficPolicy, WorkloadSelector workloadSelector) { + public DestinationRule(List exportTo, String host, List subsets, TrafficPolicy trafficPolicy, WorkloadSelector workloadSelector) { super(); this.exportTo = exportTo; this.host = host; @@ -153,12 +163,12 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { } @JsonIgnore - public DestinationRuleSpecBuilder edit() { - return new DestinationRuleSpecBuilder(this); + public DestinationRuleBuilder edit() { + return new DestinationRuleBuilder(this); } @JsonIgnore - public DestinationRuleSpecBuilder toBuilder() { + public DestinationRuleBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterSpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilter.java similarity index 74% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterSpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilter.java index 1058b46a950..fe22650bc5c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterSpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilter.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.istio.api.api.type.v1beta1.PolicyTargetReference; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +22,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -28,8 +30,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -39,6 +45,7 @@ @JsonPropertyOrder({ "configPatches", "priority", + "targetRefs", "workloadSelector" }) @ToString @@ -62,8 +69,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha3") +@Group("") @Generated("jsonschema2pojo") -public class EnvoyFilterSpec implements Editable , KubernetesResource +public class EnvoyFilter implements Editable , KubernetesResource, Namespaced { @JsonProperty("configPatches") @@ -71,6 +83,9 @@ public class EnvoyFilterSpec implements Editable , Kuber private List configPatches = new ArrayList<>(); @JsonProperty("priority") private Integer priority; + @JsonProperty("targetRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetRefs = new ArrayList<>(); @JsonProperty("workloadSelector") private WorkloadSelector workloadSelector; @JsonIgnore @@ -80,13 +95,14 @@ public class EnvoyFilterSpec implements Editable , Kuber * No args constructor for use in serialization * */ - public EnvoyFilterSpec() { + public EnvoyFilter() { } - public EnvoyFilterSpec(List configPatches, Integer priority, WorkloadSelector workloadSelector) { + public EnvoyFilter(List configPatches, Integer priority, List targetRefs, WorkloadSelector workloadSelector) { super(); this.configPatches = configPatches; this.priority = priority; + this.targetRefs = targetRefs; this.workloadSelector = workloadSelector; } @@ -111,6 +127,17 @@ public void setPriority(Integer priority) { this.priority = priority; } + @JsonProperty("targetRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetRefs() { + return targetRefs; + } + + @JsonProperty("targetRefs") + public void setTargetRefs(List targetRefs) { + this.targetRefs = targetRefs; + } + @JsonProperty("workloadSelector") public WorkloadSelector getWorkloadSelector() { return workloadSelector; @@ -122,12 +149,12 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { } @JsonIgnore - public EnvoyFilterSpecBuilder edit() { - return new EnvoyFilterSpecBuilder(this); + public EnvoyFilterBuilder edit() { + return new EnvoyFilterBuilder(this); } @JsonIgnore - public EnvoyFilterSpecBuilder toBuilder() { + public EnvoyFilterBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterApplyTo.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterApplyTo.java new file mode 100644 index 00000000000..b274b53d424 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterApplyTo.java @@ -0,0 +1,47 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum EnvoyFilterApplyTo +{ + BOOTSTRAP(10), + CLUSTER(8), + EXTENSION_CONFIG(9), + FILTER_CHAIN(2), + HTTP_FILTER(4), + HTTP_ROUTE(7), + INVALID(0), + LISTENER(1), + LISTENER_FILTER(11), + NETWORK_FILTER(3), + ROUTE_CONFIGURATION(5), + VIRTUAL_HOST(6); + private final int value; + private EnvoyFilterApplyTo(int value) { + this.value = value; + } + + @JsonCreator + public static EnvoyFilterApplyTo fromValue(Object value) { + if (value instanceof String) { + for (EnvoyFilterApplyTo e : EnvoyFilterApplyTo.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (EnvoyFilterApplyTo e : EnvoyFilterApplyTo.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterClusterMatch.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterClusterMatch.java similarity index 94% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterClusterMatch.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterClusterMatch.java index a715b93cb3d..18da1db1933 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterClusterMatch.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterClusterMatch.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -68,7 +68,7 @@ public class EnvoyFilterClusterMatch implements Editable +public class EnvoyFilterEnvoyConfigObjectMatchCluster implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes, Editable , KubernetesResource { @JsonProperty("cluster") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java index 49c63b13c88..341b58ee10f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchListener.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterEnvoyConfigObjectMatchListener implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes, Editable +public class EnvoyFilterEnvoyConfigObjectMatchListener implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes, Editable , KubernetesResource { @JsonProperty("listener") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java similarity index 96% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java index f945bcf3396..8a323fe2229 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes, Editable +public class EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration implements IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes, Editable , KubernetesResource { @JsonProperty("routeConfiguration") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java index 00fa231fd99..a54be142637 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterEnvoyConfigObjectPatch.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatch.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterListenerMatch.java similarity index 96% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatch.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterListenerMatch.java index 986211f68d9..ded31d4193d 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterListenerMatch.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterListenerMatch.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -75,7 +75,7 @@ public class EnvoyFilterListenerMatch implements Editable additionalProperties = new LinkedHashMap(); @@ -86,7 +86,7 @@ public class EnvoyFilterListenerMatch implements Editable , Kub @JsonProperty("operation") private EnvoyFilterPatchOperation operation; @JsonProperty("value") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map value = new LinkedHashMap<>(); + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -81,7 +81,7 @@ public class EnvoyFilterPatch implements Editable , Kub public EnvoyFilterPatch() { } - public EnvoyFilterPatch(EnvoyFilterPatchFilterClass filterClass, EnvoyFilterPatchOperation operation, Map value) { + public EnvoyFilterPatch(EnvoyFilterPatchFilterClass filterClass, EnvoyFilterPatchOperation operation, Object value) { super(); this.filterClass = filterClass; this.operation = operation; @@ -109,13 +109,13 @@ public void setOperation(EnvoyFilterPatchOperation operation) { } @JsonProperty("value") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getValue() { + public Object getValue() { return value; } @JsonProperty("value") - public void setValue(Map value) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setValue(Object value) { this.value = value; } @@ -130,16 +130,16 @@ public EnvoyFilterPatchBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, java.lang.Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchContext.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchContext.java new file mode 100644 index 00000000000..149474792f9 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchContext.java @@ -0,0 +1,39 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum EnvoyFilterPatchContext +{ + ANY(0), + GATEWAY(3), + SIDECAR_INBOUND(1), + SIDECAR_OUTBOUND(2); + private final int value; + private EnvoyFilterPatchContext(int value) { + this.value = value; + } + + @JsonCreator + public static EnvoyFilterPatchContext fromValue(Object value) { + if (value instanceof String) { + for (EnvoyFilterPatchContext e : EnvoyFilterPatchContext.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (EnvoyFilterPatchContext e : EnvoyFilterPatchContext.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchFilterClass.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchFilterClass.java new file mode 100644 index 00000000000..ec538102b6e --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchFilterClass.java @@ -0,0 +1,39 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum EnvoyFilterPatchFilterClass +{ + AUTHN(1), + AUTHZ(2), + STATS(3), + UNSPECIFIED(0); + private final int value; + private EnvoyFilterPatchFilterClass(int value) { + this.value = value; + } + + @JsonCreator + public static EnvoyFilterPatchFilterClass fromValue(Object value) { + if (value instanceof String) { + for (EnvoyFilterPatchFilterClass e : EnvoyFilterPatchFilterClass.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (EnvoyFilterPatchFilterClass e : EnvoyFilterPatchFilterClass.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchOperation.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchOperation.java new file mode 100644 index 00000000000..cf67e6000ea --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterPatchOperation.java @@ -0,0 +1,43 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum EnvoyFilterPatchOperation +{ + ADD(2), + INSERT_AFTER(5), + INSERT_BEFORE(4), + INSERT_FIRST(6), + INVALID(0), + MERGE(1), + REMOVE(3), + REPLACE(7); + private final int value; + private EnvoyFilterPatchOperation(int value) { + this.value = value; + } + + @JsonCreator + public static EnvoyFilterPatchOperation fromValue(Object value) { + if (value instanceof String) { + for (EnvoyFilterPatchOperation e : EnvoyFilterPatchOperation.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (EnvoyFilterPatchOperation e : EnvoyFilterPatchOperation.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterProxyMatch.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterProxyMatch.java similarity index 85% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterProxyMatch.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterProxyMatch.java index efefebb80c3..b371f55a203 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterProxyMatch.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterProxyMatch.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -67,9 +67,9 @@ public class EnvoyFilterProxyMatch implements Editable metadata = new LinkedHashMap<>(); @JsonProperty("proxyVersion") - private java.lang.String proxyVersion; + private String proxyVersion; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -78,7 +78,7 @@ public class EnvoyFilterProxyMatch implements Editable metadata, java.lang.String proxyVersion) { + public EnvoyFilterProxyMatch(Map metadata, String proxyVersion) { super(); this.metadata = metadata; this.proxyVersion = proxyVersion; @@ -96,12 +96,12 @@ public void setMetadata(Map metadata) { } @JsonProperty("proxyVersion") - public java.lang.String getProxyVersion() { + public String getProxyVersion() { return proxyVersion; } @JsonProperty("proxyVersion") - public void setProxyVersion(java.lang.String proxyVersion) { + public void setProxyVersion(String proxyVersion) { this.proxyVersion = proxyVersion; } @@ -116,16 +116,16 @@ public EnvoyFilterProxyMatchBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java similarity index 94% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java index 8b1ee8ada18..4c306e76cd8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/EnvoyFilterRouteConfigurationMatch.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -73,7 +73,7 @@ public class EnvoyFilterRouteConfigurationMatch implements Editable , KubernetesResource +public class Gateway implements Editable , KubernetesResource, Namespaced { @JsonProperty("selector") @@ -72,16 +82,16 @@ public class GatewaySpec implements Editable , KubernetesRes @JsonInclude(JsonInclude.Include.NON_EMPTY) private List servers = new ArrayList<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization * */ - public GatewaySpec() { + public Gateway() { } - public GatewaySpec(Map selector, List servers) { + public Gateway(Map selector, List servers) { super(); this.selector = selector; this.servers = servers; @@ -110,26 +120,26 @@ public void setServers(List servers) { } @JsonIgnore - public GatewaySpecBuilder edit() { - return new GatewaySpecBuilder(this); + public GatewayBuilder edit() { + return new GatewayBuilder(this); } @JsonIgnore - public GatewaySpecBuilder toBuilder() { + public GatewayBuilder toBuilder() { return edit(); } @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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBody.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBody.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBody.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBody.java index a57e12b64ad..24050a099b7 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBody.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBody.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBodyBytes.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBodyBytes.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBodyBytes.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBodyBytes.java index 45a275b0f18..2e0f1aa2a9d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPBodyBytes.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBodyBytes.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPBodyBytes implements IsHTTPBodySpecifier, Editable +public class HTTPBodyBytes implements IsHTTPBodySpecifier, Editable , KubernetesResource { @JsonProperty("bytes") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBodyString.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBodyString.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBodyString.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBodyString.java index 6b8e74ae7eb..98b64be1248 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPBodyString.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPBodyString.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPBodyString implements IsHTTPBodySpecifier, Editable +public class HTTPBodyString implements IsHTTPBodySpecifier, Editable , KubernetesResource { @JsonProperty("string") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPDirectResponse.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPDirectResponse.java similarity index 94% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPDirectResponse.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPDirectResponse.java index 604c09ebacb..12d2f31562e 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPDirectResponse.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPDirectResponse.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -66,7 +66,7 @@ public class HTTPDirectResponse implements Editable , @JsonProperty("body") private HTTPBody body; @JsonProperty("status") - private Integer status; + private Long status; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -77,7 +77,7 @@ public class HTTPDirectResponse implements Editable , public HTTPDirectResponse() { } - public HTTPDirectResponse(HTTPBody body, Integer status) { + public HTTPDirectResponse(HTTPBody body, Long status) { super(); this.body = body; this.status = status; @@ -94,12 +94,12 @@ public void setBody(HTTPBody body) { } @JsonProperty("status") - public Integer getStatus() { + public Long getStatus() { return status; } @JsonProperty("status") - public void setStatus(Integer status) { + public void setStatus(Long status) { this.status = status; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjection.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjection.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjection.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjection.java index a5ace469976..fff9c844443 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjection.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjection.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbort.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbort.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbort.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbort.java index f569173586e..516e208ba45 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbort.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbort.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortGrpcStatus.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java similarity index 96% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortGrpcStatus.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java index ce16add99ee..2c3e03f4405 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortGrpcStatus.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortGrpcStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortGrpcStatus implements IsHTTPFaultInjectionAbortErrorType, Editable +public class HTTPFaultInjectionAbortGrpcStatus implements IsHTTPFaultInjectionAbortErrorType, Editable , KubernetesResource { @JsonProperty("grpcStatus") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttp2Error.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java similarity index 96% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttp2Error.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java index e1c29777fea..d834d5297d2 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionAbortHttp2Error.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortHttp2Error.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortHttp2Error implements IsHTTPFaultInjectionAbortErrorType, Editable +public class HTTPFaultInjectionAbortHttp2Error implements IsHTTPFaultInjectionAbortErrorType, Editable , KubernetesResource { @JsonProperty("http2Error") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java similarity index 96% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java index 911120085ba..410fc6a2ecb 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionAbortHttpStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionAbortHttpStatus implements IsHTTPFaultInjectionAbortErrorType, Editable +public class HTTPFaultInjectionAbortHttpStatus implements IsHTTPFaultInjectionAbortErrorType, Editable , KubernetesResource { @JsonProperty("httpStatus") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelay.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelay.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelay.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelay.java index f5faecbfa2d..fa6deaf5924 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelay.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelay.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java similarity index 96% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java index c661476ee6d..580eb303be2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelayExponentialDelay.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionDelayExponentialDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable +public class HTTPFaultInjectionDelayExponentialDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable , KubernetesResource { @JsonProperty("exponentialDelay") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayFixedDelay.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java similarity index 96% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayFixedDelay.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java index 7dac8ebcd79..ba1b80671c6 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPFaultInjectionDelayFixedDelay.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPFaultInjectionDelayFixedDelay.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPFaultInjectionDelayFixedDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable +public class HTTPFaultInjectionDelayFixedDelay implements IsHTTPFaultInjectionDelayHttpDelayType, Editable , KubernetesResource { @JsonProperty("fixedDelay") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPHeader.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPHeader.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPHeader.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPHeader.java index 6c01f47f6f2..163d8ed65a5 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPHeader.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPHeader.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPHealthCheckConfig.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPHealthCheckConfig.java similarity index 96% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPHealthCheckConfig.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPHealthCheckConfig.java index 7c05ace6d96..9e2d2a4be46 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPHealthCheckConfig.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPHealthCheckConfig.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -76,7 +76,7 @@ public class HTTPHealthCheckConfig implements Editable httpHeaders, String path, Integer port, String scheme) { + public HTTPHealthCheckConfig(String host, List httpHeaders, String path, Long port, String scheme) { super(); this.host = host; this.httpHeaders = httpHeaders; @@ -130,12 +130,12 @@ public void setPath(String path) { } @JsonProperty("port") - public Integer getPort() { + public Long getPort() { return port; } @JsonProperty("port") - public void setPort(Integer port) { + public void setPort(Long port) { this.port = port; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMatchRequest.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPMatchRequest.java similarity index 65% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMatchRequest.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPMatchRequest.java index 8c0b3f7a32a..bf58f4fabf4 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPMatchRequest.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPMatchRequest.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -78,40 +78,40 @@ public class HTTPMatchRequest implements Editable , Kub { @JsonProperty("authority") - private io.fabric8.istio.api.networking.v1beta1.StringMatch authority; + private StringMatch authority; @JsonProperty("gateways") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List gateways = new ArrayList<>(); + private List gateways = new ArrayList<>(); @JsonProperty("headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map headers = new LinkedHashMap<>(); + private Map headers = new LinkedHashMap<>(); @JsonProperty("ignoreUriCase") private Boolean ignoreUriCase; @JsonProperty("method") - private io.fabric8.istio.api.networking.v1beta1.StringMatch method; + private StringMatch method; @JsonProperty("name") - private java.lang.String name; + private String name; @JsonProperty("port") - private Integer port; + private Long port; @JsonProperty("queryParams") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map queryParams = new LinkedHashMap<>(); + private Map queryParams = new LinkedHashMap<>(); @JsonProperty("scheme") - private io.fabric8.istio.api.networking.v1beta1.StringMatch scheme; + private StringMatch scheme; @JsonProperty("sourceLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map sourceLabels = new LinkedHashMap<>(); @JsonProperty("sourceNamespace") - private java.lang.String sourceNamespace; + private String sourceNamespace; @JsonProperty("statPrefix") - private java.lang.String statPrefix; + private String statPrefix; @JsonProperty("uri") - private io.fabric8.istio.api.networking.v1beta1.StringMatch uri; + private StringMatch uri; @JsonProperty("withoutHeaders") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map withoutHeaders = new LinkedHashMap<>(); + private Map withoutHeaders = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -120,7 +120,7 @@ public class HTTPMatchRequest implements Editable , Kub public HTTPMatchRequest() { } - public HTTPMatchRequest(io.fabric8.istio.api.networking.v1beta1.StringMatch authority, List gateways, Map headers, Boolean ignoreUriCase, io.fabric8.istio.api.networking.v1beta1.StringMatch method, java.lang.String name, Integer port, Map queryParams, io.fabric8.istio.api.networking.v1beta1.StringMatch scheme, Map sourceLabels, java.lang.String sourceNamespace, java.lang.String statPrefix, io.fabric8.istio.api.networking.v1beta1.StringMatch uri, Map withoutHeaders) { + public HTTPMatchRequest(StringMatch authority, List gateways, Map headers, Boolean ignoreUriCase, StringMatch method, String name, Long port, Map queryParams, StringMatch scheme, Map sourceLabels, String sourceNamespace, String statPrefix, StringMatch uri, Map withoutHeaders) { super(); this.authority = authority; this.gateways = gateways; @@ -139,34 +139,34 @@ public HTTPMatchRequest(io.fabric8.istio.api.networking.v1beta1.StringMatch auth } @JsonProperty("authority") - public io.fabric8.istio.api.networking.v1beta1.StringMatch getAuthority() { + public StringMatch getAuthority() { return authority; } @JsonProperty("authority") - public void setAuthority(io.fabric8.istio.api.networking.v1beta1.StringMatch authority) { + public void setAuthority(StringMatch authority) { this.authority = authority; } @JsonProperty("gateways") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getGateways() { + public List getGateways() { return gateways; } @JsonProperty("gateways") - public void setGateways(List gateways) { + public void setGateways(List gateways) { this.gateways = gateways; } @JsonProperty("headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getHeaders() { + public Map getHeaders() { return headers; } @JsonProperty("headers") - public void setHeaders(Map headers) { + public void setHeaders(Map headers) { this.headers = headers; } @@ -181,53 +181,53 @@ public void setIgnoreUriCase(Boolean ignoreUriCase) { } @JsonProperty("method") - public io.fabric8.istio.api.networking.v1beta1.StringMatch getMethod() { + public StringMatch getMethod() { return method; } @JsonProperty("method") - public void setMethod(io.fabric8.istio.api.networking.v1beta1.StringMatch method) { + public void setMethod(StringMatch method) { this.method = method; } @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @JsonProperty("port") - public Integer getPort() { + public Long getPort() { return port; } @JsonProperty("port") - public void setPort(Integer port) { + public void setPort(Long port) { this.port = port; } @JsonProperty("queryParams") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getQueryParams() { + public Map getQueryParams() { return queryParams; } @JsonProperty("queryParams") - public void setQueryParams(Map queryParams) { + public void setQueryParams(Map queryParams) { this.queryParams = queryParams; } @JsonProperty("scheme") - public io.fabric8.istio.api.networking.v1beta1.StringMatch getScheme() { + public StringMatch getScheme() { return scheme; } @JsonProperty("scheme") - public void setScheme(io.fabric8.istio.api.networking.v1beta1.StringMatch scheme) { + public void setScheme(StringMatch scheme) { this.scheme = scheme; } @@ -243,43 +243,43 @@ public void setSourceLabels(Map sourceLabels) { } @JsonProperty("sourceNamespace") - public java.lang.String getSourceNamespace() { + public String getSourceNamespace() { return sourceNamespace; } @JsonProperty("sourceNamespace") - public void setSourceNamespace(java.lang.String sourceNamespace) { + public void setSourceNamespace(String sourceNamespace) { this.sourceNamespace = sourceNamespace; } @JsonProperty("statPrefix") - public java.lang.String getStatPrefix() { + public String getStatPrefix() { return statPrefix; } @JsonProperty("statPrefix") - public void setStatPrefix(java.lang.String statPrefix) { + public void setStatPrefix(String statPrefix) { this.statPrefix = statPrefix; } @JsonProperty("uri") - public io.fabric8.istio.api.networking.v1beta1.StringMatch getUri() { + public StringMatch getUri() { return uri; } @JsonProperty("uri") - public void setUri(io.fabric8.istio.api.networking.v1beta1.StringMatch uri) { + public void setUri(StringMatch uri) { this.uri = uri; } @JsonProperty("withoutHeaders") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getWithoutHeaders() { + public Map getWithoutHeaders() { return withoutHeaders; } @JsonProperty("withoutHeaders") - public void setWithoutHeaders(Map withoutHeaders) { + public void setWithoutHeaders(Map withoutHeaders) { this.withoutHeaders = withoutHeaders; } @@ -294,16 +294,16 @@ public HTTPMatchRequestBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMirrorPolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPMirrorPolicy.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMirrorPolicy.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPMirrorPolicy.java index 44b49b47be1..5e1684ad5e6 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPMirrorPolicy.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPMirrorPolicy.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirect.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirect.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirect.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirect.java index 42268c4d026..77fc69a6cfe 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/HTTPRedirect.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirect.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -73,7 +73,7 @@ public class HTTPRedirect implements Editable , KubernetesR @JsonProperty("authority") private String authority; @JsonProperty("redirectCode") - private Integer redirectCode; + private Long redirectCode; @JsonProperty("scheme") private String scheme; @JsonProperty("uri") @@ -88,7 +88,7 @@ public class HTTPRedirect implements Editable , KubernetesR public HTTPRedirect() { } - public HTTPRedirect(IsHTTPRedirectRedirectPort redirectPort, String authority, Integer redirectCode, String scheme, String uri) { + public HTTPRedirect(IsHTTPRedirectRedirectPort redirectPort, String authority, Long redirectCode, String scheme, String uri) { super(); this.redirectPort = redirectPort; this.authority = authority; @@ -119,12 +119,12 @@ public void setAuthority(String authority) { } @JsonProperty("redirectCode") - public Integer getRedirectCode() { + public Long getRedirectCode() { return redirectCode; } @JsonProperty("redirectCode") - public void setRedirectCode(Integer redirectCode) { + public void setRedirectCode(Long redirectCode) { this.redirectCode = redirectCode; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectDerivePort.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirectDerivePort.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectDerivePort.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirectDerivePort.java index 590c1e8f0b8..cc6e077483b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectDerivePort.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirectDerivePort.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRedirectDerivePort implements IsHTTPRedirectRedirectPort, Editable +public class HTTPRedirectDerivePort implements IsHTTPRedirectRedirectPort, Editable , KubernetesResource { @JsonProperty("derivePort") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectPort.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirectPort.java similarity index 92% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectPort.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirectPort.java index 77686cbec57..0a3b9b8ba34 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPRedirectPort.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/HTTPRedirectPort.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,11 +59,11 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPRedirectPort implements IsHTTPRedirectRedirectPort, Editable +public class HTTPRedirectPort implements IsHTTPRedirectRedirectPort, Editable , KubernetesResource { @JsonProperty("port") - private Integer port; + private Long port; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -73,18 +74,18 @@ public class HTTPRedirectPort implements IsHTTPRedirectRedirectPort, Editable add = new LinkedHashMap<>(); @JsonProperty("remove") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List remove = new ArrayList<>(); + private List remove = new ArrayList<>(); @JsonProperty("set") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map set = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -85,7 +85,7 @@ public class HeadersHeaderOperations implements Editable add, List remove, Map set) { + public HeadersHeaderOperations(Map add, List remove, Map set) { super(); this.add = add; this.remove = remove; @@ -105,12 +105,12 @@ public void setAdd(Map add) { @JsonProperty("remove") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRemove() { + public List getRemove() { return remove; } @JsonProperty("remove") - public void setRemove(List remove) { + public void setRemove(List remove) { this.remove = remove; } @@ -136,16 +136,16 @@ public HeadersHeaderOperationsBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes.java similarity index 71% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes.java index 634f31efa1c..1010824d9c9 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes.java @@ -1,25 +1,27 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchCluster; -import io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchListener; -import io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ + @JsonSubTypes.Type(EnvoyFilterEnvoyConfigObjectMatchCluster.class), @JsonSubTypes.Type(EnvoyFilterEnvoyConfigObjectMatchListener.class), @JsonSubTypes.Type(EnvoyFilterEnvoyConfigObjectMatchRouteConfiguration.class), - @JsonSubTypes.Type(EnvoyFilterEnvoyConfigObjectMatchCluster.class) }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes { +@Generated("jsonschema2pojo") +public interface IsEnvoyFilterEnvoyConfigObjectMatchObjectTypes extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPBodySpecifier.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPBodySpecifier.java similarity index 68% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPBodySpecifier.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPBodySpecifier.java index b860b95b607..d6e0b454c33 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPBodySpecifier.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPBodySpecifier.java @@ -1,23 +1,26 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.HTTPBodyBytes; -import io.fabric8.istio.api.networking.v1beta1.HTTPBodyString; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ + @JsonSubTypes.Type(HTTPBodyBytes.class), @JsonSubTypes.Type(HTTPBodyString.class), - @JsonSubTypes.Type(HTTPBodyBytes.class) }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsHTTPBodySpecifier { +@Generated("jsonschema2pojo") +public interface IsHTTPBodySpecifier extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPFaultInjectionAbortErrorType.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPFaultInjectionAbortErrorType.java similarity index 63% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPFaultInjectionAbortErrorType.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPFaultInjectionAbortErrorType.java index e790ed7b3bf..4522f61c9d3 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPFaultInjectionAbortErrorType.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPFaultInjectionAbortErrorType.java @@ -1,25 +1,27 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortGrpcStatus; -import io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttp2Error; -import io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttpStatus; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ - @JsonSubTypes.Type(HTTPFaultInjectionAbortHttpStatus.class), @JsonSubTypes.Type(HTTPFaultInjectionAbortGrpcStatus.class), - @JsonSubTypes.Type(HTTPFaultInjectionAbortHttp2Error.class) + @JsonSubTypes.Type(HTTPFaultInjectionAbortHttp2Error.class), + @JsonSubTypes.Type(HTTPFaultInjectionAbortHttpStatus.class), }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsHTTPFaultInjectionAbortErrorType { +@Generated("jsonschema2pojo") +public interface IsHTTPFaultInjectionAbortErrorType extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPFaultInjectionDelayHttpDelayType.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPFaultInjectionDelayHttpDelayType.java similarity index 65% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPFaultInjectionDelayHttpDelayType.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPFaultInjectionDelayHttpDelayType.java index 86de72f1b11..dd711f5041f 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPFaultInjectionDelayHttpDelayType.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPFaultInjectionDelayHttpDelayType.java @@ -1,23 +1,26 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelayExponentialDelay; -import io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionDelayFixedDelay; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ @JsonSubTypes.Type(HTTPFaultInjectionDelayExponentialDelay.class), - @JsonSubTypes.Type(HTTPFaultInjectionDelayFixedDelay.class) + @JsonSubTypes.Type(HTTPFaultInjectionDelayFixedDelay.class), }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsHTTPFaultInjectionDelayHttpDelayType { +@Generated("jsonschema2pojo") +public interface IsHTTPFaultInjectionDelayHttpDelayType extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPRedirectRedirectPort.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPRedirectRedirectPort.java similarity index 67% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPRedirectRedirectPort.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPRedirectRedirectPort.java index 801cdd7602f..4d9cb431753 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsHTTPRedirectRedirectPort.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsHTTPRedirectRedirectPort.java @@ -1,23 +1,26 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.HTTPRedirectDerivePort; -import io.fabric8.istio.api.networking.v1beta1.HTTPRedirectPort; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ + @JsonSubTypes.Type(HTTPRedirectDerivePort.class), @JsonSubTypes.Type(HTTPRedirectPort.class), - @JsonSubTypes.Type(HTTPRedirectDerivePort.class) }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsHTTPRedirectRedirectPort { +@Generated("jsonschema2pojo") +public interface IsHTTPRedirectRedirectPort extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java similarity index 76% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java index 630dc7114bf..480add4205d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashAlgorithm.java @@ -1,23 +1,26 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBMaglev; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBRingHash; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ + @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBMaglev.class), @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBRingHash.class), - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBMaglev.class) }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsLoadBalancerSettingsConsistentHashLBHashAlgorithm { +@Generated("jsonschema2pojo") +public interface IsLoadBalancerSettingsConsistentHashLBHashAlgorithm extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsConsistentHashLBHashKey.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashKey.java similarity index 62% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsConsistentHashLBHashKey.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashKey.java index 342ca928563..4d4988459f0 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsConsistentHashLBHashKey.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsConsistentHashLBHashKey.java @@ -1,27 +1,28 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpCookie; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpHeaderName; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpQueryParameterName; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBUseSourceIp; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBHttpHeaderName.class), @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBHttpCookie.class), + @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBHttpHeaderName.class), + @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.class), @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBUseSourceIp.class), - @JsonSubTypes.Type(LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.class) }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsLoadBalancerSettingsConsistentHashLBHashKey { +@Generated("jsonschema2pojo") +public interface IsLoadBalancerSettingsConsistentHashLBHashKey extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsLbPolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsLbPolicy.java similarity index 67% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsLbPolicy.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsLbPolicy.java index a4b80c77d28..275e5033ab4 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsLoadBalancerSettingsLbPolicy.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsLoadBalancerSettingsLbPolicy.java @@ -1,23 +1,26 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHash; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimple; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ @JsonSubTypes.Type(LoadBalancerSettingsConsistentHash.class), - @JsonSubTypes.Type(LoadBalancerSettingsSimple.class) + @JsonSubTypes.Type(LoadBalancerSettingsSimple.class), }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsLoadBalancerSettingsLbPolicy { +@Generated("jsonschema2pojo") +public interface IsLoadBalancerSettingsLbPolicy extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsReadinessProbeHealthCheckMethod.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsReadinessProbeHealthCheckMethod.java similarity index 65% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsReadinessProbeHealthCheckMethod.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsReadinessProbeHealthCheckMethod.java index e0fb4e5c892..70d7ad7bd86 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsReadinessProbeHealthCheckMethod.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsReadinessProbeHealthCheckMethod.java @@ -1,25 +1,27 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.ReadinessProbeExec; -import io.fabric8.istio.api.networking.v1beta1.ReadinessProbeHttpGet; -import io.fabric8.istio.api.networking.v1beta1.ReadinessProbeTcpSocket; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ + @JsonSubTypes.Type(ReadinessProbeExec.class), @JsonSubTypes.Type(ReadinessProbeHttpGet.class), @JsonSubTypes.Type(ReadinessProbeTcpSocket.class), - @JsonSubTypes.Type(ReadinessProbeExec.class) }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsReadinessProbeHealthCheckMethod { +@Generated("jsonschema2pojo") +public interface IsReadinessProbeHealthCheckMethod extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsStringMatchMatchType.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsStringMatchMatchType.java similarity index 67% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsStringMatchMatchType.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsStringMatchMatchType.java index 8e5cda3a9e7..f9e0e799a61 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IsStringMatchMatchType.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IsStringMatchMatchType.java @@ -1,25 +1,27 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1beta1.StringMatchExact; -import io.fabric8.istio.api.networking.v1beta1.StringMatchPrefix; -import io.fabric8.istio.api.networking.v1beta1.StringMatchRegex; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ @JsonSubTypes.Type(StringMatchExact.class), + @JsonSubTypes.Type(StringMatchPrefix.class), @JsonSubTypes.Type(StringMatchRegex.class), - @JsonSubTypes.Type(StringMatchPrefix.class) }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsStringMatchMatchType { +@Generated("jsonschema2pojo") +public interface IsStringMatchMatchType extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioEgressListener.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IstioEgressListener.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioEgressListener.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IstioEgressListener.java index 24971806f3e..3c1acde75e5 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioEgressListener.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IstioEgressListener.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioIngressListener.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IstioIngressListener.java similarity index 99% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioIngressListener.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IstioIngressListener.java index 6dcad9fc586..2ae5c8f2063 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/IstioIngressListener.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/IstioIngressListener.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/L4MatchAttributes.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/L4MatchAttributes.java similarity index 78% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/L4MatchAttributes.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/L4MatchAttributes.java index 863f6ebda45..e359774a562 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/L4MatchAttributes.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/L4MatchAttributes.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -71,21 +71,21 @@ public class L4MatchAttributes implements Editable , K @JsonProperty("destinationSubnets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List destinationSubnets = new ArrayList<>(); + private List destinationSubnets = new ArrayList<>(); @JsonProperty("gateways") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List gateways = new ArrayList<>(); + private List gateways = new ArrayList<>(); @JsonProperty("port") - private Integer port; + private Long port; @JsonProperty("sourceLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map sourceLabels = new LinkedHashMap<>(); @JsonProperty("sourceNamespace") - private java.lang.String sourceNamespace; + private String sourceNamespace; @JsonProperty("sourceSubnet") - private java.lang.String sourceSubnet; + private String sourceSubnet; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -94,7 +94,7 @@ public class L4MatchAttributes implements Editable , K public L4MatchAttributes() { } - public L4MatchAttributes(List destinationSubnets, List gateways, Integer port, Map sourceLabels, java.lang.String sourceNamespace, java.lang.String sourceSubnet) { + public L4MatchAttributes(List destinationSubnets, List gateways, Long port, Map sourceLabels, String sourceNamespace, String sourceSubnet) { super(); this.destinationSubnets = destinationSubnets; this.gateways = gateways; @@ -106,33 +106,33 @@ public L4MatchAttributes(List destinationSubnets, List getDestinationSubnets() { + public List getDestinationSubnets() { return destinationSubnets; } @JsonProperty("destinationSubnets") - public void setDestinationSubnets(List destinationSubnets) { + public void setDestinationSubnets(List destinationSubnets) { this.destinationSubnets = destinationSubnets; } @JsonProperty("gateways") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getGateways() { + public List getGateways() { return gateways; } @JsonProperty("gateways") - public void setGateways(List gateways) { + public void setGateways(List gateways) { this.gateways = gateways; } @JsonProperty("port") - public Integer getPort() { + public Long getPort() { return port; } @JsonProperty("port") - public void setPort(Integer port) { + public void setPort(Long port) { this.port = port; } @@ -148,22 +148,22 @@ public void setSourceLabels(Map sourceLabels) { } @JsonProperty("sourceNamespace") - public java.lang.String getSourceNamespace() { + public String getSourceNamespace() { return sourceNamespace; } @JsonProperty("sourceNamespace") - public void setSourceNamespace(java.lang.String sourceNamespace) { + public void setSourceNamespace(String sourceNamespace) { this.sourceNamespace = sourceNamespace; } @JsonProperty("sourceSubnet") - public java.lang.String getSourceSubnet() { + public String getSourceSubnet() { return sourceSubnet; } @JsonProperty("sourceSubnet") - public void setSourceSubnet(java.lang.String sourceSubnet) { + public void setSourceSubnet(String sourceSubnet) { this.sourceSubnet = sourceSubnet; } @@ -178,16 +178,16 @@ public L4MatchAttributesBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettings.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettings.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettings.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettings.java index b00a84da01b..aea2cfb9db9 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettings.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettings.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHash.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java similarity index 96% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHash.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java index 7954dd9d0ba..d3b5fa5c2c6 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHash.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHash.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHash implements IsLoadBalancerSettingsLbPolicy, Editable +public class LoadBalancerSettingsConsistentHash implements IsLoadBalancerSettingsLbPolicy, Editable , KubernetesResource { @JsonProperty("consistentHash") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLB.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLB.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java index 5179398d502..4fef7d09ecb 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLB.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLB.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -72,7 +72,7 @@ public class LoadBalancerSettingsConsistentHashLB implements Editable additionalProperties = new LinkedHashMap(); @@ -83,7 +83,7 @@ public class LoadBalancerSettingsConsistentHashLB implements Editable , KubernetesResource +public class LoadBalancerSettingsConsistentHashLBHTTPCookie_ implements Editable , KubernetesResource { @JsonProperty("name") @@ -77,10 +77,10 @@ public class LoadBalancerSettingsConsistentHashLBHttpCookieValue implements Edit * No args constructor for use in serialization * */ - public LoadBalancerSettingsConsistentHashLBHttpCookieValue() { + public LoadBalancerSettingsConsistentHashLBHTTPCookie_() { } - public LoadBalancerSettingsConsistentHashLBHttpCookieValue(String name, String path, String ttl) { + public LoadBalancerSettingsConsistentHashLBHTTPCookie_(String name, String path, String ttl) { super(); this.name = name; this.path = path; @@ -118,12 +118,12 @@ public void setTtl(String ttl) { } @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder(this); + public LoadBalancerSettingsConsistentHashLBHTTPCookie_Builder edit() { + return new LoadBalancerSettingsConsistentHashLBHTTPCookie_Builder(this); } @JsonIgnore - public LoadBalancerSettingsConsistentHashLBHttpCookieValueBuilder toBuilder() { + public LoadBalancerSettingsConsistentHashLBHTTPCookie_Builder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java similarity index 90% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java index dfc761f64ad..7b82b06e58c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpCookie.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,11 +59,11 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpCookie implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable +public class LoadBalancerSettingsConsistentHashLBHttpCookie implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable , KubernetesResource { @JsonProperty("httpCookie") - private LoadBalancerSettingsConsistentHashLBHttpCookieValue httpCookie; + private LoadBalancerSettingsConsistentHashLBHTTPCookie_ httpCookie; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -73,18 +74,18 @@ public class LoadBalancerSettingsConsistentHashLBHttpCookie implements IsLoadBal public LoadBalancerSettingsConsistentHashLBHttpCookie() { } - public LoadBalancerSettingsConsistentHashLBHttpCookie(LoadBalancerSettingsConsistentHashLBHttpCookieValue httpCookie) { + public LoadBalancerSettingsConsistentHashLBHttpCookie(LoadBalancerSettingsConsistentHashLBHTTPCookie_ httpCookie) { super(); this.httpCookie = httpCookie; } @JsonProperty("httpCookie") - public LoadBalancerSettingsConsistentHashLBHttpCookieValue getHttpCookie() { + public LoadBalancerSettingsConsistentHashLBHTTPCookie_ getHttpCookie() { return httpCookie; } @JsonProperty("httpCookie") - public void setHttpCookie(LoadBalancerSettingsConsistentHashLBHttpCookieValue httpCookie) { + public void setHttpCookie(LoadBalancerSettingsConsistentHashLBHTTPCookie_ httpCookie) { this.httpCookie = httpCookie; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java index c941e6b3eb2..65c3b6d057e 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpHeaderName.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpHeaderName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable +public class LoadBalancerSettingsConsistentHashLBHttpHeaderName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable , KubernetesResource { @JsonProperty("httpHeaderName") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java similarity index 96% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java index a196cff2ecb..7a5d812a5dc 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBHttpQueryParameterName.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBHttpQueryParameterName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable +public class LoadBalancerSettingsConsistentHashLBHttpQueryParameterName implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable , KubernetesResource { @JsonProperty("httpQueryParameterName") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBMagLevValue.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMagLev_.java similarity index 83% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBMagLevValue.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMagLev_.java index a6e97c1356d..37a11454fc8 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LoadBalancerSettingsConsistentHashLBMagLevValue.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMagLev_.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -59,11 +59,11 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBMagLevValue implements Editable , KubernetesResource +public class LoadBalancerSettingsConsistentHashLBMagLev_ implements Editable , KubernetesResource { @JsonProperty("tableSize") - private Integer tableSize; + private Long tableSize; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -71,31 +71,31 @@ public class LoadBalancerSettingsConsistentHashLBMagLevValue implements Editable * No args constructor for use in serialization * */ - public LoadBalancerSettingsConsistentHashLBMagLevValue() { + public LoadBalancerSettingsConsistentHashLBMagLev_() { } - public LoadBalancerSettingsConsistentHashLBMagLevValue(Integer tableSize) { + public LoadBalancerSettingsConsistentHashLBMagLev_(Long tableSize) { super(); this.tableSize = tableSize; } @JsonProperty("tableSize") - public Integer getTableSize() { + public Long getTableSize() { return tableSize; } @JsonProperty("tableSize") - public void setTableSize(Integer tableSize) { + public void setTableSize(Long tableSize) { this.tableSize = tableSize; } @JsonIgnore - public LoadBalancerSettingsConsistentHashLBMagLevValueBuilder edit() { - return new LoadBalancerSettingsConsistentHashLBMagLevValueBuilder(this); + public LoadBalancerSettingsConsistentHashLBMagLev_Builder edit() { + return new LoadBalancerSettingsConsistentHashLBMagLev_Builder(this); } @JsonIgnore - public LoadBalancerSettingsConsistentHashLBMagLevValueBuilder toBuilder() { + public LoadBalancerSettingsConsistentHashLBMagLev_Builder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMaglev.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMaglev.java similarity index 91% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMaglev.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMaglev.java index 3a6c9986205..3dd83f63d6f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMaglev.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBMaglev.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,11 +59,11 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBMaglev implements IsLoadBalancerSettingsConsistentHashLBHashAlgorithm, Editable +public class LoadBalancerSettingsConsistentHashLBMaglev implements IsLoadBalancerSettingsConsistentHashLBHashAlgorithm, Editable , KubernetesResource { @JsonProperty("maglev") - private LoadBalancerSettingsConsistentHashLBMagLevValue maglev; + private LoadBalancerSettingsConsistentHashLBMagLev_ maglev; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -73,18 +74,18 @@ public class LoadBalancerSettingsConsistentHashLBMaglev implements IsLoadBalance public LoadBalancerSettingsConsistentHashLBMaglev() { } - public LoadBalancerSettingsConsistentHashLBMaglev(LoadBalancerSettingsConsistentHashLBMagLevValue maglev) { + public LoadBalancerSettingsConsistentHashLBMaglev(LoadBalancerSettingsConsistentHashLBMagLev_ maglev) { super(); this.maglev = maglev; } @JsonProperty("maglev") - public LoadBalancerSettingsConsistentHashLBMagLevValue getMaglev() { + public LoadBalancerSettingsConsistentHashLBMagLev_ getMaglev() { return maglev; } @JsonProperty("maglev") - public void setMaglev(LoadBalancerSettingsConsistentHashLBMagLevValue maglev) { + public void setMaglev(LoadBalancerSettingsConsistentHashLBMagLev_ maglev) { this.maglev = maglev; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHash.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHash.java similarity index 84% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHash.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHash.java index 73cb360338a..d9fbcc8c1d9 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHash.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBRingHash.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,11 +59,11 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBRingHash implements IsLoadBalancerSettingsConsistentHashLBHashAlgorithm, Editable +public class LoadBalancerSettingsConsistentHashLBRingHash implements IsLoadBalancerSettingsConsistentHashLBHashAlgorithm, Editable , KubernetesResource { @JsonProperty("ringHash") - private LoadBalancerSettingsConsistentHashLBRingHashValue ringHash; + private io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHash ringHash; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -73,18 +74,18 @@ public class LoadBalancerSettingsConsistentHashLBRingHash implements IsLoadBalan public LoadBalancerSettingsConsistentHashLBRingHash() { } - public LoadBalancerSettingsConsistentHashLBRingHash(LoadBalancerSettingsConsistentHashLBRingHashValue ringHash) { + public LoadBalancerSettingsConsistentHashLBRingHash(io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHash ringHash) { super(); this.ringHash = ringHash; } @JsonProperty("ringHash") - public LoadBalancerSettingsConsistentHashLBRingHashValue getRingHash() { + public io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHash getRingHash() { return ringHash; } @JsonProperty("ringHash") - public void setRingHash(LoadBalancerSettingsConsistentHashLBRingHashValue ringHash) { + public void setRingHash(io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBRingHash ringHash) { this.ringHash = ringHash; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java index 445274ccdc1..7bbca3f2018 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsConsistentHashLBUseSourceIp.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsConsistentHashLBUseSourceIp implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable +public class LoadBalancerSettingsConsistentHashLBUseSourceIp implements IsLoadBalancerSettingsConsistentHashLBHashKey, Editable , KubernetesResource { @JsonProperty("useSourceIp") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimple.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsSimple.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimple.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsSimple.java index 2887597054f..51fefa9fb29 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LoadBalancerSettingsSimple.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsSimple.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LoadBalancerSettingsSimple implements IsLoadBalancerSettingsLbPolicy, Editable +public class LoadBalancerSettingsSimple implements IsLoadBalancerSettingsLbPolicy, Editable , KubernetesResource { @JsonProperty("simple") diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsSimpleLB.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsSimpleLB.java new file mode 100644 index 00000000000..b507fafc45b --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LoadBalancerSettingsSimpleLB.java @@ -0,0 +1,41 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum LoadBalancerSettingsSimpleLB +{ + LEAST_CONN(1), + LEAST_REQUEST(5), + PASSTHROUGH(3), + RANDOM(2), + ROUND_ROBIN(4), + UNSPECIFIED(0); + private final int value; + private LoadBalancerSettingsSimpleLB(int value) { + this.value = value; + } + + @JsonCreator + public static LoadBalancerSettingsSimpleLB fromValue(Object value) { + if (value instanceof String) { + for (LoadBalancerSettingsSimpleLB e : LoadBalancerSettingsSimpleLB.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (LoadBalancerSettingsSimpleLB e : LoadBalancerSettingsSimpleLB.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSetting.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSetting.java similarity index 99% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSetting.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSetting.java index e09c5daf24d..fe127abda95 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSetting.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSetting.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingDistribute.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java similarity index 86% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingDistribute.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java index 6bd9e1dd04e..e0678a697f3 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingDistribute.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSettingDistribute.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -64,12 +64,12 @@ public class LocalityLoadBalancerSettingDistribute implements Editable to = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -78,19 +78,19 @@ public class LocalityLoadBalancerSettingDistribute implements Editable to) { + public LocalityLoadBalancerSettingDistribute(String from, Map to) { super(); this.from = from; this.to = to; } @JsonProperty("from") - public java.lang.String getFrom() { + public String getFrom() { return from; } @JsonProperty("from") - public void setFrom(java.lang.String from) { + public void setFrom(String from) { this.from = from; } @@ -116,16 +116,16 @@ public LocalityLoadBalancerSettingDistributeBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingFailover.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingFailover.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java index 2f4b45a6da4..71419a6cf0b 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/LocalityLoadBalancerSettingFailover.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/LocalityLoadBalancerSettingFailover.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutboundTrafficPolicy.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicy.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutboundTrafficPolicy.java index e61ceb39b0d..eb5d6f3d528 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutboundTrafficPolicy.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutboundTrafficPolicy.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutboundTrafficPolicyMode.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutboundTrafficPolicyMode.java new file mode 100644 index 00000000000..221c2c0ceeb --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutboundTrafficPolicyMode.java @@ -0,0 +1,37 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum OutboundTrafficPolicyMode +{ + ALLOW_ANY(1), + REGISTRY_ONLY(0); + private final int value; + private OutboundTrafficPolicyMode(int value) { + this.value = value; + } + + @JsonCreator + public static OutboundTrafficPolicyMode fromValue(Object value) { + if (value instanceof String) { + for (OutboundTrafficPolicyMode e : OutboundTrafficPolicyMode.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (OutboundTrafficPolicyMode e : OutboundTrafficPolicyMode.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutlierDetection.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutlierDetection.java similarity index 99% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutlierDetection.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutlierDetection.java index 8c4b6b3d697..e2796f07f65 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/OutlierDetection.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/OutlierDetection.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Percent.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Percent.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Percent.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Percent.java index ebf8f873aa0..2b97eba3827 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Percent.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Percent.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Port.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Port.java similarity index 92% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Port.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Port.java index 636992caeab..dd1e7d845d4 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Port.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Port.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -68,11 +68,11 @@ public class Port implements Editable , KubernetesResource @JsonProperty("name") private String name; @JsonProperty("number") - private Integer number; + private Long number; @JsonProperty("protocol") private String protocol; @JsonProperty("targetPort") - private Integer targetPort; + private Long targetPort; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -83,7 +83,7 @@ public class Port implements Editable , KubernetesResource public Port() { } - public Port(String name, Integer number, String protocol, Integer targetPort) { + public Port(String name, Long number, String protocol, Long targetPort) { super(); this.name = name; this.number = number; @@ -102,12 +102,12 @@ public void setName(String name) { } @JsonProperty("number") - public Integer getNumber() { + public Long getNumber() { return number; } @JsonProperty("number") - public void setNumber(Integer number) { + public void setNumber(Long number) { this.number = number; } @@ -122,12 +122,12 @@ public void setProtocol(String protocol) { } @JsonProperty("targetPort") - public Integer getTargetPort() { + public Long getTargetPort() { return targetPort; } @JsonProperty("targetPort") - public void setTargetPort(Integer targetPort) { + public void setTargetPort(Long targetPort) { this.targetPort = targetPort; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/PortSelector.java similarity index 94% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/PortSelector.java index 1a842e06838..2e1cbedc02e 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/PortSelector.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -63,7 +63,7 @@ public class PortSelector implements Editable , KubernetesR { @JsonProperty("number") - private Integer number; + private Long number; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -74,18 +74,18 @@ public class PortSelector implements Editable , KubernetesR public PortSelector() { } - public PortSelector(Integer number) { + public PortSelector(Long number) { super(); this.number = number; } @JsonProperty("number") - public Integer getNumber() { + public Long getNumber() { return number; } @JsonProperty("number") - public void setNumber(Integer number) { + public void setNumber(Long number) { this.number = number; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbe.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbe.java similarity index 99% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbe.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbe.java index 21e120e6696..4a096e2dbb2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ReadinessProbe.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbe.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeExec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeExec.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeExec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeExec.java index 9039f55ff08..13711769ef1 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeExec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeExec.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ReadinessProbeExec implements IsReadinessProbeHealthCheckMethod, Editable +public class ReadinessProbeExec implements IsReadinessProbeHealthCheckMethod, Editable , KubernetesResource { @JsonProperty("exec") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeHttpGet.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeHttpGet.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeHttpGet.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeHttpGet.java index 19df3a3e1fa..b1688a52187 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeHttpGet.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeHttpGet.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ReadinessProbeHttpGet implements IsReadinessProbeHealthCheckMethod, Editable +public class ReadinessProbeHttpGet implements IsReadinessProbeHealthCheckMethod, Editable , KubernetesResource { @JsonProperty("httpGet") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeTcpSocket.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeTcpSocket.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeTcpSocket.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeTcpSocket.java index 5c8cc6aab20..be7161cb363 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ReadinessProbeTcpSocket.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ReadinessProbeTcpSocket.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ReadinessProbeTcpSocket implements IsReadinessProbeHealthCheckMethod, Editable +public class ReadinessProbeTcpSocket implements IsReadinessProbeHealthCheckMethod, Editable , KubernetesResource { @JsonProperty("tcpSocket") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RegexRewrite.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/RegexRewrite.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RegexRewrite.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/RegexRewrite.java index 748ff1a8d5f..2ee0068f2fd 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/RegexRewrite.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/RegexRewrite.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RouteDestination.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/RouteDestination.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RouteDestination.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/RouteDestination.java index 1d60f4ae760..687752a2444 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/RouteDestination.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/RouteDestination.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Server.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Server.java similarity index 99% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Server.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Server.java index 90d7f56cc92..30a2ab78910 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Server.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Server.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettings.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettings.java similarity index 92% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettings.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettings.java index f5b3e1f4923..1f455543724 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServerTLSSettings.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettings.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -38,6 +38,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "caCertificates", + "caCrl", "cipherSuites", "credentialName", "httpsRedirect", @@ -77,6 +78,8 @@ public class ServerTLSSettings implements Editable , K @JsonProperty("caCertificates") private String caCertificates; + @JsonProperty("caCrl") + private String caCrl; @JsonProperty("cipherSuites") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List cipherSuites = new ArrayList<>(); @@ -113,9 +116,10 @@ public class ServerTLSSettings implements Editable , K public ServerTLSSettings() { } - public ServerTLSSettings(String caCertificates, List cipherSuites, String credentialName, Boolean httpsRedirect, ServerTLSSettingsTLSProtocol maxProtocolVersion, ServerTLSSettingsTLSProtocol minProtocolVersion, ServerTLSSettingsTLSmode mode, String privateKey, String serverCertificate, List subjectAltNames, List verifyCertificateHash, List verifyCertificateSpki) { + public ServerTLSSettings(String caCertificates, String caCrl, List cipherSuites, String credentialName, Boolean httpsRedirect, ServerTLSSettingsTLSProtocol maxProtocolVersion, ServerTLSSettingsTLSProtocol minProtocolVersion, ServerTLSSettingsTLSmode mode, String privateKey, String serverCertificate, List subjectAltNames, List verifyCertificateHash, List verifyCertificateSpki) { super(); this.caCertificates = caCertificates; + this.caCrl = caCrl; this.cipherSuites = cipherSuites; this.credentialName = credentialName; this.httpsRedirect = httpsRedirect; @@ -139,6 +143,16 @@ public void setCaCertificates(String caCertificates) { this.caCertificates = caCertificates; } + @JsonProperty("caCrl") + public String getCaCrl() { + return caCrl; + } + + @JsonProperty("caCrl") + public void setCaCrl(String caCrl) { + this.caCrl = caCrl; + } + @JsonProperty("cipherSuites") @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getCipherSuites() { diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettingsTLSProtocol.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettingsTLSProtocol.java new file mode 100644 index 00000000000..88adb8e6d83 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettingsTLSProtocol.java @@ -0,0 +1,40 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum ServerTLSSettingsTLSProtocol +{ + TLSV1_0(1), + TLSV1_1(2), + TLSV1_2(3), + TLSV1_3(4), + TLS_AUTO(0); + private final int value; + private ServerTLSSettingsTLSProtocol(int value) { + this.value = value; + } + + @JsonCreator + public static ServerTLSSettingsTLSProtocol fromValue(Object value) { + if (value instanceof String) { + for (ServerTLSSettingsTLSProtocol e : ServerTLSSettingsTLSProtocol.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (ServerTLSSettingsTLSProtocol e : ServerTLSSettingsTLSProtocol.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettingsTLSmode.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettingsTLSmode.java new file mode 100644 index 00000000000..4273c3c34c3 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServerTLSSettingsTLSmode.java @@ -0,0 +1,41 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum ServerTLSSettingsTLSmode +{ + AUTO_PASSTHROUGH(3), + ISTIO_MUTUAL(4), + MUTUAL(2), + OPTIONAL_MUTUAL(5), + PASSTHROUGH(0), + SIMPLE(1); + private final int value; + private ServerTLSSettingsTLSmode(int value) { + this.value = value; + } + + @JsonCreator + public static ServerTLSSettingsTLSmode fromValue(Object value) { + if (value instanceof String) { + for (ServerTLSSettingsTLSmode e : ServerTLSSettingsTLSmode.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (ServerTLSSettingsTLSmode e : ServerTLSSettingsTLSmode.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntrySpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntry.java similarity index 85% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntrySpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntry.java index 6f3c87c2f25..a0d28b58c2c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntrySpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntry.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -28,8 +29,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -68,8 +73,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha3") +@Group("") @Generated("jsonschema2pojo") -public class ServiceEntrySpec implements Editable , KubernetesResource +public class ServiceEntry implements Editable , KubernetesResource, Namespaced { @JsonProperty("addresses") @@ -77,7 +87,7 @@ public class ServiceEntrySpec implements Editable , Kub private List addresses = new ArrayList<>(); @JsonProperty("endpoints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List endpoints = new ArrayList<>(); + private List endpoints = new ArrayList<>(); @JsonProperty("exportTo") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List exportTo = new ArrayList<>(); @@ -103,10 +113,10 @@ public class ServiceEntrySpec implements Editable , Kub * No args constructor for use in serialization * */ - public ServiceEntrySpec() { + public ServiceEntry() { } - public ServiceEntrySpec(List addresses, List endpoints, List exportTo, List hosts, ServiceEntryLocation location, List ports, ServiceEntryResolution resolution, List subjectAltNames, WorkloadSelector workloadSelector) { + public ServiceEntry(List addresses, List endpoints, List exportTo, List hosts, ServiceEntryLocation location, List ports, ServiceEntryResolution resolution, List subjectAltNames, WorkloadSelector workloadSelector) { super(); this.addresses = addresses; this.endpoints = endpoints; @@ -132,12 +142,12 @@ public void setAddresses(List addresses) { @JsonProperty("endpoints") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEndpoints() { + public List getEndpoints() { return endpoints; } @JsonProperty("endpoints") - public void setEndpoints(List endpoints) { + public void setEndpoints(List endpoints) { this.endpoints = endpoints; } @@ -216,12 +226,12 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { } @JsonIgnore - public ServiceEntrySpecBuilder edit() { - return new ServiceEntrySpecBuilder(this); + public ServiceEntryBuilder edit() { + return new ServiceEntryBuilder(this); } @JsonIgnore - public ServiceEntrySpecBuilder toBuilder() { + public ServiceEntryBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHeader.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryAddress.java similarity index 84% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHeader.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryAddress.java index 3c4a3455552..ea5bc45851b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/HTTPHeader.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryAddress.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -35,7 +35,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "name", + "host", "value" }) @ToString @@ -60,11 +60,11 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class HTTPHeader implements Editable , KubernetesResource +public class ServiceEntryAddress implements Editable , KubernetesResource { - @JsonProperty("name") - private String name; + @JsonProperty("host") + private String host; @JsonProperty("value") private String value; @JsonIgnore @@ -74,23 +74,23 @@ public class HTTPHeader implements Editable , KubernetesResou * No args constructor for use in serialization * */ - public HTTPHeader() { + public ServiceEntryAddress() { } - public HTTPHeader(String name, String value) { + public ServiceEntryAddress(String host, String value) { super(); - this.name = name; + this.host = host; this.value = value; } - @JsonProperty("name") - public String getName() { - return name; + @JsonProperty("host") + public String getHost() { + return host; } - @JsonProperty("name") - public void setName(String name) { - this.name = name; + @JsonProperty("host") + public void setHost(String host) { + this.host = host; } @JsonProperty("value") @@ -104,12 +104,12 @@ public void setValue(String value) { } @JsonIgnore - public HTTPHeaderBuilder edit() { - return new HTTPHeaderBuilder(this); + public ServiceEntryAddressBuilder edit() { + return new ServiceEntryAddressBuilder(this); } @JsonIgnore - public HTTPHeaderBuilder toBuilder() { + public ServiceEntryAddressBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryLocation.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryLocation.java new file mode 100644 index 00000000000..e5c469d9f60 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryLocation.java @@ -0,0 +1,37 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum ServiceEntryLocation +{ + MESH_EXTERNAL(0), + MESH_INTERNAL(1); + private final int value; + private ServiceEntryLocation(int value) { + this.value = value; + } + + @JsonCreator + public static ServiceEntryLocation fromValue(Object value) { + if (value instanceof String) { + for (ServiceEntryLocation e : ServiceEntryLocation.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (ServiceEntryLocation e : ServiceEntryLocation.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryResolution.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryResolution.java new file mode 100644 index 00000000000..d4824fbd33d --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryResolution.java @@ -0,0 +1,39 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum ServiceEntryResolution +{ + DNS(2), + DNS_ROUND_ROBIN(3), + NONE(0), + STATIC(1); + private final int value; + private ServiceEntryResolution(int value) { + this.value = value; + } + + @JsonCreator + public static ServiceEntryResolution fromValue(Object value) { + if (value instanceof String) { + for (ServiceEntryResolution e : ServiceEntryResolution.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (ServiceEntryResolution e : ServiceEntryResolution.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSetting.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryStatus.java similarity index 60% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSetting.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryStatus.java index 62378a77158..459a6e2b111 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/LocalityLoadBalancerSetting.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServiceEntryStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,6 +13,8 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.istio.api.api.analysis.v1alpha1.AnalysisMessageBase; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioCondition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -37,10 +39,10 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "distribute", - "enabled", - "failover", - "failoverPriority" + "addresses", + "conditions", + "observedGeneration", + "validationMessages" }) @ToString @EqualsAndHashCode @@ -64,20 +66,20 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class LocalityLoadBalancerSetting implements Editable , KubernetesResource +public class ServiceEntryStatus implements Editable , KubernetesResource { - @JsonProperty("distribute") + @JsonProperty("addresses") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List distribute = new ArrayList<>(); - @JsonProperty("enabled") - private Boolean enabled; - @JsonProperty("failover") + private List addresses = new ArrayList<>(); + @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List failover = new ArrayList<>(); - @JsonProperty("failoverPriority") + private List conditions = new ArrayList<>(); + @JsonProperty("observedGeneration") + private Long observedGeneration; + @JsonProperty("validationMessages") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List failoverPriority = new ArrayList<>(); + private List validationMessages = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -85,67 +87,67 @@ public class LocalityLoadBalancerSetting implements Editable distribute, Boolean enabled, List failover, List failoverPriority) { + public ServiceEntryStatus(List addresses, List conditions, Long observedGeneration, List validationMessages) { super(); - this.distribute = distribute; - this.enabled = enabled; - this.failover = failover; - this.failoverPriority = failoverPriority; + this.addresses = addresses; + this.conditions = conditions; + this.observedGeneration = observedGeneration; + this.validationMessages = validationMessages; } - @JsonProperty("distribute") + @JsonProperty("addresses") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDistribute() { - return distribute; + public List getAddresses() { + return addresses; } - @JsonProperty("distribute") - public void setDistribute(List distribute) { - this.distribute = distribute; + @JsonProperty("addresses") + public void setAddresses(List addresses) { + this.addresses = addresses; } - @JsonProperty("enabled") - public Boolean getEnabled() { - return enabled; + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; } - @JsonProperty("enabled") - public void setEnabled(Boolean enabled) { - this.enabled = enabled; + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; } - @JsonProperty("failover") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getFailover() { - return failover; + @JsonProperty("observedGeneration") + public Long getObservedGeneration() { + return observedGeneration; } - @JsonProperty("failover") - public void setFailover(List failover) { - this.failover = failover; + @JsonProperty("observedGeneration") + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; } - @JsonProperty("failoverPriority") + @JsonProperty("validationMessages") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getFailoverPriority() { - return failoverPriority; + public List getValidationMessages() { + return validationMessages; } - @JsonProperty("failoverPriority") - public void setFailoverPriority(List failoverPriority) { - this.failoverPriority = failoverPriority; + @JsonProperty("validationMessages") + public void setValidationMessages(List validationMessages) { + this.validationMessages = validationMessages; } @JsonIgnore - public LocalityLoadBalancerSettingBuilder edit() { - return new LocalityLoadBalancerSettingBuilder(this); + public ServiceEntryStatusBuilder edit() { + return new ServiceEntryStatusBuilder(this); } @JsonIgnore - public LocalityLoadBalancerSettingBuilder toBuilder() { + public ServiceEntryStatusBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServicePort.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServicePort.java similarity index 92% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServicePort.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServicePort.java index 227ad55cf7f..fb4c18992db 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServicePort.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/ServicePort.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -68,11 +68,11 @@ public class ServicePort implements Editable , KubernetesRes @JsonProperty("name") private String name; @JsonProperty("number") - private Integer number; + private Long number; @JsonProperty("protocol") private String protocol; @JsonProperty("targetPort") - private Integer targetPort; + private Long targetPort; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -83,7 +83,7 @@ public class ServicePort implements Editable , KubernetesRes public ServicePort() { } - public ServicePort(String name, Integer number, String protocol, Integer targetPort) { + public ServicePort(String name, Long number, String protocol, Long targetPort) { super(); this.name = name; this.number = number; @@ -102,12 +102,12 @@ public void setName(String name) { } @JsonProperty("number") - public Integer getNumber() { + public Long getNumber() { return number; } @JsonProperty("number") - public void setNumber(Integer number) { + public void setNumber(Long number) { this.number = number; } @@ -122,12 +122,12 @@ public void setProtocol(String protocol) { } @JsonProperty("targetPort") - public Integer getTargetPort() { + public Long getTargetPort() { return targetPort; } @JsonProperty("targetPort") - public void setTargetPort(Integer targetPort) { + public void setTargetPort(Long targetPort) { this.targetPort = targetPort; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarSpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Sidecar.java similarity index 85% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarSpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Sidecar.java index 778a023a6be..ec6e1637f40 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarSpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Sidecar.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -28,8 +29,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -64,8 +69,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha3") +@Group("") @Generated("jsonschema2pojo") -public class SidecarSpec implements Editable , KubernetesResource +public class Sidecar implements Editable , KubernetesResource, Namespaced { @JsonProperty("egress") @@ -87,10 +97,10 @@ public class SidecarSpec implements Editable , KubernetesRes * No args constructor for use in serialization * */ - public SidecarSpec() { + public Sidecar() { } - public SidecarSpec(List egress, ConnectionPoolSettings inboundConnectionPool, List ingress, OutboundTrafficPolicy outboundTrafficPolicy, WorkloadSelector workloadSelector) { + public Sidecar(List egress, ConnectionPoolSettings inboundConnectionPool, List ingress, OutboundTrafficPolicy outboundTrafficPolicy, WorkloadSelector workloadSelector) { super(); this.egress = egress; this.inboundConnectionPool = inboundConnectionPool; @@ -152,12 +162,12 @@ public void setWorkloadSelector(WorkloadSelector workloadSelector) { } @JsonIgnore - public SidecarSpecBuilder edit() { - return new SidecarSpecBuilder(this); + public SidecarBuilder edit() { + return new SidecarBuilder(this); } @JsonIgnore - public SidecarSpecBuilder toBuilder() { + public SidecarBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarPort.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/SidecarPort.java similarity index 92% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarPort.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/SidecarPort.java index d5d80a60db8..dd6ecd11141 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarPort.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/SidecarPort.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -68,11 +68,11 @@ public class SidecarPort implements Editable , KubernetesRes @JsonProperty("name") private String name; @JsonProperty("number") - private Integer number; + private Long number; @JsonProperty("protocol") private String protocol; @JsonProperty("targetPort") - private Integer targetPort; + private Long targetPort; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -83,7 +83,7 @@ public class SidecarPort implements Editable , KubernetesRes public SidecarPort() { } - public SidecarPort(String name, Integer number, String protocol, Integer targetPort) { + public SidecarPort(String name, Long number, String protocol, Long targetPort) { super(); this.name = name; this.number = number; @@ -102,12 +102,12 @@ public void setName(String name) { } @JsonProperty("number") - public Integer getNumber() { + public Long getNumber() { return number; } @JsonProperty("number") - public void setNumber(Integer number) { + public void setNumber(Long number) { this.number = number; } @@ -122,12 +122,12 @@ public void setProtocol(String protocol) { } @JsonProperty("targetPort") - public Integer getTargetPort() { + public Long getTargetPort() { return targetPort; } @JsonProperty("targetPort") - public void setTargetPort(Integer targetPort) { + public void setTargetPort(Long targetPort) { this.targetPort = targetPort; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatch.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatch.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatch.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatch.java index f5bec8cdc1b..48b3ee6fc4f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/StringMatch.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatch.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchExact.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchExact.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchExact.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchExact.java index 3c639fff731..543ccbdbe27 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchExact.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchExact.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchExact implements IsStringMatchMatchType, Editable +public class StringMatchExact implements IsStringMatchMatchType, Editable , KubernetesResource { @JsonProperty("exact") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchPrefix.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchPrefix.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchPrefix.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchPrefix.java index 48e8aae4936..951eda2f266 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchPrefix.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchPrefix.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchPrefix implements IsStringMatchMatchType, Editable +public class StringMatchPrefix implements IsStringMatchMatchType, Editable , KubernetesResource { @JsonProperty("prefix") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchRegex.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchRegex.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchRegex.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchRegex.java index 7ceb1362da4..19d935e79d1 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/StringMatchRegex.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/StringMatchRegex.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class StringMatchRegex implements IsStringMatchMatchType, Editable +public class StringMatchRegex implements IsStringMatchMatchType, Editable , KubernetesResource { @JsonProperty("regex") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Subset.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Subset.java similarity index 87% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Subset.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Subset.java index 82952a6f09d..63822bf2d25 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Subset.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/Subset.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -68,11 +68,11 @@ public class Subset implements Editable , KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map labels = new LinkedHashMap<>(); @JsonProperty("name") - private java.lang.String name; + private String name; @JsonProperty("trafficPolicy") private TrafficPolicy trafficPolicy; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -81,7 +81,7 @@ public class Subset implements Editable , KubernetesResource public Subset() { } - public Subset(Map labels, java.lang.String name, TrafficPolicy trafficPolicy) { + public Subset(Map labels, String name, TrafficPolicy trafficPolicy) { super(); this.labels = labels; this.name = name; @@ -100,12 +100,12 @@ public void setLabels(Map labels) { } @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @@ -130,16 +130,16 @@ public SubsetBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPHealthCheckConfig.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TCPHealthCheckConfig.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPHealthCheckConfig.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TCPHealthCheckConfig.java index 30e38f7d420..eda5881b420 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TCPHealthCheckConfig.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TCPHealthCheckConfig.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -66,7 +66,7 @@ public class TCPHealthCheckConfig implements Editable additionalProperties = new LinkedHashMap(); @@ -77,7 +77,7 @@ public class TCPHealthCheckConfig implements Editable , @JsonProperty("destinationSubnets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List destinationSubnets = new ArrayList<>(); + private List destinationSubnets = new ArrayList<>(); @JsonProperty("gateways") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List gateways = new ArrayList<>(); + private List gateways = new ArrayList<>(); @JsonProperty("port") - private Integer port; + private Long port; @JsonProperty("sniHosts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List sniHosts = new ArrayList<>(); + private List sniHosts = new ArrayList<>(); @JsonProperty("sourceLabels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map sourceLabels = new LinkedHashMap<>(); @JsonProperty("sourceNamespace") - private java.lang.String sourceNamespace; + private String sourceNamespace; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -95,7 +95,7 @@ public class TLSMatchAttributes implements Editable , public TLSMatchAttributes() { } - public TLSMatchAttributes(List destinationSubnets, List gateways, Integer port, List sniHosts, Map sourceLabels, java.lang.String sourceNamespace) { + public TLSMatchAttributes(List destinationSubnets, List gateways, Long port, List sniHosts, Map sourceLabels, String sourceNamespace) { super(); this.destinationSubnets = destinationSubnets; this.gateways = gateways; @@ -107,44 +107,44 @@ public TLSMatchAttributes(List destinationSubnets, List getDestinationSubnets() { + public List getDestinationSubnets() { return destinationSubnets; } @JsonProperty("destinationSubnets") - public void setDestinationSubnets(List destinationSubnets) { + public void setDestinationSubnets(List destinationSubnets) { this.destinationSubnets = destinationSubnets; } @JsonProperty("gateways") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getGateways() { + public List getGateways() { return gateways; } @JsonProperty("gateways") - public void setGateways(List gateways) { + public void setGateways(List gateways) { this.gateways = gateways; } @JsonProperty("port") - public Integer getPort() { + public Long getPort() { return port; } @JsonProperty("port") - public void setPort(Integer port) { + public void setPort(Long port) { this.port = port; } @JsonProperty("sniHosts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getSniHosts() { + public List getSniHosts() { return sniHosts; } @JsonProperty("sniHosts") - public void setSniHosts(List sniHosts) { + public void setSniHosts(List sniHosts) { this.sniHosts = sniHosts; } @@ -160,12 +160,12 @@ public void setSourceLabels(Map sourceLabels) { } @JsonProperty("sourceNamespace") - public java.lang.String getSourceNamespace() { + public String getSourceNamespace() { return sourceNamespace; } @JsonProperty("sourceNamespace") - public void setSourceNamespace(java.lang.String sourceNamespace) { + public void setSourceNamespace(String sourceNamespace) { this.sourceNamespace = sourceNamespace; } @@ -180,16 +180,16 @@ public TLSMatchAttributesBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSRoute.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TLSRoute.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSRoute.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TLSRoute.java index 747a14c7cf3..2cb3573597e 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TLSRoute.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TLSRoute.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicy.java similarity index 99% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicy.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicy.java index b48bc883d28..ffe75d32cb9 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicy.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicy.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java similarity index 99% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java index cb5e93db616..5977dae8df1 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyPortTrafficPolicy.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyProxyProtocol.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyProxyProtocol.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyProxyProtocol.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyProxyProtocol.java index 4d5310139e0..f3ac1cdc449 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyProxyProtocol.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyProxyProtocol.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyProxyProtocolVERSION.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyProxyProtocolVERSION.java new file mode 100644 index 00000000000..d11a020fcdc --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyProxyProtocolVERSION.java @@ -0,0 +1,37 @@ + +package io.fabric8.istio.api.api.networking.v1alpha3; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum TrafficPolicyProxyProtocolVERSION +{ + V1(0), + V2(1); + private final int value; + private TrafficPolicyProxyProtocolVERSION(int value) { + this.value = value; + } + + @JsonCreator + public static TrafficPolicyProxyProtocolVERSION fromValue(Object value) { + if (value instanceof String) { + for (TrafficPolicyProxyProtocolVERSION e : TrafficPolicyProxyProtocolVERSION.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (TrafficPolicyProxyProtocolVERSION e : TrafficPolicyProxyProtocolVERSION.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyTunnelSettings.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyTunnelSettings.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyTunnelSettings.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyTunnelSettings.java index c0533bc05d5..05faf15f45d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/TrafficPolicyTunnelSettings.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/TrafficPolicyTunnelSettings.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -69,7 +69,7 @@ public class TrafficPolicyTunnelSettings implements Editable additionalProperties = new LinkedHashMap(); @@ -80,7 +80,7 @@ public class TrafficPolicyTunnelSettings implements Editable , KubernetesResource +public class VirtualService implements Editable , KubernetesResource, Namespaced { @JsonProperty("exportTo") @@ -94,10 +104,10 @@ public class VirtualServiceSpec implements Editable , * No args constructor for use in serialization * */ - public VirtualServiceSpec() { + public VirtualService() { } - public VirtualServiceSpec(List exportTo, List gateways, List hosts, List http, List tcp, List tls) { + public VirtualService(List exportTo, List gateways, List hosts, List http, List tcp, List tls) { super(); this.exportTo = exportTo; this.gateways = gateways; @@ -174,12 +184,12 @@ public void setTls(List tls) { } @JsonIgnore - public VirtualServiceSpecBuilder edit() { - return new VirtualServiceSpecBuilder(this); + public VirtualServiceBuilder edit() { + return new VirtualServiceBuilder(this); } @JsonIgnore - public VirtualServiceSpecBuilder toBuilder() { + public VirtualServiceBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntrySpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadEntry.java similarity index 72% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntrySpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadEntry.java index 83a3ce88b05..787cbb4c58a 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntrySpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadEntry.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -19,6 +19,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -26,8 +27,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -64,37 +69,42 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha3") +@Group("") @Generated("jsonschema2pojo") -public class WorkloadEntrySpec implements Editable , KubernetesResource +public class WorkloadEntry implements Editable , KubernetesResource, Namespaced { @JsonProperty("address") - private java.lang.String address; + private String address; @JsonProperty("labels") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map labels = new LinkedHashMap<>(); @JsonProperty("locality") - private java.lang.String locality; + private String locality; @JsonProperty("network") - private java.lang.String network; + private String network; @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map ports = new LinkedHashMap<>(); @JsonProperty("serviceAccount") - private java.lang.String serviceAccount; + private String serviceAccount; @JsonProperty("weight") - private Integer weight; + private Long weight; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization * */ - public WorkloadEntrySpec() { + public WorkloadEntry() { } - public WorkloadEntrySpec(java.lang.String address, Map labels, java.lang.String locality, java.lang.String network, Map ports, java.lang.String serviceAccount, Integer weight) { + public WorkloadEntry(String address, Map labels, String locality, String network, Map ports, String serviceAccount, Long weight) { super(); this.address = address; this.labels = labels; @@ -106,12 +116,12 @@ public WorkloadEntrySpec(java.lang.String address, Map labels, j } @JsonProperty("address") - public java.lang.String getAddress() { + public String getAddress() { return address; } @JsonProperty("address") - public void setAddress(java.lang.String address) { + public void setAddress(String address) { this.address = address; } @@ -127,22 +137,22 @@ public void setLabels(Map labels) { } @JsonProperty("locality") - public java.lang.String getLocality() { + public String getLocality() { return locality; } @JsonProperty("locality") - public void setLocality(java.lang.String locality) { + public void setLocality(String locality) { this.locality = locality; } @JsonProperty("network") - public java.lang.String getNetwork() { + public String getNetwork() { return network; } @JsonProperty("network") - public void setNetwork(java.lang.String network) { + public void setNetwork(String network) { this.network = network; } @@ -158,46 +168,46 @@ public void setPorts(Map ports) { } @JsonProperty("serviceAccount") - public java.lang.String getServiceAccount() { + public String getServiceAccount() { return serviceAccount; } @JsonProperty("serviceAccount") - public void setServiceAccount(java.lang.String serviceAccount) { + public void setServiceAccount(String serviceAccount) { this.serviceAccount = serviceAccount; } @JsonProperty("weight") - public Integer getWeight() { + public Long getWeight() { return weight; } @JsonProperty("weight") - public void setWeight(Integer weight) { + public void setWeight(Long weight) { this.weight = weight; } @JsonIgnore - public WorkloadEntrySpecBuilder edit() { - return new WorkloadEntrySpecBuilder(this); + public WorkloadEntryBuilder edit() { + return new WorkloadEntryBuilder(this); } @JsonIgnore - public WorkloadEntrySpecBuilder toBuilder() { + public WorkloadEntryBuilder toBuilder() { return edit(); } @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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupSpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadGroup.java similarity index 79% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupSpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadGroup.java index ae52428712a..6c3114cd980 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupSpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadGroup.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -19,6 +19,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -26,8 +27,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -60,8 +65,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha3") +@Group("") @Generated("jsonschema2pojo") -public class WorkloadGroupSpec implements Editable , KubernetesResource +public class WorkloadGroup implements Editable , KubernetesResource, Namespaced { @JsonProperty("metadata") @@ -69,7 +79,7 @@ public class WorkloadGroupSpec implements Editable , K @JsonProperty("probe") private ReadinessProbe probe; @JsonProperty("template") - private WorkloadEntrySpec template; + private WorkloadEntry template; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -77,10 +87,10 @@ public class WorkloadGroupSpec implements Editable , K * No args constructor for use in serialization * */ - public WorkloadGroupSpec() { + public WorkloadGroup() { } - public WorkloadGroupSpec(WorkloadGroupObjectMeta metadata, ReadinessProbe probe, WorkloadEntrySpec template) { + public WorkloadGroup(WorkloadGroupObjectMeta metadata, ReadinessProbe probe, WorkloadEntry template) { super(); this.metadata = metadata; this.probe = probe; @@ -108,22 +118,22 @@ public void setProbe(ReadinessProbe probe) { } @JsonProperty("template") - public WorkloadEntrySpec getTemplate() { + public WorkloadEntry getTemplate() { return template; } @JsonProperty("template") - public void setTemplate(WorkloadEntrySpec template) { + public void setTemplate(WorkloadEntry template) { this.template = template; } @JsonIgnore - public WorkloadGroupSpecBuilder edit() { - return new WorkloadGroupSpecBuilder(this); + public WorkloadGroupBuilder edit() { + return new WorkloadGroupBuilder(this); } @JsonIgnore - public WorkloadGroupSpecBuilder toBuilder() { + public WorkloadGroupBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupObjectMeta.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadGroupObjectMeta.java similarity index 91% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupObjectMeta.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadGroupObjectMeta.java index 58a341e000a..ebb5c7a5261 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupObjectMeta.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadGroupObjectMeta.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -70,7 +70,7 @@ public class WorkloadGroupObjectMeta implements Editable labels = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -118,16 +118,16 @@ public WorkloadGroupObjectMetaBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadSelector.java similarity index 90% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadSelector.java index 956043e745a..ba508f1796f 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadSelector.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1alpha3/WorkloadSelector.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1alpha3; import java.util.LinkedHashMap; import java.util.Map; @@ -66,7 +66,7 @@ public class WorkloadSelector implements Editable , Kub @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map labels = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -102,16 +102,16 @@ public WorkloadSelectorBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigSpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1beta1/ProxyConfig.java similarity index 77% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigSpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1beta1/ProxyConfig.java index d68bda72cee..753f63d660a 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigSpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1beta1/ProxyConfig.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.type.v1beta1.WorkloadSelector; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelector; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -20,6 +20,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -27,8 +28,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -62,8 +67,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1beta1") +@Group("") @Generated("jsonschema2pojo") -public class ProxyConfigSpec implements Editable , KubernetesResource +public class ProxyConfig implements Editable , KubernetesResource, Namespaced { @JsonProperty("concurrency") @@ -76,16 +86,16 @@ public class ProxyConfigSpec implements Editable , Kuber @JsonProperty("selector") private WorkloadSelector selector; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization * */ - public ProxyConfigSpec() { + public ProxyConfig() { } - public ProxyConfigSpec(Integer concurrency, Map environmentVariables, ProxyImage image, WorkloadSelector selector) { + public ProxyConfig(Integer concurrency, Map environmentVariables, ProxyImage image, WorkloadSelector selector) { super(); this.concurrency = concurrency; this.environmentVariables = environmentVariables; @@ -135,26 +145,26 @@ public void setSelector(WorkloadSelector selector) { } @JsonIgnore - public ProxyConfigSpecBuilder edit() { - return new ProxyConfigSpecBuilder(this); + public ProxyConfigBuilder edit() { + return new ProxyConfigBuilder(this); } @JsonIgnore - public ProxyConfigSpecBuilder toBuilder() { + public ProxyConfigBuilder toBuilder() { return edit(); } @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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyImage.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1beta1/ProxyImage.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyImage.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1beta1/ProxyImage.java index 95f70b29177..4ec1f10ead9 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyImage.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/networking/v1beta1/ProxyImage.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.networking.v1beta1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupSpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/IstioCertificateRequest.java similarity index 71% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupSpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/IstioCertificateRequest.java index cfd03507ba0..df431a53d8f 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupSpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/IstioCertificateRequest.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.security.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -36,8 +36,8 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "metadata", - "probe", - "template" + "csr", + "validityDuration" }) @ToString @EqualsAndHashCode @@ -61,15 +61,16 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class WorkloadGroupSpec implements Editable , KubernetesResource +public class IstioCertificateRequest implements Editable , KubernetesResource { + @JsonProperty("csr") + private String csr; @JsonProperty("metadata") - private WorkloadGroupObjectMeta metadata; - @JsonProperty("probe") - private ReadinessProbe probe; - @JsonProperty("template") - private WorkloadEntrySpec template; + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object metadata; + @JsonProperty("validityDuration") + private Long validityDuration; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -77,53 +78,54 @@ public class WorkloadGroupSpec implements Editable , K * No args constructor for use in serialization * */ - public WorkloadGroupSpec() { + public IstioCertificateRequest() { } - public WorkloadGroupSpec(WorkloadGroupObjectMeta metadata, ReadinessProbe probe, WorkloadEntrySpec template) { + public IstioCertificateRequest(String csr, Object metadata, Long validityDuration) { super(); + this.csr = csr; this.metadata = metadata; - this.probe = probe; - this.template = template; + this.validityDuration = validityDuration; } - @JsonProperty("metadata") - public WorkloadGroupObjectMeta getMetadata() { - return metadata; + @JsonProperty("csr") + public String getCsr() { + return csr; } - @JsonProperty("metadata") - public void setMetadata(WorkloadGroupObjectMeta metadata) { - this.metadata = metadata; + @JsonProperty("csr") + public void setCsr(String csr) { + this.csr = csr; } - @JsonProperty("probe") - public ReadinessProbe getProbe() { - return probe; + @JsonProperty("metadata") + public Object getMetadata() { + return metadata; } - @JsonProperty("probe") - public void setProbe(ReadinessProbe probe) { - this.probe = probe; + @JsonProperty("metadata") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setMetadata(Object metadata) { + this.metadata = metadata; } - @JsonProperty("template") - public WorkloadEntrySpec getTemplate() { - return template; + @JsonProperty("validityDuration") + public Long getValidityDuration() { + return validityDuration; } - @JsonProperty("template") - public void setTemplate(WorkloadEntrySpec template) { - this.template = template; + @JsonProperty("validityDuration") + public void setValidityDuration(Long validityDuration) { + this.validityDuration = validityDuration; } @JsonIgnore - public WorkloadGroupSpecBuilder edit() { - return new WorkloadGroupSpecBuilder(this); + public IstioCertificateRequestBuilder edit() { + return new IstioCertificateRequestBuilder(this); } @JsonIgnore - public WorkloadGroupSpecBuilder toBuilder() { + public IstioCertificateRequestBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ExecHealthCheckConfig.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/IstioCertificateResponse.java similarity index 81% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ExecHealthCheckConfig.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/IstioCertificateResponse.java index 987ba896b60..d3a06a3e709 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ExecHealthCheckConfig.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/IstioCertificateResponse.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.security.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -37,7 +37,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "command" + "certChain" }) @ToString @EqualsAndHashCode @@ -61,12 +61,12 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class ExecHealthCheckConfig implements Editable , KubernetesResource +public class IstioCertificateResponse implements Editable , KubernetesResource { - @JsonProperty("command") + @JsonProperty("certChain") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List command = new ArrayList<>(); + private List certChain = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -74,32 +74,32 @@ public class ExecHealthCheckConfig implements Editable command) { + public IstioCertificateResponse(List certChain) { super(); - this.command = command; + this.certChain = certChain; } - @JsonProperty("command") + @JsonProperty("certChain") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getCommand() { - return command; + public List getCertChain() { + return certChain; } - @JsonProperty("command") - public void setCommand(List command) { - this.command = command; + @JsonProperty("certChain") + public void setCertChain(List certChain) { + this.certChain = certChain; } @JsonIgnore - public ExecHealthCheckConfigBuilder edit() { - return new ExecHealthCheckConfigBuilder(this); + public IstioCertificateResponseBuilder edit() { + return new IstioCertificateResponseBuilder(this); } @JsonIgnore - public ExecHealthCheckConfigBuilder toBuilder() { + public IstioCertificateResponseBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Percent.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/UnimplementedIstioCertificateServiceServer.java similarity index 80% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Percent.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/UnimplementedIstioCertificateServiceServer.java index 465f48c1ba7..2f8f7f0e3f3 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Percent.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1alpha1/UnimplementedIstioCertificateServiceServer.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.security.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -8,7 +8,6 @@ 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; @@ -35,7 +34,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "value" + }) @ToString @EqualsAndHashCode @@ -59,43 +58,19 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class Percent implements Editable , KubernetesResource +public class UnimplementedIstioCertificateServiceServer implements Editable , KubernetesResource { - @JsonProperty("value") - private Double value; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); - /** - * No args constructor for use in serialization - * - */ - public Percent() { - } - - public Percent(Double value) { - super(); - this.value = value; - } - - @JsonProperty("value") - public Double getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(Double value) { - this.value = value; - } - @JsonIgnore - public PercentBuilder edit() { - return new PercentBuilder(this); + public UnimplementedIstioCertificateServiceServerBuilder edit() { + return new UnimplementedIstioCertificateServiceServerBuilder(this); } @JsonIgnore - public PercentBuilder toBuilder() { + public UnimplementedIstioCertificateServiceServerBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicySpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicy.java similarity index 75% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicySpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicy.java index afbd0578291..c1e70227419 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicySpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicy.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -14,8 +14,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.annotation.JsonUnwrapped; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.type.v1beta1.PolicyTargetReference; -import io.fabric8.istio.api.type.v1beta1.WorkloadSelector; +import io.fabric8.istio.api.api.type.v1beta1.PolicyTargetReference; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelector; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -24,6 +24,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -31,8 +32,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -44,7 +49,8 @@ "action", "rules", "selector", - "targetRef" + "targetRef", + "targetRefs" }) @ToString @EqualsAndHashCode @@ -67,8 +73,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1beta1") +@Group("") @Generated("jsonschema2pojo") -public class AuthorizationPolicySpec implements Editable , KubernetesResource +public class AuthorizationPolicy implements Editable , KubernetesResource, Namespaced { @JsonProperty("ActionDetail") @@ -83,6 +94,9 @@ public class AuthorizationPolicySpec implements Editable targetRefs = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -90,16 +104,17 @@ public class AuthorizationPolicySpec implements Editable rules, WorkloadSelector selector, PolicyTargetReference targetRef) { + public AuthorizationPolicy(IsAuthorizationPolicyActionDetail actionDetail, AuthorizationPolicyAction action, List rules, WorkloadSelector selector, PolicyTargetReference targetRef, List targetRefs) { super(); this.actionDetail = actionDetail; this.action = action; this.rules = rules; this.selector = selector; this.targetRef = targetRef; + this.targetRefs = targetRefs; } @JsonProperty("ActionDetail") @@ -154,13 +169,24 @@ public void setTargetRef(PolicyTargetReference targetRef) { this.targetRef = targetRef; } + @JsonProperty("targetRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetRefs() { + return targetRefs; + } + + @JsonProperty("targetRefs") + public void setTargetRefs(List targetRefs) { + this.targetRefs = targetRefs; + } + @JsonIgnore - public AuthorizationPolicySpecBuilder edit() { - return new AuthorizationPolicySpecBuilder(this); + public AuthorizationPolicyBuilder edit() { + return new AuthorizationPolicyBuilder(this); } @JsonIgnore - public AuthorizationPolicySpecBuilder toBuilder() { + public AuthorizationPolicyBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyAction.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyAction.java new file mode 100644 index 00000000000..e1f664c1144 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyAction.java @@ -0,0 +1,39 @@ + +package io.fabric8.istio.api.api.security.v1beta1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum AuthorizationPolicyAction +{ + ALLOW(0), + AUDIT(2), + CUSTOM(3), + DENY(1); + private final int value; + private AuthorizationPolicyAction(int value) { + this.value = value; + } + + @JsonCreator + public static AuthorizationPolicyAction fromValue(Object value) { + if (value instanceof String) { + for (AuthorizationPolicyAction e : AuthorizationPolicyAction.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (AuthorizationPolicyAction e : AuthorizationPolicyAction.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java index b68777d036f..3fe7cf510ba 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyExtensionProvider.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyProvider.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyProvider.java similarity index 96% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyProvider.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyProvider.java index 4defa981c96..5c3a5727981 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyProvider.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/AuthorizationPolicyProvider.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class AuthorizationPolicyProvider implements IsAuthorizationPolicyActionDetail, Editable +public class AuthorizationPolicyProvider implements IsAuthorizationPolicyActionDetail, Editable , KubernetesResource { @JsonProperty("provider") diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/ClaimToHeader.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/ClaimToHeader.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/ClaimToHeader.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/ClaimToHeader.java index 2456e56dbf3..58f4086150d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/ClaimToHeader.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/ClaimToHeader.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Condition.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Condition.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Condition.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Condition.java index 8c8a8465b1a..7d5255f723b 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Condition.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Condition.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPBodySpecifier.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/IsAuthorizationPolicyActionDetail.java similarity index 65% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPBodySpecifier.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/IsAuthorizationPolicyActionDetail.java index 4e44fba89f3..1804ec7fef2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/IsHTTPBodySpecifier.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/IsAuthorizationPolicyActionDetail.java @@ -1,23 +1,25 @@ -package io.fabric8.istio.api.networking.v1alpha3; +package io.fabric8.istio.api.api.security.v1beta1; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.networking.v1alpha3.HTTPBodyBytes; -import io.fabric8.istio.api.networking.v1alpha3.HTTPBodyString; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ - @JsonSubTypes.Type(HTTPBodyString.class), - @JsonSubTypes.Type(HTTPBodyBytes.class) + @JsonSubTypes.Type(AuthorizationPolicyProvider.class), }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsHTTPBodySpecifier { +@Generated("jsonschema2pojo") +public interface IsAuthorizationPolicyActionDetail extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTHeader.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/JWTHeader.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTHeader.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/JWTHeader.java index 642ad1ade15..b70f50e3b5f 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTHeader.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/JWTHeader.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTRule.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/JWTRule.java similarity index 95% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTRule.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/JWTRule.java index 3f1fccdce27..8bfd8ad2a8d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/JWTRule.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/JWTRule.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -46,7 +46,8 @@ "jwks", "jwksUri", "outputClaimToHeaders", - "outputPayloadToHeader" + "outputPayloadToHeader", + "timeout" }) @ToString @EqualsAndHashCode @@ -98,6 +99,8 @@ public class JWTRule implements Editable , KubernetesResource private List outputClaimToHeaders = new ArrayList<>(); @JsonProperty("outputPayloadToHeader") private String outputPayloadToHeader; + @JsonProperty("timeout") + private String timeout; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -108,7 +111,7 @@ public class JWTRule implements Editable , KubernetesResource public JWTRule() { } - public JWTRule(List audiences, Boolean forwardOriginalToken, List fromCookies, List fromHeaders, List fromParams, String issuer, String jwks, String jwksUri, List outputClaimToHeaders, String outputPayloadToHeader) { + public JWTRule(List audiences, Boolean forwardOriginalToken, List fromCookies, List fromHeaders, List fromParams, String issuer, String jwks, String jwksUri, List outputClaimToHeaders, String outputPayloadToHeader, String timeout) { super(); this.audiences = audiences; this.forwardOriginalToken = forwardOriginalToken; @@ -120,6 +123,7 @@ public JWTRule(List audiences, Boolean forwardOriginalToken, List , KubernetesResource +public class PeerAuthentication implements Editable , KubernetesResource, Namespaced { @JsonProperty("mtls") - private io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLS mtls; + private PeerAuthenticationMutualTLS mtls; @JsonProperty("portLevelMtls") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map portLevelMtls = new LinkedHashMap<>(); + private Map portLevelMtls = new LinkedHashMap<>(); @JsonProperty("selector") private WorkloadSelector selector; @JsonIgnore @@ -79,10 +89,10 @@ public class PeerAuthenticationSpec implements Editable portLevelMtls, WorkloadSelector selector) { + public PeerAuthentication(PeerAuthenticationMutualTLS mtls, Map portLevelMtls, WorkloadSelector selector) { super(); this.mtls = mtls; this.portLevelMtls = portLevelMtls; @@ -90,23 +100,23 @@ public PeerAuthenticationSpec(io.fabric8.istio.api.security.v1beta1.PeerAuthenti } @JsonProperty("mtls") - public io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLS getMtls() { + public PeerAuthenticationMutualTLS getMtls() { return mtls; } @JsonProperty("mtls") - public void setMtls(io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLS mtls) { + public void setMtls(PeerAuthenticationMutualTLS mtls) { this.mtls = mtls; } @JsonProperty("portLevelMtls") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getPortLevelMtls() { + public Map getPortLevelMtls() { return portLevelMtls; } @JsonProperty("portLevelMtls") - public void setPortLevelMtls(Map portLevelMtls) { + public void setPortLevelMtls(Map portLevelMtls) { this.portLevelMtls = portLevelMtls; } @@ -121,12 +131,12 @@ public void setSelector(WorkloadSelector selector) { } @JsonIgnore - public PeerAuthenticationSpecBuilder edit() { - return new PeerAuthenticationSpecBuilder(this); + public PeerAuthenticationBuilder edit() { + return new PeerAuthenticationBuilder(this); } @JsonIgnore - public PeerAuthenticationSpecBuilder toBuilder() { + public PeerAuthenticationBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLS.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/PeerAuthenticationMutualTLS.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLS.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/PeerAuthenticationMutualTLS.java index 3207fe51704..1baaab24880 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationMutualTLS.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/PeerAuthenticationMutualTLS.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/PeerAuthenticationMutualTLSMode.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/PeerAuthenticationMutualTLSMode.java new file mode 100644 index 00000000000..f88f98c2eb8 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/PeerAuthenticationMutualTLSMode.java @@ -0,0 +1,39 @@ + +package io.fabric8.istio.api.api.security.v1beta1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum PeerAuthenticationMutualTLSMode +{ + DISABLE(1), + PERMISSIVE(2), + STRICT(3), + UNSET(0); + private final int value; + private PeerAuthenticationMutualTLSMode(int value) { + this.value = value; + } + + @JsonCreator + public static PeerAuthenticationMutualTLSMode fromValue(Object value) { + if (value instanceof String) { + for (PeerAuthenticationMutualTLSMode e : PeerAuthenticationMutualTLSMode.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (PeerAuthenticationMutualTLSMode e : PeerAuthenticationMutualTLSMode.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationSpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RequestAuthentication.java similarity index 72% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationSpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RequestAuthentication.java index e089a3acea0..10885d7d93d 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthenticationSpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RequestAuthentication.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,8 +13,8 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.type.v1beta1.PolicyTargetReference; -import io.fabric8.istio.api.type.v1beta1.WorkloadSelector; +import io.fabric8.istio.api.api.type.v1beta1.PolicyTargetReference; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelector; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -23,6 +23,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -30,8 +31,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -41,7 +46,8 @@ @JsonPropertyOrder({ "jwtRules", "selector", - "targetRef" + "targetRef", + "targetRefs" }) @ToString @EqualsAndHashCode @@ -64,8 +70,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1beta1") +@Group("") @Generated("jsonschema2pojo") -public class RequestAuthenticationSpec implements Editable , KubernetesResource +public class RequestAuthentication implements Editable , KubernetesResource, Namespaced { @JsonProperty("jwtRules") @@ -75,6 +86,9 @@ public class RequestAuthenticationSpec implements Editable targetRefs = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -82,14 +96,15 @@ public class RequestAuthenticationSpec implements Editable jwtRules, WorkloadSelector selector, PolicyTargetReference targetRef) { + public RequestAuthentication(List jwtRules, WorkloadSelector selector, PolicyTargetReference targetRef, List targetRefs) { super(); this.jwtRules = jwtRules; this.selector = selector; this.targetRef = targetRef; + this.targetRefs = targetRefs; } @JsonProperty("jwtRules") @@ -123,13 +138,24 @@ public void setTargetRef(PolicyTargetReference targetRef) { this.targetRef = targetRef; } + @JsonProperty("targetRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetRefs() { + return targetRefs; + } + + @JsonProperty("targetRefs") + public void setTargetRefs(List targetRefs) { + this.targetRefs = targetRefs; + } + @JsonIgnore - public RequestAuthenticationSpecBuilder edit() { - return new RequestAuthenticationSpecBuilder(this); + public RequestAuthenticationBuilder edit() { + return new RequestAuthenticationBuilder(this); } @JsonIgnore - public RequestAuthenticationSpecBuilder toBuilder() { + public RequestAuthenticationBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Rule.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Rule.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Rule.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Rule.java index 58e091f54ba..37de2e0ff8a 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Rule.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Rule.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleFrom.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RuleFrom.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleFrom.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RuleFrom.java index edb06213574..32b8df94539 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleFrom.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RuleFrom.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleTo.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RuleTo.java similarity index 98% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleTo.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RuleTo.java index 59b3a8ced49..2ed6c55b6a7 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RuleTo.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/RuleTo.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Source.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Source.java similarity index 99% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Source.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Source.java index 22612f9d92a..f9004b9577e 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/Source.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/security/v1beta1/Source.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.security.v1beta1; +package io.fabric8.istio.api.api.security.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLogging.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLogging.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLogging.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLogging.java index e91b0e4723e..b13b8af8c8c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLogging.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLogging.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLoggingFilter.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLoggingFilter.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLoggingFilter.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLoggingFilter.java index ae0094f7ae5..46c5f7b19e6 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLoggingFilter.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLoggingFilter.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLoggingLogSelector.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLoggingLogSelector.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLoggingLogSelector.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLoggingLogSelector.java index 562ca6ae1c4..3099b21dca2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/AccessLoggingLogSelector.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/AccessLoggingLogSelector.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/IsMetricSelectorMetricMatch.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/IsMetricSelectorMetricMatch.java similarity index 67% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/IsMetricSelectorMetricMatch.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/IsMetricSelectorMetricMatch.java index 645cf88cf8f..0c521ce405d 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/IsMetricSelectorMetricMatch.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/IsMetricSelectorMetricMatch.java @@ -1,23 +1,26 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorCustomMetric; -import io.fabric8.istio.api.telemetry.v1alpha1.MetricSelectorMetric; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ + @JsonSubTypes.Type(MetricSelectorCustomMetric.class), @JsonSubTypes.Type(MetricSelectorMetric.class), - @JsonSubTypes.Type(MetricSelectorCustomMetric.class) }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsMetricSelectorMetricMatch { +@Generated("jsonschema2pojo") +public interface IsMetricSelectorMetricMatch extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/IsTracingCustomTagType.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/IsTracingCustomTagType.java similarity index 65% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/IsTracingCustomTagType.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/IsTracingCustomTagType.java index 983f8fb6501..0069527f14c 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/IsTracingCustomTagType.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/IsTracingCustomTagType.java @@ -1,25 +1,27 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; +import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonTypeResolver; -import io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagEnvironment; -import io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagHeader; -import io.fabric8.istio.api.telemetry.v1alpha1.TracingCustomTagLiteral; +import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeResolver(io.fabric8.kubernetes.model.jackson.UnwrappedTypeResolverBuilder.class) @JsonSubTypes({ - @JsonSubTypes.Type(TracingCustomTagLiteral.class), @JsonSubTypes.Type(TracingCustomTagEnvironment.class), - @JsonSubTypes.Type(TracingCustomTagHeader.class) + @JsonSubTypes.Type(TracingCustomTagHeader.class), + @JsonSubTypes.Type(TracingCustomTagLiteral.class), }) @JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION) -public interface IsTracingCustomTagType { +@Generated("jsonschema2pojo") +public interface IsTracingCustomTagType extends KubernetesResource +{ + } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelector.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelector.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelector.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelector.java index 012c27c9a43..c448fec46b7 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelector.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelector.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorCustomMetric.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorCustomMetric.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorCustomMetric.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorCustomMetric.java index 2c8188f4b6e..de626a2c8f7 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorCustomMetric.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorCustomMetric.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MetricSelectorCustomMetric implements IsMetricSelectorMetricMatch, Editable +public class MetricSelectorCustomMetric implements IsMetricSelectorMetricMatch, Editable , KubernetesResource { @JsonProperty("customMetric") diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorIstioMetric.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorIstioMetric.java new file mode 100644 index 00000000000..e9cc6404855 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorIstioMetric.java @@ -0,0 +1,46 @@ + +package io.fabric8.istio.api.api.telemetry.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum MetricSelectorIstioMetric +{ + ALL_METRICS(0), + GRPC_REQUEST_MESSAGES(9), + GRPC_RESPONSE_MESSAGES(10), + REQUEST_COUNT(1), + REQUEST_DURATION(2), + REQUEST_SIZE(3), + RESPONSE_SIZE(4), + TCP_CLOSED_CONNECTIONS(6), + TCP_OPENED_CONNECTIONS(5), + TCP_RECEIVED_BYTES(8), + TCP_SENT_BYTES(7); + private final int value; + private MetricSelectorIstioMetric(int value) { + this.value = value; + } + + @JsonCreator + public static MetricSelectorIstioMetric fromValue(Object value) { + if (value instanceof String) { + for (MetricSelectorIstioMetric e : MetricSelectorIstioMetric.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (MetricSelectorIstioMetric e : MetricSelectorIstioMetric.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorMetric.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorMetric.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorMetric.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorMetric.java index b0ad4a7bd33..884c7133581 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricSelectorMetric.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricSelectorMetric.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class MetricSelectorMetric implements IsMetricSelectorMetricMatch, Editable +public class MetricSelectorMetric implements IsMetricSelectorMetricMatch, Editable , KubernetesResource { @JsonProperty("metric") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Metrics.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Metrics.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Metrics.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Metrics.java index ab2df9c57f3..322c8478dab 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Metrics.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Metrics.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverrides.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverrides.java similarity index 91% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverrides.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverrides.java index 190058eac9b..87ae1093716 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverrides.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverrides.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -72,7 +72,7 @@ public class MetricsOverrides implements Editable , Kub @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map tagOverrides = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -130,16 +130,16 @@ public MetricsOverridesBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverridesTagOverride.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverridesTagOverride.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverridesTagOverride.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverridesTagOverride.java index 70fd91c23b0..85d5a877a9f 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/MetricsOverridesTagOverride.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverridesTagOverride.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverridesTagOverrideOperation.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverridesTagOverrideOperation.java new file mode 100644 index 00000000000..08657fe820d --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/MetricsOverridesTagOverrideOperation.java @@ -0,0 +1,37 @@ + +package io.fabric8.istio.api.api.telemetry.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum MetricsOverridesTagOverrideOperation +{ + REMOVE(1), + UPSERT(0); + private final int value; + private MetricsOverridesTagOverrideOperation(int value) { + this.value = value; + } + + @JsonCreator + public static MetricsOverridesTagOverrideOperation fromValue(Object value) { + if (value instanceof String) { + for (MetricsOverridesTagOverrideOperation e : MetricsOverridesTagOverrideOperation.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (MetricsOverridesTagOverrideOperation e : MetricsOverridesTagOverrideOperation.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/ProviderRef.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/ProviderRef.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/ProviderRef.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/ProviderRef.java index cfb70d4c05d..46a58068d89 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/ProviderRef.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/ProviderRef.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/TelemetrySpec.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Telemetry.java similarity index 76% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/TelemetrySpec.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Telemetry.java index 617f4cc70ad..a30f9e5b0a2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/TelemetrySpec.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Telemetry.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.extensions.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -13,11 +13,8 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.networking.v1beta1.PolicyTargetReference; -import io.fabric8.istio.api.networking.v1beta1.WorkloadSelector; -import io.fabric8.istio.api.telemetry.v1alpha1.AccessLogging; -import io.fabric8.istio.api.telemetry.v1alpha1.Metrics; -import io.fabric8.istio.api.telemetry.v1alpha1.Tracing; +import io.fabric8.istio.api.api.type.v1beta1.PolicyTargetReference; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelector; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -26,6 +23,7 @@ import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -33,8 +31,12 @@ 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; import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; import lombok.EqualsAndHashCode; import lombok.ToString; import lombok.experimental.Accessors; @@ -46,6 +48,7 @@ "metrics", "selector", "targetRef", + "targetRefs", "tracing" }) @ToString @@ -69,8 +72,13 @@ @BuildableReference(Volume.class), @BuildableReference(VolumeMount.class) }) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("") @Generated("jsonschema2pojo") -public class TelemetrySpec implements Editable , KubernetesResource +public class Telemetry implements Editable , KubernetesResource, Namespaced { @JsonProperty("accessLogging") @@ -83,6 +91,9 @@ public class TelemetrySpec implements Editable , Kubernete private WorkloadSelector selector; @JsonProperty("targetRef") private PolicyTargetReference targetRef; + @JsonProperty("targetRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List targetRefs = new ArrayList<>(); @JsonProperty("tracing") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List tracing = new ArrayList<>(); @@ -93,15 +104,16 @@ public class TelemetrySpec implements Editable , Kubernete * No args constructor for use in serialization * */ - public TelemetrySpec() { + public Telemetry() { } - public TelemetrySpec(List accessLogging, List metrics, WorkloadSelector selector, PolicyTargetReference targetRef, List tracing) { + public Telemetry(List accessLogging, List metrics, WorkloadSelector selector, PolicyTargetReference targetRef, List targetRefs, List tracing) { super(); this.accessLogging = accessLogging; this.metrics = metrics; this.selector = selector; this.targetRef = targetRef; + this.targetRefs = targetRefs; this.tracing = tracing; } @@ -147,6 +159,17 @@ public void setTargetRef(PolicyTargetReference targetRef) { this.targetRef = targetRef; } + @JsonProperty("targetRefs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTargetRefs() { + return targetRefs; + } + + @JsonProperty("targetRefs") + public void setTargetRefs(List targetRefs) { + this.targetRefs = targetRefs; + } + @JsonProperty("tracing") @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getTracing() { @@ -159,12 +182,12 @@ public void setTracing(List tracing) { } @JsonIgnore - public TelemetrySpecBuilder edit() { - return new TelemetrySpecBuilder(this); + public TelemetryBuilder edit() { + return new TelemetryBuilder(this); } @JsonIgnore - public TelemetrySpecBuilder toBuilder() { + public TelemetryBuilder toBuilder() { return edit(); } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Tracing.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Tracing.java similarity index 94% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Tracing.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Tracing.java index 3aa6e168706..af345e33fdd 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Tracing.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/Tracing.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -84,7 +84,7 @@ public class Tracing implements Editable , KubernetesResource @JsonProperty("useRequestIdForTraceSampling") private Boolean useRequestIdForTraceSampling; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -176,16 +176,16 @@ public TracingBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTag.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTag.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTag.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTag.java index 8f539e74211..8df5f3aefd2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTag.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTag.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagEnvironment.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagEnvironment.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagEnvironment.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagEnvironment.java index af65a743dcc..e8ed3aa7409 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagEnvironment.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagEnvironment.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TracingCustomTagEnvironment implements IsTracingCustomTagType, Editable +public class TracingCustomTagEnvironment implements IsTracingCustomTagType, Editable , KubernetesResource { @JsonProperty("environment") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagHeader.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagHeader.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagHeader.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagHeader.java index d4ebaa2abda..10e11a50e81 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagHeader.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagHeader.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TracingCustomTagHeader implements IsTracingCustomTagType, Editable +public class TracingCustomTagHeader implements IsTracingCustomTagType, Editable , KubernetesResource { @JsonProperty("header") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagLiteral.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagLiteral.java similarity index 95% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagLiteral.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagLiteral.java index 2d1c15abf63..7739ce19bd4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingCustomTagLiteral.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingCustomTagLiteral.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -16,6 +16,7 @@ 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; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -58,7 +59,7 @@ @BuildableReference(VolumeMount.class) }) @Generated("jsonschema2pojo") -public class TracingCustomTagLiteral implements IsTracingCustomTagType, Editable +public class TracingCustomTagLiteral implements IsTracingCustomTagType, Editable , KubernetesResource { @JsonProperty("literal") diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingEnvironment.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingEnvironment.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingEnvironment.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingEnvironment.java index 746b11d477f..3211dd11df5 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingEnvironment.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingEnvironment.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingLiteral.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingLiteral.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingLiteral.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingLiteral.java index d12cf96e344..f9dd0670680 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingLiteral.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingLiteral.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingRequestHeader.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingRequestHeader.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingRequestHeader.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingRequestHeader.java index 8fe79f02e49..42b70b66365 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingRequestHeader.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingRequestHeader.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingTracingSelector.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingTracingSelector.java similarity index 98% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingTracingSelector.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingTracingSelector.java index e856949938b..6eafac6cfd2 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TracingTracingSelector.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/TracingTracingSelector.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.telemetry.v1alpha1; +package io.fabric8.istio.api.api.telemetry.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/WorkloadMode.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/WorkloadMode.java new file mode 100644 index 00000000000..bfcf9649fe1 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/telemetry/v1alpha1/WorkloadMode.java @@ -0,0 +1,38 @@ + +package io.fabric8.istio.api.api.telemetry.v1alpha1; + +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonCreator; + +@Generated("jsonschema2pojo") +public enum WorkloadMode +{ + CLIENT(1), + CLIENT_AND_SERVER(0), + SERVER(2); + private final int value; + private WorkloadMode(int value) { + this.value = value; + } + + @JsonCreator + public static WorkloadMode fromValue(Object value) { + if (value instanceof String) { + for (WorkloadMode e : WorkloadMode.values()) { + if (e.name().equalsIgnoreCase(value.toString())) { + return e; + } + } + } else if (value instanceof Integer) { + for (WorkloadMode e : WorkloadMode.values()) { + if (value.equals(e.value)) { + return e; + } + } + } + return null; + } + + + +} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/PolicyTargetReference.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/PolicyTargetReference.java similarity index 99% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/PolicyTargetReference.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/PolicyTargetReference.java index 8695b8a0bcf..d2663935187 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/PolicyTargetReference.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/PolicyTargetReference.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.type.v1beta1; +package io.fabric8.istio.api.api.type.v1beta1; import java.util.LinkedHashMap; import java.util.Map; diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/PortSelector.java similarity index 94% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/PortSelector.java index 1a842e06838..f5e1ab91281 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1beta1/PortSelector.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/PortSelector.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.networking.v1beta1; +package io.fabric8.istio.api.api.type.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -63,7 +63,7 @@ public class PortSelector implements Editable , KubernetesR { @JsonProperty("number") - private Integer number; + private Long number; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -74,18 +74,18 @@ public class PortSelector implements Editable , KubernetesR public PortSelector() { } - public PortSelector(Integer number) { + public PortSelector(Long number) { super(); this.number = number; } @JsonProperty("number") - public Integer getNumber() { + public Long getNumber() { return number; } @JsonProperty("number") - public void setNumber(Integer number) { + public void setNumber(Long number) { this.number = number; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadSelector.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/WorkloadSelector.java similarity index 90% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadSelector.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/WorkloadSelector.java index 799c00022ee..02282f48976 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/type/v1beta1/WorkloadSelector.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/api/type/v1beta1/WorkloadSelector.java @@ -1,5 +1,5 @@ -package io.fabric8.istio.api.type.v1beta1; +package io.fabric8.istio.api.api.type.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -66,7 +66,7 @@ public class WorkloadSelector implements Editable , Kub @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map matchLabels = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -102,16 +102,16 @@ public WorkloadSelectorBuilder 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); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPlugin.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPlugin.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPlugin.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPlugin.java index 7cbb2c500f8..ab4b0086136 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPlugin.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPlugin.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class WasmPlugin implements Editable , HasMetadata, Na @JsonProperty("kind") private String kind = "WasmPlugin"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private WasmPluginSpec spec; + private io.fabric8.istio.api.api.extensions.v1alpha1.WasmPlugin spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class WasmPlugin implements Editable , HasMetadata, Na public WasmPlugin() { } - public WasmPlugin(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, WasmPluginSpec spec, IstioStatus status) { + public WasmPlugin(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.extensions.v1alpha1.WasmPlugin spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public WasmPluginSpec getSpec() { + public io.fabric8.istio.api.api.extensions.v1alpha1.WasmPlugin getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(WasmPluginSpec spec) { + public void setSpec(io.fabric8.istio.api.api.extensions.v1alpha1.WasmPlugin spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/extensions/v1alpha1/WasmPluginList.java diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/DestinationRule.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/DestinationRule.java new file mode 100644 index 00000000000..9f4c9615dce --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/DestinationRule.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.networking.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class DestinationRule implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "DestinationRule"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public DestinationRule() { + } + + public DestinationRule(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public DestinationRuleBuilder edit() { + return new DestinationRuleBuilder(this); + } + + @JsonIgnore + public DestinationRuleBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/DestinationRuleList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/DestinationRuleList.java new file mode 100644 index 00000000000..4a81271fa8c --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/DestinationRuleList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.networking.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class DestinationRuleList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "DestinationRuleList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public DestinationRuleList() { + } + + public DestinationRuleList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public DestinationRuleListBuilder edit() { + return new DestinationRuleListBuilder(this); + } + + @JsonIgnore + public DestinationRuleListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/Gateway.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/Gateway.java new file mode 100644 index 00000000000..7744fbe2a49 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/Gateway.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.networking.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class Gateway implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "Gateway"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Gateway() { + } + + public Gateway(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.networking.v1alpha3.Gateway getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public GatewayBuilder edit() { + return new GatewayBuilder(this); + } + + @JsonIgnore + public GatewayBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/GatewayList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/GatewayList.java new file mode 100644 index 00000000000..3c1c321679c --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/GatewayList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.networking.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class GatewayList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "GatewayList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public GatewayList() { + } + + public GatewayList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public GatewayListBuilder edit() { + return new GatewayListBuilder(this); + } + + @JsonIgnore + public GatewayListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/ServiceEntry.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/ServiceEntry.java new file mode 100644 index 00000000000..b286faa8e37 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/ServiceEntry.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.networking.v1; + +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.istio.api.api.networking.v1alpha3.ServiceEntryStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class ServiceEntry implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "ServiceEntry"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec; + @JsonProperty("status") + private ServiceEntryStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceEntry() { + } + + public ServiceEntry(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec, ServiceEntryStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec) { + this.spec = spec; + } + + @JsonProperty("status") + public ServiceEntryStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(ServiceEntryStatus status) { + this.status = status; + } + + @JsonIgnore + public ServiceEntryBuilder edit() { + return new ServiceEntryBuilder(this); + } + + @JsonIgnore + public ServiceEntryBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/ServiceEntryList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/ServiceEntryList.java new file mode 100644 index 00000000000..14b58536183 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/ServiceEntryList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.networking.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class ServiceEntryList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "ServiceEntryList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ServiceEntryList() { + } + + public ServiceEntryList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public ServiceEntryListBuilder edit() { + return new ServiceEntryListBuilder(this); + } + + @JsonIgnore + public ServiceEntryListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/Sidecar.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/Sidecar.java new file mode 100644 index 00000000000..dc71155b557 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/Sidecar.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.networking.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class Sidecar implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "Sidecar"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Sidecar() { + } + + public Sidecar(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.networking.v1alpha3.Sidecar getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public SidecarBuilder edit() { + return new SidecarBuilder(this); + } + + @JsonIgnore + public SidecarBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/SidecarList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/SidecarList.java new file mode 100644 index 00000000000..64813da7e1c --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/SidecarList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.networking.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class SidecarList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "SidecarList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SidecarList() { + } + + public SidecarList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public SidecarListBuilder edit() { + return new SidecarListBuilder(this); + } + + @JsonIgnore + public SidecarListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/VirtualService.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/VirtualService.java new file mode 100644 index 00000000000..ab89e5f7a88 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/VirtualService.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.networking.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class VirtualService implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "VirtualService"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public VirtualService() { + } + + public VirtualService(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.networking.v1alpha3.VirtualService getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public VirtualServiceBuilder edit() { + return new VirtualServiceBuilder(this); + } + + @JsonIgnore + public VirtualServiceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/VirtualServiceList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/VirtualServiceList.java new file mode 100644 index 00000000000..b991dffce5e --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/VirtualServiceList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.networking.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class VirtualServiceList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "VirtualServiceList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public VirtualServiceList() { + } + + public VirtualServiceList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public VirtualServiceListBuilder edit() { + return new VirtualServiceListBuilder(this); + } + + @JsonIgnore + public VirtualServiceListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadEntry.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadEntry.java new file mode 100644 index 00000000000..62d1a31bc70 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadEntry.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.networking.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class WorkloadEntry implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "WorkloadEntry"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkloadEntry() { + } + + public WorkloadEntry(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public WorkloadEntryBuilder edit() { + return new WorkloadEntryBuilder(this); + } + + @JsonIgnore + public WorkloadEntryBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadEntryList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadEntryList.java new file mode 100644 index 00000000000..c0bd250a388 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadEntryList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.networking.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class WorkloadEntryList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "WorkloadEntryList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkloadEntryList() { + } + + public WorkloadEntryList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public WorkloadEntryListBuilder edit() { + return new WorkloadEntryListBuilder(this); + } + + @JsonIgnore + public WorkloadEntryListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadGroup.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadGroup.java new file mode 100644 index 00000000000..01e715e3a8c --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadGroup.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.networking.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class WorkloadGroup implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "WorkloadGroup"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkloadGroup() { + } + + public WorkloadGroup(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public WorkloadGroupBuilder edit() { + return new WorkloadGroupBuilder(this); + } + + @JsonIgnore + public WorkloadGroupBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadGroupList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadGroupList.java new file mode 100644 index 00000000000..2e389f324c4 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1/WorkloadGroupList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.networking.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("networking.istio.io") +@Generated("jsonschema2pojo") +public class WorkloadGroupList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "networking.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "WorkloadGroupList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkloadGroupList() { + } + + public WorkloadGroupList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public WorkloadGroupListBuilder edit() { + return new WorkloadGroupListBuilder(this); + } + + @JsonIgnore + public WorkloadGroupListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java index efc1f60facd..60470e48b49 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRule.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class DestinationRule implements Editable , HasMe @JsonProperty("kind") private String kind = "DestinationRule"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private DestinationRuleSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class DestinationRule implements Editable , HasMe public DestinationRule() { } - public DestinationRule(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, DestinationRuleSpec spec, IstioStatus status) { + public DestinationRule(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public DestinationRuleSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(DestinationRuleSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/DestinationRuleList.java diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java index a8fcc2f6bc9..0b652b1369b 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilter.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class EnvoyFilter implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "EnvoyFilter"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private EnvoyFilterSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.EnvoyFilter spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class EnvoyFilter implements Editable , HasMetadata, public EnvoyFilter() { } - public EnvoyFilter(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, EnvoyFilterSpec spec, IstioStatus status) { + public EnvoyFilter(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.EnvoyFilter spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public EnvoyFilterSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.EnvoyFilter getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(EnvoyFilterSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.EnvoyFilter spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/EnvoyFilterList.java diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java index c98b06e892b..083e3f4cafc 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Gateway.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class Gateway implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "Gateway"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private GatewaySpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class Gateway implements Editable , HasMetadata, Namespac public Gateway() { } - public Gateway(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, GatewaySpec spec, IstioStatus status) { + public Gateway(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public GatewaySpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.Gateway getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(GatewaySpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/GatewayList.java diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java similarity index 86% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java index 0e8a7481c0c..4e9aba9f705 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntry.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntryStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,11 +92,11 @@ public class ServiceEntry implements Editable , HasMetadata @JsonProperty("kind") private String kind = "ServiceEntry"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private ServiceEntrySpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec; @JsonProperty("status") - private IstioStatus status; + private ServiceEntryStatus status; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -106,7 +107,7 @@ public class ServiceEntry implements Editable , HasMetadata public ServiceEntry() { } - public ServiceEntry(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ServiceEntrySpec spec, IstioStatus status) { + public ServiceEntry(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec, ServiceEntryStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,32 +157,32 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public ServiceEntrySpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(ServiceEntrySpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec) { this.spec = spec; } @JsonProperty("status") - public IstioStatus getStatus() { + public ServiceEntryStatus getStatus() { return status; } @JsonProperty("status") - public void setStatus(IstioStatus status) { + public void setStatus(ServiceEntryStatus status) { this.status = status; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/ServiceEntryList.java diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java index 6729a8239a9..02fc15506c4 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/Sidecar.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class Sidecar implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "Sidecar"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private SidecarSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class Sidecar implements Editable , HasMetadata, Namespac public Sidecar() { } - public Sidecar(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, SidecarSpec spec, IstioStatus status) { + public Sidecar(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public SidecarSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.Sidecar getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(SidecarSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/SidecarList.java diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java index cc8d7d219d2..8fb18e3472a 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualService.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class VirtualService implements Editable , HasMeta @JsonProperty("kind") private String kind = "VirtualService"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private VirtualServiceSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class VirtualService implements Editable , HasMeta public VirtualService() { } - public VirtualService(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, VirtualServiceSpec spec, IstioStatus status) { + public VirtualService(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public VirtualServiceSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.VirtualService getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(VirtualServiceSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/VirtualServiceList.java diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java index ab39b7a68f6..3dd856b1da8 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntry.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class WorkloadEntry implements Editable , HasMetada @JsonProperty("kind") private String kind = "WorkloadEntry"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private WorkloadEntrySpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class WorkloadEntry implements Editable , HasMetada public WorkloadEntry() { } - public WorkloadEntry(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, WorkloadEntrySpec spec, IstioStatus status) { + public WorkloadEntry(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public WorkloadEntrySpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(WorkloadEntrySpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadEntryList.java diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java index bf9942d1175..11454bd8004 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroup.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class WorkloadGroup implements Editable , HasMetada @JsonProperty("kind") private String kind = "WorkloadGroup"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private WorkloadGroupSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class WorkloadGroup implements Editable , HasMetada public WorkloadGroup() { } - public WorkloadGroup(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, WorkloadGroupSpec spec, IstioStatus status) { + public WorkloadGroup(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public WorkloadGroupSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(WorkloadGroupSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1alpha3/WorkloadGroupList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java similarity index 88% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java index fe8c78dbc1c..7dd4f36f82b 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRule.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class DestinationRule implements Editable , HasMe @JsonProperty("kind") private String kind = "DestinationRule"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private DestinationRuleSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class DestinationRule implements Editable , HasMe public DestinationRule() { } - public DestinationRule(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, DestinationRuleSpec spec, IstioStatus status) { + public DestinationRule(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public DestinationRuleSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(DestinationRuleSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.DestinationRule spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/DestinationRuleList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java similarity index 89% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java index b55b9d36c2d..409bd187010 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Gateway.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class Gateway implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "Gateway"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private GatewaySpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class Gateway implements Editable , HasMetadata, Namespac public Gateway() { } - public Gateway(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, GatewaySpec spec, IstioStatus status) { + public Gateway(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public GatewaySpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.Gateway getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(GatewaySpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.Gateway spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/GatewayList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfig.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfig.java similarity index 89% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfig.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfig.java index 138eca9fd50..9c1ec77edd5 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfig.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfig.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class ProxyConfig implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "ProxyConfig"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private ProxyConfigSpec spec; + private io.fabric8.istio.api.api.networking.v1beta1.ProxyConfig spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class ProxyConfig implements Editable , HasMetadata, public ProxyConfig() { } - public ProxyConfig(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ProxyConfigSpec spec, IstioStatus status) { + public ProxyConfig(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1beta1.ProxyConfig spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public ProxyConfigSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1beta1.ProxyConfig getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(ProxyConfigSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1beta1.ProxyConfig spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java similarity index 86% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java index 6000dc451d8..6f7d7445c5f 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntry.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntryStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,11 +92,11 @@ public class ServiceEntry implements Editable , HasMetadata @JsonProperty("kind") private String kind = "ServiceEntry"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private ServiceEntrySpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec; @JsonProperty("status") - private IstioStatus status; + private ServiceEntryStatus status; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -106,7 +107,7 @@ public class ServiceEntry implements Editable , HasMetadata public ServiceEntry() { } - public ServiceEntry(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ServiceEntrySpec spec, IstioStatus status) { + public ServiceEntry(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec, ServiceEntryStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,32 +157,32 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public ServiceEntrySpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(ServiceEntrySpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntry spec) { this.spec = spec; } @JsonProperty("status") - public IstioStatus getStatus() { + public ServiceEntryStatus getStatus() { return status; } @JsonProperty("status") - public void setStatus(IstioStatus status) { + public void setStatus(ServiceEntryStatus status) { this.status = status; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/ServiceEntryList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java similarity index 89% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java index 6d797524ea8..4ea19f2c168 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/Sidecar.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class Sidecar implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "Sidecar"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private SidecarSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class Sidecar implements Editable , HasMetadata, Namespac public Sidecar() { } - public Sidecar(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, SidecarSpec spec, IstioStatus status) { + public Sidecar(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public SidecarSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.Sidecar getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(SidecarSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.Sidecar spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/SidecarList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java similarity index 89% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java index 17f7e1be937..aa441941540 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualService.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class VirtualService implements Editable , HasMeta @JsonProperty("kind") private String kind = "VirtualService"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private VirtualServiceSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class VirtualService implements Editable , HasMeta public VirtualService() { } - public VirtualService(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, VirtualServiceSpec spec, IstioStatus status) { + public VirtualService(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public VirtualServiceSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.VirtualService getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(VirtualServiceSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.VirtualService spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/VirtualServiceList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java similarity index 89% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java index bd3bb10eed1..bff1153dc8e 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntry.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class WorkloadEntry implements Editable , HasMetada @JsonProperty("kind") private String kind = "WorkloadEntry"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private WorkloadEntrySpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class WorkloadEntry implements Editable , HasMetada public WorkloadEntry() { } - public WorkloadEntry(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, WorkloadEntrySpec spec, IstioStatus status) { + public WorkloadEntry(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public WorkloadEntrySpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(WorkloadEntrySpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.WorkloadEntry spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadEntryList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroup.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroup.java similarity index 89% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroup.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroup.java index db48961f38f..213eeb65225 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroup.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroup.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class WorkloadGroup implements Editable , HasMetada @JsonProperty("kind") private String kind = "WorkloadGroup"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private WorkloadGroupSpec spec; + private io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class WorkloadGroup implements Editable , HasMetada public WorkloadGroup() { } - public WorkloadGroup(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, WorkloadGroupSpec spec, IstioStatus status) { + public WorkloadGroup(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public WorkloadGroupSpec getSpec() { + public io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(WorkloadGroupSpec spec) { + public void setSpec(io.fabric8.istio.api.api.networking.v1alpha3.WorkloadGroup spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/networking/v1beta1/WorkloadGroupList.java diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/AuthorizationPolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/AuthorizationPolicy.java new file mode 100644 index 00000000000..2ad7c76597b --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/AuthorizationPolicy.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.security.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("security.istio.io") +@Generated("jsonschema2pojo") +public class AuthorizationPolicy implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "security.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "AuthorizationPolicy"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicy spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AuthorizationPolicy() { + } + + public AuthorizationPolicy(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicy spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicy getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicy spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public AuthorizationPolicyBuilder edit() { + return new AuthorizationPolicyBuilder(this); + } + + @JsonIgnore + public AuthorizationPolicyBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/AuthorizationPolicyList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/AuthorizationPolicyList.java new file mode 100644 index 00000000000..19fb83e216a --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/AuthorizationPolicyList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.security.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("security.istio.io") +@Generated("jsonschema2pojo") +public class AuthorizationPolicyList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "security.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "AuthorizationPolicyList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AuthorizationPolicyList() { + } + + public AuthorizationPolicyList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public AuthorizationPolicyListBuilder edit() { + return new AuthorizationPolicyListBuilder(this); + } + + @JsonIgnore + public AuthorizationPolicyListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/PeerAuthentication.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/PeerAuthentication.java new file mode 100644 index 00000000000..abb352d87e5 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/PeerAuthentication.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.security.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("security.istio.io") +@Generated("jsonschema2pojo") +public class PeerAuthentication implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "security.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "PeerAuthentication"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.security.v1beta1.PeerAuthentication spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PeerAuthentication() { + } + + public PeerAuthentication(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.security.v1beta1.PeerAuthentication spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.security.v1beta1.PeerAuthentication getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.security.v1beta1.PeerAuthentication spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public PeerAuthenticationBuilder edit() { + return new PeerAuthenticationBuilder(this); + } + + @JsonIgnore + public PeerAuthenticationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/PeerAuthenticationList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/PeerAuthenticationList.java new file mode 100644 index 00000000000..03869e0e47b --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/PeerAuthenticationList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.security.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("security.istio.io") +@Generated("jsonschema2pojo") +public class PeerAuthenticationList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "security.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "PeerAuthenticationList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PeerAuthenticationList() { + } + + public PeerAuthenticationList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public PeerAuthenticationListBuilder edit() { + return new PeerAuthenticationListBuilder(this); + } + + @JsonIgnore + public PeerAuthenticationListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/RequestAuthentication.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/RequestAuthentication.java new file mode 100644 index 00000000000..3499e084976 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/RequestAuthentication.java @@ -0,0 +1,213 @@ + +package io.fabric8.istio.api.security.v1; + +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.istio.api.api.meta.v1alpha1.IstioStatus; +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; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("security.istio.io") +@Generated("jsonschema2pojo") +public class RequestAuthentication implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "security.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "RequestAuthentication"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.security.v1beta1.RequestAuthentication spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RequestAuthentication() { + } + + public RequestAuthentication(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.security.v1beta1.RequestAuthentication spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.security.v1beta1.RequestAuthentication getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.security.v1beta1.RequestAuthentication spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public RequestAuthenticationBuilder edit() { + return new RequestAuthenticationBuilder(this); + } + + @JsonIgnore + public RequestAuthenticationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/RequestAuthenticationList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/RequestAuthenticationList.java new file mode 100644 index 00000000000..f092e7eb7f9 --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1/RequestAuthenticationList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.security.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("security.istio.io") +@Generated("jsonschema2pojo") +public class RequestAuthenticationList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "security.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "RequestAuthenticationList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RequestAuthenticationList() { + } + + public RequestAuthenticationList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public RequestAuthenticationListBuilder edit() { + return new RequestAuthenticationListBuilder(this); + } + + @JsonIgnore + public RequestAuthenticationListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java similarity index 88% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java index 87b24b9c410..9c90c59347f 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicy.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class AuthorizationPolicy implements Editable @JsonProperty("kind") private String kind = "AuthorizationPolicy"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private AuthorizationPolicySpec spec; + private io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicy spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class AuthorizationPolicy implements Editable public AuthorizationPolicy() { } - public AuthorizationPolicy(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, AuthorizationPolicySpec spec, IstioStatus status) { + public AuthorizationPolicy(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicy spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public AuthorizationPolicySpec getSpec() { + public io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicy getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(AuthorizationPolicySpec spec) { + public void setSpec(io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicy spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/AuthorizationPolicyList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java similarity index 88% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java index 984c42631ad..fdfeb5c59eb 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthentication.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class PeerAuthentication implements Editable , @JsonProperty("kind") private String kind = "PeerAuthentication"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private PeerAuthenticationSpec spec; + private io.fabric8.istio.api.api.security.v1beta1.PeerAuthentication spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -106,7 +107,7 @@ public class PeerAuthentication implements Editable , public PeerAuthentication() { } - public PeerAuthentication(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PeerAuthenticationSpec spec, IstioStatus status) { + public PeerAuthentication(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.security.v1beta1.PeerAuthentication spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public PeerAuthenticationSpec getSpec() { + public io.fabric8.istio.api.api.security.v1beta1.PeerAuthentication getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(PeerAuthenticationSpec spec) { + public void setSpec(io.fabric8.istio.api.api.security.v1beta1.PeerAuthentication spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java similarity index 100% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/PeerAuthenticationList.java diff --git a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java similarity index 89% rename from extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java index 6a144826152..4b4241e22ac 100644 --- a/extensions/istio/model-v1beta1/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/security/v1beta1/RequestAuthentication.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -21,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -53,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -91,9 +92,9 @@ public class RequestAuthentication implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "telemetry.istio.io/v1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "Telemetry"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private io.fabric8.istio.api.api.telemetry.v1alpha1.Telemetry spec; + @JsonProperty("status") + private IstioStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Telemetry() { + } + + public Telemetry(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.telemetry.v1alpha1.Telemetry spec, IstioStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public io.fabric8.istio.api.api.telemetry.v1alpha1.Telemetry getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(io.fabric8.istio.api.api.telemetry.v1alpha1.Telemetry spec) { + this.spec = spec; + } + + @JsonProperty("status") + public IstioStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(IstioStatus status) { + this.status = status; + } + + @JsonIgnore + public TelemetryBuilder edit() { + return new TelemetryBuilder(this); + } + + @JsonIgnore + public TelemetryBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1/TelemetryList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1/TelemetryList.java new file mode 100644 index 00000000000..e0efcb4ab2f --- /dev/null +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1/TelemetryList.java @@ -0,0 +1,203 @@ + +package io.fabric8.istio.api.telemetry.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +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.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; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +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.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +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", + "items" +}) +@ToString +@EqualsAndHashCode +@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) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1") +@Group("telemetry.istio.io") +@Generated("jsonschema2pojo") +public class TelemetryList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "telemetry.istio.io/v1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "TelemetryList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TelemetryList() { + } + + public TelemetryList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public TelemetryListBuilder edit() { + return new TelemetryListBuilder(this); + } + + @JsonIgnore + public TelemetryListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Telemetry.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Telemetry.java similarity index 89% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Telemetry.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Telemetry.java index ee301d77033..48a96f1ca84 100644 --- a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Telemetry.java +++ b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/Telemetry.java @@ -11,8 +11,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.istio.api.extensions.v1alpha1.TelemetrySpec; -import io.fabric8.istio.api.meta.v1alpha1.IstioStatus; +import io.fabric8.istio.api.api.meta.v1alpha1.IstioStatus; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; import io.fabric8.kubernetes.api.model.ContainerPort; @@ -22,6 +21,7 @@ import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +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; @@ -54,7 +54,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -92,9 +92,9 @@ public class Telemetry implements Editable , HasMetadata, Name @JsonProperty("kind") private String kind = "Telemetry"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") - private TelemetrySpec spec; + private io.fabric8.istio.api.api.telemetry.v1alpha1.Telemetry spec; @JsonProperty("status") private IstioStatus status; @JsonIgnore @@ -107,7 +107,7 @@ public class Telemetry implements Editable , HasMetadata, Name public Telemetry() { } - public Telemetry(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TelemetrySpec spec, IstioStatus status) { + public Telemetry(String apiVersion, String kind, ObjectMeta metadata, io.fabric8.istio.api.api.telemetry.v1alpha1.Telemetry spec, IstioStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -157,22 +157,22 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } @JsonProperty("spec") - public TelemetrySpec getSpec() { + public io.fabric8.istio.api.api.telemetry.v1alpha1.Telemetry getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(TelemetrySpec spec) { + public void setSpec(io.fabric8.istio.api.api.telemetry.v1alpha1.Telemetry spec) { this.spec = spec; } diff --git a/extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryList.java b/extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryList.java similarity index 100% rename from extensions/istio/model-v1alpha3/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryList.java rename to extensions/istio/model/src/generated/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryList.java diff --git a/extensions/istio/model-v1alpha3/src/test/java/io/fabric8/istio/api/extensons/v1alpha1/WasmPluginTest.java b/extensions/istio/model/src/test/java/io/fabric8/istio/api/extensons/v1alpha1/WasmPluginTest.java similarity index 84% rename from extensions/istio/model-v1alpha3/src/test/java/io/fabric8/istio/api/extensons/v1alpha1/WasmPluginTest.java rename to extensions/istio/model/src/test/java/io/fabric8/istio/api/extensons/v1alpha1/WasmPluginTest.java index 7c370268d35..57df7cccde8 100644 --- a/extensions/istio/model-v1alpha3/src/test/java/io/fabric8/istio/api/extensons/v1alpha1/WasmPluginTest.java +++ b/extensions/istio/model/src/test/java/io/fabric8/istio/api/extensons/v1alpha1/WasmPluginTest.java @@ -17,15 +17,18 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; +import io.fabric8.istio.api.api.extensions.v1alpha1.PluginPhase; import io.fabric8.istio.api.extensions.v1alpha1.WasmPlugin; import io.fabric8.istio.api.extensions.v1alpha1.WasmPluginBuilder; -import io.fabric8.istio.api.networking.v1alpha1.PluginPhase; import io.fabric8.kubernetes.api.model.Namespaced; +import org.assertj.core.api.InstanceOfAssertFactories; import org.junit.jupiter.api.Test; import java.util.Collections; +import java.util.Map; import java.util.Scanner; +import static org.assertj.core.api.Assertions.entry; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; class WasmPluginTest { @@ -70,8 +73,8 @@ void deserializationAndSerializationShouldWorkAsExpected() throws JsonProcessing .hasFieldOrPropertyWithValue("spec.phase", PluginPhase.AUTHN) .hasFieldOrPropertyWithValue("spec.url", "file:///opt/filters/openid.wasm") .hasFieldOrPropertyWithValue("spec.sha256", "1ef0c9a92b0420cf25f7fe5d481b231464bc88f486ca3b9c83ed5cc21df6210") - .hasFieldOrPropertyWithValue("spec.pluginConfig.openid_server", "authn") - .hasFieldOrPropertyWithValue("spec.pluginConfig.openid_realm", "ingress"); + .hasFieldOrPropertyWithValue("spec.pluginConfig.value.openid_server", "authn") + .hasFieldOrPropertyWithValue("spec.pluginConfig.value.openid_realm", "ingress"); } @Test @@ -87,8 +90,9 @@ void builderShouldCreateObjects() { .endSelector() .withUrl("file:///opt/filters/openid.wasm") .withSha256("1ef0c9a92b0420cf25f7fe5d481b231464bc88f486ca3b9c83ed5cc21df6210") - .addToPluginConfig("openid_server", "authn") - .addToPluginConfig("openid_realm", "ingress") + .withPluginConfig(Map.of( + "openid_server", "authn", + "openid_realm", "ingress")) .withPhase(PluginPhase.AUTHN) .endSpec(); // When @@ -101,7 +105,9 @@ void builderShouldCreateObjects() { .hasFieldOrPropertyWithValue("spec.phase", PluginPhase.AUTHN) .hasFieldOrPropertyWithValue("spec.url", "file:///opt/filters/openid.wasm") .hasFieldOrPropertyWithValue("spec.sha256", "1ef0c9a92b0420cf25f7fe5d481b231464bc88f486ca3b9c83ed5cc21df6210") - .hasFieldOrPropertyWithValue("spec.pluginConfig.openid_server", "authn") - .hasFieldOrPropertyWithValue("spec.pluginConfig.openid_realm", "ingress"); + .extracting("spec.pluginConfig").asInstanceOf(InstanceOfAssertFactories.map(String.class, String.class)) + .containsOnly( + entry("openid_server", "authn"), + entry("openid_realm", "ingress")); } } diff --git a/extensions/istio/model-v1beta1/src/test/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigTest.java b/extensions/istio/model/src/test/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigTest.java similarity index 100% rename from extensions/istio/model-v1beta1/src/test/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigTest.java rename to extensions/istio/model/src/test/java/io/fabric8/istio/api/networking/v1beta1/ProxyConfigTest.java diff --git a/extensions/istio/model-v1alpha3/src/test/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryTest.java b/extensions/istio/model/src/test/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryTest.java similarity index 97% rename from extensions/istio/model-v1alpha3/src/test/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryTest.java rename to extensions/istio/model/src/test/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryTest.java index 09c1d4cb3b5..bdc19ca74c3 100644 --- a/extensions/istio/model-v1alpha3/src/test/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryTest.java +++ b/extensions/istio/model/src/test/java/io/fabric8/istio/api/telemetry/v1alpha1/TelemetryTest.java @@ -17,6 +17,8 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; +import io.fabric8.istio.api.api.telemetry.v1alpha1.ProviderRef; +import io.fabric8.istio.api.api.telemetry.v1alpha1.Tracing; import io.fabric8.kubernetes.api.model.Namespaced; import org.assertj.core.api.InstanceOfAssertFactories; import org.junit.jupiter.api.Test; diff --git a/extensions/istio/model-v1beta1/src/test/resources/proxyconfig-valid.json b/extensions/istio/model/src/test/resources/proxyconfig-valid.json similarity index 100% rename from extensions/istio/model-v1beta1/src/test/resources/proxyconfig-valid.json rename to extensions/istio/model/src/test/resources/proxyconfig-valid.json diff --git a/extensions/istio/model-v1alpha3/src/test/resources/telemetry-v1alpha1.json b/extensions/istio/model/src/test/resources/telemetry-v1alpha1.json similarity index 100% rename from extensions/istio/model-v1alpha3/src/test/resources/telemetry-v1alpha1.json rename to extensions/istio/model/src/test/resources/telemetry-v1alpha1.json diff --git a/extensions/istio/model-v1alpha3/src/test/resources/wasmplugin-v1alpha1.json b/extensions/istio/model/src/test/resources/wasmplugin-v1alpha1.json similarity index 100% rename from extensions/istio/model-v1alpha3/src/test/resources/wasmplugin-v1alpha1.json rename to extensions/istio/model/src/test/resources/wasmplugin-v1alpha1.json diff --git a/extensions/istio/pom.xml b/extensions/istio/pom.xml index 059735ac6fa..93d01188f70 100755 --- a/extensions/istio/pom.xml +++ b/extensions/istio/pom.xml @@ -27,17 +27,16 @@ istio-extension-pom pom Fabric8 :: Istio :: Extension - + io.fabric8.istio.api.model - model-v1alpha3 - model-v1beta1 + model client - examples tests + examples diff --git a/extensions/istio/tests/pom.xml b/extensions/istio/tests/pom.xml index a2e8eacff67..3f702cb7c31 100644 --- a/extensions/istio/tests/pom.xml +++ b/extensions/istio/tests/pom.xml @@ -35,20 +35,19 @@ - io.fabric8 - kubernetes-server-mock - test + org.assertj + assertj-core io.fabric8 - mockwebserver + kubernetes-server-mock test - org.junit.jupiter - junit-jupiter-engine + io.fabric8 + mockwebserver test diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/DestinationRuleTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/DestinationRuleTest.java index 1cd3180e5fc..ad7cedefea2 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/DestinationRuleTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/DestinationRuleTest.java @@ -15,11 +15,11 @@ */ package io.fabric8.istio.test.v1alpha3; +import io.fabric8.istio.api.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey; +import io.fabric8.istio.api.api.networking.v1alpha3.IsLoadBalancerSettingsLbPolicy; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHash; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookie; import io.fabric8.istio.api.networking.v1alpha3.DestinationRule; -import io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsConsistentHashLBHashKey; -import io.fabric8.istio.api.networking.v1alpha3.IsLoadBalancerSettingsLbPolicy; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHash; -import io.fabric8.istio.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpCookie; import io.fabric8.kubernetes.client.utils.Serialization; import org.junit.jupiter.api.Test; @@ -34,9 +34,9 @@ class DestinationRuleTest { @Test - void loadingFromYAMLIssue82ShouldWork() throws Exception { + void loadingFromYAMLIssue82ShouldWork() { final InputStream inputStream = DestinationRuleTest.class.getResourceAsStream("/v1alpha3/destination-rule-issue82.yaml"); - final DestinationRule destinationRule = Serialization.yamlMapper().readValue(inputStream, DestinationRule.class); + final DestinationRule destinationRule = Serialization.unmarshal(inputStream, DestinationRule.class); final IsLoadBalancerSettingsLbPolicy policy = destinationRule.getSpec().getTrafficPolicy().getLoadBalancer().getLbPolicy(); assertInstanceOf(LoadBalancerSettingsConsistentHash.class, policy); diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/EnvoyFilterTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/EnvoyFilterTest.java index 7f3a4ce5022..7490e2c7fce 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/EnvoyFilterTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/EnvoyFilterTest.java @@ -15,16 +15,19 @@ */ package io.fabric8.istio.test.v1alpha3; +import io.fabric8.istio.api.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatch; +import io.fabric8.istio.api.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectPatch; +import io.fabric8.istio.api.api.networking.v1alpha3.EnvoyFilterPatchContext; import io.fabric8.istio.api.networking.v1alpha3.EnvoyFilter; -import io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectMatch; -import io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterEnvoyConfigObjectPatch; -import io.fabric8.istio.api.networking.v1alpha3.EnvoyFilterPatchContext; +import io.fabric8.kubernetes.api.model.runtime.RawExtension; import io.fabric8.kubernetes.client.utils.Serialization; +import org.assertj.core.api.InstanceOfAssertFactories; import org.junit.jupiter.api.Test; import java.io.InputStream; -import java.util.Map; +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.entry; import static org.junit.jupiter.api.Assertions.assertEquals; /** @@ -33,9 +36,9 @@ class EnvoyFilterTest { @Test - void loadingFromYAMLIssue99ShouldWork() throws Exception { + void loadingFromYAMLIssue99ShouldWork() { final InputStream inputStream = EnvoyFilterTest.class.getResourceAsStream("/v1alpha3/envoy-filter-issue99.yaml"); - final EnvoyFilter filter = Serialization.yamlMapper().readValue(inputStream, EnvoyFilter.class); + final EnvoyFilter filter = Serialization.unmarshal(inputStream, EnvoyFilter.class); final EnvoyFilterEnvoyConfigObjectPatch configObjectPatch = filter.getSpec().getConfigPatches().get(0); final EnvoyFilterEnvoyConfigObjectMatch match = configObjectPatch.getMatch(); @@ -62,11 +65,24 @@ void loadingFromYAMLIssue99ShouldWork() throws Exception { * runtime: envoy.wasm.runtime.null * vm_id: stats_outbound */ - final Map value = configObjectPatch.getPatch().getValue(); - Map typedConfigStruct = (Map) value.get("typed_config"); - Map valueStruct = (Map) typedConfigStruct.get("value"); - Map configStruct = (Map) valueStruct.get("config"); - final String actual = (String) configStruct.get("root_id"); - assertEquals("stats_outbound", actual); + assertThat(configObjectPatch.getPatch().getValue()) + .asInstanceOf(InstanceOfAssertFactories.type(RawExtension.class)) + .extracting(RawExtension::getValue) + .asInstanceOf(InstanceOfAssertFactories.map(String.class, Object.class)) + .contains( + entry("name", "istio.stats")) + .extracting("typed_config") + .asInstanceOf(InstanceOfAssertFactories.map(String.class, Object.class)) + .contains( + entry("@type", "type.googleapis.com/udpa.type.v1.TypedStruct"), + entry("type_url", "type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm")) + .extracting("value.config") + .asInstanceOf(InstanceOfAssertFactories.map(String.class, String.class)) + .contains( + entry("configuration", "{\n" + + " \"debug\": \"false\",\n" + + " \"stat_prefix\": \"istio\"\n" + + "}\n"), + entry("root_id", "stats_outbound")); } } diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/VirtualServiceTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/VirtualServiceTest.java index 106401eb16e..71f4e1e2f38 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/VirtualServiceTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1alpha3/VirtualServiceTest.java @@ -15,8 +15,8 @@ */ package io.fabric8.istio.test.v1alpha3; -import io.fabric8.istio.api.analysis.v1alpha1.AnalysisMessageBaseLevel; -import io.fabric8.istio.api.networking.v1alpha3.Percent; +import io.fabric8.istio.api.api.analysis.v1alpha1.AnalysisMessageBaseLevel; +import io.fabric8.istio.api.api.networking.v1alpha3.Percent; import io.fabric8.istio.api.networking.v1alpha3.VirtualService; import io.fabric8.istio.api.networking.v1alpha3.VirtualServiceBuilder; import io.fabric8.kubernetes.api.model.HasMetadata; @@ -58,7 +58,6 @@ void roundtripBasicVirtualServiceShouldWork() throws Exception { void loadingFromYAMLIssue103ShouldWork() throws Exception { final InputStream inputStream = VirtualServiceTest.class.getResourceAsStream("/v1alpha3/virtual-service-issue103.yaml"); final VirtualService virtualService = Serialization.yamlMapper().readValue(inputStream, VirtualService.class); - /* * ... * spec: @@ -68,7 +67,7 @@ void loadingFromYAMLIssue103ShouldWork() throws Exception { * fixedDelay: 6s * percentage: * value: 90.0 - * + * * ... */ final Percent percentage = virtualService.getSpec().getHttp().get(0).getFault().getDelay().getPercentage(); diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/AuthorizationPolicyTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/AuthorizationPolicyTest.java index d0a86707426..996efa0a2c7 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/AuthorizationPolicyTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/AuthorizationPolicyTest.java @@ -15,16 +15,16 @@ */ package io.fabric8.istio.test.v1beta1; +import io.fabric8.istio.api.api.security.v1beta1.AuthorizationPolicyAction; +import io.fabric8.istio.api.api.security.v1beta1.ConditionBuilder; +import io.fabric8.istio.api.api.security.v1beta1.OperationBuilder; +import io.fabric8.istio.api.api.security.v1beta1.RuleBuilder; +import io.fabric8.istio.api.api.security.v1beta1.RuleFromBuilder; +import io.fabric8.istio.api.api.security.v1beta1.RuleToBuilder; +import io.fabric8.istio.api.api.security.v1beta1.SourceBuilder; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelectorBuilder; import io.fabric8.istio.api.security.v1beta1.AuthorizationPolicy; -import io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyAction; import io.fabric8.istio.api.security.v1beta1.AuthorizationPolicyBuilder; -import io.fabric8.istio.api.security.v1beta1.ConditionBuilder; -import io.fabric8.istio.api.security.v1beta1.OperationBuilder; -import io.fabric8.istio.api.security.v1beta1.RuleBuilder; -import io.fabric8.istio.api.security.v1beta1.RuleFromBuilder; -import io.fabric8.istio.api.security.v1beta1.RuleToBuilder; -import io.fabric8.istio.api.security.v1beta1.SourceBuilder; -import io.fabric8.istio.api.type.v1beta1.WorkloadSelectorBuilder; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.api.model.DeletionPropagation; import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/CorsPolicyTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/CorsPolicyTest.java index e093d810bed..e4a780ce0e8 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/CorsPolicyTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/CorsPolicyTest.java @@ -15,10 +15,10 @@ */ package io.fabric8.istio.test.v1beta1; -import io.fabric8.istio.api.networking.v1beta1.CorsPolicy; -import io.fabric8.istio.api.networking.v1beta1.CorsPolicyBuilder; -import io.fabric8.istio.api.networking.v1beta1.StringMatch; -import io.fabric8.istio.api.networking.v1beta1.StringMatchPrefix; +import io.fabric8.istio.api.api.networking.v1alpha3.CorsPolicy; +import io.fabric8.istio.api.api.networking.v1alpha3.CorsPolicyBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.StringMatch; +import io.fabric8.istio.api.api.networking.v1alpha3.StringMatchPrefix; import io.fabric8.kubernetes.client.utils.Serialization; import org.junit.jupiter.api.Test; @@ -53,8 +53,8 @@ void roundtripShouldWork() throws Exception { fail(); } - assertEquals(1, reloaded.getDeprecatedAllowOrigin().size()); - assertEquals(allowOrigin, reloaded.getDeprecatedAllowOrigin().get(0)); + assertEquals(1, reloaded.getAllowOrigin().size()); + assertEquals(allowOrigin, reloaded.getAllowOrigin().get(0)); assertEquals(policy, reloaded); } diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/DestinationRuleTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/DestinationRuleTest.java index 88735f032c1..89dfa5b3612 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/DestinationRuleTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/DestinationRuleTest.java @@ -15,14 +15,14 @@ */ package io.fabric8.istio.test.v1beta1; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHash; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsConsistentHashLBHttpHeaderName; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsSimple; +import io.fabric8.istio.api.api.networking.v1alpha3.LoadBalancerSettingsSimpleLB; import io.fabric8.istio.api.networking.v1beta1.DestinationRule; import io.fabric8.istio.api.networking.v1beta1.DestinationRuleBuilder; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsBuilder; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHash; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBBuilder; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsConsistentHashLBHttpHeaderName; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimple; -import io.fabric8.istio.api.networking.v1beta1.LoadBalancerSettingsSimpleLB; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.api.model.DeletionPropagation; import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; @@ -77,7 +77,7 @@ void testCreateWithSimpleSettings() throws InterruptedException { server.expect().post().withPath("/apis/networking.istio.io/v1beta1/namespaces/ns2/destinationrules") .andReturn(HttpURLConnection.HTTP_OK, service) .once(); - service = client.v1beta1().destinationRules().inNamespace("ns2").create(service); + service = client.v1beta1().destinationRules().inNamespace("ns2").resource(service).create(); assertNotNull(service); RecordedRequest recordedRequest = server.takeRequest(); @@ -113,7 +113,7 @@ void testCreateWithConsistentHashSettings() throws InterruptedException { server.expect().post().withPath("/apis/networking.istio.io/v1beta1/namespaces/ns2/destinationrules") .andReturn(HttpURLConnection.HTTP_OK, service) .once(); - service = client.v1beta1().destinationRules().inNamespace("ns2").create(service); + service = client.v1beta1().destinationRules().inNamespace("ns2").resource(service).create(); assertNotNull(service); RecordedRequest recordedRequest = server.takeRequest(); @@ -146,7 +146,7 @@ void testDeleteOrphan() throws InterruptedException { server.expect().delete().withPath("/apis/networking.istio.io/v1beta1/namespaces/ns3/destinationrules/service3") .andReturn(HttpURLConnection.HTTP_OK, new DestinationRuleBuilder().build()) .once(); - Boolean deleted = client.v1beta1().destinationRules().inNamespace("ns3").withName("service3") + boolean deleted = client.v1beta1().destinationRules().inNamespace("ns3").withName("service3") .withPropagationPolicy(DeletionPropagation.ORPHAN).delete().size() == 1; assertTrue(deleted); diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/GatewayTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/GatewayTest.java index 7d607c7c4d5..7f6b9f0d317 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/GatewayTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/GatewayTest.java @@ -15,11 +15,11 @@ */ package io.fabric8.istio.test.v1beta1; +import io.fabric8.istio.api.api.networking.v1alpha3.PortBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.ServerBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.ServerTLSSettingsBuilder; import io.fabric8.istio.api.networking.v1beta1.Gateway; import io.fabric8.istio.api.networking.v1beta1.GatewayBuilder; -import io.fabric8.istio.api.networking.v1beta1.PortBuilder; -import io.fabric8.istio.api.networking.v1beta1.ServerBuilder; -import io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsBuilder; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.api.model.DeletionPropagation; import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; @@ -36,8 +36,8 @@ import java.util.List; import java.util.Map; -import static io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSProtocol.TLSV1_2; -import static io.fabric8.istio.api.networking.v1beta1.ServerTLSSettingsTLSmode.PASSTHROUGH; +import static io.fabric8.istio.api.api.networking.v1alpha3.ServerTLSSettingsTLSProtocol.TLSV1_2; +import static io.fabric8.istio.api.api.networking.v1alpha3.ServerTLSSettingsTLSmode.PASSTHROUGH; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -72,7 +72,7 @@ void testCreate() throws InterruptedException { .withNewSpec() .withSelector(Collections.singletonMap("app", "my-gateway-controller")) .withServers(new ServerBuilder() - .withPort(new PortBuilder().withNumber(80).withProtocol("HTTP").withName("http").build()) + .withPort(new PortBuilder().withNumber(80L).withProtocol("HTTP").withName("http").build()) .withHosts("uk.bookinfo.com", "eu.bookinfo.com") .withTls(new ServerTLSSettingsBuilder().withHttpsRedirect(true).build()) .build()) @@ -134,10 +134,10 @@ void checkBasicGateway() throws Exception { .endMetadata() .withNewSpec() .addToSelector("istio", "ingressgateway") - .addNewServer().withNewPort().withName("http").withProtocol("HTTP").withNumber(80).endPort() + .addNewServer().withNewPort().withName("http").withProtocol("HTTP").withNumber(80L).endPort() .withHosts("httpbin.example.com").endServer() - .addNewServer().withHosts("foobar.com").withNewPort().withName("tls-0").withNumber(443).withProtocol("TLS") - .withTargetPort(443).endPort() + .addNewServer().withHosts("foobar.com").withNewPort().withName("tls-0").withNumber(443L).withProtocol("TLS") + .withTargetPort(443L).endPort() .withNewTls().withMode(PASSTHROUGH).withMinProtocolVersion(TLSV1_2).endTls() .endServer() .endSpec() diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/PeerAuthenticationTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/PeerAuthenticationTest.java index 660b302d526..d3b0bbbcc9d 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/PeerAuthenticationTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/PeerAuthenticationTest.java @@ -15,11 +15,11 @@ */ package io.fabric8.istio.test.v1beta1; +import io.fabric8.istio.api.api.security.v1beta1.PeerAuthenticationMutualTLSBuilder; +import io.fabric8.istio.api.api.security.v1beta1.PeerAuthenticationMutualTLSMode; +import io.fabric8.istio.api.api.type.v1beta1.WorkloadSelectorBuilder; import io.fabric8.istio.api.security.v1beta1.PeerAuthentication; import io.fabric8.istio.api.security.v1beta1.PeerAuthenticationBuilder; -import io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLSBuilder; -import io.fabric8.istio.api.security.v1beta1.PeerAuthenticationMutualTLSMode; -import io.fabric8.istio.api.type.v1beta1.WorkloadSelectorBuilder; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.api.model.DeletionPropagation; import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/ServiceEntryTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/ServiceEntryTest.java index c1c282f4a7a..03b8811f6b4 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/ServiceEntryTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/ServiceEntryTest.java @@ -15,10 +15,10 @@ */ package io.fabric8.istio.test.v1beta1; +import io.fabric8.istio.api.api.networking.v1alpha3.ServiceEntryLocation; +import io.fabric8.istio.api.api.networking.v1alpha3.ServicePortBuilder; import io.fabric8.istio.api.networking.v1beta1.ServiceEntry; import io.fabric8.istio.api.networking.v1beta1.ServiceEntryBuilder; -import io.fabric8.istio.api.networking.v1beta1.ServiceEntryLocation; -import io.fabric8.istio.api.networking.v1beta1.ServicePortBuilder; import io.fabric8.istio.client.IstioClient; import io.fabric8.kubernetes.api.model.DeletionPropagation; import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; @@ -63,7 +63,7 @@ void testCreate() throws InterruptedException { .withNewSpec() .withHosts("api.dropboxapi.com", "www.googleapis.com") .withLocation(ServiceEntryLocation.MESH_INTERNAL) - .withPorts(new ServicePortBuilder().withName("https").withProtocol("TLS").withNumber(443).build()) + .withPorts(new ServicePortBuilder().withName("https").withProtocol("TLS").withNumber(443L).build()) .endSpec() .build(); diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/SidecarTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/SidecarTest.java index b121fc4ad08..2c53a40fd58 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/SidecarTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/SidecarTest.java @@ -15,7 +15,7 @@ */ package io.fabric8.istio.test.v1beta1; -import io.fabric8.istio.api.networking.v1beta1.IstioEgressListenerBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.IstioEgressListenerBuilder; import io.fabric8.istio.api.networking.v1beta1.Sidecar; import io.fabric8.istio.api.networking.v1beta1.SidecarBuilder; import io.fabric8.istio.client.IstioClient; diff --git a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/VirtualServiceTest.java b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/VirtualServiceTest.java index c24d1f99ee2..0b1ada2663e 100644 --- a/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/VirtualServiceTest.java +++ b/extensions/istio/tests/src/test/java/io/fabric8/istio/test/v1beta1/VirtualServiceTest.java @@ -15,19 +15,19 @@ */ package io.fabric8.istio.test.v1beta1; -import io.fabric8.istio.api.networking.v1beta1.Destination; -import io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbort; -import io.fabric8.istio.api.networking.v1beta1.HTTPFaultInjectionAbortHttpStatus; -import io.fabric8.istio.api.networking.v1beta1.HTTPMatchRequestBuilder; -import io.fabric8.istio.api.networking.v1beta1.HTTPRewriteBuilder; -import io.fabric8.istio.api.networking.v1beta1.HTTPRoute; -import io.fabric8.istio.api.networking.v1beta1.HTTPRouteBuilder; -import io.fabric8.istio.api.networking.v1beta1.HTTPRouteDestination; -import io.fabric8.istio.api.networking.v1beta1.HTTPRouteDestinationBuilder; -import io.fabric8.istio.api.networking.v1beta1.StringMatch; -import io.fabric8.istio.api.networking.v1beta1.StringMatchBuilder; -import io.fabric8.istio.api.networking.v1beta1.StringMatchPrefix; -import io.fabric8.istio.api.networking.v1beta1.StringMatchRegex; +import io.fabric8.istio.api.api.networking.v1alpha3.Destination; +import io.fabric8.istio.api.api.networking.v1alpha3.HTTPFaultInjectionAbort; +import io.fabric8.istio.api.api.networking.v1alpha3.HTTPFaultInjectionAbortHttpStatus; +import io.fabric8.istio.api.api.networking.v1alpha3.HTTPMatchRequestBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.HTTPRewriteBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.HTTPRoute; +import io.fabric8.istio.api.api.networking.v1alpha3.HTTPRouteBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.HTTPRouteDestination; +import io.fabric8.istio.api.api.networking.v1alpha3.HTTPRouteDestinationBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.StringMatch; +import io.fabric8.istio.api.api.networking.v1alpha3.StringMatchBuilder; +import io.fabric8.istio.api.api.networking.v1alpha3.StringMatchPrefix; +import io.fabric8.istio.api.api.networking.v1alpha3.StringMatchRegex; import io.fabric8.istio.api.networking.v1beta1.VirtualService; import io.fabric8.istio.api.networking.v1beta1.VirtualServiceBuilder; import io.fabric8.istio.client.IstioClient; @@ -345,13 +345,13 @@ void checkVirtualServiceWithPortSelector() throws IOException { .addNewHttp() .addNewRoute() .withNewDestination().withHost(reviewsHost).withSubset("v2").withNewPort() - .withNumber(9090).endPort().endDestination() + .withNumber(9090L).endPort().endDestination() .endRoute() .endHttp() .addNewHttp() .addNewRoute() .withNewDestination().withHost(reviewsHost).withSubset("v1").withNewPort() - .withNumber(9090).endPort().endDestination() + .withNumber(9090L).endPort().endDestination() .endRoute() .endHttp() .endSpec() diff --git a/kubernetes-model-generator/generateModel.sh b/kubernetes-model-generator/generateModel.sh index d9e07d5f258..56261ea77f7 100755 --- a/kubernetes-model-generator/generateModel.sh +++ b/kubernetes-model-generator/generateModel.sh @@ -27,8 +27,6 @@ declare -a modules=( "../extensions/certmanager/generator-v1alpha3" "../extensions/certmanager/generator-v1beta1" "../extensions/chaosmesh/generator" - "../extensions/istio/generator-v1alpha3" - "../extensions/istio/generator-v1beta1" "../extensions/open-cluster-management/generator-apps" "../extensions/open-cluster-management/generator-agent" "../extensions/open-cluster-management/generator-cluster" @@ -44,7 +42,6 @@ declare -a modules=( declare -a extensionModuleParents=( "../extensions/certmanager/pom.xml" "../extensions/chaosmesh/pom.xml" - "../extensions/istio/pom.xml" ) generateAll() { diff --git a/kubernetes-model-generator/openapi/generator/cmd/openapi.go b/kubernetes-model-generator/openapi/generator/cmd/openapi.go index 4d1d190f963..529805725ab 100644 --- a/kubernetes-model-generator/openapi/generator/cmd/openapi.go +++ b/kubernetes-model-generator/openapi/generator/cmd/openapi.go @@ -19,6 +19,7 @@ package main import ( "fmt" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_autoscaling_openapi" + "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_istio_openapi" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_knative_openapi" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_openshift_openapi" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_tekton_openapi" @@ -51,7 +52,7 @@ var modules = []module{ {outputName: "openshift-generated", getDefinitionsFunc: generated_openshift_openapi.GetOpenAPIDefinitions, patterns: packages.OpenShiftPackagePatterns}, {outputName: "dev.knative", getDefinitionsFunc: generated_knative_openapi.GetOpenAPIDefinitions, patterns: packages.KnativePackagePatterns}, {outputName: "dev.tekton", getDefinitionsFunc: generated_tekton_openapi.GetOpenAPIDefinitions, patterns: packages.TektonPackagePatterns}, - //{outputName: "io.istio", getDefinitionsFunc: generated_istio_openapi.GetOpenAPIDefinitions, patterns: packages.IstioPackagePatterns}, + {outputName: "io.istio", getDefinitionsFunc: generated_istio_openapi.GetOpenAPIDefinitions, patterns: packages.IstioPackagePatterns}, {outputName: "io.k8s.autoscaling", getDefinitionsFunc: generated_autoscaling_openapi.GetOpenAPIDefinitions, patterns: packages.AutoscalingPackagePatterns}, {outputName: "io.k8s.storage.snapshot", getDefinitionsFunc: generated_volumesnapshot_openapi.GetOpenAPIDefinitions, patterns: packages.VolumeSnapshotPackagePatterns}, {outputName: "sh.volcano", getDefinitionsFunc: generated_volcano_openapi.GetOpenAPIDefinitions, patterns: packages.VolcanoPackagePatterns}, diff --git a/kubernetes-model-generator/openapi/generator/pkg/openapi/openapi-gen-processors.go b/kubernetes-model-generator/openapi/generator/pkg/openapi/openapi-gen-processors.go index a03592b5ea7..f0ea12864d8 100644 --- a/kubernetes-model-generator/openapi/generator/pkg/openapi/openapi-gen-processors.go +++ b/kubernetes-model-generator/openapi/generator/pkg/openapi/openapi-gen-processors.go @@ -24,6 +24,7 @@ import ( "k8s.io/gengo/v2/generator" "k8s.io/gengo/v2/types" "reflect" + "sort" "strconv" "strings" "unicode" @@ -209,7 +210,10 @@ func hasPrefix(commentLines []string, prefix string) (bool, int) { func addOrAppend(commentLines []string, prefix, value string) []string { if ok, i := hasPrefix(commentLines, prefix); ok { - commentLines[i] = commentLines[i] + "," + value + currentValues := strings.Split(strings.TrimPrefix(commentLines[i], prefix), ",") + currentValues = append(currentValues, value) + sort.Strings(currentValues) + commentLines[i] = prefix + strings.Join(currentValues, ",") } else { commentLines = append(commentLines, prefix+value) } diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/GeneratorSettings.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/GeneratorSettings.java index 6e4720664e4..8f2ea41eb54 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/GeneratorSettings.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/GeneratorSettings.java @@ -82,6 +82,19 @@ public class GeneratorSettings { @Singular private Map packageMappings; private final AtomicBoolean packageMappingsProcessed = new AtomicBoolean(false); + /** + * Allows configuring the mapping of OpenAPI references to Java class names. + *

+ * We can use this to customize the name of a generated class. + */ + @Builder.Default + private Properties refToClassNameMappings = new Properties(); + /** + * Allows configuring the mapping of OpenAPI references to existing Java classes. + *

+ * This is useful when the OpenAPI schema references classes that are already present in the classpath and + * we don't want to generate. + */ @Builder.Default private Properties refToJavaTypeMappings = new Properties(); /** diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ClassInformation.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ClassInformation.java index a5a87042207..e11c785f5cf 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ClassInformation.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ClassInformation.java @@ -65,14 +65,14 @@ public class ClassInformation implements ImportManager { isHasMetadata = apiVersion != null && kubernetesListType == null && schemaUtils.isHasMetadata(classSchema); isNamespaced = apiVersion != null && apiVersion.isNamespaced(); classType = SchemaUtils.classType(classSchema); - classSimpleName = SchemaUtils.refToClassName(classKey); + classSimpleName = schemaUtils.refToClassName(classKey); className = getPackageName() + "." + getClassSimpleName(); implementsExtends = resolveImplementsExtends(classSchema); if (isInterface) { addImport("com.fasterxml.jackson.annotation.JsonSubTypes"); addImport("com.fasterxml.jackson.annotation.JsonTypeInfo"); addImport("com.fasterxml.jackson.databind.annotation.JsonTypeResolver"); - jsonSubTypes = new JsonSubTypes(classSchema); + jsonSubTypes = new JsonSubTypes(schemaUtils, classSchema); } else { jsonSubTypes = null; } @@ -106,7 +106,7 @@ private String resolveImplementsExtends(Schema classSchema) { } else { implementsExtends.append("implements "); } - final var interfaceImplemented = SchemaUtils.interfaceImplemented(classSchema); + final var interfaceImplemented = schemaUtils.interfaceImplemented(classSchema); if (interfaceImplemented != null) { implementsExtends.append(interfaceImplemented).append(", "); } diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/JsonSubTypes.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/JsonSubTypes.java index 14575039eb4..48f7e98d9d3 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/JsonSubTypes.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/JsonSubTypes.java @@ -26,8 +26,8 @@ public class JsonSubTypes { private final List subTypes; - JsonSubTypes(Schema classSchema) { - this.subTypes = SchemaUtils.interfaceImplementation(classSchema); + JsonSubTypes(SchemaUtils schemaUtils, Schema classSchema) { + this.subTypes = schemaUtils.interfaceImplementation(classSchema); } } diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java index 2dd812c0d02..5441f6edf39 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java @@ -32,7 +32,6 @@ import java.io.StringReader; import java.nio.file.Path; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; @@ -132,7 +131,10 @@ private void processTemplate(TemplateContext ret) { } else { deserializer = null; } - ret.put("classJsonDeserializeUsing", deserializer); + if (deserializer != null) { + ret.addImport("com.fasterxml.jackson.databind.annotation.JsonDeserialize"); + ret.put("classJsonDeserializeUsing", deserializer); + } if (!ret.getClassInformation().isEnum()) { ret.addImport("com.fasterxml.jackson.annotation.JsonInclude"); ret.put("classJsonInclude", "NON_NULL"); @@ -297,9 +299,8 @@ private void writeFile(TemplateContext context, String fileContents) { } private static Set initDefaultImports() { - return new HashSet<>(Arrays.asList( - "javax.annotation.Generated", - "com.fasterxml.jackson.databind.annotation.JsonDeserialize")); + return new HashSet<>(Collections.singletonList( + "javax.annotation.Generated")); } } diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java index afb81a680c4..16b680b43c4 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java @@ -177,7 +177,11 @@ public SchemaUtils(GeneratorSettings settings) { * @param ref the reference to extract the class name from. * @return the simple class name associated to the provided Schema reference. */ - public static String refToClassName(String ref) { + public String refToClassName(String ref) { + final String cleanRef = ref.replaceAll("^#/components/schemas/", ""); + if (settings.getRefToClassNameMappings().containsKey(cleanRef)) { + return settings.getRefToClassNameMappings().getProperty(cleanRef); + } return capitalize(ref.substring(ref.lastIndexOf('.') + 1)) // Remove underscores from Class Names, this doesn't look good in Java :) .replace("_", ""); @@ -268,11 +272,13 @@ public static boolean isEnum(Schema schema) { return Objects.equals(classType(schema), "enum"); } - public static Set enumValues(Schema schema) { + public static Collection enumValues(Schema schema) { if (isEnum(schema) && schema.getExtensions().containsKey("x-kubernetes-fabric8-enum-values")) { - return Set.of(schema.getExtensions().get("x-kubernetes-fabric8-enum-values").toString().split(",")); + return Stream.of(schema.getExtensions().get("x-kubernetes-fabric8-enum-values").toString().split(",")) + .sorted() + .collect(Collectors.toList()); } - return Collections.emptySet(); + return Collections.emptyList(); } public static boolean isInterface(Schema schema) { @@ -291,17 +297,17 @@ public static Set interfaceFields(Schema schema) { return Collections.emptySet(); } - public static List interfaceImplementation(Schema schema) { + public List interfaceImplementation(Schema schema) { if (schema.getExtensions() != null && schema.getExtensions().containsKey("x-kubernetes-fabric8-implementation")) { return Stream.of(schema.getExtensions().get("x-kubernetes-fabric8-implementation").toString().split(",")) - .map(SchemaUtils::refToClassName) + .map(this::refToClassName) .sorted() .collect(Collectors.toList()); } return Collections.emptyList(); } - public static String interfaceImplemented(Schema schema) { + public String interfaceImplemented(Schema schema) { if (schema.getExtensions() != null && schema.getExtensions().containsKey("x-kubernetes-fabric8-implements")) { return refToClassName(schema.getExtensions().get("x-kubernetes-fabric8-implements").toString()); } diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/test/java/io/fabric8/kubernetes/schema/generator/SchemaUtilsTest.java b/kubernetes-model-generator/openapi/maven-plugin/src/test/java/io/fabric8/kubernetes/schema/generator/SchemaUtilsTest.java index d3389f83d02..5d104e8b5ea 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/test/java/io/fabric8/kubernetes/schema/generator/SchemaUtilsTest.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/test/java/io/fabric8/kubernetes/schema/generator/SchemaUtilsTest.java @@ -59,7 +59,7 @@ void setUp(@TempDir File tempDir) { "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta, ListMeta" }) void refToClassName(String ref, String expected) { - final String result = SchemaUtils.refToClassName(ref); + final String result = new SchemaUtils(generatorSettingsBuilder.build()).refToClassName(ref); assertEquals(expected, result); } diff --git a/kubernetes-model-generator/openapi/schemas/io.istio.json b/kubernetes-model-generator/openapi/schemas/io.istio.json new file mode 100644 index 00000000000..55457778a3f --- /dev/null +++ b/kubernetes-model-generator/openapi/schemas/io.istio.json @@ -0,0 +1,7578 @@ +{ + "swagger": "2.0", + "info": { + "title": "Kubernetes", + "version": "0.0.0" + }, + "paths": null, + "definitions": { + "io.istio.api.analysis.v1alpha1.AnalysisMessageBase": { + "description": "AnalysisMessageBase describes some common information that is needed for all messages. All information should be static with respect to the error code.", + "type": "object", + "properties": { + "documentationUrl": { + "description": "A url pointing to the Istio documentation for this specific error type. Should be of the form `^http(s)?://(preliminary\\.)?istio.io/docs/reference/config/analysis/` Required.", + "type": "string" + }, + "level": { + "description": "Represents how severe a message is. Required.", + "default": {}, + "$ref": "#/definitions/io.istio.api.analysis.v1alpha1.AnalysisMessageBase_Level" + }, + "type": { + "$ref": "#/definitions/io.istio.api.analysis.v1alpha1.AnalysisMessageBase_Type" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AnalysisMessageBase", + "Scope": "Namespaced" + } + }, + "io.istio.api.analysis.v1alpha1.AnalysisMessageBase_Level": { + "description": "The values here are chosen so that more severe messages get sorted higher, as well as leaving space in between to add more later", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AnalysisMessageBase_Level", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "ERROR(3),INFO(12),UNKNOWN(0),WARNING(8)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.analysis.v1alpha1.AnalysisMessageBase_Type": { + "description": "A unique identifier for the type of message. Name is intended to be human-readable, code is intended to be machine readable. There should be a one-to-one mapping between name and code. (i.e. do not re-use names or codes between message types.)", + "type": "object", + "properties": { + "code": { + "description": "A 7 character code matching `^IST[0-9]{4}$` intended to uniquely identify the message type. (e.g. \"IST0001\" is mapped to the \"InternalError\" message type.) 0000-0100 are reserved. Required.", + "type": "string" + }, + "name": { + "description": "A human-readable name for the message type. e.g. \"InternalError\", \"PodMissingProxy\". This should be the same for all messages of the same type. Required.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AnalysisMessageBase_Type", + "Scope": "Namespaced" + } + }, + "io.istio.api.analysis.v1alpha1.AnalysisMessageWeakSchema": { + "description": "AnalysisMessageWeakSchema is the set of information that's needed to define a weakly-typed schema. The purpose of this proto is to provide a mechanism for validating istio/istio/galley/pkg/config/analysis/msg/messages.yaml to make sure that we don't allow committing underspecified types.", + "type": "object", + "properties": { + "args": { + "description": "A description of the arguments for a particular message type", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.analysis.v1alpha1.AnalysisMessageWeakSchema_ArgType" + } + }, + "description": { + "description": "A human readable description of what the error means. Required.", + "type": "string" + }, + "messageBase": { + "description": "Required", + "$ref": "#/definitions/io.istio.api.analysis.v1alpha1.AnalysisMessageBase" + }, + "template": { + "description": "A go-style template string (https://golang.org/pkg/fmt/#hdr-Printing) defining how to combine the args for a particular message into a log line. Required.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AnalysisMessageWeakSchema", + "Scope": "Namespaced" + } + }, + "io.istio.api.analysis.v1alpha1.AnalysisMessageWeakSchema_ArgType": { + "type": "object", + "properties": { + "goType": { + "description": "Required. Should be a golang type, used in code generation. Ideally this will change to a less language-pinned type before this gets out of alpha, but for compatibility with current istio/istio code it's go_type for now.", + "type": "string" + }, + "name": { + "description": "Required", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AnalysisMessageWeakSchema_ArgType", + "Scope": "Namespaced" + } + }, + "io.istio.api.analysis.v1alpha1.GenericAnalysisMessage": { + "description": "GenericAnalysisMessage is an instance of an AnalysisMessage defined by a schema, whose metaschema is AnalysisMessageWeakSchema. (Names are hard.) Code should be able to perform validation of arguments as needed by using the message type information to look at the AnalysisMessageWeakSchema and examine the list of args at runtime. Developers can also create stronger-typed versions of GenericAnalysisMessage for well-known and stable message types.", + "type": "object", + "properties": { + "args": { + "description": "Any message-type specific arguments that need to get codified. Optional.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.structpb.Struct" + }, + "messageBase": { + "description": "Required", + "$ref": "#/definitions/io.istio.api.analysis.v1alpha1.AnalysisMessageBase" + }, + "resourcePaths": { + "description": "A list of strings specifying the resource identifiers that were the cause of message generation. A \"path\" here is a (NAMESPACE\\/)?RESOURCETYPE/NAME tuple that uniquely identifies a particular resource. There doesn't seem to be a single concept for this, but this is intuitively taken from https://kubernetes.io/docs/reference/using-api/api-concepts/#standard-api-terminology At least one is required.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "GenericAnalysisMessage", + "Scope": "Namespaced" + } + }, + "io.istio.api.analysis.v1alpha1.InternalErrorAnalysisMessage": { + "description": "InternalErrorAnalysisMessage is a strongly-typed message representing some error in Istio code that prevented us from performing analysis at all.", + "type": "object", + "properties": { + "detail": { + "description": "Any detail regarding specifics of the error. Should be human-readable.", + "type": "string" + }, + "messageBase": { + "description": "Required", + "$ref": "#/definitions/io.istio.api.analysis.v1alpha1.AnalysisMessageBase" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "InternalErrorAnalysisMessage", + "Scope": "Namespaced" + } + }, + "io.istio.api.extensions.v1alpha1.EnvValueSource": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "EnvValueSource", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "HOST(1),INLINE(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.extensions.v1alpha1.EnvVar": { + "type": "object", + "properties": { + "name": { + "description": "Name of the environment variable. Must be a C_IDENTIFIER.", + "type": "string" + }, + "value": { + "description": "Value for the environment variable. Only applicable if `valueFrom` is `HOST`. Defaults to \"\".", + "type": "string" + }, + "valueFrom": { + "description": "Source for the environment variable's value.", + "default": {}, + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.EnvValueSource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "EnvVar", + "Scope": "Namespaced" + } + }, + "io.istio.api.extensions.v1alpha1.FailStrategy": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "FailStrategy", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "FAIL_CLOSE(0),FAIL_OPEN(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.extensions.v1alpha1.PluginPhase": { + "description": "The phase in the filter chain where the plugin will be injected.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "PluginPhase", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "AUTHN(1),AUTHZ(2),STATS(3),UNSPECIFIED_PHASE(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.extensions.v1alpha1.PluginType": { + "description": "PluginType indicates the type of Wasm extension to be used. There are two types of extensions: `HTTP` and `NETWORK`.\n\nThe `HTTP` extension works at Layer 7 (for example, as an HTTP filter in Envoy). The detailed HTTP interface can be found here: - [C++](https://github.com/proxy-wasm/proxy-wasm-cpp-host/blob/b7e690703c7f26707438a2f1ebd7c197bc8f0296/include/proxy-wasm/context_interface.h#L199) - [Rust](https://github.com/proxy-wasm/proxy-wasm-rust-sdk/blob/6b47aec926bc29971c727471d6f4c972ec407c7f/src/traits.rs#L309)\n\nThe `NETWORK` extension works at Layer 4 (for example, as a network filter in Envoy). The detailed `NETWORK` interface can be found here: - [C++](https://github.com/proxy-wasm/proxy-wasm-cpp-host/blob/b7e690703c7f26707438a2f1ebd7c197bc8f0296/include/proxy-wasm/context_interface.h#L257) - [Rust](https://github.com/proxy-wasm/proxy-wasm-rust-sdk/blob/6b47aec926bc29971c727471d6f4c972ec407c7f/src/traits.rs#L257)\n\nThe `NETWORK` extension can be applied to HTTP traffic as well.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "PluginType", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "HTTP(1),NETWORK(2),UNSPECIFIED_PLUGIN_TYPE(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.extensions.v1alpha1.PullPolicy": { + "description": "The pull behaviour to be applied when fetching a Wam module, mirroring K8s behaviour.\n\n\u003c!-- buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE --\u003e", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "PullPolicy", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "Always(2),IfNotPresent(1),UNSPECIFIED_POLICY(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.extensions.v1alpha1.VmConfig": { + "description": "Configuration for a Wasm VM. more details can be found [here](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/wasm/v3/wasm.proto#extensions-wasm-v3-vmconfig).", + "type": "object", + "properties": { + "env": { + "description": "Specifies environment variables to be injected to this VM. Note that if a key does not exist, it will be ignored.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.EnvVar" + }, + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "VmConfig", + "Scope": "Namespaced" + } + }, + "io.istio.api.extensions.v1alpha1.WasmPlugin": { + "description": "WasmPlugins provides a mechanism to extend the functionality provided by the Istio proxy through WebAssembly filters.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "failStrategy": { + "description": "Specifies the failure behavior for the plugin due to fatal errors.", + "default": {}, + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.FailStrategy" + }, + "imagePullPolicy": { + "description": "The pull behaviour to be applied when fetching Wasm module by either OCI image or `http/https`. Only relevant when referencing Wasm module without any digest, including the digest in OCI image URL or `sha256` field in `vm_config`. Defaults to `IfNotPresent`, except when an OCI image is referenced in the `url` and the `latest` tag is used, in which case `Always` is the default, mirroring Kubernetes behaviour.", + "default": {}, + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.PullPolicy" + }, + "imagePullSecret": { + "description": "Credentials to use for OCI image pulling. Name of a Kubernetes Secret in the same namespace as the `WasmPlugin` that contains a Docker pull secret which is to be used to authenticate against the registry when pulling the image.", + "type": "string" + }, + "match": { + "description": "Specifies the criteria to determine which traffic is passed to WasmPlugin. If a traffic satisfies any of TrafficSelectors, the traffic passes the WasmPlugin.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.WasmPlugin_TrafficSelector" + } + }, + "phase": { + "description": "Determines where in the filter chain this `WasmPlugin` is to be injected.", + "default": {}, + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.PluginPhase" + }, + "pluginConfig": { + "description": "The configuration that will be passed on to the plugin.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.structpb.Struct" + }, + "pluginName": { + "description": "The plugin name to be used in the Envoy configuration (used to be called `rootID`). Some .wasm modules might require this value to select the Wasm plugin to execute.", + "type": "string" + }, + "priority": { + "description": "Determines ordering of `WasmPlugins` in the same `phase`. When multiple `WasmPlugins` are applied to the same workload in the same `phase`, they will be applied by priority, in descending order. If `priority` is not set, or two `WasmPlugins` exist with the same value, the ordering will be deterministically derived from name and namespace of the `WasmPlugins`. Defaults to `0`.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.Int32Value" + }, + "selector": { + "description": "Criteria used to select the specific set of pods/VMs on which this plugin configuration should be applied. If omitted, this configuration will be applied to all workload instances in the same namespace. If the `WasmPlugin` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.\n\nAt most, only one of `selector` or `targetRefs` can be set for a given policy.", + "$ref": "#/definitions/io.istio.api.type.v1beta1.WorkloadSelector" + }, + "sha256": { + "description": "SHA256 checksum that will be used to verify Wasm module or OCI container. If the `url` field already references a SHA256 (using the `@sha256:` notation), it must match the value of this field. If an OCI image is referenced by tag and this field is set, its checksum will be verified against the contents of this field after pulling.", + "type": "string" + }, + "targetRef": { + "description": "$hide_from_docs", + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + }, + "targetRefs": { + "description": "Optional. The targetRefs specifies a list of resources the policy should be applied to. The targeted resources specified will determine which workloads the policy applies to.\n\nCurrently, the following resource attachment types are supported: * `kind: Gateway` with `group: gateway.networking.k8s.io` in the same namespace. * `kind: Service` with `\"\"` in the same namespace. This type is only supported for waypoints.\n\nIf not set, the policy is applied as defined by the selector. At most one of the selector and targetRefs can be set.\n\nNOTE: If you are using the `targetRefs` field in a multi-revision environment with Istio versions prior to 1.22, it is highly recommended that you pin the policy to a revision running 1.22+ via the `istio.io/rev` label. This is to prevent proxies connected to older control planes (that don't know about the `targetRefs` field) from misinterpreting the policy as namespace-wide during the upgrade process.\n\nNOTE: Waypoint proxies are required to use this field for policies to apply; `selector` policies will be ignored.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + } + }, + "type": { + "description": "Specifies the type of Wasm Extension to be used.", + "default": {}, + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.PluginType" + }, + "url": { + "description": "URL of a Wasm module or OCI container. If no scheme is present, defaults to `oci://`, referencing an OCI image. Other valid schemes are `file://` for referencing .wasm module files present locally within the proxy container, and `http[s]://` for `.wasm` module files hosted remotely.", + "type": "string" + }, + "verificationKey": { + "description": "$hide_from_docs Public key that will be used to verify signatures of signed OCI images or Wasm modules.\n\nAt this moment, various ways for signing/verifying are emerging and being proposed. We can observe two major streams for signing OCI images: Cosign from Sigstore and Notary, which is used in Docker Content Trust. In case of Wasm module, multiple approaches are still in discussion.\n - https://github.com/WebAssembly/design/issues/1413\n - https://github.com/wasm-signatures/design (various signing tools are enumerated)\n\nIn addition, for each method for signing\u0026verifying, we may need to consider to provide additional data or configuration (e.g., key rolling, KMS, root certs, ...) as well.\n\nTo deal with this situation, we need to elaborate more generic way to describe how to sign and verify the image or wasm binary, and how to specify relevant data, including this `verification_key`.\n\nTherefore, this field will not be implemented until the detailed design is established. For the future use, just keep this field in proto and hide from documentation.", + "type": "string" + }, + "vmConfig": { + "description": "Configuration for a Wasm VM. More details can be found [here](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/wasm/v3/wasm.proto#extensions-wasm-v3-vmconfig).", + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.VmConfig" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha1", + "Kind": "WasmPlugin", + "Scope": "Namespaced" + } + }, + "io.istio.api.extensions.v1alpha1.WasmPlugin_TrafficSelector": { + "description": "TrafficSelector provides a mechanism to select a specific traffic flow for which this Wasm Plugin will be enabled. When all the sub conditions in the TrafficSelector are satisfied, the traffic will be selected.", + "type": "object", + "properties": { + "mode": { + "description": "Criteria for selecting traffic by their direction. Note that `CLIENT` and `SERVER` are analogous to OUTBOUND and INBOUND, respectively. For the gateway, the field should be `CLIENT` or `CLIENT_AND_SERVER`. If not specified, the default value is `CLIENT_AND_SERVER`.", + "type": "integer", + "format": "int32" + }, + "ports": { + "description": "Criteria for selecting traffic by their destination port. More specifically, for the outbound traffic, the destination port would be the port of the target service. On the other hand, for the inbound traffic, the destination port is the port bound by the server process in the same Pod.\n\nIf one of the given `ports` is matched, this condition is evaluated to true. If not specified, this condition is evaluated to true for any port.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.type.v1beta1.PortSelector" + }, + "x-kubernetes-list-map-keys": [ + "number" + ], + "x-kubernetes-list-type": "map" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "WasmPlugin_TrafficSelector", + "Scope": "Namespaced" + } + }, + "io.istio.api.meta.v1alpha1.IstioCondition": { + "type": "object", + "properties": { + "lastProbeTime": { + "description": "Last time we probed the condition.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.timestamppb.Timestamp" + }, + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.timestamppb.Timestamp" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "IstioCondition", + "Scope": "Namespaced" + } + }, + "io.istio.api.meta.v1alpha1.IstioStatus": { + "type": "object", + "properties": { + "conditions": { + "description": "Current service state of the resource. More info: https://istio.io/docs/reference/config/config-status/", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "Resource Generation to which the Reconciled Condition refers. When this value is not equal to the object's metadata generation, reconciled condition calculation for the current generation is still in progress. See https://istio.io/latest/docs/reference/config/config-status/ for more info.", + "type": "integer", + "format": "int64" + }, + "validationMessages": { + "description": "Includes any errors or warnings detected by Istio's analyzers.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.analysis.v1alpha1.AnalysisMessageBase" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "IstioStatus", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.CaptureMode": { + "description": "`CaptureMode` describes how traffic to a listener is expected to be captured. Applicable only when the listener is bound to an IP.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "CaptureMode", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "DEFAULT(0),IPTABLES(1),NONE(2)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.ClientTLSSettings": { + "description": "SSL/TLS related settings for upstream connections. See Envoy's [TLS context](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/transport_sockets/tls/v3/common.proto.html#common-tls-configuration) for more details. These settings are common to both HTTP and TCP upstreams.\n\nFor example, the following rule configures a client to use mutual TLS for connections to upstream database cluster.\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: db-mtls\n\nspec:\n\n\thost: mydbserver.prod.svc.cluster.local\n\ttrafficPolicy:\n\t tls:\n\t mode: MUTUAL\n\t clientCertificate: /etc/certs/myclientcert.pem\n\t privateKey: /etc/certs/client_private_key.pem\n\t caCertificates: /etc/certs/rootcacerts.pem\n\n```\n\nThe following rule configures a client to use TLS when talking to a foreign service whose domain matches *.foo.com.\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: tls-foo\n\nspec:\n\n\thost: \"*.foo.com\"\n\ttrafficPolicy:\n\t tls:\n\t mode: SIMPLE\n\n```\n\nThe following rule configures a client to use Istio mutual TLS when talking to rating services.\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: ratings-istio-mtls\n\nspec:\n\n\thost: ratings.prod.svc.cluster.local\n\ttrafficPolicy:\n\t tls:\n\t mode: ISTIO_MUTUAL\n\n```", + "type": "object", + "properties": { + "caCertificates": { + "description": "OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate. If omitted, the proxy will verify the server's certificate using the OS CA certificates. Should be empty if mode is `ISTIO_MUTUAL`.", + "type": "string" + }, + "caCrl": { + "description": "OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented server certificate. `CRL` is a list of certificates that have been revoked by the CA (Certificate Authority) before their scheduled expiration date. If specified, the proxy will verify if the presented certificate is part of the revoked list of certificates. If omitted, the proxy will not verify the certificate against the `crl`.", + "type": "string" + }, + "clientCertificate": { + "description": "REQUIRED if mode is `MUTUAL`. The path to the file holding the client-side TLS certificate to use. Should be empty if mode is `ISTIO_MUTUAL`.", + "type": "string" + }, + "credentialName": { + "description": "The name of the secret that holds the TLS certs for the client including the CA certificates. This secret must exist in the namespace of the proxy using the certificates. An Opaque secret should contain the following keys and values: `key: \u003cprivateKey\u003e`, `cert: \u003cclientCert\u003e`, `cacert: \u003cCACertificate\u003e`, `crl: \u003ccertificateRevocationList\u003e` Here CACertificate is used to verify the server certificate. For mutual TLS, `cacert: \u003cCACertificate\u003e` can be provided in the same secret or a separate secret named `\u003csecret\u003e-cacert`. A TLS secret for client certificates with an additional `ca.crt` key for CA certificates and `ca.crl` key for certificate revocation list(CRL) is also supported. Only one of client certificates and CA certificate or credentialName can be specified.\n\n**NOTE:** This field is applicable at sidecars only if `DestinationRule` has a `workloadSelector` specified. Otherwise the field will be applicable only at gateways, and sidecars will continue to use the certificate paths.", + "type": "string" + }, + "insecureSkipVerify": { + "description": "`insecureSkipVerify` specifies whether the proxy should skip verifying the CA signature and SAN for the server certificate corresponding to the host. The default value of this field is false.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.BoolValue" + }, + "mode": { + "description": "Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ClientTLSSettings_TLSmode" + }, + "privateKey": { + "description": "REQUIRED if mode is `MUTUAL`. The path to the file holding the client's private key. Should be empty if mode is `ISTIO_MUTUAL`.", + "type": "string" + }, + "sni": { + "description": "SNI string to present to the server during TLS handshake. If unspecified, SNI will be automatically set based on downstream HTTP host/authority header for SIMPLE and MUTUAL TLS modes.", + "type": "string" + }, + "subjectAltNames": { + "description": "A list of alternate names to verify the subject identity in the certificate. If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. If specified, this list overrides the value of subject_alt_names from the ServiceEntry. If unspecified, automatic validation of upstream presented certificate for new upstream connections will be done based on the downstream HTTP host/authority header.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ClientTLSSettings", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ClientTLSSettings_TLSmode": { + "description": "TLS connection mode", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ClientTLSSettings_TLSmode", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "DISABLE(0),ISTIO_MUTUAL(3),MUTUAL(2),SIMPLE(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.ConnectionPoolSettings": { + "description": "Connection pool settings for an upstream host. The settings apply to each individual host in the upstream service. See Envoy's [circuit breaker](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/circuit_breaking) for more details. Connection pool settings can be applied at the TCP level as well as at HTTP level.\n\nFor example, the following rule sets a limit of 100 connections to redis service called myredissrv with a connect timeout of 30ms\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: bookinfo-redis\n\nspec:\n\n\thost: myredissrv.prod.svc.cluster.local\n\ttrafficPolicy:\n\t connectionPool:\n\t tcp:\n\t maxConnections: 100\n\t connectTimeout: 30ms\n\t tcpKeepalive:\n\t time: 7200s\n\t interval: 75s\n\n```", + "type": "object", + "properties": { + "http": { + "description": "HTTP connection pool settings.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ConnectionPoolSettings_HTTPSettings" + }, + "tcp": { + "description": "Settings common to both HTTP and TCP upstream connections.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ConnectionPoolSettings_TCPSettings" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ConnectionPoolSettings", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ConnectionPoolSettings_HTTPSettings": { + "description": "Settings applicable to HTTP1.1/HTTP2/GRPC connections.", + "type": "object", + "properties": { + "h2UpgradePolicy": { + "description": "Specify if http1.1 connection should be upgraded to http2 for the associated destination.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy" + }, + "http1MaxPendingRequests": { + "description": "Maximum number of requests that will be queued while waiting for a ready connection pool connection. Default 2^32-1. Refer to https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/circuit_breaking under which conditions a new connection is created for HTTP2. Please note that this is applicable to both HTTP/1.1 and HTTP2.", + "type": "integer", + "format": "int32" + }, + "http2MaxRequests": { + "description": "Maximum number of active requests to a destination. Default 2^32-1. Please note that this is applicable to both HTTP/1.1 and HTTP2.", + "type": "integer", + "format": "int32" + }, + "idleTimeout": { + "description": "The idle timeout for upstream connection pool connections. The idle timeout is defined as the period in which there are no active requests. If not set, the default is 1 hour. When the idle timeout is reached, the connection will be closed. If the connection is an HTTP/2 connection a drain sequence will occur prior to closing the connection. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. Applies to both HTTP1.1 and HTTP2 connections.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "maxConcurrentStreams": { + "description": "The maximum number of concurrent streams allowed for a peer on one HTTP/2 connection. Defaults to 2^31-1.", + "type": "integer", + "format": "int32" + }, + "maxRequestsPerConnection": { + "description": "Maximum number of requests per connection to a backend. Setting this parameter to 1 disables keep alive. Default 0, meaning \"unlimited\", up to 2^29.", + "type": "integer", + "format": "int32" + }, + "maxRetries": { + "description": "Maximum number of retries that can be outstanding to all hosts in a cluster at a given time. Defaults to 2^32-1.", + "type": "integer", + "format": "int32" + }, + "useClientProtocol": { + "description": "If set to true, client protocol will be preserved while initiating connection to backend. Note that when this is set to true, h2_upgrade_policy will be ineffective i.e. the client connections will not be upgraded to http2.", + "type": "boolean" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ConnectionPoolSettings_HTTPSettings", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy": { + "description": "Policy for upgrading http1.1 connections to http2.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ConnectionPoolSettings_HTTPSettings_H2UpgradePolicy", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "DEFAULT(0),DO_NOT_UPGRADE(1),UPGRADE(2)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.ConnectionPoolSettings_TCPSettings": { + "description": "Settings common to both HTTP and TCP upstream connections.", + "type": "object", + "properties": { + "connectTimeout": { + "description": "TCP connection timeout. format: 1h/1m/1s/1ms. MUST BE \u003e=1ms. Default is 10s.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "idleTimeout": { + "description": "The idle timeout for TCP connections. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, the default idle timeout is 1 hour. If set to 0s, the timeout will be disabled. Idle timeout is not configured per each cluster individually when weighted destinations are used, because idleTimeout is a property of a listener, not a cluster. In that case, idleTimeout specified in a destination rule for the first weighted route is configured in the listener, which means also for all weighted routes.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "maxConnectionDuration": { + "description": "The maximum duration of a connection. The duration is defined as the period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached the connection will be closed. Duration must be at least 1ms.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "maxConnections": { + "description": "Maximum number of HTTP1 /TCP connections to a destination host. Default 2^32-1.", + "type": "integer", + "format": "int32" + }, + "tcpKeepalive": { + "description": "If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ConnectionPoolSettings_TCPSettings", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive": { + "description": "TCP keepalive.", + "type": "object", + "properties": { + "interval": { + "description": "The time duration between keep-alive probes. Default is to use the OS level configuration (unless overridden, Linux defaults to 75s.)", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "probes": { + "description": "Maximum number of keepalive probes to send without response before deciding the connection is dead. Default is to use the OS level configuration (unless overridden, Linux defaults to 9.)", + "type": "integer", + "format": "int64" + }, + "time": { + "description": "The time duration a connection needs to be idle before keep-alive probes start being sent. Default is to use the OS level configuration (unless overridden, Linux defaults to 7200s (ie 2 hours.)", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ConnectionPoolSettings_TCPSettings_TcpKeepalive", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.CorsPolicy": { + "description": "Describes the Cross-Origin Resource Sharing (CORS) policy, for a given service. Refer to [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) for further details about cross origin resource sharing. For example, the following rule restricts cross origin requests to those originating from example.com domain using HTTP POST/GET, and sets the `Access-Control-Allow-Credentials` header to false. In addition, it only exposes `X-Foo-bar` header and sets an expiry period of 1 day.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- route:\n\t - destination:\n\t host: ratings.prod.svc.cluster.local\n\t subset: v1\n\t corsPolicy:\n\t allowOrigins:\n\t - exact: https://example.com\n\t allowMethods:\n\t - POST\n\t - GET\n\t allowCredentials: false\n\t allowHeaders:\n\t - X-Foo-Bar\n\t maxAge: \"24h\"\n\n```", + "type": "object", + "properties": { + "allowCredentials": { + "description": "Indicates whether the caller is allowed to send the actual request (not the preflight) using credentials. Translates to `Access-Control-Allow-Credentials` header.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.BoolValue" + }, + "allowHeaders": { + "description": "List of HTTP headers that can be used when requesting the resource. Serialized to Access-Control-Allow-Headers header.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "allowMethods": { + "description": "List of HTTP methods allowed to access the resource. The content will be serialized into the Access-Control-Allow-Methods header.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "allowOrigin": { + "description": "The list of origins that are allowed to perform CORS requests. The content will be serialized into the Access-Control-Allow-Origin header. Wildcard * will allow all origins. $hide_from_docs\n\nDeprecated: Marked as deprecated in networking/v1alpha3/virtual_service.proto.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "allowOrigins": { + "description": "String patterns that match allowed origins. An origin is allowed if any of the string matchers match. If a match is found, then the outgoing Access-Control-Allow-Origin would be set to the origin as provided by the client.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.StringMatch" + } + }, + "exposeHeaders": { + "description": "A list of HTTP headers that the browsers are allowed to access. Serialized into Access-Control-Expose-Headers header.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "maxAge": { + "description": "Specifies how long the results of a preflight request can be cached. Translates to the `Access-Control-Max-Age` header.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "unmatchedPreflights": { + "description": "Indicates whether preflight requests not matching the configured allowed origin shouldn't be forwarded to the upstream. Default is forward to upstream.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.CorsPolicy_UnmatchedPreflights" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "CorsPolicy", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.CorsPolicy_UnmatchedPreflights": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "CorsPolicy_UnmatchedPreflights", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "FORWARD(1),IGNORE(2),UNSPECIFIED(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.Delegate": { + "description": "Describes the delegate VirtualService. The following routing rules forward the traffic to `/productpage` by a delegate VirtualService named `productpage`, forward the traffic to `/reviews` by a delegate VirtualService named `reviews`.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: bookinfo\n\nspec:\n\n\thosts:\n\t- \"bookinfo.com\"\n\tgateways:\n\t- mygateway\n\thttp:\n\t- match:\n\t - uri:\n\t prefix: \"/productpage\"\n\t delegate:\n\t name: productpage\n\t namespace: nsA\n\t- match:\n\t - uri:\n\t prefix: \"/reviews\"\n\t delegate:\n\t name: reviews\n\t namespace: nsB\n\n```\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: productpage\n\tnamespace: nsA\n\nspec:\n\n\thttp:\n\t- match:\n\t - uri:\n\t prefix: \"/productpage/v1/\"\n\t route:\n\t - destination:\n\t host: productpage-v1.nsA.svc.cluster.local\n\t- route:\n\t - destination:\n\t host: productpage.nsA.svc.cluster.local\n\n```\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: reviews\n\tnamespace: nsB\n\nspec:\n\n\thttp:\n\t- route:\n\t - destination:\n\t host: reviews.nsB.svc.cluster.local\n\n```", + "type": "object", + "properties": { + "name": { + "description": "Name specifies the name of the delegate VirtualService.", + "type": "string" + }, + "namespace": { + "description": "Namespace specifies the namespace where the delegate VirtualService resides. By default, it is same to the root's.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "Delegate", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.Destination": { + "description": "Destination indicates the network addressable service to which the request/connection will be sent after processing a routing rule. The destination.host should unambiguously refer to a service in the service registry. Istio's service registry is composed of all the services found in the platform's service registry (e.g., Kubernetes services, Consul services), as well as services declared through the [ServiceEntry](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry) resource.\n\n*Note for Kubernetes users*: When short names are used (e.g. \"reviews\" instead of \"reviews.default.svc.cluster.local\"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the \"default\" namespace containing a host \"reviews\" will be interpreted as \"reviews.default.svc.cluster.local\", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._\n\nThe following Kubernetes example routes all traffic by default to pods of the reviews service with label \"version: v1\" (i.e., subset v1), and some to subset v2, in a Kubernetes environment.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: reviews-route\n\tnamespace: foo\n\nspec:\n\n\thosts:\n\t- reviews # interpreted as reviews.foo.svc.cluster.local\n\thttp:\n\t- match:\n\t - uri:\n\t prefix: \"/wpcatalog\"\n\t - uri:\n\t prefix: \"/consumercatalog\"\n\t rewrite:\n\t uri: \"/newcatalog\"\n\t route:\n\t - destination:\n\t host: reviews # interpreted as reviews.foo.svc.cluster.local\n\t subset: v2\n\t- route:\n\t - destination:\n\t host: reviews # interpreted as reviews.foo.svc.cluster.local\n\t subset: v1\n\n```\n\n# And the associated DestinationRule\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: reviews-destination\n\tnamespace: foo\n\nspec:\n\n\thost: reviews # interpreted as reviews.foo.svc.cluster.local\n\tsubsets:\n\t- name: v1\n\t labels:\n\t version: v1\n\t- name: v2\n\t labels:\n\t version: v2\n\n```\n\nThe following VirtualService sets a timeout of 5s for all calls to productpage.prod.svc.cluster.local service in Kubernetes. Notice that there are no subsets defined in this rule. Istio will fetch all instances of productpage.prod.svc.cluster.local service from the service registry and populate the sidecar's load balancing pool. Also, notice that this rule is set in the istio-system namespace but uses the fully qualified domain name of the productpage service, productpage.prod.svc.cluster.local. Therefore the rule's namespace does not have an impact in resolving the name of the productpage service.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: my-productpage-rule\n\tnamespace: istio-system\n\nspec:\n\n\thosts:\n\t- productpage.prod.svc.cluster.local # ignores rule namespace\n\thttp:\n\t- timeout: 5s\n\t route:\n\t - destination:\n\t host: productpage.prod.svc.cluster.local\n\n```\n\nTo control routing for traffic bound to services outside the mesh, external services must first be added to Istio's internal service registry using the ServiceEntry resource. VirtualServices can then be defined to control traffic bound to these external services. For example, the following rules define a Service for wikipedia.org and set a timeout of 5s for HTTP requests.\n\n```yaml apiVersion: networking.istio.io/v1 kind: ServiceEntry metadata:\n\n\tname: external-svc-wikipedia\n\nspec:\n\n\thosts:\n\t- wikipedia.org\n\tlocation: MESH_EXTERNAL\n\tports:\n\t- number: 80\n\t name: example-http\n\t protocol: HTTP\n\tresolution: DNS", + "type": "object", + "properties": { + "host": { + "description": "The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntry](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Traffic forwarded to destinations that are not found in either of the two, will be dropped.\n\n*Note for Kubernetes users*: When short names are used (e.g. \"reviews\" instead of \"reviews.default.svc.cluster.local\"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the \"default\" namespace containing a host \"reviews\" will be interpreted as \"reviews.default.svc.cluster.local\", irrespective of the actual namespace associated with the reviews service. To avoid potential misconfiguration, it is recommended to always use fully qualified domain names over short names.", + "type": "string" + }, + "port": { + "description": "Specifies the port on the host that is being addressed. If a service exposes only a single port it is not required to explicitly select the port.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.PortSelector" + }, + "subset": { + "description": "The name of a subset within the service. Applicable only to services within the mesh. The subset must be defined in a corresponding DestinationRule.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "Destination", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.DestinationRule": { + "description": "DestinationRule defines policies that apply to traffic intended for a service after routing has occurred.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "exportTo": { + "description": "A list of namespaces to which this destination rule is exported. The resolution of a destination rule to apply to a service occurs in the context of a hierarchy of namespaces. Exporting a destination rule allows it to be included in the resolution hierarchy for services in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of destination rules across namespace boundaries.\n\nIf no namespaces are specified then the destination rule is exported to all namespaces by default.\n\nThe value \".\" is reserved and defines an export to the same namespace that the destination rule is declared in. Similarly, the value \"*\" is reserved and defines an export to all namespaces.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "host": { + "description": "The name of a service from the service registry. Service names are looked up from the platform's service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by [ServiceEntries](https://istio.io/docs/reference/config/networking/service-entry/#ServiceEntry). Rules defined for services that do not exist in the service registry will be ignored.\n\n*Note for Kubernetes users*: When short names are used (e.g. \"reviews\" instead of \"reviews.default.svc.cluster.local\"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the \"default\" namespace containing a host \"reviews\" will be interpreted as \"reviews.default.svc.cluster.local\", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._\n\nNote that the host field applies to both HTTP and TCP services.", + "type": "string" + }, + "subsets": { + "description": "One or more named sets that represent individual versions of a service. Traffic policies can be overridden at subset level.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Subset" + } + }, + "trafficPolicy": { + "description": "Traffic policies to apply (load balancing policy, connection pool sizes, outlier detection).", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TrafficPolicy" + }, + "workloadSelector": { + "description": "Criteria used to select the specific set of pods/VMs on which this `DestinationRule` configuration should be applied. If specified, the `DestinationRule` configuration will be applied only to the workload instances matching the workload selector label in the same namespace. Workload selectors do not apply across namespace boundaries. If omitted, the `DestinationRule` falls back to its default behavior. For example, if specific sidecars need to have egress TLS settings for services outside of the mesh, instead of every sidecar in the mesh needing to have the configuration (which is the default behaviour), a workload selector can be specified.", + "$ref": "#/definitions/io.istio.api.type.v1beta1.WorkloadSelector" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha3", + "Kind": "DestinationRule", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter": { + "description": "EnvoyFilter provides a mechanism to customize the Envoy configuration generated by Istio Pilot.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "configPatches": { + "description": "One or more patches with match conditions.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_EnvoyConfigObjectPatch" + } + }, + "priority": { + "description": "Priority defines the order in which patch sets are applied within a context. When one patch depends on another patch, the order of patch application is significant. The API provides two primary ways to order patches. Patch sets in the root namespace are applied before the patch sets in the workload namespace. Patches within a patch set are processed in the order that they appear in the `configPatches` list.\n\nThe default value for priority is 0 and the range is [ min-int32, max-int32 ]. A patch set with a negative priority is processed before the default. A patch set with a positive priority is processed after the default.\n\nIt is recommended to start with priority values that are multiples of 10 to leave room for further insertion.\n\nPatch sets are sorted in the following ascending key order: priority, creation time, fully qualified resource name.", + "type": "integer", + "format": "int32" + }, + "targetRefs": { + "description": "Optional. The targetRefs specifies a list of resources the policy should be applied to. The targeted resources specified will determine which workloads the policy applies to.\n\nCurrently, the following resource attachment types are supported: * `kind: Gateway` with `group: gateway.networking.k8s.io` in the same namespace. * `kind: Service` with `\"\"` in the same namespace. This type is only supported for waypoints.\n\nIf not set, the policy is applied as defined by the selector. At most one of the selector and targetRefs can be set.\n\nNOTE: If you are using the `targetRefs` field in a multi-revision environment with Istio versions prior to 1.22, it is highly recommended that you pin the policy to a revision running 1.22+ via the `istio.io/rev` label. This is to prevent proxies connected to older control planes (that don't know about the `targetRefs` field) from misinterpreting the policy as namespace-wide during the upgrade process.\n\nNOTE: Waypoint proxies are required to use this field for policies to apply; `selector` policies will be ignored.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + } + }, + "workloadSelector": { + "description": "Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadSelector" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_ApplyTo": { + "description": "`ApplyTo` specifies where in the Envoy configuration, the given patch should be applied.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_ApplyTo", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "BOOTSTRAP(10),CLUSTER(8),EXTENSION_CONFIG(9),FILTER_CHAIN(2),HTTP_FILTER(4),HTTP_ROUTE(7),INVALID(0),LISTENER(1),LISTENER_FILTER(11),NETWORK_FILTER(3),ROUTE_CONFIGURATION(5),VIRTUAL_HOST(6)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_ClusterMatch": { + "description": "Conditions specified in `ClusterMatch` must be met for the patch to be applied to a cluster.", + "type": "object", + "properties": { + "name": { + "description": "The exact name of the cluster to match. To match a specific cluster by name, such as the internally generated `Passthrough` cluster, leave all fields in clusterMatch empty, except the name.", + "type": "string" + }, + "portNumber": { + "description": "The service port for which this cluster was generated. If omitted, applies to clusters for any port. **Note:** for inbound cluster, it is the service target port.", + "type": "integer", + "format": "int64" + }, + "service": { + "description": "The fully qualified service name for this cluster. If omitted, applies to clusters for any service. For services defined through service entries, the service name is same as the hosts defined in the service entry. **Note:** for inbound cluster, this is ignored.", + "type": "string" + }, + "subset": { + "description": "The subset associated with the service. If omitted, applies to clusters for any subset of a service.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_ClusterMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_EnvoyConfigObjectMatch": { + "description": "One or more match conditions to be met before a patch is applied to the generated configuration for a given proxy.", + "type": "object", + "required": [ + "ObjectTypes" + ], + "properties": { + "ObjectTypes": { + "description": "Types that are assignable to ObjectTypes:\n\n\t*EnvoyFilter_EnvoyConfigObjectMatch_Listener\n\t*EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration\n\t*EnvoyFilter_EnvoyConfigObjectMatch_Cluster", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes" + }, + "context": { + "description": "The specific config generation context to match on. Istio Pilot generates envoy configuration in the context of a gateway, inbound traffic to sidecar and outbound traffic from sidecar.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_PatchContext" + }, + "proxy": { + "description": "Match on properties associated with a proxy.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_ProxyMatch" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_EnvoyConfigObjectMatch", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "ObjectTypes" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_EnvoyConfigObjectMatch_Cluster": { + "type": "object", + "required": [ + "cluster" + ], + "properties": { + "cluster": { + "description": "Match on envoy cluster attributes.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_ClusterMatch" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_EnvoyConfigObjectMatch_Cluster", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_EnvoyConfigObjectMatch_Listener": { + "type": "object", + "required": [ + "listener" + ], + "properties": { + "listener": { + "description": "Match on envoy listener attributes.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_ListenerMatch" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_EnvoyConfigObjectMatch_Listener", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration": { + "type": "object", + "required": [ + "routeConfiguration" + ], + "properties": { + "routeConfiguration": { + "description": "Match on envoy HTTP route configuration attributes.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_RouteConfigurationMatch" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_EnvoyConfigObjectPatch": { + "description": "Changes to be made to various envoy config objects.", + "type": "object", + "properties": { + "applyTo": { + "description": "Specifies where in the Envoy configuration, the patch should be applied. The match is expected to select the appropriate object based on applyTo. For example, an applyTo with `HTTP_FILTER` is expected to have a match condition on the listeners, with a network filter selection on `envoy.filters.network.http_connection_manager` and a sub filter selection on the HTTP filter relative to which the insertion should be performed. Similarly, an applyTo on `CLUSTER` should have a match (if provided) on the cluster and not on a listener.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_ApplyTo" + }, + "match": { + "description": "Match on listener/route configuration/cluster.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_EnvoyConfigObjectMatch" + }, + "patch": { + "description": "The patch to apply along with the operation.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_Patch" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_EnvoyConfigObjectPatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_ListenerMatch": { + "description": "Conditions specified in a listener match must be met for the patch to be applied to a specific listener across all filter chains, or a specific filter chain inside the listener.", + "type": "object", + "properties": { + "filterChain": { + "description": "Match a specific filter chain in a listener. If specified, the patch will be applied to the filter chain (and a specific filter if specified) and not to other filter chains in the listener.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_ListenerMatch_FilterChainMatch" + }, + "listenerFilter": { + "description": "Match a specific listener filter. If specified, the patch will be applied to the listener filter.", + "type": "string" + }, + "name": { + "description": "Match a specific listener by its name. The listeners generated by Pilot are typically named as IP:Port.", + "type": "string" + }, + "portName": { + "description": "Instead of using specific port numbers, a set of ports matching a given service's port name can be selected. Matching is case insensitive. Not implemented. $hide_from_docs", + "type": "string" + }, + "portNumber": { + "description": "The service port/gateway port to which traffic is being sent/received. If not specified, matches all listeners. Even though inbound listeners are generated for the instance/pod ports, only service ports should be used to match listeners.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_ListenerMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_ListenerMatch_FilterChainMatch": { + "description": "For listeners with multiple filter chains (e.g., inbound listeners on sidecars with permissive mTLS, gateway listeners with multiple SNI matches), the filter chain match can be used to select a specific filter chain to patch.", + "type": "object", + "properties": { + "applicationProtocols": { + "description": "Applies only to sidecars. If non-empty, a comma separated set of application protocols to consider when determining a filter chain match. This value will be compared against the application protocols of a new connection, when it's detected by one of the listener filters such as the `http_inspector`.\n\nAccepted values include: h2, http/1.1, http/1.0", + "type": "string" + }, + "destinationPort": { + "description": "The destination_port value used by a filter chain's match condition. This condition will evaluate to false if the filter chain has no destination_port match.", + "type": "integer", + "format": "int64" + }, + "filter": { + "description": "The name of a specific filter to apply the patch to. Set this to `envoy.filters.network.http_connection_manager` to add a filter or apply a patch to the HTTP connection manager.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_ListenerMatch_FilterMatch" + }, + "name": { + "description": "The name assigned to the filter chain.", + "type": "string" + }, + "sni": { + "description": "The SNI value used by a filter chain's match condition. This condition will evaluate to false if the filter chain has no sni match.", + "type": "string" + }, + "transportProtocol": { + "description": "Applies only to `SIDECAR_INBOUND` context. If non-empty, a transport protocol to consider when determining a filter chain match. This value will be compared against the transport protocol of a new connection, when it's detected by the `tls_inspector` listener filter.\n\nAccepted values include:\n\n* `raw_buffer` - default, used when no transport protocol is detected. * `tls` - set when TLS protocol is detected by the TLS inspector.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_ListenerMatch_FilterChainMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_ListenerMatch_FilterMatch": { + "description": "Conditions to match a specific filter within a filter chain.", + "type": "object", + "properties": { + "name": { + "description": "The filter name to match on. For standard Envoy filters, [canonical filter](https://www.envoyproxy.io/docs/envoy/latest/version_history/v1.14.0#deprecated) names should be used.", + "type": "string" + }, + "subFilter": { + "description": "The next level filter within this filter to match upon. Typically used for HTTP Connection Manager filters and Thrift filters.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_ListenerMatch_SubFilterMatch" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_ListenerMatch_FilterMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_ListenerMatch_SubFilterMatch": { + "description": "Conditions to match a specific filter within another filter. This field is typically useful to match a HTTP filter inside the `envoy.filters.network.http_connection_manager` network filter. This could also be applicable for thrift filters.", + "type": "object", + "properties": { + "name": { + "description": "The filter name to match on.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_ListenerMatch_SubFilterMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_Patch": { + "description": "Patch specifies how the selected object should be modified.", + "type": "object", + "properties": { + "filterClass": { + "description": "Determines the filter insertion order.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_Patch_FilterClass" + }, + "operation": { + "description": "Determines how the patch should be applied.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_Patch_Operation" + }, + "value": { + "description": "The JSON config of the object being patched. This will be merged using proto merge semantics with the existing proto in the path.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.structpb.Struct" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_Patch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_PatchContext": { + "description": "PatchContext selects a class of configurations based on the traffic flow direction and workload type.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_PatchContext", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "ANY(0),GATEWAY(3),SIDECAR_INBOUND(1),SIDECAR_OUTBOUND(2)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_Patch_FilterClass": { + "description": "FilterClass determines the filter insertion point in the filter chain relative to the filters implicitly inserted by the control plane. It is used in conjunction with the `ADD` operation. This is the preferred insertion mechanism for adding filters over the `INSERT_*` operations since those operations rely on potentially unstable filter names. Filter ordering is important if your filter depends on or affects the functioning of a another filter in the filter chain. Within a filter class, filters are inserted in the order of processing.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_Patch_FilterClass", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "AUTHN(1),AUTHZ(2),STATS(3),UNSPECIFIED(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_Patch_Operation": { + "description": "Operation denotes how the patch should be applied to the selected configuration.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_Patch_Operation", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "ADD(2),INSERT_AFTER(5),INSERT_BEFORE(4),INSERT_FIRST(6),INVALID(0),MERGE(1),REMOVE(3),REPLACE(7)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_ProxyMatch": { + "description": "One or more properties of the proxy to match on.", + "type": "object", + "properties": { + "metadata": { + "description": "Match on the node metadata supplied by a proxy when connecting to Istio Pilot. Note that while Envoy's node metadata is of type Struct, only string key-value pairs are processed by Pilot. All keys specified in the metadata must match with exact values. The match will fail if any of the specified keys are absent or the values fail to match.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "proxyVersion": { + "description": "A regular expression in golang regex format (RE2) that can be used to select proxies using a specific version of istio proxy. The Istio version for a given proxy is obtained from the node metadata field `ISTIO_VERSION` supplied by the proxy when connecting to Pilot. This value is embedded as an environment variable (`ISTIO_META_ISTIO_VERSION`) in the Istio proxy docker image. Custom proxy implementations should provide this metadata variable to take advantage of the Istio version check option.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_ProxyMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_RouteConfigurationMatch": { + "description": "Conditions specified in RouteConfigurationMatch must be met for the patch to be applied to a route configuration object or a specific virtual host within the route configuration.", + "type": "object", + "properties": { + "gateway": { + "description": "The Istio gateway config's namespace/name for which this route configuration was generated. Applies only if the context is GATEWAY. Should be in the namespace/name format. Use this field in conjunction with the `portNumber` and `portName` to accurately select the Envoy route configuration for a specific HTTPS server within a gateway config object.", + "type": "string" + }, + "name": { + "description": "Route configuration name to match on. Can be used to match a specific route configuration by name, such as the internally generated `http_proxy` route configuration for all sidecars.", + "type": "string" + }, + "portName": { + "description": "Applicable only for GATEWAY context. The gateway server port name for which this route configuration was generated.", + "type": "string" + }, + "portNumber": { + "description": "The service port number or gateway server port number for which this route configuration was generated. If omitted, applies to route configurations for all ports.", + "type": "integer", + "format": "int64" + }, + "vhost": { + "description": "Match a specific virtual host in a route configuration and apply the patch to the virtual host.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_RouteConfigurationMatch_VirtualHostMatch" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_RouteConfigurationMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_RouteConfigurationMatch_RouteMatch": { + "description": "Match a specific route inside a virtual host in a route configuration.", + "type": "object", + "properties": { + "action": { + "description": "Match a route with specific action type.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_RouteConfigurationMatch_RouteMatch_Action" + }, + "name": { + "description": "The Route objects generated by default are named as default. Route objects generated using a virtual service will carry the name used in the virtual service's HTTP routes.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_RouteConfigurationMatch_RouteMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_RouteConfigurationMatch_RouteMatch_Action": { + "description": "Action refers to the route action taken by Envoy when a http route matches.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_RouteConfigurationMatch_RouteMatch_Action", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "ANY(0),DIRECT_RESPONSE(3),REDIRECT(2),ROUTE(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.EnvoyFilter_RouteConfigurationMatch_VirtualHostMatch": { + "description": "Match a specific virtual host inside a route configuration.", + "type": "object", + "properties": { + "name": { + "description": "The VirtualHosts objects generated by Istio are named as host:port, where the host typically corresponds to the VirtualService's host field or the hostname of a service in the registry.", + "type": "string" + }, + "route": { + "description": "Match a specific route within the virtual host.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter_RouteConfigurationMatch_RouteMatch" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "EnvoyFilter_RouteConfigurationMatch_VirtualHostMatch", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ExecHealthCheckConfig": { + "type": "object", + "properties": { + "command": { + "description": "Command to run. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ExecHealthCheckConfig", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.Gateway": { + "description": "Gateway describes a load balancer operating at the edge of the mesh receiving incoming or outgoing HTTP/TCP connections.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "selector": { + "description": "One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace \"foo\" can select pods in the namespace \"bar\" based on labels. This behavior can be controlled via the `PILOT_SCOPE_GATEWAY_TO_NAMESPACE` environment variable in istiod. If this variable is set to true, the scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance. If selector is nil, the Gateway will be applied to all workloads.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "servers": { + "description": "A list of server specifications.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Server" + } + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha3", + "Kind": "Gateway", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPBody": { + "type": "object", + "required": [ + "Specifier" + ], + "properties": { + "Specifier": { + "description": "Types that are assignable to Specifier:\n\n\t*HTTPBody_String_\n\t*HTTPBody_Bytes", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsHTTPBody_Specifier" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPBody", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "Specifier" + }, + "io.istio.api.networking.v1alpha3.HTTPBody_Bytes": { + "description": "response body as base64 encoded bytes.", + "type": "object", + "required": [ + "bytes" + ], + "properties": { + "bytes": { + "description": "response body as base64 encoded bytes.", + "type": "string", + "format": "byte" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPBody_Bytes", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPBody_Specifier" + }, + "io.istio.api.networking.v1alpha3.HTTPBody_String_": { + "description": "response body as a string", + "type": "object", + "required": [ + "string" + ], + "properties": { + "string": { + "description": "response body as a string", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPBody_String_", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPBody_Specifier" + }, + "io.istio.api.networking.v1alpha3.HTTPDirectResponse": { + "description": "HTTPDirectResponse can be used to send a fixed response to clients. For example, the following rule returns a fixed 503 status with a body to requests for /v1/getProductRatings API.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- match:\n\t - uri:\n\t exact: /v1/getProductRatings\n\t directResponse:\n\t status: 503\n\t body:\n\t string: \"unknown error\"\n\t...\n\n```\n\nIt is also possible to specify a binary response body. This is mostly useful for non text-based protocols such as gRPC.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- match:\n\t - uri:\n\t exact: /v1/getProductRatings\n\t directResponse:\n\t status: 503\n\t body:\n\t bytes: \"dW5rbm93biBlcnJvcg==\" # \"unknown error\" in base64\n\t...\n\n```\n\nIt is good practice to add headers in the HTTPRoute as well as the direct_response, for example to specify the returned Content-Type.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- match:\n\t - uri:\n\t exact: /v1/getProductRatings\n\t directResponse:\n\t status: 503\n\t body:\n\t string: \"{\\\"error\\\": \\\"unknown error\\\"}\"\n\t headers:\n\t response:\n\t set:\n\t content-type: \"text/plain\"\n\t...\n\n```", + "type": "object", + "properties": { + "body": { + "description": "Specifies the content of the response body. If this setting is omitted, no body is included in the generated response.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPBody" + }, + "status": { + "description": "Specifies the HTTP response status to be returned.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPDirectResponse", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPFaultInjection": { + "description": "HTTPFaultInjection can be used to specify one or more faults to inject while forwarding HTTP requests to the destination specified in a route. Fault specification is part of a VirtualService rule. Faults include aborting the Http request from downstream service, and/or delaying proxying of requests. A fault rule MUST HAVE delay or abort or both.\n\n*Note:* Delay and abort faults are independent of one another, even if both are specified simultaneously.", + "type": "object", + "properties": { + "abort": { + "description": "Abort Http request attempts and return error codes back to downstream service, giving the impression that the upstream service is faulty.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPFaultInjection_Abort" + }, + "delay": { + "description": "Delay requests before forwarding, emulating various failures such as network issues, overloaded upstream service, etc.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPFaultInjection_Delay" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPFaultInjection", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPFaultInjection_Abort": { + "description": "Abort specification is used to prematurely abort a request with a pre-specified error code. The following example will return an HTTP 400 error code for 1 out of every 1000 requests to the \"ratings\" service \"v1\".\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- route:\n\t - destination:\n\t host: ratings.prod.svc.cluster.local\n\t subset: v1\n\t fault:\n\t abort:\n\t percentage:\n\t value: 0.1\n\t httpStatus: 400\n\n```\n\nThe _httpStatus_ field is used to indicate the HTTP status code to return to the caller. The optional _percentage_ field can be used to only abort a certain percentage of requests. If not specified, no request will be aborted.", + "type": "object", + "required": [ + "ErrorType" + ], + "properties": { + "ErrorType": { + "description": "Types that are assignable to ErrorType:\n\n\t*HTTPFaultInjection_Abort_HttpStatus\n\t*HTTPFaultInjection_Abort_GrpcStatus\n\t*HTTPFaultInjection_Abort_Http2Error", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsHTTPFaultInjection_Abort_ErrorType" + }, + "percentage": { + "description": "Percentage of requests to be aborted with the error code provided. If not specified, no request will be aborted.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Percent" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPFaultInjection_Abort", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "ErrorType" + }, + "io.istio.api.networking.v1alpha3.HTTPFaultInjection_Abort_GrpcStatus": { + "description": "GRPC status code to use to abort the request. The supported codes are documented in https://github.com/grpc/grpc/blob/master/doc/statuscodes.md Note: If you want to return the status \"Unavailable\", then you should specify the code as `UNAVAILABLE`(all caps), but not `14`.", + "type": "object", + "required": [ + "grpcStatus" + ], + "properties": { + "grpcStatus": { + "description": "GRPC status code to use to abort the request. The supported codes are documented in https://github.com/grpc/grpc/blob/master/doc/statuscodes.md Note: If you want to return the status \"Unavailable\", then you should specify the code as `UNAVAILABLE`(all caps), but not `14`.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPFaultInjection_Abort_GrpcStatus", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPFaultInjection_Abort_ErrorType" + }, + "io.istio.api.networking.v1alpha3.HTTPFaultInjection_Abort_Http2Error": { + "description": "$hide_from_docs", + "type": "object", + "required": [ + "http2Error" + ], + "properties": { + "http2Error": { + "description": "$hide_from_docs", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPFaultInjection_Abort_Http2Error", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPFaultInjection_Abort_ErrorType" + }, + "io.istio.api.networking.v1alpha3.HTTPFaultInjection_Abort_HttpStatus": { + "description": "HTTP status code to use to abort the Http request.", + "type": "object", + "required": [ + "httpStatus" + ], + "properties": { + "httpStatus": { + "description": "HTTP status code to use to abort the Http request.", + "type": "integer", + "format": "int32", + "default": 0 + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPFaultInjection_Abort_HttpStatus", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPFaultInjection_Abort_ErrorType" + }, + "io.istio.api.networking.v1alpha3.HTTPFaultInjection_Delay": { + "description": "Delay specification is used to inject latency into the request forwarding path. The following example will introduce a 5 second delay in 1 out of every 1000 requests to the \"v1\" version of the \"reviews\" service from all pods with label env: prod\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: reviews-route\n\nspec:\n\n\thosts:\n\t- reviews.prod.svc.cluster.local\n\thttp:\n\t- match:\n\t - sourceLabels:\n\t env: prod\n\t route:\n\t - destination:\n\t host: reviews.prod.svc.cluster.local\n\t subset: v1\n\t fault:\n\t delay:\n\t percentage:\n\t value: 0.1\n\t fixedDelay: 5s\n\n```\n\nThe _fixedDelay_ field is used to indicate the amount of delay in seconds. The optional _percentage_ field can be used to only delay a certain percentage of requests. If left unspecified, no request will be delayed.", + "type": "object", + "required": [ + "HttpDelayType" + ], + "properties": { + "HttpDelayType": { + "description": "Types that are assignable to HttpDelayType:\n\n\t*HTTPFaultInjection_Delay_FixedDelay\n\t*HTTPFaultInjection_Delay_ExponentialDelay", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsHTTPFaultInjection_Delay_HttpDelayType" + }, + "percent": { + "description": "Percentage of requests on which the delay will be injected (0-100). Use of integer `percent` value is deprecated. Use the double `percentage` field instead.\n\nDeprecated: Marked as deprecated in networking/v1alpha3/virtual_service.proto.", + "type": "integer", + "format": "int32" + }, + "percentage": { + "description": "Percentage of requests on which the delay will be injected. If left unspecified, no request will be delayed.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Percent" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPFaultInjection_Delay", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "HttpDelayType" + }, + "io.istio.api.networking.v1alpha3.HTTPFaultInjection_Delay_ExponentialDelay": { + "description": "$hide_from_docs", + "type": "object", + "required": [ + "exponentialDelay" + ], + "properties": { + "exponentialDelay": { + "description": "$hide_from_docs", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPFaultInjection_Delay_ExponentialDelay", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPFaultInjection_Delay_HttpDelayType" + }, + "io.istio.api.networking.v1alpha3.HTTPFaultInjection_Delay_FixedDelay": { + "description": "Add a fixed delay before forwarding the request. Format: 1h/1m/1s/1ms. MUST be \u003e=1ms.", + "type": "object", + "required": [ + "fixedDelay" + ], + "properties": { + "fixedDelay": { + "description": "Add a fixed delay before forwarding the request. Format: 1h/1m/1s/1ms. MUST be \u003e=1ms.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPFaultInjection_Delay_FixedDelay", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPFaultInjection_Delay_HttpDelayType" + }, + "io.istio.api.networking.v1alpha3.HTTPHeader": { + "type": "object", + "properties": { + "name": { + "description": "The header field name", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPHeader", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPHealthCheckConfig": { + "type": "object", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Headers the proxy will pass on to make the request. Allows repeated headers.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPHeader" + } + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Port on which the endpoint lives.", + "type": "integer", + "format": "int64" + }, + "scheme": { + "description": "HTTP or HTTPS, defaults to HTTP", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPHealthCheckConfig", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPMatchRequest": { + "description": "HttpMatchRequest specifies a set of criteria to be met in order for the rule to be applied to the HTTP request. For example, the following restricts the rule to match only requests where the URL path starts with /ratings/v2/ and the request contains a custom `end-user` header with value `jason`.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- match:\n\t - headers:\n\t end-user:\n\t exact: jason\n\t uri:\n\t prefix: \"/ratings/v2/\"\n\t ignoreUriCase: true\n\t route:\n\t - destination:\n\t host: ratings.prod.svc.cluster.local\n\n```\n\nHTTPMatchRequest CANNOT be empty. **Note:** 1. If a root VirtualService have matched any property (path, header etc.) by regex, delegate VirtualServices should not have any other matches on the same property. 2. If a delegate VirtualService have matched any property (path, header etc.) by regex, root VirtualServices should not have any other matches on the same property.", + "type": "object", + "properties": { + "authority": { + "description": "HTTP Authority values are case-sensitive and formatted as follows:\n\n- `exact: \"value\"` for exact string match\n\n- `prefix: \"value\"` for prefix-based match\n\n- `regex: \"value\"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.StringMatch" + }, + "gateways": { + "description": "Names of gateways where the rule should be applied. Gateway names in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway match is independent of sourceLabels.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "headers": { + "description": "The header keys must be lowercase and use hyphen as the separator, e.g. _x-request-id_.\n\nHeader values are case-sensitive and formatted as follows:\n\n- `exact: \"value\"` for exact string match\n\n- `prefix: \"value\"` for prefix-based match\n\n- `regex: \"value\"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).\n\nIf the value is empty and only the name of header is specified, presence of the header is checked. To provide an empty value, use `{}`, for example:\n\n```\n - match:\n - headers:\n myheader: {}\n\n``` **Note:** The keys `uri`, `scheme`, `method`, and `authority` will be ignored.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.StringMatch" + } + }, + "ignoreUriCase": { + "description": "Flag to specify whether the URI matching should be case-insensitive.\n\n**Note:** The case will be ignored only in the case of `exact` and `prefix` URI matches.", + "type": "boolean" + }, + "method": { + "description": "HTTP Method values are case-sensitive and formatted as follows:\n\n- `exact: \"value\"` for exact string match\n\n- `prefix: \"value\"` for prefix-based match\n\n- `regex: \"value\"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.StringMatch" + }, + "name": { + "description": "The name assigned to a match. The match's name will be concatenated with the parent route's name and will be logged in the access logs for requests matching this route.", + "type": "string" + }, + "port": { + "description": "Specifies the ports on the host that is being addressed. Many services only expose a single port or label ports with the protocols they support, in these cases it is not required to explicitly select the port.", + "type": "integer", + "format": "int64" + }, + "queryParams": { + "description": "Query parameters for matching.\n\nEx:\n\n - For a query parameter like \"?key=true\", the map key would be \"key\" and\n the string match could be defined as `exact: \"true\"`.\n\n - For a query parameter like \"?key\", the map key would be \"key\" and the\n string match could be defined as `exact: \"\"`.\n\n - For a query parameter like \"?key=abc\" or \"?key=abx\", the map key would be \"key\" and the\n string match could be defined as `prefix: \"ab\"`.\n\n - For a query parameter like \"?key=123\", the map key would be \"key\" and the\n string match could be defined as `regex: \"\\d+$\"`. Note that this\n configuration will only match values like \"123\" but not \"a123\" or \"123a\".", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.StringMatch" + } + }, + "scheme": { + "description": "URI Scheme values are case-sensitive and formatted as follows:\n\n- `exact: \"value\"` for exact string match\n\n- `prefix: \"value\"` for prefix-based match\n\n- `regex: \"value\"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.StringMatch" + }, + "sourceLabels": { + "description": "One or more labels that constrain the applicability of a rule to source (client) workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it must include the reserved gateway `mesh` for this field to be applicable.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "sourceNamespace": { + "description": "Source namespace constraining the applicability of a rule to workloads in that namespace. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it must include the reserved gateway `mesh` for this field to be applicable.", + "type": "string" + }, + "statPrefix": { + "description": "The human readable prefix to use when emitting statistics for this route. The statistics are generated with prefix route.\u003cstat_prefix\u003e. This should be set for highly critical routes that one wishes to get \"per-route\" statistics on. This prefix is only for proxy-level statistics (envoy_*) and not service-level (istio_*) statistics. Refer to https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-field-config-route-v3-route-stat-prefix for statistics that are generated when this is configured.", + "type": "string" + }, + "uri": { + "description": "URI to match values are case-sensitive and formatted as follows:\n\n- `exact: \"value\"` for exact string match\n\n- `prefix: \"value\"` for prefix-based match\n\n- `regex: \"value\"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).\n\n**Note:** Case-insensitive matching could be enabled via the `ignoreUriCase` flag.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.StringMatch" + }, + "withoutHeaders": { + "description": "withoutHeader has the same syntax with the header, but has opposite meaning. If a header is matched with a matching rule among withoutHeader, the traffic becomes not matched one.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.StringMatch" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPMatchRequest", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPMirrorPolicy": { + "description": "HTTPMirrorPolicy can be used to specify the destinations to mirror HTTP traffic in addition to the original destination. Mirrored traffic is on a best effort basis where the sidecar/gateway will not wait for the mirrored destinations to respond before returning the response from the original destination. Statistics will be generated for the mirrored destination.", + "type": "object", + "properties": { + "destination": { + "description": "Destination specifies the target of the mirror operation.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Destination" + }, + "percentage": { + "description": "Percentage of the traffic to be mirrored by the `destination` field. If this field is absent, all the traffic (100%) will be mirrored. Max value is 100.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Percent" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPMirrorPolicy", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPRedirect": { + "description": "HTTPRedirect can be used to send a 301 redirect response to the caller, where the Authority/Host and the URI in the response can be swapped with the specified values. For example, the following rule redirects requests for /v1/getProductRatings API on the ratings service to /v1/bookRatings provided by the bookratings service.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- match:\n\t - uri:\n\t exact: /v1/getProductRatings\n\t redirect:\n\t uri: /v1/bookRatings\n\t authority: newratings.default.svc.cluster.local\n\t...\n\n```", + "type": "object", + "required": [ + "RedirectPort" + ], + "properties": { + "RedirectPort": { + "description": "Types that are assignable to RedirectPort:\n\n\t*HTTPRedirect_Port\n\t*HTTPRedirect_DerivePort", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsHTTPRedirect_RedirectPort" + }, + "authority": { + "description": "On a redirect, overwrite the Authority/Host portion of the URL with this value.", + "type": "string" + }, + "redirectCode": { + "description": "On a redirect, Specifies the HTTP status code to use in the redirect response. The default response code is MOVED_PERMANENTLY (301).", + "type": "integer", + "format": "int64" + }, + "scheme": { + "description": "On a redirect, overwrite the scheme portion of the URL with this value. For example, `http` or `https`. If unset, the original scheme will be used. If `derivePort` is set to `FROM_PROTOCOL_DEFAULT`, this will impact the port used as well", + "type": "string" + }, + "uri": { + "description": "On a redirect, overwrite the Path portion of the URL with this value. Note that the entire path will be replaced, irrespective of the request URI being matched as an exact path or prefix.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPRedirect", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "RedirectPort" + }, + "io.istio.api.networking.v1alpha3.HTTPRedirect_DerivePort": { + "description": "On a redirect, dynamically set the port: * FROM_PROTOCOL_DEFAULT: automatically set to 80 for HTTP and 443 for HTTPS. * FROM_REQUEST_PORT: automatically use the port of the request.", + "type": "object", + "required": [ + "derivePort" + ], + "properties": { + "derivePort": { + "description": "On a redirect, dynamically set the port: * FROM_PROTOCOL_DEFAULT: automatically set to 80 for HTTP and 443 for HTTPS. * FROM_REQUEST_PORT: automatically use the port of the request.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPRedirect_RedirectPortSelection" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPRedirect_DerivePort", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPRedirect_RedirectPort" + }, + "io.istio.api.networking.v1alpha3.HTTPRedirect_Port": { + "description": "On a redirect, overwrite the port portion of the URL with this value.", + "type": "object", + "required": [ + "port" + ], + "properties": { + "port": { + "description": "On a redirect, overwrite the port portion of the URL with this value.", + "type": "integer", + "format": "int64", + "default": 0 + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPRedirect_Port", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsHTTPRedirect_RedirectPort" + }, + "io.istio.api.networking.v1alpha3.HTTPRedirect_RedirectPortSelection": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPRedirect_RedirectPortSelection", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "FROM_PROTOCOL_DEFAULT(0),FROM_REQUEST_PORT(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.HTTPRetry": { + "description": "Describes the retry policy to use when a HTTP request fails. For example, the following rule sets the maximum number of retries to 3 when calling ratings:v1 service, with a 2s timeout per retry attempt. A retry will be attempted if there is a connect-failure, refused_stream or when the upstream server responds with Service Unavailable(503).\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- route:\n\t - destination:\n\t host: ratings.prod.svc.cluster.local\n\t subset: v1\n\t retries:\n\t attempts: 3\n\t perTryTimeout: 2s\n\t retryOn: gateway-error,connect-failure,refused-stream\n\n```", + "type": "object", + "properties": { + "attempts": { + "description": "Number of retries to be allowed for a given request. The interval between retries will be determined automatically (25ms+). When request `timeout` of the [HTTP route](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRoute) or `per_try_timeout` is configured, the actual number of retries attempted also depends on the specified request `timeout` and `per_try_timeout` values. MUST BE \u003e= 0. If `0`, retries will be disabled. The maximum possible number of requests made will be 1 + `attempts`.", + "type": "integer", + "format": "int32" + }, + "perTryTimeout": { + "description": "Timeout per attempt for a given request, including the initial call and any retries. Format: 1h/1m/1s/1ms. MUST BE \u003e=1ms. Default is same value as request `timeout` of the [HTTP route](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRoute), which means no timeout.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "retryOn": { + "description": "Specifies the conditions under which retry takes place. One or more policies can be specified using a ‘,’ delimited list. See the [retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on) and [gRPC retry policies](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-grpc-on) for more details.\n\nIn addition to the policies specified above, a list of HTTP status codes can be passed, such as `retryOn: \"503,reset\"`. Note these status codes refer to the actual responses received from the destination. For example, if a connection is reset, Istio will translate this to 503 for it's response. However, the destination did not return a 503 error, so this would not match `\"503\"` (it would, however, match `\"reset\"`).\n\nIf not specified, this defaults to `connect-failure,refused-stream,unavailable,cancelled,503`.", + "type": "string" + }, + "retryRemoteLocalities": { + "description": "Flag to specify whether the retries should retry to other localities. See the [retry plugin configuration](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/http_connection_management#retry-plugin-configuration) for more details.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.BoolValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPRetry", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPRewrite": { + "description": "HTTPRewrite can be used to rewrite specific parts of a HTTP request before forwarding the request to the destination. Rewrite primitive can be used only with HTTPRouteDestination. The following example demonstrates how to rewrite the URL prefix for api call (/ratings) to ratings service before making the actual API call.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: ratings-route\n\nspec:\n\n\thosts:\n\t- ratings.prod.svc.cluster.local\n\thttp:\n\t- match:\n\t - uri:\n\t prefix: /ratings\n\t rewrite:\n\t uri: /v1/bookRatings\n\t route:\n\t - destination:\n\t host: ratings.prod.svc.cluster.local\n\t subset: v1\n\n```", + "type": "object", + "properties": { + "authority": { + "description": "rewrite the Authority/Host header with this value.", + "type": "string" + }, + "uri": { + "description": "rewrite the path (or the prefix) portion of the URI with this value. If the original URI was matched based on prefix, the value provided in this field will replace the corresponding matched prefix.", + "type": "string" + }, + "uriRegexRewrite": { + "description": "rewrite the path portion of the URI with the specified regex.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.RegexRewrite" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPRewrite", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPRoute": { + "description": "Describes match conditions and actions for routing HTTP/1.1, HTTP2, and gRPC traffic. See VirtualService for usage examples.", + "type": "object", + "properties": { + "corsPolicy": { + "description": "Cross-Origin Resource Sharing policy (CORS). Refer to [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) for further details about cross origin resource sharing.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.CorsPolicy" + }, + "delegate": { + "description": "Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute.\n\nIt can be set only when `Route` and `Redirect` are empty, and the route rules of the delegate VirtualService will be merged with that in the current one.\n\n**NOTE**:\n\n 1. Only one level delegation is supported.\n 2. The delegate's HTTPMatchRequest must be a strict subset of the root's,\n otherwise there is a conflict and the HTTPRoute will not take effect.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Delegate" + }, + "directResponse": { + "description": "A HTTP rule can either return a direct_response, redirect or forward (default) traffic. Direct Response is used to specify a fixed response that should be sent to clients.\n\nIt can be set only when `Route` and `Redirect` are empty.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPDirectResponse" + }, + "fault": { + "description": "Fault injection policy to apply on HTTP traffic at the client side. Note that timeouts or retries will not be enabled when faults are enabled on the client side.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPFaultInjection" + }, + "headers": { + "description": "Header manipulation rules", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Headers" + }, + "match": { + "description": "Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPMatchRequest" + } + }, + "mirror": { + "description": "Mirror HTTP traffic to a another destination in addition to forwarding the requests to the intended destination. Mirrored traffic is on a best effort basis where the sidecar/gateway will not wait for the mirrored cluster to respond before returning the response from the original destination. Statistics will be generated for the mirrored destination.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Destination" + }, + "mirrorPercent": { + "description": "Percentage of the traffic to be mirrored by the `mirror` field. Use of integer `mirror_percent` value is deprecated. Use the double `mirror_percentage` field instead $hide_from_docs\n\nDeprecated: Marked as deprecated in networking/v1alpha3/virtual_service.proto.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.UInt32Value" + }, + "mirrorPercentage": { + "description": "Percentage of the traffic to be mirrored by the `mirror` field. If this field is absent, all the traffic (100%) will be mirrored. Max value is 100.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Percent" + }, + "mirrors": { + "description": "Specifies the destinations to mirror HTTP traffic in addition to the original destination. Mirrored traffic is on a best effort basis where the sidecar/gateway will not wait for the mirrored destinations to respond before returning the response from the original destination. Statistics will be generated for the mirrored destination.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPMirrorPolicy" + } + }, + "name": { + "description": "The name assigned to the route for debugging purposes. The route's name will be concatenated with the match's name and will be logged in the access logs for requests matching this route/match.", + "type": "string" + }, + "redirect": { + "description": "A HTTP rule can either return a direct_response, redirect or forward (default) traffic. If traffic passthrough option is specified in the rule, route/redirect will be ignored. The redirect primitive can be used to send a HTTP 301 redirect to a different URI or Authority.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPRedirect" + }, + "retries": { + "description": "Retry policy for HTTP requests.\n\nNote: the default cluster-wide retry policy, if not specified, is:\n\n```yaml attempts: 2 retryOn: \"connect-failure,refused-stream,unavailable,cancelled,503\" ```\n\nThis can be customized in [`Mesh Config` `defaultHttpRetryPolicy`](https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig).", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPRetry" + }, + "rewrite": { + "description": "Rewrite HTTP URIs and Authority headers. Rewrite cannot be used with Redirect primitive. Rewrite will be performed before forwarding.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPRewrite" + }, + "route": { + "description": "A HTTP rule can either return a direct_response, redirect or forward (default) traffic. The forwarding target can be one of several versions of a service (see glossary in beginning of document). Weights associated with the service version determine the proportion of traffic it receives.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPRouteDestination" + } + }, + "timeout": { + "description": "Timeout for HTTP requests, default is disabled.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPRoute", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.HTTPRouteDestination": { + "description": "Each routing rule is associated with one or more service versions (see glossary in beginning of document). Weights associated with the version determine the proportion of traffic it receives. For example, the following rule will route 25% of traffic for the \"reviews\" service to instances with the \"v2\" tag and the remaining traffic (i.e., 75%) to \"v1\".\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: reviews-route\n\nspec:\n\n\thosts:\n\t- reviews.prod.svc.cluster.local\n\thttp:\n\t- route:\n\t - destination:\n\t host: reviews.prod.svc.cluster.local\n\t subset: v2\n\t weight: 25\n\t - destination:\n\t host: reviews.prod.svc.cluster.local\n\t subset: v1\n\t weight: 75\n\n```\n\n# And the associated DestinationRule\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: reviews-destination\n\nspec:\n\n\thost: reviews.prod.svc.cluster.local\n\tsubsets:\n\t- name: v1\n\t labels:\n\t version: v1\n\t- name: v2\n\t labels:\n\t version: v2\n\n```\n\nTraffic can also be split across two entirely different services without having to define new subsets. For example, the following rule forwards 25% of traffic to reviews.com to dev.reviews.com\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: reviews-route-two-domains\n\nspec:\n\n\thosts:\n\t- reviews.com\n\thttp:\n\t- route:\n\t - destination:\n\t host: dev.reviews.com\n\t weight: 25\n\t - destination:\n\t host: reviews.com\n\t weight: 75\n\n```", + "type": "object", + "properties": { + "destination": { + "description": "Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Destination" + }, + "headers": { + "description": "Header manipulation rules", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Headers" + }, + "weight": { + "description": "Weight specifies the relative proportion of traffic to be forwarded to the destination. A destination will receive `weight/(sum of all weights)` requests. If there is only one destination in a rule, it will receive all traffic. Otherwise, if weight is `0`, the destination will not receive any traffic.", + "type": "integer", + "format": "int32" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "HTTPRouteDestination", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.Headers": { + "description": "Message headers can be manipulated when Envoy forwards requests to, or responses from, a destination service. Header manipulation rules can be specified for a specific route destination or for all destinations. The following VirtualService adds a `test` header with the value `true` to requests that are routed to any `reviews` service destination. It also removes the `foo` response header, but only from responses coming from the `v1` subset (version) of the `reviews` service.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: reviews-route\n\nspec:\n\n\thosts:\n\t- reviews.prod.svc.cluster.local\n\thttp:\n\t- headers:\n\t request:\n\t set:\n\t test: \"true\"\n\t route:\n\t - destination:\n\t host: reviews.prod.svc.cluster.local\n\t subset: v2\n\t weight: 25\n\t - destination:\n\t host: reviews.prod.svc.cluster.local\n\t subset: v1\n\t headers:\n\t response:\n\t remove:\n\t - foo\n\t weight: 75\n\n```", + "type": "object", + "properties": { + "request": { + "description": "Header manipulation rules to apply before forwarding a request to the destination service", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Headers_HeaderOperations" + }, + "response": { + "description": "Header manipulation rules to apply before returning a response to the caller", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Headers_HeaderOperations" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "Headers", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.Headers_HeaderOperations": { + "description": "HeaderOperations Describes the header manipulations to apply", + "type": "object", + "properties": { + "add": { + "description": "Append the given values to the headers specified by keys (will create a comma-separated list of values)", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "remove": { + "description": "Remove the specified headers", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "set": { + "description": "Overwrite the headers specified by key with the given values", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "Headers_HeaderOperations", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.IsEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsEnvoyFilter_EnvoyConfigObjectMatch_ObjectTypes", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "EnvoyFilter_EnvoyConfigObjectMatch_Cluster,EnvoyFilter_EnvoyConfigObjectMatch_Listener,EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsHTTPBody_Specifier": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsHTTPBody_Specifier", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "HTTPBody_Bytes,HTTPBody_String_", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsHTTPFaultInjection_Abort_ErrorType": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsHTTPFaultInjection_Abort_ErrorType", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "HTTPFaultInjection_Abort_GrpcStatus,HTTPFaultInjection_Abort_Http2Error,HTTPFaultInjection_Abort_HttpStatus", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsHTTPFaultInjection_Delay_HttpDelayType": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsHTTPFaultInjection_Delay_HttpDelayType", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "HTTPFaultInjection_Delay_ExponentialDelay,HTTPFaultInjection_Delay_FixedDelay", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsHTTPRedirect_RedirectPort": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsHTTPRedirect_RedirectPort", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "HTTPRedirect_DerivePort,HTTPRedirect_Port", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsLoadBalancerSettings_ConsistentHashLB_HashAlgorithm": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsLoadBalancerSettings_ConsistentHashLB_HashAlgorithm", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "LoadBalancerSettings_ConsistentHashLB_Maglev,LoadBalancerSettings_ConsistentHashLB_RingHash_", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsLoadBalancerSettings_ConsistentHashLB_HashKey": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsLoadBalancerSettings_ConsistentHashLB_HashKey", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "LoadBalancerSettings_ConsistentHashLB_HttpCookie,LoadBalancerSettings_ConsistentHashLB_HttpHeaderName,LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName,LoadBalancerSettings_ConsistentHashLB_UseSourceIp", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsLoadBalancerSettings_LbPolicy": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsLoadBalancerSettings_LbPolicy", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "LoadBalancerSettings_ConsistentHash,LoadBalancerSettings_Simple", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsReadinessProbe_HealthCheckMethod": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsReadinessProbe_HealthCheckMethod", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "ReadinessProbe_Exec,ReadinessProbe_HttpGet,ReadinessProbe_TcpSocket", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IsStringMatch_MatchType": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IsStringMatch_MatchType", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "StringMatch_Exact,StringMatch_Prefix,StringMatch_Regex", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.networking.v1alpha3.IstioEgressListener": { + "description": "`IstioEgressListener` specifies the properties of an outbound traffic listener on the sidecar proxy attached to a workload instance.", + "type": "object", + "properties": { + "bind": { + "description": "The IP(IPv4 or IPv6) or the Unix domain socket to which the listener should be bound to. Port MUST be specified if bind is not empty. Format: IPv4 or IPv6 address formats or `unix:///path/to/uds` or `unix://@foobar` (Linux abstract namespace). If omitted, Istio will automatically configure the defaults based on imported services, the workload instances to which this configuration is applied to and the captureMode. If captureMode is `NONE`, bind will default to 127.0.0.1.", + "type": "string" + }, + "captureMode": { + "description": "When the bind address is an IP, the captureMode option dictates how traffic to the listener is expected to be captured (or not). captureMode must be DEFAULT or `NONE` for Unix domain socket binds.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.CaptureMode" + }, + "hosts": { + "description": "One or more service hosts exposed by the listener in `namespace/dnsName` format. Services in the specified namespace matching `dnsName` will be exposed. The corresponding service can be a service in the service registry (e.g., a Kubernetes or cloud foundry service) or a service specified using a `ServiceEntry` or `VirtualService` configuration. Any associated `DestinationRule` in the same namespace will also be used.\n\nThe `dnsName` should be specified using FQDN format, optionally including a wildcard character in the left-most component (e.g., `prod/*.example.com`). Set the `dnsName` to `*` to select all services from the specified namespace (e.g., `prod/*`).\n\nThe `namespace` can be set to `*`, `.`, or `~`, representing any, the current, or no namespace, respectively. For example, `*/foo.example.com` selects the service from any available namespace while `./foo.example.com` only selects the service from the namespace of the sidecar. If a host is set to `*/*`, Istio will configure the sidecar to be able to reach every service in the mesh that is exported to the sidecar's namespace. The value `~/*` can be used to completely trim the configuration for sidecars that simply receive traffic and respond, but make no outbound connections of their own.\n\nNOTE: Only services and configuration artifacts exported to the sidecar's namespace (e.g., `exportTo` value of `*`) can be referenced. Private configurations (e.g., `exportTo` set to `.`) will not be available. Refer to the `exportTo` setting in `VirtualService`, `DestinationRule`, and `ServiceEntry` configurations for details.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "port": { + "description": "The port associated with the listener. If using Unix domain socket, use 0 as the port number, with a valid protocol. The port if specified, will be used as the default destination port associated with the imported hosts. If the port is omitted, Istio will infer the listener ports based on the imported hosts. Note that when multiple egress listeners are specified, where one or more listeners have specific ports while others have no port, the hosts exposed on a listener port will be based on the listener with the most specific port.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.SidecarPort" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IstioEgressListener", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.IstioIngressListener": { + "description": "`IstioIngressListener` specifies the properties of an inbound traffic listener on the sidecar proxy attached to a workload instance.", + "type": "object", + "properties": { + "bind": { + "description": "The IP(IPv4 or IPv6) to which the listener should be bound. Unix domain socket addresses are not allowed in the bind field for ingress listeners. If omitted, Istio will automatically configure the defaults based on imported services and the workload instances to which this configuration is applied to.", + "type": "string" + }, + "captureMode": { + "description": "The captureMode option dictates how traffic to the listener is expected to be captured (or not).", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.CaptureMode" + }, + "connectionPool": { + "description": "Settings controlling the volume of connections Envoy will accept from the network. This setting overrides the top-level default `inboundConnectionPool` to configure specific settings for this port. This configuration mirrors the `DestinationRule`'s [`PortTrafficPolicy.connectionPool`](https://istio.io/latest/docs/reference/config/networking/destination-rule/#TrafficPolicy-PortTrafficPolicy) field. This port level connection pool has the highest precedence in configuration, overriding both the `Sidecar`'s top level `InboundConnectionPool` as well as any connection pooling settings from the `DestinationRule`.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ConnectionPoolSettings" + }, + "defaultEndpoint": { + "description": "The IP endpoint or Unix domain socket to which traffic should be forwarded to. This configuration can be used to redirect traffic arriving at the bind `IP:Port` on the sidecar to a `localhost:port` or Unix domain socket where the application workload instance is listening for connections. Arbitrary IPs are not supported. Format should be one of `127.0.0.1:PORT`, `[::1]:PORT` (forward to localhost), `0.0.0.0:PORT`, `[::]:PORT` (forward to the instance IP), or `unix:///path/to/socket` (forward to Unix domain socket).", + "type": "string" + }, + "port": { + "description": "The port associated with the listener.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.SidecarPort" + }, + "tls": { + "description": "Set of TLS related options that will enable TLS termination on the sidecar for requests originating from outside the mesh. Currently supports only SIMPLE and MUTUAL TLS modes.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServerTLSSettings" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "IstioIngressListener", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.L4MatchAttributes": { + "description": "L4 connection match attributes. Note that L4 connection matching support is incomplete.", + "type": "object", + "properties": { + "destinationSubnets": { + "description": "IPv4 or IPv6 ip addresses of destination with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "gateways": { + "description": "Names of gateways where the rule should be applied. Gateway names in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway match is independent of sourceLabels.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "port": { + "description": "Specifies the port on the host that is being addressed. Many services only expose a single port or label ports with the protocols they support, in these cases it is not required to explicitly select the port.", + "type": "integer", + "format": "int64" + }, + "sourceLabels": { + "description": "One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it should include the reserved gateway `mesh` in order for this field to be applicable.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "sourceNamespace": { + "description": "Source namespace constraining the applicability of a rule to workloads in that namespace. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it must include the reserved gateway `mesh` for this field to be applicable.", + "type": "string" + }, + "sourceSubnet": { + "description": "IPv4 or IPv6 ip address of source with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d $hide_from_docs", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "L4MatchAttributes", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings": { + "description": "Load balancing policies to apply for a specific destination. See Envoy's load balancing [documentation](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/load_balancing) for more details.\n\nFor example, the following rule uses a round robin load balancing policy for all traffic going to the ratings service.\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: bookinfo-ratings\n\nspec:\n\n\thost: ratings.prod.svc.cluster.local\n\ttrafficPolicy:\n\t loadBalancer:\n\t simple: ROUND_ROBIN\n\n```\n\nThe following example sets up sticky sessions for the ratings service hashing-based load balancer for the same ratings service using the the User cookie as the hash key.\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: bookinfo-ratings\n\nspec:\n\n\thost: ratings.prod.svc.cluster.local\n\ttrafficPolicy:\n\t loadBalancer:\n\t consistentHash:\n\t httpCookie:\n\t name: user\n\t ttl: 0s\n\n```", + "type": "object", + "required": [ + "LbPolicy" + ], + "properties": { + "LbPolicy": { + "description": "Upstream load balancing policy.\n\nTypes that are assignable to LbPolicy:\n\n\t*LoadBalancerSettings_Simple\n\t*LoadBalancerSettings_ConsistentHash", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsLoadBalancerSettings_LbPolicy" + }, + "localityLbSetting": { + "description": "Locality load balancer settings, this will override mesh wide settings in entirety, meaning no merging would be performed between this object and the object one in MeshConfig", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting" + }, + "warmupDurationSecs": { + "description": "Represents the warmup duration of Service. If set, the newly created endpoint of service remains in warmup mode starting from its creation time for the duration of this window and Istio progressively increases amount of traffic for that endpoint instead of sending proportional amount of traffic. This should be enabled for services that require warm up time to serve full production load with reasonable latency. Please note that this is most effective when few new endpoints come up like scale event in Kubernetes. When all the endpoints are relatively new like new deployment, this is not very effective as all endpoints end up getting same amount of requests. Currently this is only supported for ROUND_ROBIN and LEAST_REQUEST load balancers.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "LbPolicy" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHash": { + "type": "object", + "required": [ + "consistentHash" + ], + "properties": { + "consistentHash": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHash", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsLoadBalancerSettings_LbPolicy" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB": { + "description": "Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. The affinity to a particular destination host may be lost when one or more hosts are added/removed from the destination service.\n\nNote: consistent hashing is less reliable at maintaining affinity than common \"sticky sessions\" implementations, which often encode a specific destination in a cookie, ensuring affinity is maintained as long as the backend remains. With consistent hash, the guarantees are weaker; any host addition or removal can break affinity for `1/backends` requests.\n\nWarning: consistent hashing depends on each proxy having a consistent view of endpoints. This is not the case when locality load balancing is enabled. Locality load balancing and consistent hash will only work together when all proxies are in the same locality, or a high level load balancer handles locality affinity.", + "type": "object", + "required": [ + "HashKey", + "HashAlgorithm" + ], + "properties": { + "HashAlgorithm": { + "description": "The hash algorithm to use. Please refer to https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/load_balancers#ring-hash and https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/load_balancers#maglev for considerations on choosing an algorithm. Defaults to RingHash if not specified.\n\nTypes that are assignable to HashAlgorithm:\n\n\t*LoadBalancerSettings_ConsistentHashLB_RingHash_\n\t*LoadBalancerSettings_ConsistentHashLB_Maglev", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsLoadBalancerSettings_ConsistentHashLB_HashAlgorithm" + }, + "HashKey": { + "description": "The hash key to use.\n\nTypes that are assignable to HashKey:\n\n\t*LoadBalancerSettings_ConsistentHashLB_HttpHeaderName\n\t*LoadBalancerSettings_ConsistentHashLB_HttpCookie\n\t*LoadBalancerSettings_ConsistentHashLB_UseSourceIp\n\t*LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsLoadBalancerSettings_ConsistentHashLB_HashKey" + }, + "minimumRingSize": { + "description": "Deprecated. Use RingHash instead.\n\nDeprecated: Marked as deprecated in networking/v1alpha3/destination_rule.proto.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "HashAlgorithm,HashKey" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_HTTPCookie": { + "description": "Describes a HTTP cookie that will be used as the hash key for the Consistent Hash load balancer.", + "type": "object", + "properties": { + "name": { + "description": "Name of the cookie.", + "type": "string" + }, + "path": { + "description": "Path to set for the cookie.", + "type": "string" + }, + "ttl": { + "description": "Lifetime of the cookie. If specified, a cookie with the TTL will be generated if the cookie is not present. If the TTL is present and zero, the generated cookie will be a session cookie.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_HTTPCookie", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_HttpCookie": { + "description": "Hash based on HTTP cookie.", + "type": "object", + "required": [ + "httpCookie" + ], + "properties": { + "httpCookie": { + "description": "Hash based on HTTP cookie.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_HTTPCookie" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_HttpCookie", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsLoadBalancerSettings_ConsistentHashLB_HashKey" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_HttpHeaderName": { + "description": "Hash based on a specific HTTP header.", + "type": "object", + "required": [ + "httpHeaderName" + ], + "properties": { + "httpHeaderName": { + "description": "Hash based on a specific HTTP header.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_HttpHeaderName", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsLoadBalancerSettings_ConsistentHashLB_HashKey" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName": { + "description": "Hash based on a specific HTTP query parameter.", + "type": "object", + "required": [ + "httpQueryParameterName" + ], + "properties": { + "httpQueryParameterName": { + "description": "Hash based on a specific HTTP query parameter.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_HttpQueryParameterName", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsLoadBalancerSettings_ConsistentHashLB_HashKey" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_MagLev": { + "type": "object", + "properties": { + "tableSize": { + "description": "The table size for Maglev hashing. This helps in controlling the disruption when the backend hosts change. Increasing the table size reduces the amount of disruption. The table size must be prime number less than 5000011. If it is not specified, the default is 65537.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_MagLev", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_Maglev": { + "description": "The Maglev load balancer implements consistent hashing to backend hosts.", + "type": "object", + "required": [ + "maglev" + ], + "properties": { + "maglev": { + "description": "The Maglev load balancer implements consistent hashing to backend hosts.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_MagLev" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_Maglev", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsLoadBalancerSettings_ConsistentHashLB_HashAlgorithm" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_RingHash": { + "type": "object", + "properties": { + "minimumRingSize": { + "description": "The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_RingHash", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_RingHash_": { + "description": "The ring/modulo hash load balancer implements consistent hashing to backend hosts.", + "type": "object", + "required": [ + "ringHash" + ], + "properties": { + "ringHash": { + "description": "The ring/modulo hash load balancer implements consistent hashing to backend hosts.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_RingHash" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_RingHash_", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsLoadBalancerSettings_ConsistentHashLB_HashAlgorithm" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_ConsistentHashLB_UseSourceIp": { + "description": "Hash based on the source IP address. This is applicable for both TCP and HTTP connections.", + "type": "object", + "required": [ + "useSourceIp" + ], + "properties": { + "useSourceIp": { + "description": "Hash based on the source IP address. This is applicable for both TCP and HTTP connections.", + "type": "boolean", + "default": false + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_ConsistentHashLB_UseSourceIp", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsLoadBalancerSettings_ConsistentHashLB_HashKey" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_Simple": { + "type": "object", + "required": [ + "simple" + ], + "properties": { + "simple": { + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LoadBalancerSettings_SimpleLB" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_Simple", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsLoadBalancerSettings_LbPolicy" + }, + "io.istio.api.networking.v1alpha3.LoadBalancerSettings_SimpleLB": { + "description": "Standard load balancing algorithms that require no tuning.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LoadBalancerSettings_SimpleLB", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "LEAST_CONN(1),LEAST_REQUEST(5),PASSTHROUGH(3),RANDOM(2),ROUND_ROBIN(4),UNSPECIFIED(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting": { + "description": "Locality-weighted load balancing allows administrators to control the distribution of traffic to endpoints based on the localities of where the traffic originates and where it will terminate. These localities are specified using arbitrary labels that designate a hierarchy of localities in {region}/{zone}/{sub-zone} form. For additional detail refer to [Locality Weight](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) The following example shows how to setup locality weights mesh-wide.\n\nGiven a mesh with workloads and their service deployed to \"us-west/zone1/*\" and \"us-west/zone2/*\". This example specifies that when traffic accessing a service originates from workloads in \"us-west/zone1/*\", 80% of the traffic will be sent to endpoints in \"us-west/zone1/*\", i.e the same zone, and the remaining 20% will go to endpoints in \"us-west/zone2/*\". This setup is intended to favor routing traffic to endpoints in the same locality. A similar setting is specified for traffic originating in \"us-west/zone2/*\".\n\n```yaml\n\n\tdistribute:\n\t - from: us-west/zone1/*\n\t to:\n\t \"us-west/zone1/*\": 80\n\t \"us-west/zone2/*\": 20\n\t - from: us-west/zone2/*\n\t to:\n\t \"us-west/zone1/*\": 20\n\t \"us-west/zone2/*\": 80\n\n```\n\nIf the goal of the operator is not to distribute load across zones and regions but rather to restrict the regionality of failover to meet other operational requirements an operator can set a 'failover' policy instead of a 'distribute' policy.\n\nThe following example sets up a locality failover policy for regions. Assume a service resides in zones within us-east, us-west \u0026 eu-west this example specifies that when endpoints within us-east become unhealthy traffic should failover to endpoints in any zone or sub-zone within eu-west and similarly us-west should failover to us-east.\n\n```yaml\n\n\tfailover:\n\t - from: us-east\n\t to: eu-west\n\t - from: us-west\n\t to: us-east\n\n``` Locality load balancing settings.", + "type": "object", + "properties": { + "distribute": { + "description": "Optional: only one of distribute, failover or failoverPriority can be set. Explicitly specify loadbalancing weight across different zones and geographical locations. Refer to [Locality weighted load balancing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/locality_weight) If empty, the locality weight is set according to the endpoints number within it.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting_Distribute" + } + }, + "enabled": { + "description": "enable locality load balancing, this is DestinationRule-level and will override mesh wide settings in entirety. e.g. true means that turn on locality load balancing for this DestinationRule no matter what mesh wide settings is.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.BoolValue" + }, + "failover": { + "description": "Optional: only one of distribute, failover or failoverPriority can be set. Explicitly specify the region traffic will land on when endpoints in local region becomes unhealthy. Should be used together with OutlierDetection to detect unhealthy endpoints. Note: if no OutlierDetection specified, this will not take effect.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting_Failover" + } + }, + "failoverPriority": { + "description": "failoverPriority is an ordered list of labels used to sort endpoints to do priority based load balancing. This is to support traffic failover across different groups of endpoints. Two kinds of labels can be specified:\n\n - Specify only label keys `[key1, key2, key3]`, istio would compare the label values of client with endpoints.\n Suppose there are total N label keys `[key1, key2, key3, ...keyN]` specified:\n\n 1. Endpoints matching all N labels with the client proxy have priority P(0) i.e. the highest priority.\n 2. Endpoints matching the first N-1 labels with the client proxy have priority P(1) i.e. second highest priority.\n 3. By extension of this logic, endpoints matching only the first label with the client proxy has priority P(N-1) i.e. second lowest priority.\n 4. All the other endpoints have priority P(N) i.e. lowest priority.\n\n - Specify labels with key and value `[key1=value1, key2=value2, key3=value3]`, istio would compare the labels with endpoints.\n Suppose there are total N labels `[key1=value1, key2=value2, key3=value3, ...keyN=valueN]` specified:\n\n 1. Endpoints matching all N labels have priority P(0) i.e. the highest priority.\n 2. Endpoints matching the first N-1 labels have priority P(1) i.e. second highest priority.\n 3. By extension of this logic, endpoints matching only the first label has priority P(N-1) i.e. second lowest priority.\n 4. All the other endpoints have priority P(N) i.e. lowest priority.\n\nNote: For a label to be considered for match, the previous labels must match, i.e. nth label would be considered matched only if first n-1 labels match.\n\nIt can be any label specified on both client and server workloads. The following labels which have special semantic meaning are also supported:\n\n - `topology.istio.io/network` is used to match the network metadata of an endpoint, which can be specified by pod/namespace label `topology.istio.io/network`, sidecar env `ISTIO_META_NETWORK` or MeshNetworks.\n - `topology.istio.io/cluster` is used to match the clusterID of an endpoint, which can be specified by pod label `topology.istio.io/cluster` or pod env `ISTIO_META_CLUSTER_ID`.\n - `topology.kubernetes.io/region` is used to match the region metadata of an endpoint, which maps to Kubernetes node label `topology.kubernetes.io/region` or the deprecated label `failure-domain.beta.kubernetes.io/region`.\n - `topology.kubernetes.io/zone` is used to match the zone metadata of an endpoint, which maps to Kubernetes node label `topology.kubernetes.io/zone` or the deprecated label `failure-domain.beta.kubernetes.io/zone`.\n - `topology.istio.io/subzone` is used to match the subzone metadata of an endpoint, which maps to Istio node label `topology.istio.io/subzone`.\n - `kubernetes.io/hostname` is used to match the current node of an endpoint, which maps to Kubernetes node label `kubernetes.io/hostname`.\n\nThe below topology config indicates the following priority levels:\n\n```yaml failoverPriority: - \"topology.istio.io/network\" - \"topology.kubernetes.io/region\" - \"topology.kubernetes.io/zone\" - \"topology.istio.io/subzone\" ```\n\n1. endpoints match same [network, region, zone, subzone] label with the client proxy have the highest priority. 2. endpoints have same [network, region, zone] label but different [subzone] label with the client proxy have the second highest priority. 3. endpoints have same [network, region] label but different [zone] label with the client proxy have the third highest priority. 4. endpoints have same [network] but different [region] labels with the client proxy have the fourth highest priority. 5. all the other endpoints have the same lowest priority.\n\nSuppose a service associated endpoints reside in multi clusters, the below example represents: 1. endpoints in `clusterA` and has `version=v1` label have P(0) priority. 2. endpoints not in `clusterA` but has `version=v1` label have P(1) priority. 2. all the other endpoints have P(2) priority.\n\n```yaml failoverPriority: - \"version=v1\" - \"topology.istio.io/cluster=clusterA\" ```\n\nOptional: only one of distribute, failover or failoverPriority can be set. And it should be used together with `OutlierDetection` to detect unhealthy endpoints, otherwise has no effect.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LocalityLoadBalancerSetting", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting_Distribute": { + "description": "Describes how traffic originating in the 'from' zone or sub-zone is distributed over a set of 'to' zones. Syntax for specifying a zone is {region}/{zone}/{sub-zone} and terminal wildcards are allowed on any segment of the specification. Examples:\n\n`*` - matches all localities\n\n`us-west/*` - all zones and sub-zones within the us-west region\n\n`us-west/zone-1/*` - all sub-zones within us-west/zone-1", + "type": "object", + "properties": { + "from": { + "description": "Originating locality, '/' separated, e.g. 'region/zone/sub_zone'.", + "type": "string" + }, + "to": { + "description": "Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.", + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64", + "default": 0 + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LocalityLoadBalancerSetting_Distribute", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.LocalityLoadBalancerSetting_Failover": { + "description": "Specify the traffic failover policy across regions. Since zone and sub-zone failover is supported by default this only needs to be specified for regions when the operator needs to constrain traffic failover so that the default behavior of failing over to any endpoint globally does not apply. This is useful when failing over traffic across regions would not improve service health or may need to be restricted for other reasons like regulatory controls.", + "type": "object", + "properties": { + "from": { + "description": "Originating region.", + "type": "string" + }, + "to": { + "description": "Destination region the traffic will fail over to when endpoints in the 'from' region becomes unhealthy.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "LocalityLoadBalancerSetting_Failover", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.OutboundTrafficPolicy": { + "description": "`OutboundTrafficPolicy` sets the default behavior of the sidecar for handling outbound traffic from the application. If your application uses one or more external services that are not known apriori, setting the policy to `ALLOW_ANY` will cause the sidecars to route any unknown traffic originating from the application to its requested destination. Users are strongly encouraged to use `ServiceEntry` configurations to explicitly declare any external dependencies, instead of using `ALLOW_ANY`, so that traffic to these services can be monitored.", + "type": "object", + "properties": { + "egressProxy": { + "description": "Specifies the details of the egress proxy to which unknown traffic should be forwarded to from the sidecar. Valid only if the mode is set to ALLOW_ANY. If not specified when the mode is ALLOW_ANY, the sidecar will send the unknown traffic directly to the IP requested by the application.\n\n** NOTE 1**: The specified egress host must be imported in the egress section for the traffic forwarding to work.\n\n** NOTE 2**: An Envoy based egress gateway is unlikely to be able to handle plain text TCP connections forwarded from the sidecar. Envoy's dynamic forward proxy can handle only HTTP and TLS connections. $hide_from_docs", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Destination" + }, + "mode": { + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.OutboundTrafficPolicy_Mode" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "OutboundTrafficPolicy", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.OutboundTrafficPolicy_Mode": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "OutboundTrafficPolicy_Mode", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "ALLOW_ANY(1),REGISTRY_ONLY(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.OutlierDetection": { + "description": "A Circuit breaker implementation that tracks the status of each individual host in the upstream service. Applicable to both HTTP and TCP services. For HTTP services, hosts that continually return 5xx errors for API calls are ejected from the pool for a pre-defined period of time. For TCP services, connection timeouts or connection failures to a given host counts as an error when measuring the consecutive errors metric. See Envoy's [outlier detection](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/outlier) for more details.\n\nThe following rule sets a connection pool size of 100 HTTP1 connections with no more than 10 req/connection to the \"reviews\" service. In addition, it sets a limit of 1000 concurrent HTTP2 requests and configures upstream hosts to be scanned every 5 mins so that any host that fails 7 consecutive times with a 502, 503, or 504 error code will be ejected for 15 minutes.\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: reviews-cb-policy\n\nspec:\n\n\thost: reviews.prod.svc.cluster.local\n\ttrafficPolicy:\n\t connectionPool:\n\t tcp:\n\t maxConnections: 100\n\t http:\n\t http2MaxRequests: 1000\n\t maxRequestsPerConnection: 10\n\t outlierDetection:\n\t consecutive5xxErrors: 7\n\t interval: 5m\n\t baseEjectionTime: 15m\n\n```", + "type": "object", + "properties": { + "baseEjectionTime": { + "description": "Minimum ejection duration. A host will remain ejected for a period equal to the product of minimum ejection duration and the number of times the host has been ejected. This technique allows the system to automatically increase the ejection period for unhealthy upstream servers. format: 1h/1m/1s/1ms. MUST BE \u003e=1ms. Default is 30s.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "consecutive5xxErrors": { + "description": "Number of 5xx errors before a host is ejected from the connection pool. When the upstream host is accessed over an opaque TCP connection, connect timeouts, connection error/failure and request failure events qualify as a 5xx error. This feature defaults to 5 but can be disabled by setting the value to 0.\n\nNote that consecutive_gateway_errors and consecutive_5xx_errors can be used separately or together. Because the errors counted by consecutive_gateway_errors are also included in consecutive_5xx_errors, if the value of consecutive_gateway_errors is greater than or equal to the value of consecutive_5xx_errors, consecutive_gateway_errors will have no effect.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.UInt32Value" + }, + "consecutiveErrors": { + "description": "Number of errors before a host is ejected from the connection pool. Defaults to 5. When the upstream host is accessed over HTTP, a 502, 503, or 504 return code qualifies as an error. When the upstream host is accessed over an opaque TCP connection, connect timeouts and connection error/failure events qualify as an error. $hide_from_docs\n\nDeprecated: Marked as deprecated in networking/v1alpha3/destination_rule.proto.", + "type": "integer", + "format": "int32" + }, + "consecutiveGatewayErrors": { + "description": "Number of gateway errors before a host is ejected from the connection pool. When the upstream host is accessed over HTTP, a 502, 503, or 504 return code qualifies as a gateway error. When the upstream host is accessed over an opaque TCP connection, connect timeouts and connection error/failure events qualify as a gateway error. This feature is disabled by default or when set to the value 0.\n\nNote that consecutive_gateway_errors and consecutive_5xx_errors can be used separately or together. Because the errors counted by consecutive_gateway_errors are also included in consecutive_5xx_errors, if the value of consecutive_gateway_errors is greater than or equal to the value of consecutive_5xx_errors, consecutive_gateway_errors will have no effect.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.UInt32Value" + }, + "consecutiveLocalOriginFailures": { + "description": "The number of consecutive locally originated failures before ejection occurs. Defaults to 5. Parameter takes effect only when split_external_local_origin_errors is set to true.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.UInt32Value" + }, + "interval": { + "description": "Time interval between ejection sweep analysis. format: 1h/1m/1s/1ms. MUST BE \u003e=1ms. Default is 10s.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + }, + "maxEjectionPercent": { + "description": "Maximum % of hosts in the load balancing pool for the upstream service that can be ejected. Defaults to 10%.", + "type": "integer", + "format": "int32" + }, + "minHealthPercent": { + "description": "Outlier detection will be enabled as long as the associated load balancing pool has at least min_health_percent hosts in healthy mode. When the percentage of healthy hosts in the load balancing pool drops below this threshold, outlier detection will be disabled and the proxy will load balance across all hosts in the pool (healthy and unhealthy). The threshold can be disabled by setting it to 0%. The default is 0% as it's not typically applicable in k8s environments with few pods per service.", + "type": "integer", + "format": "int32" + }, + "splitExternalLocalOriginErrors": { + "description": "Determines whether to distinguish local origin failures from external errors. If set to true consecutive_local_origin_failure is taken into account for outlier detection calculations. This should be used when you want to derive the outlier detection status based on the errors seen locally such as failure to connect, timeout while connecting etc. rather than the status code returned by upstream service. This is especially useful when the upstream service explicitly returns a 5xx for some requests and you want to ignore those responses from upstream service while determining the outlier detection status of a host. Defaults to false.", + "type": "boolean" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "OutlierDetection", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.Percent": { + "description": "Percent specifies a percentage in the range of [0.0, 100.0].", + "type": "object", + "properties": { + "value": { + "type": "number", + "format": "double" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "Percent", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.Port": { + "description": "Port describes the properties of a specific port of a service.", + "type": "object", + "properties": { + "name": { + "description": "Label assigned to the port.", + "type": "string" + }, + "number": { + "description": "A valid non-negative integer port number.", + "type": "integer", + "format": "int64" + }, + "protocol": { + "description": "The protocol exposed on the port. MUST BE one of HTTP|HTTPS|GRPC|GRPC-WEB|HTTP2|MONGO|TCP|TLS. TLS can be either used to terminate non-HTTP based connections on a specific port or to route traffic based on SNI header to the destination without terminating the TLS connection.", + "type": "string" + }, + "targetPort": { + "description": "The port number on the endpoint where the traffic will be received. Applicable only when used with ServiceEntries. $hide_from_docs\n\nDeprecated: Marked as deprecated in networking/v1alpha3/gateway.proto.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "Port", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.PortSelector": { + "description": "PortSelector specifies the number of a port to be used for matching or selection for final routing.", + "type": "object", + "properties": { + "number": { + "description": "Valid port number", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "PortSelector", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ReadinessProbe": { + "type": "object", + "required": [ + "HealthCheckMethod" + ], + "properties": { + "HealthCheckMethod": { + "description": "Users can only provide one configuration for healthchecks (tcp, http, exec), and this is expressed as a oneof. All of the other configuration values hold true for any of the healthcheck methods.\n\nTypes that are assignable to HealthCheckMethod:\n\n\t*ReadinessProbe_HttpGet\n\t*ReadinessProbe_TcpSocket\n\t*ReadinessProbe_Exec", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsReadinessProbe_HealthCheckMethod" + }, + "failureThreshold": { + "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3 seconds.", + "type": "integer", + "format": "int32" + }, + "initialDelaySeconds": { + "description": "Number of seconds after the container has started before readiness probes are initiated.", + "type": "integer", + "format": "int32" + }, + "periodSeconds": { + "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1 second.", + "type": "integer", + "format": "int32" + }, + "successThreshold": { + "description": "Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1 second.", + "type": "integer", + "format": "int32" + }, + "timeoutSeconds": { + "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1 second.", + "type": "integer", + "format": "int32" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ReadinessProbe", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "HealthCheckMethod" + }, + "io.istio.api.networking.v1alpha3.ReadinessProbe_Exec": { + "description": "Health is determined by how the command that is executed exited.", + "type": "object", + "required": [ + "exec" + ], + "properties": { + "exec": { + "description": "Health is determined by how the command that is executed exited.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ExecHealthCheckConfig" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ReadinessProbe_Exec", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsReadinessProbe_HealthCheckMethod" + }, + "io.istio.api.networking.v1alpha3.ReadinessProbe_HttpGet": { + "description": "`httpGet` is performed to a given endpoint and the status/able to connect determines health.", + "type": "object", + "required": [ + "httpGet" + ], + "properties": { + "httpGet": { + "description": "`httpGet` is performed to a given endpoint and the status/able to connect determines health.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPHealthCheckConfig" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ReadinessProbe_HttpGet", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsReadinessProbe_HealthCheckMethod" + }, + "io.istio.api.networking.v1alpha3.ReadinessProbe_TcpSocket": { + "description": "Health is determined by if the proxy is able to connect.", + "type": "object", + "required": [ + "tcpSocket" + ], + "properties": { + "tcpSocket": { + "description": "Health is determined by if the proxy is able to connect.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TCPHealthCheckConfig" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ReadinessProbe_TcpSocket", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsReadinessProbe_HealthCheckMethod" + }, + "io.istio.api.networking.v1alpha3.RegexRewrite": { + "type": "object", + "properties": { + "match": { + "description": "[RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).", + "type": "string" + }, + "rewrite": { + "description": "The string that should replace into matching portions of original URI. Capture groups in the pattern can be referenced in the new URI. Examples:\n\nExample 1: rewrite with capture groups Path pattern \"/service/update/v1/api\" with match \"^/service/([^/]+)(/.*)$\" and rewrite string of \"/customprefix/\\2/\\1\" would transform into \"/customprefix/v1/api/update\".\n\nExample 2: case insensitive rewrite Path pattern \"/aaa/XxX/bbb\" with match \"(?i)/xxx/\" and a rewrite string of /yyy/ would do a case-insensitive match and transform the path to \"/aaa/yyy/bbb\".", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "RegexRewrite", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.RouteDestination": { + "description": "L4 routing rule weighted destination.", + "type": "object", + "properties": { + "destination": { + "description": "Destination uniquely identifies the instances of a service to which the request/connection should be forwarded to.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Destination" + }, + "weight": { + "description": "Weight specifies the relative proportion of traffic to be forwarded to the destination. A destination will receive `weight/(sum of all weights)` requests. If there is only one destination in a rule, it will receive all traffic. Otherwise, if weight is `0`, the destination will not receive any traffic.", + "type": "integer", + "format": "int32" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "RouteDestination", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.Server": { + "description": "`Server` describes the properties of the proxy on a given load balancer port. For example,\n\n```yaml apiVersion: networking.istio.io/v1 kind: Gateway metadata:\n\n\tname: my-ingress\n\nspec:\n\n\tselector:\n\t app: my-ingressgateway\n\tservers:\n\t- port:\n\t number: 80\n\t name: http2\n\t protocol: HTTP2\n\t hosts:\n\t - \"*\"\n\n```\n\n# Another example\n\n```yaml apiVersion: networking.istio.io/v1 kind: Gateway metadata:\n\n\tname: my-tcp-ingress\n\nspec:\n\n\tselector:\n\t app: my-tcp-ingressgateway\n\tservers:\n\t- port:\n\t number: 27018\n\t name: mongo\n\t protocol: MONGO\n\t hosts:\n\t - \"*\"\n\n```\n\n# The following is an example of TLS configuration for port 443\n\n```yaml apiVersion: networking.istio.io/v1 kind: Gateway metadata:\n\n\tname: my-tls-ingress\n\nspec:\n\n\tselector:\n\t app: my-tls-ingressgateway\n\tservers:\n\t- port:\n\t number: 443\n\t name: https\n\t protocol: HTTPS\n\t hosts:\n\t - \"*\"\n\t tls:\n\t mode: SIMPLE\n\t credentialName: tls-cert\n\n```", + "type": "object", + "properties": { + "bind": { + "description": "The ip or the Unix domain socket to which the listener should be bound to. Format: `x.x.x.x` or `unix:///path/to/uds` or `unix://@foobar` (Linux abstract namespace). When using Unix domain sockets, the port number should be 0. This can be used to restrict the reachability of this server to be gateway internal only. This is typically used when a gateway needs to communicate to another mesh service e.g. publishing metrics. In such case, the server created with the specified bind will not be available to external gateway clients.", + "type": "string" + }, + "defaultEndpoint": { + "description": "The loopback IP endpoint or Unix domain socket to which traffic should be forwarded to by default. Format should be `127.0.0.1:PORT` or `unix:///path/to/socket` or `unix://@foobar` (Linux abstract namespace). NOT IMPLEMENTED. $hide_from_docs", + "type": "string" + }, + "hosts": { + "description": "One or more hosts exposed by this gateway. While typically applicable to HTTP services, it can also be used for TCP services using TLS with SNI. A host is specified as a `dnsName` with an optional `namespace/` prefix. The `dnsName` should be specified using FQDN format, optionally including a wildcard character in the left-most component (e.g., `prod/*.example.com`). Set the `dnsName` to `*` to select all `VirtualService` hosts from the specified namespace (e.g.,`prod/*`).\n\nThe `namespace` can be set to `*` or `.`, representing any or the current namespace, respectively. For example, `*/foo.example.com` selects the service from any available namespace while `./foo.example.com` only selects the service from the namespace of the sidecar. The default, if no `namespace/` is specified, is `*/`, that is, select services from any namespace. Any associated `DestinationRule` in the selected namespace will also be used.\n\nA `VirtualService` must be bound to the gateway and must have one or more hosts that match the hosts specified in a server. The match could be an exact match or a suffix match with the server's hosts. For example, if the server's hosts specifies `*.example.com`, a `VirtualService` with hosts `dev.example.com` or `prod.example.com` will match. However, a `VirtualService` with host `example.com` or `newexample.com` will not match.\n\nNOTE: Only virtual services exported to the gateway's namespace (e.g., `exportTo` value of `*`) can be referenced. Private configurations (e.g., `exportTo` set to `.`) will not be available. Refer to the `exportTo` setting in `VirtualService`, `DestinationRule`, and `ServiceEntry` configurations for details.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "name": { + "description": "An optional name of the server, when set must be unique across all servers. This will be used for variety of purposes like prefixing stats generated with this name etc.", + "type": "string" + }, + "port": { + "description": "The Port on which the proxy should listen for incoming connections.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Port" + }, + "tls": { + "description": "Set of TLS related options that govern the server's behavior. Use these options to control if all http requests should be redirected to https, and the TLS modes to use.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServerTLSSettings" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "Server", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ServerTLSSettings": { + "type": "object", + "properties": { + "caCertificates": { + "description": "REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`. The path to a file containing certificate authority certificates to use in verifying a presented client side certificate.", + "type": "string" + }, + "caCrl": { + "description": "OPTIONAL: The path to the file containing the certificate revocation list (CRL) to use in verifying a presented client side certificate. `CRL` is a list of certificates that have been revoked by the CA (Certificate Authority) before their scheduled expiration date. If specified, the proxy will verify if the presented certificate is part of the revoked list of certificates. If omitted, the proxy will not verify the certificate against the `crl`.", + "type": "string" + }, + "cipherSuites": { + "description": "Optional: If specified, only support the specified cipher list. Otherwise default to the default cipher list supported by Envoy as specified [here](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/transport_sockets/tls/v3/common.proto). The supported list of ciphers are: * `ECDHE-ECDSA-AES128-GCM-SHA256` * `ECDHE-RSA-AES128-GCM-SHA256` * `ECDHE-ECDSA-AES256-GCM-SHA384` * `ECDHE-RSA-AES256-GCM-SHA384` * `ECDHE-ECDSA-CHACHA20-POLY1305` * `ECDHE-RSA-CHACHA20-POLY1305` * `ECDHE-ECDSA-AES128-SHA` * `ECDHE-RSA-AES128-SHA` * `ECDHE-ECDSA-AES256-SHA` * `ECDHE-RSA-AES256-SHA` * `AES128-GCM-SHA256` * `AES256-GCM-SHA384` * `AES128-SHA` * `AES256-SHA` * `DES-CBC3-SHA`", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "credentialName": { + "description": "For gateways running on Kubernetes, the name of the secret that holds the TLS certs including the CA certificates. Applicable only on Kubernetes. An Opaque secret should contain the following keys and values: `tls.key: \u003cprivateKey\u003e` and `tls.crt: \u003cserverCert\u003e` or `key: \u003cprivateKey\u003e` and `cert: \u003cserverCert\u003e`. For mutual TLS, `cacert: \u003cCACertificate\u003e` and `crl: \u003cCertificateRevocationList\u003e` can be provided in the same secret or a separate secret named `\u003csecret\u003e-cacert`. A TLS secret for server certificates with an additional `tls.ocsp-staple` key for specifying OCSP staple information, `ca.crt` key for CA certificates and `ca.crl` for certificate revocation list is also supported. Only one of server certificates and CA certificate or credentialName can be specified.", + "type": "string" + }, + "httpsRedirect": { + "description": "If set to true, the load balancer will send a 301 redirect for all http connections, asking the clients to use HTTPS.", + "type": "boolean" + }, + "maxProtocolVersion": { + "description": "Optional: Maximum TLS protocol version.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServerTLSSettings_TLSProtocol" + }, + "minProtocolVersion": { + "description": "Optional: Minimum TLS protocol version. By default, it is `TLSV1_2`. TLS protocol versions below TLSV1_2 require setting compatible ciphers with the `cipherSuites` setting as they no longer include compatible ciphers.\n\nNote: Using TLS protocol versions below TLSV1_2 has serious security risks.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServerTLSSettings_TLSProtocol" + }, + "mode": { + "description": "Optional: Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServerTLSSettings_TLSmode" + }, + "privateKey": { + "description": "REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server's private key.", + "type": "string" + }, + "serverCertificate": { + "description": "REQUIRED if mode is `SIMPLE` or `MUTUAL`. The path to the file holding the server-side TLS certificate to use.", + "type": "string" + }, + "subjectAltNames": { + "description": "A list of alternate names to verify the subject identity in the certificate presented by the client.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "verifyCertificateHash": { + "description": "An optional list of hex-encoded SHA-256 hashes of the authorized client certificates. Both simple and colon separated formats are acceptable. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "verifyCertificateSpki": { + "description": "An optional list of base64-encoded SHA-256 hashes of the SPKIs of authorized client certificates. Note: When both verify_certificate_hash and verify_certificate_spki are specified, a hash matching either value will result in the certificate being accepted.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServerTLSSettings", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ServerTLSSettings_TLSProtocol": { + "description": "TLS protocol versions.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServerTLSSettings_TLSProtocol", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "TLSV1_0(1),TLSV1_1(2),TLSV1_2(3),TLSV1_3(4),TLS_AUTO(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.ServerTLSSettings_TLSmode": { + "description": "TLS modes enforced by the proxy", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServerTLSSettings_TLSmode", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "AUTO_PASSTHROUGH(3),ISTIO_MUTUAL(4),MUTUAL(2),OPTIONAL_MUTUAL(5),PASSTHROUGH(0),SIMPLE(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.ServiceEntry": { + "description": "ServiceEntry enables adding additional entries into Istio's internal service registry.\n\n\u003c!-- crd generation tags mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)\" (NONE, STATIC, or DNS)\" representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags istiostatus-override: ServiceEntryStatus: istio.io/api/networking/v1alpha3 --\u003e", + "type": "object", + "properties": { + "addresses": { + "description": "The virtual IP addresses associated with the service. Could be CIDR prefix. For HTTP traffic, generated route configurations will include http route domains for both the `addresses` and `hosts` field values and the destination will be identified based on the HTTP Host/Authority header. If one or more IP addresses are specified, the incoming traffic will be identified as belonging to this service if the destination IP matches the IP/CIDRs specified in the addresses field. If the Addresses field is empty, traffic will be identified solely based on the destination port. In such scenarios, the port on which the service is being accessed must not be shared by any other service in the mesh. In other words, the sidecar will behave as a simple TCP proxy, forwarding incoming traffic on a specified port to the specified destination endpoint IP/host. Unix domain socket addresses are not supported in this field.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "endpoints": { + "description": "One or more endpoints associated with the service. Only one of `endpoints` or `workloadSelector` can be specified.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadEntry" + } + }, + "exportTo": { + "description": "A list of namespaces to which this service is exported. Exporting a service allows it to be used by sidecars, gateways and virtual services defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of services across namespace boundaries.\n\nIf no namespaces are specified then the service is exported to all namespaces by default.\n\nThe value \".\" is reserved and defines an export to the same namespace that the service is declared in. Similarly the value \"*\" is reserved and defines an export to all namespaces.\n\nFor a Kubernetes Service, the equivalent effect can be achieved by setting the annotation \"networking.istio.io/exportTo\" to a comma-separated list of namespace names.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "hosts": { + "description": "The hosts associated with the ServiceEntry. Could be a DNS name with wildcard prefix.\n\n1. The hosts field is used to select matching hosts in VirtualServices and DestinationRules. 2. For HTTP traffic the HTTP Host/Authority header will be matched against the hosts field. 3. For HTTPs or TLS traffic containing Server Name Indication (SNI), the SNI value will be matched against the hosts field.\n\n**NOTE 1:** When resolution is set to type DNS and no endpoints are specified, the host field will be used as the DNS name of the endpoint to route traffic to.\n\n**NOTE 2:** If the hostname matches with the name of a service from another service registry such as Kubernetes that also supplies its own set of endpoints, the ServiceEntry will be treated as a decorator of the existing Kubernetes service. Properties in the service entry will be added to the Kubernetes service if applicable. Currently, only the following additional properties will be considered by `istiod`:\n\n 1. subjectAltNames: In addition to verifying the SANs of the\n service accounts associated with the pods of the service, the\n SANs specified here will also be verified.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "location": { + "description": "Specify whether the service should be considered external to the mesh or part of the mesh.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntry_Location" + }, + "ports": { + "description": "The ports associated with the external service. If the Endpoints are Unix domain socket addresses, there must be exactly one port.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServicePort" + } + }, + "resolution": { + "description": "Service resolution mode for the hosts. Care must be taken when setting the resolution mode to NONE for a TCP port without accompanying IP addresses. In such cases, traffic to any IP on said port will be allowed (i.e. `0.0.0.0:\u003cport\u003e`).", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntry_Resolution" + }, + "subjectAltNames": { + "description": "If specified, the proxy will verify that the server certificate's subject alternate name matches one of the specified values.\n\nNOTE: When using the workloadEntry with workloadSelectors, the service account specified in the workloadEntry will also be used to derive the additional subject alternate names that should be verified.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "workloadSelector": { + "description": "Applicable only for MESH_INTERNAL services. Only one of `endpoints` or `workloadSelector` can be specified. Selects one or more Kubernetes pods or VM workloads (specified using `WorkloadEntry`) based on their labels. The `WorkloadEntry` object representing the VMs should be defined in the same namespace as the ServiceEntry.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadSelector" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServiceEntry", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ServiceEntryAddress": { + "description": "minor abstraction to allow for adding hostnames if relevant", + "type": "object", + "properties": { + "host": { + "description": "Host is the name associated with this address", + "type": "string" + }, + "value": { + "description": "Value is the address (192.168.0.2)", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServiceEntryAddress", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ServiceEntryStatus": { + "type": "object", + "properties": { + "addresses": { + "description": "List of addresses which were assigned to this ServiceEntry.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntryAddress" + } + }, + "conditions": { + "description": "Current service state of ServiceEntry. More info: https://istio.io/docs/reference/config/config-status/", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "Resource Generation to which the Reconciled Condition refers. When this value is not equal to the object's metadata generation, reconciled condition calculation for the current generation is still in progress. See https://istio.io/latest/docs/reference/config/config-status/ for more info.", + "type": "integer", + "format": "int64" + }, + "validationMessages": { + "description": "Includes any errors or warnings detected by Istio's analyzers.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.analysis.v1alpha1.AnalysisMessageBase" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServiceEntryStatus", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.ServiceEntry_Location": { + "description": "Location specifies whether the service is part of Istio mesh or outside the mesh. Location determines the behavior of several features, such as service-to-service mTLS authentication, policy enforcement, etc. When communicating with services outside the mesh, Istio's mTLS authentication is disabled, and policy enforcement is performed on the client-side as opposed to server-side.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServiceEntry_Location", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "MESH_EXTERNAL(0),MESH_INTERNAL(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.ServiceEntry_Resolution": { + "description": "Resolution determines how the proxy will resolve the IP addresses of the network endpoints associated with the service, so that it can route to one of them. The resolution mode specified here has no impact on how the application resolves the IP address associated with the service. The application may still have to use DNS to resolve the service to an IP so that the outbound traffic can be captured by the Proxy. Alternatively, for HTTP services, the application could directly communicate with the proxy (e.g., by setting HTTP_PROXY) to talk to these services.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServiceEntry_Resolution", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "DNS(2),DNS_ROUND_ROBIN(3),NONE(0),STATIC(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.ServicePort": { + "description": "ServicePort describes the properties of a specific port of a service.", + "type": "object", + "properties": { + "name": { + "description": "Label assigned to the port.", + "type": "string" + }, + "number": { + "description": "A valid non-negative integer port number.", + "type": "integer", + "format": "int64" + }, + "protocol": { + "description": "The protocol exposed on the port. MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS. TLS implies the connection will be routed based on the SNI header to the destination without terminating the TLS connection.", + "type": "string" + }, + "targetPort": { + "description": "The port number on the endpoint where the traffic will be received. If unset, default to `number`.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "ServicePort", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.Sidecar": { + "description": "`Sidecar` describes the configuration of the sidecar proxy that mediates inbound and outbound communication of the workload instance to which it is attached.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "egress": { + "description": "Egress specifies the configuration of the sidecar for processing outbound traffic from the attached workload instance to other services in the mesh. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IstioEgressListener" + } + }, + "inboundConnectionPool": { + "description": "Settings controlling the volume of connections Envoy will accept from the network. This default will apply for all inbound listeners and can be overridden per-port in the `Ingress` field. This configuration mirrors the `DestinationRule`'s [`connectionPool`](https://istio.io/latest/docs/reference/config/networking/destination-rule/#ConnectionPoolSettings) field.\n\nBy default, Istio applies a service's `DestinationRule` to client sidecars for outbound traffic directed at the service -- the usual case folks think of when configuring a `DestinationRule` -- but also to the server's inbound sidecar. The `Sidecar`'s connection pool configures the server's inbound sidecar directly, so its settings can be different than clients'. This is valuable, for example, when you have many clients calling few servers: a `DestinationRule` can limit the concurrency of any single client, while the `Sidecar` allows you to configure much higher concurrency on the server side.\n\nConnection pool settings for a server's inbound sidecar are configured in the following precedence, highest to lowest: - per-port `ConnectionPool` from the `Sidecar` - top level `InboundConnectionPool` from the `Sidecar` - per-port `TrafficPolicy.ConnectionPool` from the `DestinationRule` - top level `TrafficPolicy.ConnectionPool` from the `DestinationRule` - default connection pool settings (essentially unlimited)\n\nIn every case, the connection pool settings are overriden, not merged.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ConnectionPoolSettings" + }, + "ingress": { + "description": "Ingress specifies the configuration of the sidecar for processing inbound traffic to the attached workload instance. If omitted, Istio will automatically configure the sidecar based on the information about the workload obtained from the orchestration platform (e.g., exposed ports, services, etc.). If specified, inbound ports are configured if and only if the workload instance is associated with a service.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IstioIngressListener" + } + }, + "outboundTrafficPolicy": { + "description": "Configuration for the outbound traffic policy. If your application uses one or more external services that are not known apriori, setting the policy to `ALLOW_ANY` will cause the sidecars to route any unknown traffic originating from the application to its requested destination. If not specified, inherits the system detected defaults from the namespace-wide or the global default Sidecar.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.OutboundTrafficPolicy" + }, + "workloadSelector": { + "description": "Criteria used to select the specific set of pods/VMs on which this `Sidecar` configuration should be applied. If omitted, the `Sidecar` configuration will be applied to all workload instances in the same namespace.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadSelector" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha3", + "Kind": "Sidecar", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.SidecarPort": { + "description": "Port describes the properties of a specific port of a service.", + "type": "object", + "properties": { + "name": { + "description": "Label assigned to the port.", + "type": "string" + }, + "number": { + "description": "A valid non-negative integer port number.", + "type": "integer", + "format": "int64" + }, + "protocol": { + "description": "The protocol exposed on the port. MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS. TLS can be either used to terminate non-HTTP based connections on a specific port or to route traffic based on SNI header to the destination without terminating the TLS connection.", + "type": "string" + }, + "targetPort": { + "description": "Has no effect, only for backwards compatibility received. Applicable only when used with ServiceEntries. $hide_from_docs\n\nDeprecated: Marked as deprecated in networking/v1alpha3/sidecar.proto.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "SidecarPort", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.StringMatch": { + "description": "Describes how to match a given string in HTTP headers. `exact` and `prefix` matching is case-sensitive. `regex` matching supports case-insensitive matches.", + "type": "object", + "required": [ + "MatchType" + ], + "properties": { + "MatchType": { + "description": "Types that are assignable to MatchType:\n\n\t*StringMatch_Exact\n\t*StringMatch_Prefix\n\t*StringMatch_Regex", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.IsStringMatch_MatchType" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "StringMatch", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "MatchType" + }, + "io.istio.api.networking.v1alpha3.StringMatch_Exact": { + "description": "exact string match", + "type": "object", + "required": [ + "exact" + ], + "properties": { + "exact": { + "description": "exact string match", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "StringMatch_Exact", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsStringMatch_MatchType" + }, + "io.istio.api.networking.v1alpha3.StringMatch_Prefix": { + "description": "prefix-based match", + "type": "object", + "required": [ + "prefix" + ], + "properties": { + "prefix": { + "description": "prefix-based match", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "StringMatch_Prefix", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsStringMatch_MatchType" + }, + "io.istio.api.networking.v1alpha3.StringMatch_Regex": { + "description": "[RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).\n\nExample: `(?i)^aaa$` can be used to case-insensitive match a string consisting of three a's.", + "type": "object", + "required": [ + "regex" + ], + "properties": { + "regex": { + "description": "[RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).\n\nExample: `(?i)^aaa$` can be used to case-insensitive match a string consisting of three a's.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "StringMatch_Regex", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsStringMatch_MatchType" + }, + "io.istio.api.networking.v1alpha3.Subset": { + "description": "A subset of endpoints of a service. Subsets can be used for scenarios like A/B testing, or routing to a specific version of a service. Refer to [VirtualService](https://istio.io/docs/reference/config/networking/virtual-service/#VirtualService) documentation for examples of using subsets in these scenarios. In addition, traffic policies defined at the service-level can be overridden at a subset-level. The following rule uses a round robin load balancing policy for all traffic going to a subset named testversion that is composed of endpoints (e.g., pods) with labels (version:v3).\n\n```yaml apiVersion: networking.istio.io/v1 kind: DestinationRule metadata:\n\n\tname: bookinfo-ratings\n\nspec:\n\n\thost: ratings.prod.svc.cluster.local\n\ttrafficPolicy:\n\t loadBalancer:\n\t simple: LEAST_REQUEST\n\tsubsets:\n\t- name: testversion\n\t labels:\n\t version: v3\n\t trafficPolicy:\n\t loadBalancer:\n\t simple: ROUND_ROBIN\n\n```\n\n**Note:** Policies specified for subsets will not take effect until a route rule explicitly sends traffic to this subset.\n\nOne or more labels are typically required to identify the subset destination, however, when the corresponding DestinationRule represents a host that supports multiple SNI hosts (e.g., an egress gateway), a subset without labels may be meaningful. In this case a traffic policy with [ClientTLSSettings](#ClientTLSSettings) can be used to identify a specific SNI host corresponding to the named subset.", + "type": "object", + "properties": { + "labels": { + "description": "Labels apply a filter over the endpoints of a service in the service registry. See route rules for examples of usage.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "name": { + "description": "Name of the subset. The service name and the subset name can be used for traffic splitting in a route rule.", + "type": "string" + }, + "trafficPolicy": { + "description": "Traffic policies that apply to this subset. Subsets inherit the traffic policies specified at the DestinationRule level. Settings specified at the subset level will override the corresponding settings specified at the DestinationRule level.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TrafficPolicy" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "Subset", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.TCPHealthCheckConfig": { + "type": "object", + "properties": { + "host": { + "description": "Host to connect to, defaults to localhost", + "type": "string" + }, + "port": { + "description": "Port of host", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TCPHealthCheckConfig", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.TCPRoute": { + "description": "Describes match conditions and actions for routing TCP traffic. The following routing rule forwards traffic arriving at port 27017 for mongo.prod.svc.cluster.local to another Mongo server on port 5555.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: bookinfo-mongo\n\nspec:\n\n\thosts:\n\t- mongo.prod.svc.cluster.local\n\ttcp:\n\t- match:\n\t - port: 27017\n\t route:\n\t - destination:\n\t host: mongo.backup.svc.cluster.local\n\t port:\n\t number: 5555\n\n```", + "type": "object", + "properties": { + "match": { + "description": "Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.L4MatchAttributes" + } + }, + "route": { + "description": "The destination to which the connection should be forwarded to.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.RouteDestination" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TCPRoute", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.TLSMatchAttributes": { + "description": "TLS connection match attributes.", + "type": "object", + "properties": { + "destinationSubnets": { + "description": "IPv4 or IPv6 ip addresses of destination with optional subnet. E.g., a.b.c.d/xx form or just a.b.c.d.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "gateways": { + "description": "Names of gateways where the rule should be applied. Gateway names in the top-level `gateways` field of the VirtualService (if any) are overridden. The gateway match is independent of sourceLabels.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "port": { + "description": "Specifies the port on the host that is being addressed. Many services only expose a single port or label ports with the protocols they support, in these cases it is not required to explicitly select the port.", + "type": "integer", + "format": "int64" + }, + "sniHosts": { + "description": "SNI (server name indicator) to match on. Wildcard prefixes can be used in the SNI value, e.g., *.com will match foo.example.com as well as example.com. An SNI value must be a subset (i.e., fall within the domain) of the corresponding virtual service's hosts.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "sourceLabels": { + "description": "One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it should include the reserved gateway `mesh` in order for this field to be applicable.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "sourceNamespace": { + "description": "Source namespace constraining the applicability of a rule to workloads in that namespace. If the VirtualService has a list of gateways specified in the top-level `gateways` field, it must include the reserved gateway `mesh` for this field to be applicable.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TLSMatchAttributes", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.TLSRoute": { + "description": "Describes match conditions and actions for routing unterminated TLS traffic (TLS/HTTPS) The following routing rule forwards unterminated TLS traffic arriving at port 443 of gateway called \"mygateway\" to internal services in the mesh based on the SNI value.\n\n```yaml apiVersion: networking.istio.io/v1 kind: VirtualService metadata:\n\n\tname: bookinfo-sni\n\nspec:\n\n\thosts:\n\t- \"*.bookinfo.com\"\n\tgateways:\n\t- mygateway\n\ttls:\n\t- match:\n\t - port: 443\n\t sniHosts:\n\t - login.bookinfo.com\n\t route:\n\t - destination:\n\t host: login.prod.svc.cluster.local\n\t- match:\n\t - port: 443\n\t sniHosts:\n\t - reviews.bookinfo.com\n\t route:\n\t - destination:\n\t host: reviews.prod.svc.cluster.local\n\n```", + "type": "object", + "properties": { + "match": { + "description": "Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TLSMatchAttributes" + } + }, + "route": { + "description": "The destination to which the connection should be forwarded to.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.RouteDestination" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TLSRoute", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.TrafficPolicy": { + "description": "Traffic policies to apply for a specific destination, across all destination ports. See DestinationRule for examples.", + "type": "object", + "properties": { + "connectionPool": { + "description": "Settings controlling the volume of connections to an upstream service", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ConnectionPoolSettings" + }, + "loadBalancer": { + "description": "Settings controlling the load balancer algorithms.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LoadBalancerSettings" + }, + "outlierDetection": { + "description": "Settings controlling eviction of unhealthy hosts from the load balancing pool", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.OutlierDetection" + }, + "portLevelSettings": { + "description": "Traffic policies specific to individual ports. Note that port level settings will override the destination-level settings. Traffic settings specified at the destination-level will not be inherited when overridden by port-level settings, i.e. default values will be applied to fields omitted in port-level traffic policies.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TrafficPolicy_PortTrafficPolicy" + } + }, + "proxyProtocol": { + "description": "The upstream PROXY protocol settings.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TrafficPolicy_ProxyProtocol" + }, + "tls": { + "description": "TLS related settings for connections to the upstream service.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ClientTLSSettings" + }, + "tunnel": { + "description": "Configuration of tunneling TCP over other transport or application layers for the host configured in the DestinationRule. Tunnel settings can be applied to TCP or TLS routes and can't be applied to HTTP routes.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TrafficPolicy_TunnelSettings" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TrafficPolicy", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.TrafficPolicy_PortTrafficPolicy": { + "description": "Traffic policies that apply to specific ports of the service", + "type": "object", + "properties": { + "connectionPool": { + "description": "Settings controlling the volume of connections to an upstream service", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ConnectionPoolSettings" + }, + "loadBalancer": { + "description": "Settings controlling the load balancer algorithms.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.LoadBalancerSettings" + }, + "outlierDetection": { + "description": "Settings controlling eviction of unhealthy hosts from the load balancing pool", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.OutlierDetection" + }, + "port": { + "description": "Specifies the number of a port on the destination service on which this policy is being applied.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.PortSelector" + }, + "tls": { + "description": "TLS related settings for connections to the upstream service.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ClientTLSSettings" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TrafficPolicy_PortTrafficPolicy", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.TrafficPolicy_ProxyProtocol": { + "type": "object", + "properties": { + "version": { + "description": "The PROXY protocol version to use. See https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt for details. By default it is `V1`.", + "default": {}, + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TrafficPolicy_ProxyProtocol_VERSION" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TrafficPolicy_ProxyProtocol", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.TrafficPolicy_ProxyProtocol_VERSION": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TrafficPolicy_ProxyProtocol_VERSION", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "V1(0),V2(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.networking.v1alpha3.TrafficPolicy_TunnelSettings": { + "type": "object", + "properties": { + "protocol": { + "description": "Specifies which protocol to use for tunneling the downstream connection. Supported protocols are:\n\n\tCONNECT - uses HTTP CONNECT;\n\tPOST - uses HTTP POST.\n\nCONNECT is used by default if not specified. HTTP version for upstream requests is determined by the service protocol defined for the proxy.", + "type": "string" + }, + "targetHost": { + "description": "Specifies a host to which the downstream connection is tunneled. Target host must be an FQDN or IP address.", + "type": "string" + }, + "targetPort": { + "description": "Specifies a port to which the downstream connection is tunneled.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "TrafficPolicy_TunnelSettings", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.VirtualService": { + "description": "Configuration affecting traffic routing.\n\n\u003c!-- crd generation tags that should apply these routes\" representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "exportTo": { + "description": "A list of namespaces to which this virtual service is exported. Exporting a virtual service allows it to be used by sidecars and gateways defined in other namespaces. This feature provides a mechanism for service owners and mesh administrators to control the visibility of virtual services across namespace boundaries.\n\nIf no namespaces are specified then the virtual service is exported to all namespaces by default.\n\nThe value \".\" is reserved and defines an export to the same namespace that the virtual service is declared in. Similarly the value \"*\" is reserved and defines an export to all namespaces.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "gateways": { + "description": "The names of gateways and sidecars that should apply these routes. Gateways in other namespaces may be referred to by `\u003cgateway namespace\u003e/\u003cgateway name\u003e`; specifying a gateway with no namespace qualifier is the same as specifying the VirtualService's namespace. A single VirtualService is used for sidecars inside the mesh as well as for one or more gateways. The selection condition imposed by this field can be overridden using the source field in the match conditions of protocol-specific routes. The reserved word `mesh` is used to imply all the sidecars in the mesh. When this field is omitted, the default gateway (`mesh`) will be used, which would apply the rule to all sidecars in the mesh. If a list of gateway names is provided, the rules will apply only to the gateways. To apply the rules to both gateways and sidecars, specify `mesh` as one of the gateway names.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "hosts": { + "description": "The destination hosts to which traffic is being sent. Could be a DNS name with wildcard prefix or an IP address. Depending on the platform, short-names can also be used instead of a FQDN (i.e. has no dots in the name). In such a scenario, the FQDN of the host would be derived based on the underlying platform.\n\nA single VirtualService can be used to describe all the traffic properties of the corresponding hosts, including those for multiple HTTP and TCP ports. Alternatively, the traffic properties of a host can be defined using more than one VirtualService, with certain caveats. Refer to the [Operations Guide](https://istio.io/docs/ops/best-practices/traffic-management/#split-virtual-services) for details.\n\n*Note for Kubernetes users*: When short names are used (e.g. \"reviews\" instead of \"reviews.default.svc.cluster.local\"), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the \"default\" namespace containing a host \"reviews\" will be interpreted as \"reviews.default.svc.cluster.local\", irrespective of the actual namespace associated with the reviews service. _To avoid potential misconfigurations, it is recommended to always use fully qualified domain names over short names._\n\nThe hosts field applies to both HTTP and TCP services. Service inside the mesh, i.e., those found in the service registry, must always be referred to using their alphanumeric names. IP addresses are allowed only for services defined via the Gateway.\n\n*Note*: It must be empty for a delegate VirtualService.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "http": { + "description": "An ordered list of route rules for HTTP traffic. HTTP routes will be applied to platform service ports using HTTP/HTTP2/GRPC protocols, gateway ports with protocol HTTP/HTTP2/GRPC/TLS-terminated-HTTPS and service entry ports using HTTP/HTTP2/GRPC protocols. The first rule matching an incoming request is used.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.HTTPRoute" + } + }, + "tcp": { + "description": "An ordered list of route rules for opaque TCP traffic. TCP routes will be applied to any port that is not a HTTP or TLS port. The first rule matching an incoming request is used.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TCPRoute" + } + }, + "tls": { + "description": "An ordered list of route rule for non-terminated TLS \u0026 HTTPS traffic. Routing is typically performed using the SNI value presented by the ClientHello message. TLS routes will be applied to platform service ports named 'https-*', 'tls-*', unterminated gateway ports using HTTPS/TLS protocols (i.e. with \"passthrough\" TLS mode) and service entry ports using HTTPS/TLS protocols. The first rule matching an incoming request is used. NOTE: Traffic 'https-*' or 'tls-*' ports without associated virtual service will be treated as opaque TCP traffic.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.TLSRoute" + } + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha3", + "Kind": "VirtualService", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.WorkloadEntry": { + "description": "WorkloadEntry enables specifying the properties of a single non-Kubernetes workload such a VM or a bare metal services that can be referred to by service entries.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "address": { + "description": "Address associated with the network endpoint without the port. Domain names can be used if and only if the resolution is set to DNS, and must be fully-qualified without wildcards. Use the form unix:///absolute/path/to/socket for Unix domain socket endpoints. If address is empty, network must be specified.", + "type": "string" + }, + "labels": { + "description": "One or more labels associated with the endpoint.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "locality": { + "description": "The locality associated with the endpoint. A locality corresponds to a failure domain (e.g., country/region/zone). Arbitrary failure domain hierarchies can be represented by separating each encapsulating failure domain by /. For example, the locality of an an endpoint in US, in US-East-1 region, within availability zone az-1, in data center rack r11 can be represented as us/us-east-1/az-1/r11. Istio will configure the sidecar to route to endpoints within the same locality as the sidecar. If none of the endpoints in the locality are available, endpoints parent locality (but within the same network ID) will be chosen. For example, if there are two endpoints in same network (networkID \"n1\"), say e1 with locality us/us-east-1/az-1/r11 and e2 with locality us/us-east-1/az-2/r12, a sidecar from us/us-east-1/az-1/r11 locality will prefer e1 from the same locality over e2 from a different locality. Endpoint e2 could be the IP associated with a gateway (that bridges networks n1 and n2), or the IP associated with a standard service endpoint.", + "type": "string" + }, + "network": { + "description": "Network enables Istio to group endpoints resident in the same L3 domain/network. All endpoints in the same network are assumed to be directly reachable from one another. When endpoints in different networks cannot reach each other directly, an Istio Gateway can be used to establish connectivity (usually using the `AUTO_PASSTHROUGH` mode in a Gateway Server). This is an advanced configuration used typically for spanning an Istio mesh over multiple clusters. Required if address is not provided.", + "type": "string" + }, + "ports": { + "description": "Set of ports associated with the endpoint. If the port map is specified, it must be a map of servicePortName to this endpoint's port, such that traffic to the service port will be forwarded to the endpoint port that maps to the service's portName. If omitted, and the targetPort is specified as part of the service's port specification, traffic to the service port will be forwarded to one of the endpoints on the specified `targetPort`. If both the targetPort and endpoint's port map are not specified, traffic to a service port will be forwarded to one of the endpoints on the same port.\n\n**NOTE 1:** Do not use for `unix://` addresses.\n\n**NOTE 2:** endpoint port map takes precedence over targetPort.", + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64", + "default": 0 + } + }, + "serviceAccount": { + "description": "The service account associated with the workload if a sidecar is present in the workload. The service account must be present in the same namespace as the configuration ( WorkloadEntry or a ServiceEntry)", + "type": "string" + }, + "weight": { + "description": "The load balancing weight associated with the endpoint. Endpoints with higher weights will receive proportionally higher traffic.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha3", + "Kind": "WorkloadEntry", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.WorkloadGroup": { + "description": "`WorkloadGroup` enables specifying the properties of a single workload for bootstrap and provides a template for `WorkloadEntry`, similar to how `Deployment` specifies properties of workloads via `Pod` templates. A `WorkloadGroup` can have more than one `WorkloadEntry`. `WorkloadGroup` has no relationship to resources which control service registry like `ServiceEntry` and as such doesn't configure host name for these workloads.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "metadata": { + "description": "Metadata that will be used for all corresponding `WorkloadEntries`. User labels for a workload group should be set here in `metadata` rather than in `template`.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadGroup_ObjectMeta" + }, + "probe": { + "description": "`ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload. This configuration mirrors K8S in both syntax and logic for the most part.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ReadinessProbe" + }, + "template": { + "description": "Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`. Please note that `address` and `labels` fields should not be set in the template, and an empty `serviceAccount` should default to `default`. The workload identities (mTLS certificates) will be bootstrapped using the specified service account's token. Workload entries in this group will be in the same namespace as the workload group, and inherit the labels and annotations from the above `metadata` field.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadEntry" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha3", + "Kind": "WorkloadGroup", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.WorkloadGroup_ObjectMeta": { + "description": "`ObjectMeta` describes metadata that will be attached to a `WorkloadEntry`. It is a subset of the supported Kubernetes metadata.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations to attach", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "labels": { + "description": "Labels to attach", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "WorkloadGroup_ObjectMeta", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1alpha3.WorkloadSelector": { + "description": "`WorkloadSelector` specifies the criteria used to determine if the `Gateway`, `Sidecar`, `EnvoyFilter`, `ServiceEntry`, or `DestinationRule` configuration can be applied to a proxy. The matching criteria includes the metadata associated with a proxy, workload instance info such as labels attached to the pod/VM, or any other info that the proxy provides to Istio during the initial handshake. If multiple conditions are specified, all conditions need to match in order for the workload instance to be selected. Currently, only label based selection mechanism is supported.", + "type": "object", + "properties": { + "labels": { + "description": "One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha3", + "Kind": "WorkloadSelector", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1beta1.ProxyConfig": { + "description": "`ProxyConfig` exposes proxy level configuration options.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "concurrency": { + "description": "The number of worker threads to run. If unset, this will be automatically determined based on CPU limits. If set to 0, all cores on the machine will be used.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.Int32Value" + }, + "environmentVariables": { + "description": "Additional environment variables for the proxy. Names starting with `ISTIO_META_` will be included in the generated bootstrap configuration and sent to the XDS server.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "image": { + "description": "Specifies the details of the proxy image.", + "$ref": "#/definitions/io.istio.api.networking.v1beta1.ProxyImage" + }, + "selector": { + "description": "Optional. Selectors specify the set of pods/VMs on which this `ProxyConfig` resource should be applied. If not set, the `ProxyConfig` resource will be applied to all workloads in the namespace where this resource is defined.", + "$ref": "#/definitions/io.istio.api.type.v1beta1.WorkloadSelector" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1beta1", + "Kind": "ProxyConfig", + "Scope": "Namespaced" + } + }, + "io.istio.api.networking.v1beta1.ProxyImage": { + "description": "The following values are used to construct proxy image url. format: `${hub}/${image_name}/${tag}-${image_type}`, example: `docker.io/istio/proxyv2:1.11.1` or `docker.io/istio/proxyv2:1.11.1-distroless`. This information was previously part of the Values API.", + "type": "object", + "properties": { + "imageType": { + "description": "The image type of the image. Istio publishes default, debug, and distroless images. Other values are allowed if those image types (example: centos) are published to the specified hub. supported values: default, debug, distroless.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "ProxyImage", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1alpha1.IstioCertificateRequest": { + "description": "Certificate request message. The authentication should be based on: 1. Bearer tokens carried in the side channel; 2. Client-side certificate via Mutual TLS handshake. Note: the service implementation is REQUIRED to verify the authenticated caller is authorize to all SANs in the CSR. The server side may overwrite any requested certificate field based on its policies.", + "type": "object", + "properties": { + "csr": { + "description": "PEM-encoded certificate request. The public key in the CSR is used to generate the certificate, and other fields in the generated certificate may be overwritten by the CA.", + "type": "string" + }, + "metadata": { + "description": "$hide_from_docs Optional: Opaque metadata provided by the XDS node to Istio. Supported metadata: WorkloadName, WorkloadIP, ClusterID", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.structpb.Struct" + }, + "validityDuration": { + "description": "Optional: requested certificate validity period, in seconds.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "IstioCertificateRequest", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1alpha1.IstioCertificateResponse": { + "description": "Certificate response message.", + "type": "object", + "properties": { + "certChain": { + "description": "PEM-encoded certificate chain. The leaf cert is the first element, and the root cert is the last element.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "IstioCertificateResponse", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1alpha1.UnimplementedIstioCertificateServiceServer": { + "description": "UnimplementedIstioCertificateServiceServer must be embedded to have forward compatible implementations.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "UnimplementedIstioCertificateServiceServer", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.AuthorizationPolicy": { + "description": "AuthorizationPolicy enables access control on workloads.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "ActionDetail" + ], + "properties": { + "ActionDetail": { + "description": "Types that are assignable to ActionDetail:\n\n\t*AuthorizationPolicy_Provider", + "default": {}, + "$ref": "#/definitions/io.istio.api.security.v1beta1.IsAuthorizationPolicy_ActionDetail" + }, + "action": { + "description": "Optional. The action to take if the request is matched with the rules. Default is ALLOW if not specified.", + "default": {}, + "$ref": "#/definitions/io.istio.api.security.v1beta1.AuthorizationPolicy_Action" + }, + "rules": { + "description": "Optional. A list of rules to match the request. A match occurs when at least one rule matches the request.\n\nIf not set, the match will never occur. This is equivalent to setting a default of deny for the target workloads if the action is ALLOW.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.security.v1beta1.Rule" + } + }, + "selector": { + "description": "Optional. The selector decides where to apply the authorization policy. The selector will match with workloads in the same namespace as the authorization policy. If the authorization policy is in the root namespace, the selector will additionally match with workloads in all namespaces.\n\nIf the selector and the targetRef are not set, the selector will match all workloads.\n\nAt most one of `selector` or `targetRefs` can be set for a given policy.", + "$ref": "#/definitions/io.istio.api.type.v1beta1.WorkloadSelector" + }, + "targetRef": { + "description": "$hide_from_docs", + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + }, + "targetRefs": { + "description": "Optional. The targetRefs specifies a list of resources the policy should be applied to. The targeted resources specified will determine which workloads the policy applies to.\n\nCurrently, the following resource attachment types are supported: * `kind: Gateway` with `group: gateway.networking.k8s.io` in the same namespace. * `kind: Service` with `\"\"` in the same namespace. This type is only supported for waypoints.\n\nIf not set, the policy is applied as defined by the selector. At most one of the selector and targetRefs can be set.\n\nNOTE: If you are using the `targetRefs` field in a multi-revision environment with Istio versions prior to 1.22, it is highly recommended that you pin the policy to a revision running 1.22+ via the `istio.io/rev` label. This is to prevent proxies connected to older control planes (that don't know about the `targetRefs` field) from misinterpreting the policy as namespace-wide during the upgrade process.\n\nNOTE: Waypoint proxies are required to use this field for policies to apply; `selector` policies will be ignored.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + } + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1beta1", + "Kind": "AuthorizationPolicy", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "ActionDetail" + }, + "io.istio.api.security.v1beta1.AuthorizationPolicy_Action": { + "description": "Action specifies the operation to take.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "AuthorizationPolicy_Action", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "ALLOW(0),AUDIT(2),CUSTOM(3),DENY(1)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.security.v1beta1.AuthorizationPolicy_ExtensionProvider": { + "type": "object", + "properties": { + "name": { + "description": "Specifies the name of the extension provider. The list of available providers is defined in the MeshConfig. Note, currently at most 1 extension provider is allowed per workload. Different workloads can use different extension provider.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "AuthorizationPolicy_ExtensionProvider", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.AuthorizationPolicy_Provider": { + "type": "object", + "required": [ + "provider" + ], + "properties": { + "provider": { + "description": "Specifies detailed configuration of the CUSTOM action. Must be used only with CUSTOM action.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.AuthorizationPolicy_ExtensionProvider" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "AuthorizationPolicy_Provider", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsAuthorizationPolicy_ActionDetail" + }, + "io.istio.api.security.v1beta1.ClaimToHeader": { + "description": "This message specifies the detail for copying claim to header.", + "type": "object", + "properties": { + "claim": { + "description": "The name of the claim to be copied from. Only claim of type string/int/bool is supported. The header will not be there if the claim does not exist or the type of the claim is not supported.", + "type": "string" + }, + "header": { + "description": "The name of the header to be created. The header will be overridden if it already exists in the request.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "ClaimToHeader", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.Condition": { + "description": "Condition specifies additional required attributes.", + "type": "object", + "properties": { + "key": { + "description": "The name of an Istio attribute. See the [full list of supported attributes](https://istio.io/docs/reference/config/security/conditions/).", + "type": "string" + }, + "notValues": { + "description": "Optional. A list of negative match of values for the attribute. Note: at least one of `values` or `notValues` must be set.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "values": { + "description": "Optional. A list of allowed values for the attribute. Note: at least one of `values` or `notValues` must be set.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "Condition", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.IsAuthorizationPolicy_ActionDetail": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "IsAuthorizationPolicy_ActionDetail", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "AuthorizationPolicy_Provider", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.security.v1beta1.JWTHeader": { + "description": "This message specifies a header location to extract JWT token.", + "type": "object", + "properties": { + "name": { + "description": "The HTTP header name.", + "type": "string" + }, + "prefix": { + "description": "The prefix that should be stripped before decoding the token. For example, for `Authorization: Bearer \u003ctoken\u003e`, prefix=`Bearer` with a space at the end. If the header doesn't have this exact prefix, it is considered invalid.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "JWTHeader", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.JWTRule": { + "description": "JSON Web Token (JWT) token format for authentication as defined by [RFC 7519](https://tools.ietf.org/html/rfc7519). See [OAuth 2.0](https://tools.ietf.org/html/rfc6749) and [OIDC 1.0](http://openid.net/connect) for how this is used in the whole authentication flow.\n\nExamples:\n\nSpec for a JWT that is issued by `https://example.com`, with the audience claims must be either `bookstore_android.apps.example.com` or `bookstore_web.apps.example.com`. The token should be presented at the `Authorization` header (default). The JSON Web Key Set (JWKS) will be discovered following OpenID Connect protocol.\n\n```yaml issuer: https://example.com audiences:\n - bookstore_android.apps.example.com\n bookstore_web.apps.example.com\n\n```\n\nThis example specifies a token in a non-default location (`x-goog-iap-jwt-assertion` header). It also defines the URI to fetch JWKS explicitly.\n\n```yaml issuer: https://example.com jwksUri: https://example.com/.secret/jwks.json fromHeaders: - \"x-goog-iap-jwt-assertion\" ```", + "type": "object", + "properties": { + "audiences": { + "description": "The list of JWT [audiences](https://tools.ietf.org/html/rfc7519#section-4.1.3) that are allowed to access. A JWT containing any of these audiences will be accepted.\n\nThe service name will be accepted if audiences is empty.\n\nExample:\n\n```yaml audiences:\n - bookstore_android.apps.example.com\n bookstore_web.apps.example.com\n\n```", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "forwardOriginalToken": { + "description": "If set to true, the original token will be kept for the upstream request. Default is false.", + "type": "boolean" + }, + "fromCookies": { + "description": "List of cookie names from which JWT is expected.\t// For example, if config is:\n\n``` yaml\n\n\tfrom_cookies:\n\t- auth-token\n\n``` Then JWT will be extracted from “auth-token“ cookie in the request.\n\nNote: Requests with multiple tokens (at different locations) are not supported, the output principal of such requests is undefined.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "fromHeaders": { + "description": "List of header locations from which JWT is expected. For example, below is the location spec if JWT is expected to be found in `x-jwt-assertion` header, and have `Bearer` prefix:\n\n```yaml\n\n\tfromHeaders:\n\t- name: x-jwt-assertion\n\t prefix: \"Bearer \"\n\n```\n\nNote: Requests with multiple tokens (at different locations) are not supported, the output principal of such requests is undefined.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.security.v1beta1.JWTHeader" + } + }, + "fromParams": { + "description": "List of query parameters from which JWT is expected. For example, if JWT is provided via query parameter `my_token` (e.g `/path?my_token=\u003cJWT\u003e`), the config is:\n\n```yaml\n\n\tfromParams:\n\t- \"my_token\"\n\n```\n\nNote: Requests with multiple tokens (at different locations) are not supported, the output principal of such requests is undefined.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "issuer": { + "description": "Identifies the issuer that issued the JWT. See [issuer](https://tools.ietf.org/html/rfc7519#section-4.1.1) A JWT with different `iss` claim will be rejected.\n\nExample: `https://foobar.auth0.com` Example: `1234567-compute@developer.gserviceaccount.com`", + "type": "string" + }, + "jwks": { + "description": "JSON Web Key Set of public keys to validate signature of the JWT. See https://auth0.com/docs/jwks.\n\nNote: Only one of `jwksUri` and `jwks` should be used.", + "type": "string" + }, + "jwksUri": { + "description": "URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata).\n\nOptional if the key set document can either (a) be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer or (b) inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: `https://www.googleapis.com/oauth2/v1/certs`\n\nNote: Only one of `jwksUri` and `jwks` should be used.", + "type": "string" + }, + "outputClaimToHeaders": { + "description": "This field specifies a list of operations to copy the claim to HTTP headers on a successfully verified token. This differs from the `output_payload_to_header` by allowing outputting individual claims instead of the whole payload. The header specified in each operation in the list must be unique. Nested claims of type string/int/bool is supported as well. ```\n\n\toutputClaimToHeaders:\n\t- header: x-my-company-jwt-group\n\t claim: my-group\n\t- header: x-test-environment-flag\n\t claim: test-flag\n\t- header: x-jwt-claim-group\n\t claim: nested.key.group\n\n``` [Experimental] This feature is a experimental feature.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.security.v1beta1.ClaimToHeader" + } + }, + "outputPayloadToHeader": { + "description": "This field specifies the header name to output a successfully verified JWT payload to the backend. The forwarded data is `base64_encoded(jwt_payload_in_JSON)`. If it is not specified, the payload will not be emitted.", + "type": "string" + }, + "timeout": { + "description": "The maximum amount of time that the resolver, determined by the PILOT_JWT_ENABLE_REMOTE_JWKS environment variable, will spend waiting for the JWKS to be fetched. Default is 5s.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "JWTRule", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.Operation": { + "description": "Operation specifies the operations of a request. Fields in the operation are ANDed together.\n\nFor example, the following operation matches if the host has suffix `.example.com` and the method is `GET` or `HEAD` and the path doesn't have prefix `/admin`.\n\n```yaml hosts: [\"*.example.com\"] methods: [\"GET\", \"HEAD\"] notPaths: [\"/admin*\"] ```", + "type": "object", + "properties": { + "hosts": { + "description": "Optional. A list of hosts as specified in the HTTP request. The match is case-insensitive. See the [security best practices](https://istio.io/latest/docs/ops/best-practices/security/#writing-host-match-policies) for recommended usage of this field.\n\nIf not set, any host is allowed. Must be used only with HTTP.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "methods": { + "description": "Optional. A list of methods as specified in the HTTP request. For gRPC service, this will always be `POST`.\n\nIf not set, any method is allowed. Must be used only with HTTP.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notHosts": { + "description": "Optional. A list of negative match of hosts as specified in the HTTP request. The match is case-insensitive.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notMethods": { + "description": "Optional. A list of negative match of methods as specified in the HTTP request.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notPaths": { + "description": "Optional. A list of negative match of paths.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notPorts": { + "description": "Optional. A list of negative match of ports as specified in the connection.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "paths": { + "description": "Optional. A list of paths as specified in the HTTP request. See the [Authorization Policy Normalization](https://istio.io/latest/docs/reference/config/security/normalization/) for details of the path normalization. For gRPC service, this will be the fully-qualified name in the form of `/package.service/method`.\n\nIf a path in the list contains the `{*}` or `{**}` path template operator, it will be interpreted as an [Envoy Uri Template](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/path/match/uri_template/v3/uri_template_match.proto). To be a valid path template, the path must not contain `*`, `{`, or `}` outside of a supported operator. No other characters are allowed in the path segment with the path template operator. - `{*}` matches a single glob that cannot extend beyond a path segment. - `{**}` matches zero or more globs. If a path contains `{**}`, it must be the last operator.\n\nExamples: - `/foo/{*}` matches `/foo/bar` but not `/foo/bar/baz` - `/foo/{**}/` matches `/foo/bar/`, `/foo/bar/baz.txt`, and `/foo//` but not `/foo/bar` - `/foo/{*}/bar/{**}` matches `/foo/buzz/bar/` and `/foo/buzz/bar/baz` - `/*/baz/{*}` is not a valid path template since it includes `*` outside of a supported operator - `/**/baz/{*}` is not a valid path template since it includes `**` outside of a supported operator - `/{**}/foo/{*}` is not a valid path template since `{**}` is not the last operator - `/foo/{*}.txt` is invalid since there are characters other than `{*}` in the path segment\n\nIf not set, any path is allowed. Must be used only with HTTP.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "ports": { + "description": "Optional. A list of ports as specified in the connection.\n\nIf not set, any port is allowed.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "Operation", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.PeerAuthentication": { + "description": "PeerAuthentication defines mutual TLS (mTLS) requirements for incoming connections.\n\nIn sidecar mode, PeerAuthentication determines whether or not mTLS is allowed or required for connections to an Envoy proxy sidecar.\n\nIn ambient mode, security is transparently enabled for a pod by the ztunnel node agent. (Traffic between proxies uses the HBONE protocol, which includes encryption with mTLS.) Because of this, `DISABLE` mode is not supported. `STRICT` mode is useful to ensure that connections that bypass the mesh are not possible.\n\nExamples:\n\nPolicy to require mTLS traffic for all workloads under namespace `foo`: ```yaml apiVersion: security.istio.io/v1 kind: PeerAuthentication metadata:\n\n\tname: default\n\tnamespace: foo\n\nspec:\n\n\tmtls:\n\t mode: STRICT\n\n``` For mesh level, put the policy in root-namespace according to your Istio installation.\n\nPolicies to allow both mTLS and plaintext traffic for all workloads under namespace `foo`, but require mTLS for workload `finance`. ```yaml apiVersion: security.istio.io/v1 kind: PeerAuthentication metadata:\n\n\tname: default\n\tnamespace: foo\n\nspec:\n\n\tmtls:\n\t mode: PERMISSIVE", + "type": "object", + "properties": { + "mtls": { + "description": "Mutual TLS settings for workload. If not defined, inherit from parent.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.PeerAuthentication_MutualTLS" + }, + "portLevelMtls": { + "description": "Port specific mutual TLS settings. These only apply when a workload selector is specified. The port refers to the port of the workload, not the port of the Kubernetes service.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.istio.api.security.v1beta1.PeerAuthentication_MutualTLS" + } + }, + "selector": { + "description": "The selector determines the workloads to apply the PeerAuthentication on. The selector will match with workloads in the same namespace as the policy. If the policy is in the root namespace, the selector will additionally match with workloads in all namespace.\n\nIf not set, the policy will be applied to all workloads in the same namespace as the policy. If it is in the root namespace, it would be applied to all workloads in the mesh.", + "$ref": "#/definitions/io.istio.api.type.v1beta1.WorkloadSelector" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1beta1", + "Kind": "PeerAuthentication", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.PeerAuthentication_MutualTLS": { + "description": "Mutual TLS settings.", + "type": "object", + "properties": { + "mode": { + "description": "Defines the mTLS mode used for peer authentication.", + "default": {}, + "$ref": "#/definitions/io.istio.api.security.v1beta1.PeerAuthentication_MutualTLS_Mode" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "PeerAuthentication_MutualTLS", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.PeerAuthentication_MutualTLS_Mode": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "PeerAuthentication_MutualTLS_Mode", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "DISABLE(1),PERMISSIVE(2),STRICT(3),UNSET(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.security.v1beta1.RequestAuthentication": { + "description": "RequestAuthentication defines what request authentication methods are supported by a workload. It will reject a request if the request contains invalid authentication information, based on the configured authentication rules. A request that does not contain any authentication credentials will be accepted but will not have any authenticated identity. To restrict access to authenticated requests only, this should be accompanied by an authorization rule. Examples:\n\n- Require JWT for all request for workloads that have label `app:httpbin`\n\n```yaml apiVersion: security.istio.io/v1 kind: RequestAuthentication metadata:\n\n\tname: httpbin\n\tnamespace: foo\n\nspec:\n\n\tselector:\n\t matchLabels:\n\t app: httpbin\n\tjwtRules:\n\t- issuer: \"issuer-foo\"\n\t jwksUri: https://example.com/.well-known/jwks.json", + "type": "object", + "properties": { + "jwtRules": { + "description": "Define the list of JWTs that can be validated at the selected workloads' proxy. A valid token will be used to extract the authenticated identity. Each rule will be activated only when a token is presented at the location recognized by the rule. The token will be validated based on the JWT rule config. If validation fails, the request will be rejected. Note: Requests with multiple tokens (at different locations) are not supported, the output principal of such requests is undefined.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.security.v1beta1.JWTRule" + } + }, + "selector": { + "description": "Optional. The selector decides where to apply the request authentication policy. The selector will match with workloads in the same namespace as the request authentication policy. If the request authentication policy is in the root namespace, the selector will additionally match with workloads in all namespaces.\n\nIf not set, the selector will match all workloads.\n\nAt most one of `selector` or `targetRefs` can be set for a given policy.", + "$ref": "#/definitions/io.istio.api.type.v1beta1.WorkloadSelector" + }, + "targetRef": { + "description": "$hide_from_docs", + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + }, + "targetRefs": { + "description": "Optional. The targetRefs specifies a list of resources the policy should be applied to. The targeted resources specified will determine which workloads the policy applies to.\n\nCurrently, the following resource attachment types are supported: * `kind: Gateway` with `group: gateway.networking.k8s.io` in the same namespace. * `kind: Service` with `\"\"` in the same namespace. This type is only supported for waypoints.\n\nIf not set, the policy is applied as defined by the selector. At most one of the selector and targetRefs can be set.\n\nNOTE: If you are using the `targetRefs` field in a multi-revision environment with Istio versions prior to 1.22, it is highly recommended that you pin the policy to a revision running 1.22+ via the `istio.io/rev` label. This is to prevent proxies connected to older control planes (that don't know about the `targetRefs` field) from misinterpreting the policy as namespace-wide during the upgrade process.\n\nNOTE: Waypoint proxies are required to use this field for policies to apply; `selector` policies will be ignored.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + } + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1beta1", + "Kind": "RequestAuthentication", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.Rule": { + "description": "Rule matches requests from a list of sources that perform a list of operations subject to a list of conditions. A match occurs when at least one source, one operation and all conditions matches the request. An empty rule is always matched.\n\nAny string field in the rule supports Exact, Prefix, Suffix and Presence match:\n\n- Exact match: `abc` will match on value `abc`. - Prefix match: `abc*` will match on value `abc` and `abcd`. - Suffix match: `*abc` will match on value `abc` and `xabc`. - Presence match: `*` will match when value is not empty.", + "type": "object", + "properties": { + "from": { + "description": "Optional. `from` specifies the source of a request.\n\nIf not set, any source is allowed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.security.v1beta1.Rule_From" + } + }, + "to": { + "description": "Optional. `to` specifies the operation of a request.\n\nIf not set, any operation is allowed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.security.v1beta1.Rule_To" + } + }, + "when": { + "description": "Optional. `when` specifies a list of additional conditions of a request.\n\nIf not set, any condition is allowed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.security.v1beta1.Condition" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "Rule", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.Rule_From": { + "description": "From includes a list of sources.", + "type": "object", + "properties": { + "source": { + "description": "Source specifies the source of a request.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.Source" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "Rule_From", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.Rule_To": { + "description": "To includes a list of operations.", + "type": "object", + "properties": { + "operation": { + "description": "Operation specifies the operation of a request.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.Operation" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "Rule_To", + "Scope": "Namespaced" + } + }, + "io.istio.api.security.v1beta1.Source": { + "description": "Source specifies the source identities of a request. Fields in the source are ANDed together.\n\nFor example, the following source matches if the principal is `admin` or `dev` and the namespace is `prod` or `test` and the ip is not `203.0.113.4`.\n\n```yaml principals: [\"admin\", \"dev\"] namespaces: [\"prod\", \"test\"] notIpBlocks: [\"203.0.113.4\"] ```", + "type": "object", + "properties": { + "ipBlocks": { + "description": "Optional. A list of IP blocks, populated from the source address of the IP packet. Single IP (e.g. `203.0.113.4`) and CIDR (e.g. `203.0.113.0/24`) are supported. This is the same as the `source.ip` attribute.\n\nIf not set, any IP is allowed.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "namespaces": { + "description": "Optional. A list of namespaces derived from the peer certificate. This field requires mTLS enabled and is the same as the `source.namespace` attribute.\n\nIf not set, any namespace is allowed.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notIpBlocks": { + "description": "Optional. A list of negative match of IP blocks.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notNamespaces": { + "description": "Optional. A list of negative match of namespaces.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notPrincipals": { + "description": "Optional. A list of negative match of peer identities.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notRemoteIpBlocks": { + "description": "Optional. A list of negative match of remote IP blocks.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "notRequestPrincipals": { + "description": "Optional. A list of negative match of request identities.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "principals": { + "description": "Optional. A list of peer identities derived from the peer certificate. The peer identity is in the format of `\"\u003cTRUST_DOMAIN\u003e/ns/\u003cNAMESPACE\u003e/sa/\u003cSERVICE_ACCOUNT\u003e\"`, for example, `\"cluster.local/ns/default/sa/productpage\"`. This field requires mTLS enabled and is the same as the `source.principal` attribute.\n\nIf not set, any principal is allowed.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "remoteIpBlocks": { + "description": "Optional. A list of IP blocks, populated from `X-Forwarded-For` header or proxy protocol. To make use of this field, you must configure the `numTrustedProxies` field of the `gatewayTopology` under the `meshConfig` when you install Istio or using an annotation on the ingress gateway. See the documentation here: [Configuring Gateway Network Topology](https://istio.io/latest/docs/ops/configuration/traffic-management/network-topologies/). Single IP (e.g. `203.0.113.4`) and CIDR (e.g. `203.0.113.0/24`) are supported. This is the same as the `remote.ip` attribute.\n\nIf not set, any IP is allowed.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "requestPrincipals": { + "description": "Optional. A list of request identities derived from the JWT. The request identity is in the format of `\"\u003cISS\u003e/\u003cSUB\u003e\"`, for example, `\"example.com/sub-1\"`. This field requires request authentication enabled and is the same as the `request.auth.principal` attribute.\n\nIf not set, any request principal is allowed.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "Source", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.AccessLogging": { + "description": "Access logging defines the workload-level overrides for access log generation. It can be used to select provider or enable/disable access log generation for a workload.", + "type": "object", + "properties": { + "disabled": { + "description": "Controls logging. If set to true, no access logs will be generated for impacted workloads (for the specified providers). NOTE: currently default behavior will be controlled by the provider(s) selected above. Customization controls will be added to this API in future releases.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.BoolValue" + }, + "filter": { + "description": "Optional. If specified, this filter will be used to select specific requests/connections for logging.", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.AccessLogging_Filter" + }, + "match": { + "description": "Allows tailoring of logging behavior to specific conditions.", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.AccessLogging_LogSelector" + }, + "providers": { + "description": "Optional. Name of providers to which this configuration should apply. If a provider is not specified, the [default logging provider](https://istio.io/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-DefaultProviders) will be used.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.ProviderRef" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AccessLogging", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.AccessLogging_Filter": { + "description": "Allows specification of an access log filter.", + "type": "object", + "properties": { + "expression": { + "description": "CEL expression for selecting when requests/connections should be logged.\n\nExamples:\n\n- `response.code \u003e= 400` - `connection.mtls \u0026\u0026 request.url_path.contains('v1beta3')` - `!has(request.useragent) || !(request.useragent.startsWith(\"Amazon-Route53-Health-Check-Service\"))`", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AccessLogging_Filter", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.AccessLogging_LogSelector": { + "description": "LogSelector provides a coarse-grained ability to configure logging behavior based on certain traffic metadata (such as traffic direction). LogSelector applies to traffic metadata which is not represented in the attribute set currently supported by [filters](https://istio.io/latest/docs/reference/config/telemetry/#AccessLogging-Filter). It allows control planes to limit the configuration sent to individual workloads. Finer-grained logging behavior can be further configured via `filter`.", + "type": "object", + "properties": { + "mode": { + "description": "This determines whether or not to apply the access logging configuration based on the direction of traffic relative to the proxied workload.", + "default": {}, + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.WorkloadMode" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "AccessLogging_LogSelector", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.IsMetricSelector_MetricMatch": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "IsMetricSelector_MetricMatch", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "MetricSelector_CustomMetric,MetricSelector_Metric", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.telemetry.v1alpha1.IsTracing_CustomTag_Type": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "IsTracing_CustomTag_Type", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implementation": "Tracing_CustomTag_Environment,Tracing_CustomTag_Header,Tracing_CustomTag_Literal", + "x-kubernetes-fabric8-type": "interface" + }, + "io.istio.api.telemetry.v1alpha1.MetricSelector": { + "description": "Provides a mechanism for matching metrics for the application of override behaviors.", + "type": "object", + "required": [ + "MetricMatch" + ], + "properties": { + "MetricMatch": { + "description": "Controls which metric(s) are selected by the selector.\n\nTypes that are assignable to MetricMatch:\n\n\t*MetricSelector_Metric\n\t*MetricSelector_CustomMetric", + "default": {}, + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.IsMetricSelector_MetricMatch" + }, + "mode": { + "description": "Controls which mode of metrics generation is selected: `CLIENT`, `SERVER`, or `CLIENT_AND_SERVER`.", + "default": {}, + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.WorkloadMode" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "MetricSelector", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "MetricMatch" + }, + "io.istio.api.telemetry.v1alpha1.MetricSelector_CustomMetric": { + "type": "object", + "required": [ + "customMetric" + ], + "properties": { + "customMetric": { + "description": "Allows free-form specification of a metric. No validation of custom metrics is provided.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "MetricSelector_CustomMetric", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsMetricSelector_MetricMatch" + }, + "io.istio.api.telemetry.v1alpha1.MetricSelector_IstioMetric": { + "description": "Curated list of known metric types that is supported by Istio metric providers. See also: https://istio.io/latest/docs/reference/config/metrics/#metrics", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "MetricSelector_IstioMetric", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "ALL_METRICS(0),GRPC_REQUEST_MESSAGES(9),GRPC_RESPONSE_MESSAGES(10),REQUEST_COUNT(1),REQUEST_DURATION(2),REQUEST_SIZE(3),RESPONSE_SIZE(4),TCP_CLOSED_CONNECTIONS(6),TCP_OPENED_CONNECTIONS(5),TCP_RECEIVED_BYTES(8),TCP_SENT_BYTES(7)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.telemetry.v1alpha1.MetricSelector_Metric": { + "type": "object", + "required": [ + "metric" + ], + "properties": { + "metric": { + "description": "One of the well-known [Istio Standard Metrics](https://istio.io/latest/docs/reference/config/metrics/).", + "default": {}, + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.MetricSelector_IstioMetric" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "MetricSelector_Metric", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsMetricSelector_MetricMatch" + }, + "io.istio.api.telemetry.v1alpha1.Metrics": { + "description": "Metrics defines the workload-level overrides for metrics generation behavior within a mesh. It can be used to enable/disable metrics generation, as well as to customize the dimensions of the generated metrics.", + "type": "object", + "properties": { + "overrides": { + "description": "Optional. Ordered list of overrides to metrics generation behavior.\n\nSpecified overrides will be applied in order. They will be applied on top of inherited overrides from other resources in the hierarchy in the following order: 1. Mesh-scoped overrides 2. Namespace-scoped overrides 3. Workload-scoped overrides\n\nBecause overrides are applied in order, users are advised to order their overrides from least specific to most specific matches. That is, it is a best practice to list any universal overrides first, with tailored overrides following them.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.MetricsOverrides" + } + }, + "providers": { + "description": "Optional. Name of providers to which this configuration should apply. If a provider is not specified, the [default metrics provider](https://istio.io/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-DefaultProviders) will be used.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.ProviderRef" + } + }, + "reportingInterval": { + "description": "Optional. Reporting interval allows configuration of the time between calls out to for metrics reporting. This currently only supports TCP metrics but we may use this for long duration HTTP streams in the future. The default duration is `5s`.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.durationpb.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Metrics", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.MetricsOverrides": { + "description": "MetricsOverrides defines custom metric generation behavior for an individual metric or the set of all standard metrics.", + "type": "object", + "properties": { + "disabled": { + "description": "Optional. Must explicitly set this to `true` to turn off metrics reporting for the listed metrics. If disabled has been set to `true` in a parent configuration, it must explicitly be set to `false` to turn metrics reporting on in the workloads selected by the Telemetry resource.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.BoolValue" + }, + "match": { + "description": "Match allows providing the scope of the override. It can be used to select individual metrics, as well as the workload modes (server, client, or both) in which the metrics will be generated.\n\nIf match is not specified, the overrides will apply to *all* metrics for *both* modes of operation (client and server).", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.MetricSelector" + }, + "tagOverrides": { + "description": "Optional. Collection of tag names and tag expressions to override in the selected metric(s). The key in the map is the name of the tag. The value in the map is the operation to perform on the the tag. WARNING: some providers may not support adding/removing tags. See also: https://istio.io/latest/docs/reference/config/metrics/#labels", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.MetricsOverrides_TagOverride" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "MetricsOverrides", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.MetricsOverrides_TagOverride": { + "description": "TagOverride specifies an operation to perform on a metric dimension (also known as a `label`). Tags may be added, removed, or have their default values overridden.", + "type": "object", + "properties": { + "operation": { + "description": "Operation controls whether or not to update/add a tag, or to remove it.", + "default": {}, + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.MetricsOverrides_TagOverride_Operation" + }, + "value": { + "description": "Value is only considered if the operation is `UPSERT`. Values are [CEL expressions](https://opensource.google/projects/cel) over attributes. Examples include: `string(destination.port)` and `request.host`. Istio exposes all standard [Envoy attributes](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes). Additionally, Istio exposes node metadata as attributes. More information is provided in the [customization docs](https://istio.io/latest/docs/tasks/observability/metrics/customize-metrics/#use-expressions-for-values).", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "MetricsOverrides_TagOverride", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.MetricsOverrides_TagOverride_Operation": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "MetricsOverrides_TagOverride_Operation", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "REMOVE(1),UPSERT(0)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.telemetry.v1alpha1.ProviderRef": { + "description": "Used to bind Telemetry configuration to specific providers for targeted customization.", + "type": "object", + "properties": { + "name": { + "description": "Required. Name of Telemetry provider in [MeshConfig](https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-ExtensionProvider).", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "ProviderRef", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.Telemetry": { + "description": "\u003c!-- crd generation tags is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "properties": { + "accessLogging": { + "description": "Optional. Access logging configures the access logging behavior for all selected workloads.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.AccessLogging" + } + }, + "metrics": { + "description": "Optional. Metrics configures the metrics behavior for all selected workloads.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Metrics" + } + }, + "selector": { + "description": "Optional. The selector decides where to apply the policy. If not set, the policy will be applied to all workloads in the same namespace as the policy.\n\nAt most one of `selector` or `targetRefs` can be set for a given policy.", + "$ref": "#/definitions/io.istio.api.type.v1beta1.WorkloadSelector" + }, + "targetRef": { + "description": "$hide_from_docs", + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + }, + "targetRefs": { + "description": "Optional. The targetRefs specifies a list of resources the policy should be applied to. The targeted resources specified will determine which workloads the policy applies to.\n\nCurrently, the following resource attachment types are supported: * `kind: Gateway` with `group: gateway.networking.k8s.io` in the same namespace. * `kind: Service` with `\"\"` in the same namespace. This type is only supported for waypoints.\n\nIf not set, the policy is applied as defined by the selector. At most one of the selector and targetRefs can be set.\n\nNOTE: If you are using the `targetRefs` field in a multi-revision environment with Istio versions prior to 1.22, it is highly recommended that you pin the policy to a revision running 1.22+ via the `istio.io/rev` label. This is to prevent proxies connected to older control planes (that don't know about the `targetRefs` field) from misinterpreting the policy as namespace-wide during the upgrade process.\n\nNOTE: Waypoint proxies are required to use this field for policies to apply; `selector` policies will be ignored.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.type.v1beta1.PolicyTargetReference" + } + }, + "tracing": { + "description": "Optional. Tracing configures the tracing behavior for all selected workloads.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Tracing" + } + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1alpha1", + "Kind": "Telemetry", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.Tracing": { + "description": "Tracing configures tracing behavior for workloads within a mesh. It can be used to enable/disable tracing, as well as to set sampling rates and custom tag extraction.\n\nTracing configuration support overrides of the fields `providers`, `random_sampling_percentage`, `disable_span_reporting`, and `custom_tags` at each level in the configuration hierarchy, with missing values filled in from parent resources. However, when specified, `custom_tags` will fully replace any values provided by parent configuration.", + "type": "object", + "properties": { + "customTags": { + "description": "Optional. Configures additional custom tags to the generated trace spans.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Tracing_CustomTag" + } + }, + "disableSpanReporting": { + "description": "Controls span reporting. If set to true, no spans will be reported for impacted workloads. This does NOT impact context propagation or trace sampling behavior.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.BoolValue" + }, + "match": { + "description": "Allows tailoring of behavior to specific conditions.", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Tracing_TracingSelector" + }, + "providers": { + "description": "Optional. Name of provider(s) to use for span reporting. If a provider is not specified, the [default tracing provider](https://istio.io/docs/reference/config/istio.mesh.v1alpha1/#MeshConfig-DefaultProviders) will be used. NOTE: At the moment, only a single provider can be specified in a given Tracing rule.", + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.ProviderRef" + } + }, + "randomSamplingPercentage": { + "description": "Controls the rate at which traffic will be selected for tracing if no prior sampling decision has been made. If a prior sampling decision has been made, that decision will be respected. However, if no sampling decision has been made (example: no `x-b3-sampled` tracing header was present in the requests), the traffic will be selected for telemetry generation at the percentage specified.\n\nDefaults to 0%. Valid values [0.00-100.00]. Can be specified in 0.01% increments.", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.DoubleValue" + }, + "useRequestIdForTraceSampling": { + "description": "This value is true by default; Envoy decides whether or not to sample based on the value of the Request ID generated by Ingress in distributed tracing. The format of this Request ID is specific to Envoy, and if the Request ID generated by the proxy that receives user traffic first is not specific to Envoy, Envoy will break the trace because it cannot interpret the Request ID. By setting this value to false, we can prevent Envoy from sampling based on the Request ID. As a result, the trace will not be broken even if the Request ID is not in the Envoy format. [Trace Context Propagation](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/observability/tracing#trace-context-propagation) provides more information on Request ID handling. $hide_from_docs", + "$ref": "#/definitions/org.golang.google.protobuf.types.known.wrapperspb.BoolValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.Tracing_CustomTag": { + "description": "CustomTag defines a tag to be added to a trace span that is based on an operator-supplied value. This value can either be a hard-coded value, a value taken from an environment variable known to the sidecar proxy, or from a request header.\n\nNOTE: when specified, `custom_tags` will fully replace any values provided by parent configuration.", + "type": "object", + "required": [ + "Type" + ], + "properties": { + "Type": { + "description": "Types that are assignable to Type:\n\n\t*Tracing_CustomTag_Literal\n\t*Tracing_CustomTag_Environment\n\t*Tracing_CustomTag_Header", + "default": {}, + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.IsTracing_CustomTag_Type" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing_CustomTag", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-interface-fields": "Type" + }, + "io.istio.api.telemetry.v1alpha1.Tracing_CustomTag_Environment": { + "type": "object", + "required": [ + "environment" + ], + "properties": { + "environment": { + "description": "Environment adds the value of an environment variable to each span.", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Tracing_Environment" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing_CustomTag_Environment", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsTracing_CustomTag_Type" + }, + "io.istio.api.telemetry.v1alpha1.Tracing_CustomTag_Header": { + "type": "object", + "required": [ + "header" + ], + "properties": { + "header": { + "description": "RequestHeader adds the value of an header from the request to each span.", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Tracing_RequestHeader" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing_CustomTag_Header", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsTracing_CustomTag_Type" + }, + "io.istio.api.telemetry.v1alpha1.Tracing_CustomTag_Literal": { + "type": "object", + "required": [ + "literal" + ], + "properties": { + "literal": { + "description": "Literal adds the same, hard-coded value to each span.", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Tracing_Literal" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing_CustomTag_Literal", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-implements": "IsTracing_CustomTag_Type" + }, + "io.istio.api.telemetry.v1alpha1.Tracing_Environment": { + "type": "object", + "properties": { + "defaultValue": { + "description": "Optional. If the environment variable is not found, this value will be used instead.", + "type": "string" + }, + "name": { + "description": "Name of the environment variable from which to extract the tag value.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing_Environment", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.Tracing_Literal": { + "type": "object", + "properties": { + "value": { + "description": "The tag value to use.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing_Literal", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.Tracing_RequestHeader": { + "type": "object", + "properties": { + "defaultValue": { + "description": "Optional. If the header is not found, this value will be used instead.", + "type": "string" + }, + "name": { + "description": "Name of the header from which to extract the tag value.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing_RequestHeader", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.Tracing_TracingSelector": { + "description": "TracingSelector provides a coarse-grained ability to configure tracing behavior based on certain traffic metadata (such as traffic direction).", + "type": "object", + "properties": { + "mode": { + "description": "This determines whether or not to apply the tracing configuration based on the direction of traffic relative to the proxied workload.", + "default": {}, + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.WorkloadMode" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "Tracing_TracingSelector", + "Scope": "Namespaced" + } + }, + "io.istio.api.telemetry.v1alpha1.WorkloadMode": { + "description": "WorkloadMode allows selection of the role of the underlying workload in network traffic. A workload is considered as acting as a `SERVER` if it is the destination of the traffic (that is, traffic direction, from the perspective of the workload is *inbound*). If the workload is the source of the network traffic, it is considered to be in `CLIENT` mode (traffic is *outbound* from the workload).", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1alpha1", + "Kind": "WorkloadMode", + "Scope": "Namespaced" + }, + "x-kubernetes-fabric8-enum-values": "CLIENT(1),CLIENT_AND_SERVER(0),SERVER(2)", + "x-kubernetes-fabric8-type": "enum" + }, + "io.istio.api.type.v1beta1.PolicyTargetReference": { + "description": "PolicyTargetReference format as defined by [GEP-2648](https://gateway-api.sigs.k8s.io/geps/gep-2648/#direct-policy-design-rules).\n\nPolicyTargetReference specifies the targeted resource which the policy should be applied to. It must only target a single resource at a time, but it can be used to target larger resources such as Gateways that may apply to multiple child resources. The PolicyTargetReference will be used instead of a WorkloadSelector in the RequestAuthentication, AuthorizationPolicy, Telemetry, and WasmPlugin CRDs to target a Kubernetes Gateway.\n\nThe following is an example of an AuthorizationPolicy bound to a waypoint proxy using a PolicyTargetReference. The example sets `action` to `DENY` to create a deny policy. It denies all the requests with `POST` method on port `8080` directed through the `waypoint` Gateway in the `foo` namespace.\n\n```yaml apiVersion: security.istio.io/v1 kind: AuthorizationPolicy metadata:\n\n\tname: httpbin\n\tnamespace: foo\n\nspec:\n\n\ttargetRefs:\n\t- name: waypoint\n\t kind: Gateway\n\t group: gateway.networking.k8s.io\n\taction: DENY\n\trules:\n\t- to:\n\t - operation:\n\t methods: [\"POST\"]\n\t ports: [\"8080\"]\n\n```", + "type": "object", + "properties": { + "group": { + "description": "group is the group of the target resource.", + "type": "string" + }, + "kind": { + "description": "kind is kind of the target resource.", + "type": "string" + }, + "name": { + "description": "name is the name of the target resource.", + "type": "string" + }, + "namespace": { + "description": "namespace is the namespace of the referent. When unspecified, the local namespace is inferred.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "PolicyTargetReference", + "Scope": "Namespaced" + } + }, + "io.istio.api.type.v1beta1.PortSelector": { + "description": "PortSelector is the criteria for specifying if a policy can be applied to a listener having a specific port.", + "type": "object", + "properties": { + "number": { + "description": "Port number", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "PortSelector", + "Scope": "Namespaced" + } + }, + "io.istio.api.type.v1beta1.WorkloadSelector": { + "description": "WorkloadSelector specifies the criteria used to determine if a policy can be applied to a proxy. The matching criteria includes the metadata associated with a proxy, workload instance info such as labels attached to the pod/VM, or any other info that the proxy provides to Istio during the initial handshake. If multiple conditions are specified, all conditions need to match in order for the workload instance to be selected. Currently, only label based selection mechanism is supported.", + "type": "object", + "properties": { + "matchLabels": { + "description": "One or more labels that indicate a specific set of pods/VMs on which a policy should be applied. The scope of label search is restricted to the configuration namespace in which the resource is present.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "v1beta1", + "Kind": "WorkloadSelector", + "Scope": "Namespaced" + } + }, + "io.istio.extensions.v1alpha1.WasmPlugin": { + "description": "WasmPlugins provides a mechanism to extend the functionality provided by the Istio proxy through WebAssembly filters.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.extensions.v1alpha1.WasmPlugin" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "extensions.istio.io", + "Version": "v1alpha1", + "Kind": "WasmPlugin", + "Scope": "Namespaced" + } + }, + "io.istio.extensions.v1alpha1.WasmPluginList": { + "description": "WasmPluginList is a collection of WasmPlugins.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.extensions.v1alpha1.WasmPlugin" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "extensions.istio.io", + "Version": "v1alpha1", + "Kind": "WasmPluginList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.DestinationRule": { + "description": "DestinationRule defines policies that apply to traffic intended for a service after routing has occurred.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.DestinationRule" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "DestinationRule", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.DestinationRuleList": { + "description": "DestinationRuleList is a collection of DestinationRules.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1.DestinationRule" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "DestinationRuleList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.Gateway": { + "description": "Gateway describes a load balancer operating at the edge of the mesh receiving incoming or outgoing HTTP/TCP connections.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Gateway" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "Gateway", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.GatewayList": { + "description": "GatewayList is a collection of Gateways.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1.Gateway" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "GatewayList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.ServiceEntry": { + "description": "ServiceEntry enables adding additional entries into Istio's internal service registry.\n\n\u003c!-- crd generation tags mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)\" (NONE, STATIC, or DNS)\" representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags istiostatus-override: ServiceEntryStatus: istio.io/api/networking/v1alpha3 --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntry" + }, + "status": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntryStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "ServiceEntry", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.ServiceEntryList": { + "description": "ServiceEntryList is a collection of ServiceEntries.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1.ServiceEntry" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "ServiceEntryList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.Sidecar": { + "description": "`Sidecar` describes the configuration of the sidecar proxy that mediates inbound and outbound communication of the workload instance to which it is attached.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Sidecar" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "Sidecar", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.SidecarList": { + "description": "SidecarList is a collection of Sidecars.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1.Sidecar" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "SidecarList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.VirtualService": { + "description": "Configuration affecting traffic routing.\n\n\u003c!-- crd generation tags that should apply these routes\" representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.VirtualService" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "VirtualService", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.VirtualServiceList": { + "description": "VirtualServiceList is a collection of VirtualServices.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1.VirtualService" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "VirtualServiceList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.WorkloadEntry": { + "description": "WorkloadEntry enables specifying the properties of a single non-Kubernetes workload such a VM or a bare metal services that can be referred to by service entries.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadEntry" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "WorkloadEntry", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.WorkloadEntryList": { + "description": "WorkloadEntryList is a collection of WorkloadEntries.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1.WorkloadEntry" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "WorkloadEntryList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.WorkloadGroup": { + "description": "`WorkloadGroup` enables specifying the properties of a single workload for bootstrap and provides a template for `WorkloadEntry`, similar to how `Deployment` specifies properties of workloads via `Pod` templates. A `WorkloadGroup` can have more than one `WorkloadEntry`. `WorkloadGroup` has no relationship to resources which control service registry like `ServiceEntry` and as such doesn't configure host name for these workloads.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadGroup" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "WorkloadGroup", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1.WorkloadGroupList": { + "description": "WorkloadGroupList is a collection of WorkloadGroups.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1.WorkloadGroup" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1", + "Kind": "WorkloadGroupList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.DestinationRule": { + "description": "DestinationRule defines policies that apply to traffic intended for a service after routing has occurred.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.DestinationRule" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "DestinationRule", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.DestinationRuleList": { + "description": "DestinationRuleList is a collection of DestinationRules.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1alpha3.DestinationRule" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "DestinationRuleList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.EnvoyFilter": { + "description": "EnvoyFilter provides a mechanism to customize the Envoy configuration generated by Istio Pilot.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.EnvoyFilter" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "EnvoyFilter", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.EnvoyFilterList": { + "description": "EnvoyFilterList is a collection of EnvoyFilters.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1alpha3.EnvoyFilter" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "EnvoyFilterList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.Gateway": { + "description": "Gateway describes a load balancer operating at the edge of the mesh receiving incoming or outgoing HTTP/TCP connections.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Gateway" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "Gateway", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.GatewayList": { + "description": "GatewayList is a collection of Gateways.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1alpha3.Gateway" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "GatewayList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.ServiceEntry": { + "description": "ServiceEntry enables adding additional entries into Istio's internal service registry.\n\n\u003c!-- crd generation tags mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)\" (NONE, STATIC, or DNS)\" representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags istiostatus-override: ServiceEntryStatus: istio.io/api/networking/v1alpha3 --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntry" + }, + "status": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntryStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "ServiceEntry", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.ServiceEntryList": { + "description": "ServiceEntryList is a collection of ServiceEntries.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1alpha3.ServiceEntry" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "ServiceEntryList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.Sidecar": { + "description": "`Sidecar` describes the configuration of the sidecar proxy that mediates inbound and outbound communication of the workload instance to which it is attached.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Sidecar" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "Sidecar", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.SidecarList": { + "description": "SidecarList is a collection of Sidecars.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1alpha3.Sidecar" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "SidecarList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.VirtualService": { + "description": "Configuration affecting traffic routing.\n\n\u003c!-- crd generation tags that should apply these routes\" representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.VirtualService" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "VirtualService", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.VirtualServiceList": { + "description": "VirtualServiceList is a collection of VirtualServices.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1alpha3.VirtualService" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "VirtualServiceList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.WorkloadEntry": { + "description": "WorkloadEntry enables specifying the properties of a single non-Kubernetes workload such a VM or a bare metal services that can be referred to by service entries.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadEntry" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "WorkloadEntry", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.WorkloadEntryList": { + "description": "WorkloadEntryList is a collection of WorkloadEntries.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1alpha3.WorkloadEntry" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "WorkloadEntryList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.WorkloadGroup": { + "description": "`WorkloadGroup` enables specifying the properties of a single workload for bootstrap and provides a template for `WorkloadEntry`, similar to how `Deployment` specifies properties of workloads via `Pod` templates. A `WorkloadGroup` can have more than one `WorkloadEntry`. `WorkloadGroup` has no relationship to resources which control service registry like `ServiceEntry` and as such doesn't configure host name for these workloads.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadGroup" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "WorkloadGroup", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1alpha3.WorkloadGroupList": { + "description": "WorkloadGroupList is a collection of WorkloadGroups.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1alpha3.WorkloadGroup" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1alpha3", + "Kind": "WorkloadGroupList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.DestinationRule": { + "description": "DestinationRule defines policies that apply to traffic intended for a service after routing has occurred.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.DestinationRule" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "DestinationRule", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.DestinationRuleList": { + "description": "DestinationRuleList is a collection of DestinationRules.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1beta1.DestinationRule" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "DestinationRuleList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.Gateway": { + "description": "Gateway describes a load balancer operating at the edge of the mesh receiving incoming or outgoing HTTP/TCP connections.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Gateway" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "Gateway", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.GatewayList": { + "description": "GatewayList is a collection of Gateways.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1beta1.Gateway" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "GatewayList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.ProxyConfig": { + "description": "`ProxyConfig` exposes proxy level configuration options.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1beta1.ProxyConfig" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "ProxyConfig", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.ProxyConfigList": { + "description": "ProxyConfigList is a collection of ProxyConfigs.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1beta1.ProxyConfig" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "ProxyConfigList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.ServiceEntry": { + "description": "ServiceEntry enables adding additional entries into Istio's internal service registry.\n\n\u003c!-- crd generation tags mesh or part of the mesh (MESH_EXTERNAL or MESH_INTERNAL)\" (NONE, STATIC, or DNS)\" representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags istiostatus-override: ServiceEntryStatus: istio.io/api/networking/v1alpha3 --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntry" + }, + "status": { + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.ServiceEntryStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "ServiceEntry", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.ServiceEntryList": { + "description": "ServiceEntryList is a collection of ServiceEntries.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1beta1.ServiceEntry" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "ServiceEntryList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.Sidecar": { + "description": "`Sidecar` describes the configuration of the sidecar proxy that mediates inbound and outbound communication of the workload instance to which it is attached.\n\n\u003c!-- crd generation tags --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.Sidecar" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "Sidecar", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.SidecarList": { + "description": "SidecarList is a collection of Sidecars.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1beta1.Sidecar" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "SidecarList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.VirtualService": { + "description": "Configuration affecting traffic routing.\n\n\u003c!-- crd generation tags that should apply these routes\" representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.VirtualService" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "VirtualService", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.VirtualServiceList": { + "description": "VirtualServiceList is a collection of VirtualServices.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1beta1.VirtualService" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "VirtualServiceList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.WorkloadEntry": { + "description": "WorkloadEntry enables specifying the properties of a single non-Kubernetes workload such a VM or a bare metal services that can be referred to by service entries.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadEntry" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "WorkloadEntry", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.WorkloadEntryList": { + "description": "WorkloadEntryList is a collection of WorkloadEntries.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1beta1.WorkloadEntry" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "WorkloadEntryList", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.WorkloadGroup": { + "description": "`WorkloadGroup` enables specifying the properties of a single workload for bootstrap and provides a template for `WorkloadEntry`, similar to how `Deployment` specifies properties of workloads via `Pod` templates. A `WorkloadGroup` can have more than one `WorkloadEntry`. `WorkloadGroup` has no relationship to resources which control service registry like `ServiceEntry` and as such doesn't configure host name for these workloads.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.networking.v1alpha3.WorkloadGroup" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "WorkloadGroup", + "Scope": "Namespaced" + } + }, + "io.istio.networking.v1beta1.WorkloadGroupList": { + "description": "WorkloadGroupList is a collection of WorkloadGroups.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.networking.v1beta1.WorkloadGroup" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "networking.istio.io", + "Version": "v1beta1", + "Kind": "WorkloadGroupList", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1.AuthorizationPolicy": { + "description": "AuthorizationPolicy enables access control on workloads.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.AuthorizationPolicy" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "security.istio.io", + "Version": "v1", + "Kind": "AuthorizationPolicy", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1.AuthorizationPolicyList": { + "description": "AuthorizationPolicyList is a collection of AuthorizationPolicies.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.security.v1.AuthorizationPolicy" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "security.istio.io", + "Version": "v1", + "Kind": "AuthorizationPolicyList", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1.PeerAuthentication": { + "description": "PeerAuthentication defines mutual TLS (mTLS) requirements for incoming connections.\n\nIn sidecar mode, PeerAuthentication determines whether or not mTLS is allowed or required for connections to an Envoy proxy sidecar.\n\nIn ambient mode, security is transparently enabled for a pod by the ztunnel node agent. (Traffic between proxies uses the HBONE protocol, which includes encryption with mTLS.) Because of this, `DISABLE` mode is not supported. `STRICT` mode is useful to ensure that connections that bypass the mesh are not possible.\n\nExamples:\n\nPolicy to require mTLS traffic for all workloads under namespace `foo`: ```yaml apiVersion: security.istio.io/v1 kind: PeerAuthentication metadata:\n\n\tname: default\n\tnamespace: foo\n\nspec:\n\n\tmtls:\n\t mode: STRICT\n\n``` For mesh level, put the policy in root-namespace according to your Istio installation.\n\nPolicies to allow both mTLS and plaintext traffic for all workloads under namespace `foo`, but require mTLS for workload `finance`. ```yaml apiVersion: security.istio.io/v1 kind: PeerAuthentication metadata:\n\n\tname: default\n\tnamespace: foo\n\nspec:\n\n\tmtls:\n\t mode: PERMISSIVE", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.PeerAuthentication" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "security.istio.io", + "Version": "v1", + "Kind": "PeerAuthentication", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1.PeerAuthenticationList": { + "description": "PeerAuthenticationList is a collection of PeerAuthentications.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.security.v1.PeerAuthentication" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "security.istio.io", + "Version": "v1", + "Kind": "PeerAuthenticationList", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1.RequestAuthentication": { + "description": "RequestAuthentication defines what request authentication methods are supported by a workload. It will reject a request if the request contains invalid authentication information, based on the configured authentication rules. A request that does not contain any authentication credentials will be accepted but will not have any authenticated identity. To restrict access to authenticated requests only, this should be accompanied by an authorization rule. Examples:\n\n- Require JWT for all request for workloads that have label `app:httpbin`\n\n```yaml apiVersion: security.istio.io/v1 kind: RequestAuthentication metadata:\n\n\tname: httpbin\n\tnamespace: foo\n\nspec:\n\n\tselector:\n\t matchLabels:\n\t app: httpbin\n\tjwtRules:\n\t- issuer: \"issuer-foo\"\n\t jwksUri: https://example.com/.well-known/jwks.json", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.RequestAuthentication" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "security.istio.io", + "Version": "v1", + "Kind": "RequestAuthentication", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1.RequestAuthenticationList": { + "description": "RequestAuthenticationList is a collection of RequestAuthentications.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.security.v1.RequestAuthentication" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "security.istio.io", + "Version": "v1", + "Kind": "RequestAuthenticationList", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1beta1.AuthorizationPolicy": { + "description": "AuthorizationPolicy enables access control on workloads.\n\n\u003c!-- crd generation tags representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.AuthorizationPolicy" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "security.istio.io", + "Version": "v1beta1", + "Kind": "AuthorizationPolicy", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1beta1.AuthorizationPolicyList": { + "description": "AuthorizationPolicyList is a collection of AuthorizationPolicies.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.security.v1beta1.AuthorizationPolicy" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "security.istio.io", + "Version": "v1beta1", + "Kind": "AuthorizationPolicyList", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1beta1.PeerAuthentication": { + "description": "PeerAuthentication defines mutual TLS (mTLS) requirements for incoming connections.\n\nIn sidecar mode, PeerAuthentication determines whether or not mTLS is allowed or required for connections to an Envoy proxy sidecar.\n\nIn ambient mode, security is transparently enabled for a pod by the ztunnel node agent. (Traffic between proxies uses the HBONE protocol, which includes encryption with mTLS.) Because of this, `DISABLE` mode is not supported. `STRICT` mode is useful to ensure that connections that bypass the mesh are not possible.\n\nExamples:\n\nPolicy to require mTLS traffic for all workloads under namespace `foo`: ```yaml apiVersion: security.istio.io/v1 kind: PeerAuthentication metadata:\n\n\tname: default\n\tnamespace: foo\n\nspec:\n\n\tmtls:\n\t mode: STRICT\n\n``` For mesh level, put the policy in root-namespace according to your Istio installation.\n\nPolicies to allow both mTLS and plaintext traffic for all workloads under namespace `foo`, but require mTLS for workload `finance`. ```yaml apiVersion: security.istio.io/v1 kind: PeerAuthentication metadata:\n\n\tname: default\n\tnamespace: foo\n\nspec:\n\n\tmtls:\n\t mode: PERMISSIVE", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.PeerAuthentication" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "security.istio.io", + "Version": "v1beta1", + "Kind": "PeerAuthentication", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1beta1.PeerAuthenticationList": { + "description": "PeerAuthenticationList is a collection of PeerAuthentications.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.security.v1beta1.PeerAuthentication" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "security.istio.io", + "Version": "v1beta1", + "Kind": "PeerAuthenticationList", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1beta1.RequestAuthentication": { + "description": "RequestAuthentication defines what request authentication methods are supported by a workload. It will reject a request if the request contains invalid authentication information, based on the configured authentication rules. A request that does not contain any authentication credentials will be accepted but will not have any authenticated identity. To restrict access to authenticated requests only, this should be accompanied by an authorization rule. Examples:\n\n- Require JWT for all request for workloads that have label `app:httpbin`\n\n```yaml apiVersion: security.istio.io/v1 kind: RequestAuthentication metadata:\n\n\tname: httpbin\n\tnamespace: foo\n\nspec:\n\n\tselector:\n\t matchLabels:\n\t app: httpbin\n\tjwtRules:\n\t- issuer: \"issuer-foo\"\n\t jwksUri: https://example.com/.well-known/jwks.json", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.security.v1beta1.RequestAuthentication" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "security.istio.io", + "Version": "v1beta1", + "Kind": "RequestAuthentication", + "Scope": "Namespaced" + } + }, + "io.istio.security.v1beta1.RequestAuthenticationList": { + "description": "RequestAuthenticationList is a collection of RequestAuthentications.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.security.v1beta1.RequestAuthentication" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "security.istio.io", + "Version": "v1beta1", + "Kind": "RequestAuthenticationList", + "Scope": "Namespaced" + } + }, + "io.istio.telemetry.v1.Telemetry": { + "description": "\u003c!-- crd generation tags is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Telemetry" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "telemetry.istio.io", + "Version": "v1", + "Kind": "Telemetry", + "Scope": "Namespaced" + } + }, + "io.istio.telemetry.v1.TelemetryList": { + "description": "TelemetryList is a collection of Telemetries.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.telemetry.v1.Telemetry" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "telemetry.istio.io", + "Version": "v1", + "Kind": "TelemetryList", + "Scope": "Namespaced" + } + }, + "io.istio.telemetry.v1alpha1.Telemetry": { + "description": "\u003c!-- crd generation tags is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata\" --\u003e\n\n\u003c!-- go code generation tags --\u003e", + "type": "object", + "required": [ + "status" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the implementation of this definition.", + "$ref": "#/definitions/io.istio.api.telemetry.v1alpha1.Telemetry" + }, + "status": { + "$ref": "#/definitions/io.istio.api.meta.v1alpha1.IstioStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "telemetry.istio.io", + "Version": "v1alpha1", + "Kind": "Telemetry", + "Scope": "Namespaced" + } + }, + "io.istio.telemetry.v1alpha1.TelemetryList": { + "description": "TelemetryList is a collection of Telemetries.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/io.istio.telemetry.v1alpha1.Telemetry" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "telemetry.istio.io", + "Version": "v1alpha1", + "Kind": "TelemetryList", + "Scope": "Namespaced" + } + } + } +} \ No newline at end of file diff --git a/kubernetes-model-generator/pom.xml b/kubernetes-model-generator/pom.xml index a35c4ed9543..d77b96dd51b 100644 --- a/kubernetes-model-generator/pom.xml +++ b/kubernetes-model-generator/pom.xml @@ -82,6 +82,7 @@ ${project.parent.basedir}/openapi/schemas/openshift-generated.json ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/dev.knative.json ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/dev.tekton.json + ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/io.istio.json ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/io.k8s.autoscaling.json ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/io.k8s.storage.snapshot.json ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/sh.volcano.json @@ -173,6 +174,7 @@ io.fabric8.tekton.pipeline io.fabric8.knative io.fabric8.tekton + io.fabric8.istio.api io.fabric8.kubernetes.api.model io.fabric8.kubernetes.api.model io.fabric8.kubernetes.api.model diff --git a/pom.xml b/pom.xml index f1bd2603496..2b185a12c0a 100644 --- a/pom.xml +++ b/pom.xml @@ -553,12 +553,7 @@ io.fabric8 - istio-model-v1alpha3 - ${project.version} - - - io.fabric8 - istio-model-v1beta1 + istio-model ${project.version}