From a4231cb16e0f6a353436873defc1154cc07860a9 Mon Sep 17 00:00:00 2001 From: Marc Nuri Date: Wed, 13 Nov 2024 16:00:04 +0100 Subject: [PATCH] refactor: org.chaos-mesh generated from OpenAPI schemas Signed-off-by: Marc Nuri --- Makefile | 9 +- extensions/chaosmesh/generator/.gitignore | 1 - extensions/chaosmesh/generator/Makefile | 28 - .../generator/cmd/generate/generate.go | 95 - extensions/chaosmesh/generator/go.mod | 68 - extensions/chaosmesh/generator/go.sum | 980 -- extensions/chaosmesh/model/pom.xml | 51 +- .../chaosmesh/api/model/ChaosmeshSchema.java | 1821 ---- .../fabric8/chaosmesh/v1alpha1/AWSChaos.java | 11 +- .../chaosmesh/v1alpha1/AWSChaosSpec.java | 42 +- .../chaosmesh/v1alpha1/AWSSelector.java | 172 + .../chaosmesh/v1alpha1/AttrOverrideSpec.java | 8 +- .../chaosmesh/v1alpha1/AzureChaos.java | 212 + .../chaosmesh/v1alpha1/AzureChaosList.java | 203 + .../chaosmesh/v1alpha1/AzureChaosSpec.java | 228 + .../chaosmesh/v1alpha1/AzureChaosStatus.java | 134 + .../chaosmesh/v1alpha1/AzureSelector.java | 200 + .../chaosmesh/v1alpha1/BandwidthSpec.java | 14 +- .../chaosmesh/v1alpha1/BlockChaos.java | 11 +- .../chaosmesh/v1alpha1/BlockChaosSpec.java | 68 +- .../chaosmesh/v1alpha1/BlockChaosStatus.java | 8 +- .../chaosmesh/v1alpha1/CPUStressor.java | 8 +- .../fabric8/chaosmesh/v1alpha1/ChaosKind.java | 91 + .../v1alpha1/ChaosOnlyScheduleSpec.java | 368 + .../chaosmesh/v1alpha1/ChaosStatus.java | 134 + .../chaosmesh/v1alpha1/CidrAndPort.java | 130 + .../chaosmesh/v1alpha1/ConditionalBranch.java | 130 + .../v1alpha1/ConditionalBranchStatus.java | 130 + .../v1alpha1/ConditionalBranchesStatus.java | 136 + .../ContainerNodeVolumePathSelector.java | 176 + .../chaosmesh/v1alpha1/ContainerSelector.java | 162 + .../fabric8/chaosmesh/v1alpha1/DNSChaos.java | 11 +- .../chaosmesh/v1alpha1/DNSChaosSpec.java | 54 +- .../chaosmesh/v1alpha1/DiskFileSpec.java | 130 + .../chaosmesh/v1alpha1/EmbedChaos.java | 298 + .../chaosmesh/v1alpha1/EmbedStatusCheck.java | 116 + .../fabric8/chaosmesh/v1alpha1/ExpInfo.java | 704 ++ .../chaosmesh/v1alpha1/FailKernRequest.java | 14 +- .../chaosmesh/v1alpha1/FileAppendSpec.java | 144 + .../chaosmesh/v1alpha1/FileCreateSpec.java | 130 + .../chaosmesh/v1alpha1/FileDeleteSpec.java | 130 + .../v1alpha1/FileModifyPrivilegeSpec.java | 130 + .../chaosmesh/v1alpha1/FileRenameSpec.java | 130 + .../chaosmesh/v1alpha1/FileReplaceSpec.java | 158 + .../io/fabric8/chaosmesh/v1alpha1/Filter.java | 148 + .../fabric8/chaosmesh/v1alpha1/GCPChaos.java | 11 +- .../chaosmesh/v1alpha1/GCPChaosSpec.java | 54 +- .../chaosmesh/v1alpha1/GCPSelector.java | 162 + .../v1alpha1/GenericSelectorSpec.java | 168 + .../chaosmesh/v1alpha1/HTTPAbortSpec.java | 190 + .../fabric8/chaosmesh/v1alpha1/HTTPChaos.java | 11 +- .../chaosmesh/v1alpha1/HTTPChaosSpec.java | 86 +- .../chaosmesh/v1alpha1/HTTPChaosStatus.java | 8 +- .../chaosmesh/v1alpha1/HTTPCommonSpec.java | 190 + .../chaosmesh/v1alpha1/HTTPConfigSpec.java | 116 + .../chaosmesh/v1alpha1/HTTPCriteria.java | 116 + .../chaosmesh/v1alpha1/HTTPDelaySpec.java | 204 + .../chaosmesh/v1alpha1/HTTPRequestSpec.java | 144 + .../chaosmesh/v1alpha1/HTTPStatusCheck.java | 175 + .../fabric8/chaosmesh/v1alpha1/IOChaos.java | 11 +- .../chaosmesh/v1alpha1/IOChaosAction.java | 46 +- .../chaosmesh/v1alpha1/IOChaosSpec.java | 78 +- .../chaosmesh/v1alpha1/IOChaosStatus.java | 8 +- .../fabric8/chaosmesh/v1alpha1/IoFault.java | 8 +- .../fabric8/chaosmesh/v1alpha1/JVMChaos.java | 11 +- .../chaosmesh/v1alpha1/JVMChaosSpec.java | 168 +- .../v1alpha1/JVMClassMethodSpec.java | 130 + .../chaosmesh/v1alpha1/JVMCommonSpec.java | 130 + .../chaosmesh/v1alpha1/JVMMySQLSpec.java | 158 + .../chaosmesh/v1alpha1/JVMParameter.java | 312 + .../chaosmesh/v1alpha1/JVMStressCfgSpec.java | 130 + .../chaosmesh/v1alpha1/KafkaCommonSpec.java | 172 + .../chaosmesh/v1alpha1/KafkaFillSpec.java | 214 + .../chaosmesh/v1alpha1/KafkaFloodSpec.java | 200 + .../chaosmesh/v1alpha1/KafkaIOSpec.java | 158 + .../chaosmesh/v1alpha1/KernelChaos.java | 11 +- .../chaosmesh/v1alpha1/KernelChaosSpec.java | 54 +- .../chaosmesh/v1alpha1/MemoryStressor.java | 16 +- .../v1alpha1/NetworkBandwidthSpec.java | 14 +- .../chaosmesh/v1alpha1/NetworkChaos.java | 11 +- .../chaosmesh/v1alpha1/NetworkChaosSpec.java | 80 +- .../v1alpha1/NetworkChaosStatus.java | 8 +- .../chaosmesh/v1alpha1/NetworkCommonSpec.java | 200 + .../chaosmesh/v1alpha1/NetworkDelaySpec.java | 16 +- .../chaosmesh/v1alpha1/NetworkDownSpec.java | 130 + .../chaosmesh/v1alpha1/NetworkFloodSpec.java | 172 + .../chaosmesh/v1alpha1/PMJVMMySQLSpec.java | 214 + .../chaosmesh/v1alpha1/PhysicalMachine.java | 198 + .../v1alpha1/PhysicalMachineChaos.java | 11 +- .../v1alpha1/PhysicalMachineChaosSpec.java | 378 +- .../v1alpha1/PhysicalMachineList.java | 203 + .../v1alpha1/PhysicalMachineSelector.java | 162 + .../v1alpha1/PhysicalMachineSelectorSpec.java | 39 +- .../v1alpha1/PhysicalMachineSpec.java | 116 + .../fabric8/chaosmesh/v1alpha1/PodChaos.java | 11 +- .../chaosmesh/v1alpha1/PodChaosSpec.java | 48 +- .../chaosmesh/v1alpha1/PodHttpChaos.java | 11 +- .../v1alpha1/PodHttpChaosActions.java | 8 +- .../v1alpha1/PodHttpChaosBaseRule.java | 144 + .../v1alpha1/PodHttpChaosReplaceActions.java | 16 +- .../v1alpha1/PodHttpChaosSelector.java | 34 +- .../chaosmesh/v1alpha1/PodHttpChaosSpec.java | 18 +- .../chaosmesh/v1alpha1/PodHttpChaosTLS.java | 172 + .../chaosmesh/v1alpha1/PodIOChaos.java | 11 +- .../chaosmesh/v1alpha1/PodIOChaosSpec.java | 16 +- .../chaosmesh/v1alpha1/PodNetworkChaos.java | 11 +- .../chaosmesh/v1alpha1/PodSelectorSpec.java | 51 +- .../chaosmesh/v1alpha1/ProcessSpec.java | 16 +- .../fabric8/chaosmesh/v1alpha1/RateSpec.java | 116 + .../fabric8/chaosmesh/v1alpha1/RawIPSet.java | 48 +- .../chaosmesh/v1alpha1/RawRuleSource.java | 116 + .../chaosmesh/v1alpha1/RawTrafficControl.java | 16 +- .../io/fabric8/chaosmesh/v1alpha1/Record.java | 48 +- .../chaosmesh/v1alpha1/RecordEvent.java | 158 + .../v1alpha1/RedisCacheLimitSpec.java | 158 + .../chaosmesh/v1alpha1/RedisCommonSpec.java | 130 + .../v1alpha1/RedisExpirationSpec.java | 172 + .../v1alpha1/RedisPenetrationSpec.java | 144 + .../v1alpha1/RedisSentinelRestartSpec.java | 172 + .../v1alpha1/RedisSentinelStopSpec.java | 172 + .../chaosmesh/v1alpha1/RemoteCluster.java | 212 + .../v1alpha1/RemoteClusterCondition.java | 144 + .../v1alpha1/RemoteClusterKubeConfig.java | 116 + .../chaosmesh/v1alpha1/RemoteClusterList.java | 203 + .../v1alpha1/RemoteClusterSecretRef.java | 144 + .../chaosmesh/v1alpha1/RemoteClusterSpec.java | 158 + .../v1alpha1/RemoteClusterStatus.java | 148 + .../fabric8/chaosmesh/v1alpha1/Schedule.java | 212 + .../chaosmesh/v1alpha1/ScheduleItem.java | 312 + .../chaosmesh/v1alpha1/ScheduleList.java | 203 + .../chaosmesh/v1alpha1/ScheduleSpec.java | 382 + .../chaosmesh/v1alpha1/ScheduleStatus.java | 134 + .../chaosmesh/v1alpha1/StatusCheck.java | 212 + .../v1alpha1/StatusCheckCondition.java | 172 + .../chaosmesh/v1alpha1/StatusCheckList.java | 203 + .../chaosmesh/v1alpha1/StatusCheckRecord.java | 130 + .../chaosmesh/v1alpha1/StatusCheckSpec.java | 228 + .../chaosmesh/v1alpha1/StatusCheckStatus.java | 178 + .../v1alpha1/StatusCheckTemplate.java | 228 + .../chaosmesh/v1alpha1/StressCPUSpec.java | 12 +- .../chaosmesh/v1alpha1/StressChaos.java | 11 +- .../chaosmesh/v1alpha1/StressChaosSpec.java | 48 +- .../chaosmesh/v1alpha1/StressChaosStatus.java | 8 +- .../chaosmesh/v1alpha1/StressMemorySpec.java | 12 +- .../fabric8/chaosmesh/v1alpha1/Stressor.java | 116 + .../io/fabric8/chaosmesh/v1alpha1/Task.java | 134 + .../chaosmesh/v1alpha1/TcParameter.java | 186 + .../fabric8/chaosmesh/v1alpha1/Template.java | 430 + .../fabric8/chaosmesh/v1alpha1/TimeChaos.java | 11 +- .../chaosmesh/v1alpha1/TimeChaosSpec.java | 54 +- .../chaosmesh/v1alpha1/UserDefinedSpec.java | 130 + .../io/fabric8/chaosmesh/v1alpha1/VMSpec.java | 116 + .../fabric8/chaosmesh/v1alpha1/Workflow.java | 212 + .../chaosmesh/v1alpha1/WorkflowCondition.java | 158 + .../chaosmesh/v1alpha1/WorkflowList.java | 203 + .../chaosmesh/v1alpha1/WorkflowNode.java | 212 + .../v1alpha1/WorkflowNodeCondition.java | 144 + .../chaosmesh/v1alpha1/WorkflowNodeList.java | 203 + .../chaosmesh/v1alpha1/WorkflowNodeSpec.java | 458 + .../v1alpha1/WorkflowNodeStatus.java | 181 + .../chaosmesh/v1alpha1/WorkflowSpec.java | 134 + .../chaosmesh/v1alpha1/WorkflowStatus.java | 162 + .../chaosmesh/api/model/Constants.java | 24 - .../resources/schema/chaosmesh-schema.json | 3794 -------- kubernetes-model-generator/generateModel.sh | 78 - .../generateModelDocker.sh | 30 - .../openapi/generator/cmd/openapi.go | 2 + .../openapi/generator/go.mod | 69 +- .../openapi/generator/go.sum | 95 +- .../generator/tools/generator/openapi.go | 3 +- .../schema/generator/schema/SchemaUtils.java | 1 + .../openapi/schemas/org.chaos-mesh.json | 8334 +++++++++++++++++ kubernetes-model-generator/pom.xml | 2 + 173 files changed, 27555 insertions(+), 7676 deletions(-) delete mode 100644 extensions/chaosmesh/generator/.gitignore delete mode 100755 extensions/chaosmesh/generator/Makefile delete mode 100644 extensions/chaosmesh/generator/cmd/generate/generate.go delete mode 100644 extensions/chaosmesh/generator/go.mod delete mode 100644 extensions/chaosmesh/generator/go.sum delete mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/api/model/ChaosmeshSchema.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSSelector.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaos.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosList.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosStatus.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureSelector.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosKind.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosOnlyScheduleSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosStatus.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CidrAndPort.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranch.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranchStatus.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranchesStatus.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ContainerNodeVolumePathSelector.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ContainerSelector.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskFileSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/EmbedChaos.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/EmbedStatusCheck.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ExpInfo.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileAppendSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileCreateSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileDeleteSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileModifyPrivilegeSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileRenameSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileReplaceSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Filter.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPSelector.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GenericSelectorSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPAbortSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPCommonSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPConfigSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPCriteria.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPDelaySpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPRequestSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPStatusCheck.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMClassMethodSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMCommonSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMMySQLSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMParameter.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMStressCfgSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaCommonSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaFillSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaFloodSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaIOSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkCommonSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDownSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkFloodSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PMJVMMySQLSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachine.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineList.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelector.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosBaseRule.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosTLS.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RateSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawRuleSource.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RecordEvent.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisCacheLimitSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisCommonSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisExpirationSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisPenetrationSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisSentinelRestartSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisSentinelStopSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteCluster.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterCondition.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterKubeConfig.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterList.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterSecretRef.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterStatus.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Schedule.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleItem.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleList.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleStatus.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheck.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckCondition.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckList.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckRecord.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckStatus.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckTemplate.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Stressor.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Task.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TcParameter.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Template.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/UserDefinedSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/VMSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Workflow.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowCondition.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowList.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNode.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeCondition.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeList.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeStatus.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowSpec.java create mode 100644 extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowStatus.java delete mode 100755 extensions/chaosmesh/model/src/main/java/io/fabric8/chaosmesh/api/model/Constants.java delete mode 100644 extensions/chaosmesh/model/src/main/resources/schema/chaosmesh-schema.json delete mode 100755 kubernetes-model-generator/generateModel.sh delete mode 100755 kubernetes-model-generator/generateModelDocker.sh create mode 100644 kubernetes-model-generator/openapi/schemas/org.chaos-mesh.json diff --git a/Makefile b/Makefile index c55be15b8c1..9f3a7bce6c4 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,8 @@ openapi-generate-java-classes: cd extensions && mvn $(MAVEN_ARGS) -N clean install cd extensions/certmanager && mvn $(MAVEN_ARGS) -N clean install cd extensions/certmanager/model && mvn $(MAVEN_ARGS) -Pgenerate clean install + cd extensions/chaosmesh && mvn $(MAVEN_ARGS) -N clean install + cd extensions/chaosmesh/model && mvn $(MAVEN_ARGS) -Pgenerate 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 @@ -64,13 +66,8 @@ openapi-generate-java-classes: cd extensions/volumesnapshot && mvn $(MAVEN_ARGS) -N clean install cd extensions/volumesnapshot/model && mvn $(MAVEN_ARGS) -Pgenerate clean install -# Legacy generation of the model: TODO: remove -.PHONY: generate-model-legacy -generate-model-legacy: - cd kubernetes-model-generator && ./generateModel.sh - .PHONY: generate-model -generate-model: openapi-generate-schema openapi-generate-java-classes generate-model-legacy +generate-model: openapi-generate-schema openapi-generate-java-classes .PHONY: sonar sonar: clean diff --git a/extensions/chaosmesh/generator/.gitignore b/extensions/chaosmesh/generator/.gitignore deleted file mode 100644 index 57872d0f1e5..00000000000 --- a/extensions/chaosmesh/generator/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/vendor/ diff --git a/extensions/chaosmesh/generator/Makefile b/extensions/chaosmesh/generator/Makefile deleted file mode 100755 index 3f28b630908..00000000000 --- a/extensions/chaosmesh/generator/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 && \ - 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/src/main/resources/schema/chaosmesh-schema.json diff --git a/extensions/chaosmesh/generator/cmd/generate/generate.go b/extensions/chaosmesh/generator/cmd/generate/generate.go deleted file mode 100644 index 029a1195bc1..00000000000 --- a/extensions/chaosmesh/generator/cmd/generate/generate.go +++ /dev/null @@ -1,95 +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" - chaosmesh "github.com/chaos-mesh/chaos-mesh/api/v1alpha1" - "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "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{ - reflect.TypeOf(chaosmesh.IOChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.KernelChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.NetworkChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.PodChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.PodIOChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.PodHttpChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.PodNetworkChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.StressChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.TimeChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.JVMChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.HTTPChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.DNSChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.AWSChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.GCPChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.BlockChaosList{}): schemagen.Namespaced, - reflect.TypeOf(chaosmesh.PhysicalMachineChaosList{}): schemagen.Namespaced, - } - - // constraints and patterns for fields - constraints := map[reflect.Type]map[string]*schemagen.Constraint{} - - // types that are manually defined in the model - providedTypes := []schemagen.ProvidedType{} - - // go packages that are provided and where no generation is required and their corresponding java package - providedPackages := map[string]string{ - // external - "k8s.io/apimachinery/pkg/apis/meta/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{ - "github.com/chaos-mesh/chaos-mesh/api/v1alpha1": {JavaPackage: "io.fabric8.chaosmesh.v1alpha1", ApiGroup: "chaos-mesh.org", 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 - // e.g. knative.dev/eventing/pkg/apis/messaging/v1beta1/ChannelTemplateSpec is mapped to "io.fabric8.knative.internal.eventing.pkg.apis.messaging.v1beta1.ChannelTemplateSpec" - mappingSchema := map[string]string{} - - // overwriting some times - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(v1.Time{}): "java.lang.String", - reflect.TypeOf(runtime.RawExtension{}): "Map", - reflect.TypeOf([]byte{}): "java.lang.String", - reflect.TypeOf([]string{}): "java.util.List", - } - - json := schemagen.GenerateSchema( - "http://fabric8.io/csi/ChaosMeshSchema#", - crdLists, - providedPackages, - manualTypeMap, - packageMapping, - mappingSchema, - providedTypes, - constraints, - "io.fabric8", - ) - - fmt.Println(json) -} diff --git a/extensions/chaosmesh/generator/go.mod b/extensions/chaosmesh/generator/go.mod deleted file mode 100644 index e2197add324..00000000000 --- a/extensions/chaosmesh/generator/go.mod +++ /dev/null @@ -1,68 +0,0 @@ -module github.com/fabric8io/kubernetes-client/extensions/chaosmesh/generator - -require ( - github.com/chaos-mesh/chaos-mesh/api/v1alpha1 v0.0.0-20220226050744-799408773657 - github.com/fabric8io/kubernetes-client/generator v0.0.0 - k8s.io/apimachinery v0.23.1 -) - -require ( - github.com/alecthomas/units v0.0.0-20210927113745-59d0afb8317a // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/cespare/xxhash/v2 v2.1.1 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/docker/go-units v0.4.0 // indirect - github.com/evanphx/json-patch v4.12.0+incompatible // indirect - github.com/fsnotify/fsnotify v1.5.1 // indirect - github.com/go-logr/logr v1.2.0 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.2 // indirect - github.com/google/go-cmp v0.5.5 // indirect - github.com/google/gofuzz v1.1.0 // indirect - github.com/google/uuid v1.1.2 // indirect - github.com/googleapis/gnostic v0.5.5 // indirect - github.com/imdario/mergo v0.3.12 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/prometheus/client_golang v1.11.1 // indirect - github.com/prometheus/client_model v0.2.0 // indirect - github.com/prometheus/common v0.28.0 // indirect - github.com/prometheus/procfs v0.6.0 // indirect - github.com/robfig/cron/v3 v3.0.1 // indirect - github.com/spf13/pflag v1.0.5 // indirect - golang.org/x/net v0.23.0 // indirect - golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect - golang.org/x/sys v0.18.0 // indirect - golang.org/x/term v0.18.0 // indirect - golang.org/x/text v0.14.0 // indirect - golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect - gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/protobuf v1.33.0 // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.0 // indirect - k8s.io/api v0.23.1 // indirect - k8s.io/apiextensions-apiserver v0.23.0 // indirect - k8s.io/client-go v0.23.1 // indirect - k8s.io/component-base v0.23.0 // indirect - k8s.io/klog/v2 v2.30.0 // indirect - k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect - k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b // indirect - sigs.k8s.io/controller-runtime v0.11.0 // indirect - sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.0 // indirect - sigs.k8s.io/yaml v1.3.0 // indirect -) - -replace ( - github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator - github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2 - gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.4.0 -) - -go 1.17 diff --git a/extensions/chaosmesh/generator/go.sum b/extensions/chaosmesh/generator/go.sum deleted file mode 100644 index bb6116a9670..00000000000 --- a/extensions/chaosmesh/generator/go.sum +++ /dev/null @@ -1,980 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= -cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= -github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= -github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/alecthomas/units v0.0.0-20210927113745-59d0afb8317a h1:E/8AP5dFtMhl5KPJz66Kt9G0n+7Sn41Fy1wv9/jHOrc= -github.com/alecthomas/units v0.0.0-20210927113745-59d0afb8317a/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= -github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/bxcodec/faker v2.0.1+incompatible h1:P0KUpUw5w6WJXwrPfv35oc91i4d8nf40Nwln+M/+faA= -github.com/bxcodec/faker v2.0.1+incompatible/go.mod h1:BNzfpVdTwnFJ6GtfYTcQu6l6rHShT+veBxNCnjCx5XM= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= -github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chaos-mesh/chaos-mesh/api/v1alpha1 v0.0.0-20220226050744-799408773657 h1:CyuI+igIjadM/GRnE2o0q+WCwipDh0n2cUYFPAvxziM= -github.com/chaos-mesh/chaos-mesh/api/v1alpha1 v0.0.0-20220226050744-799408773657/go.mod h1:JRiumF+RFsH1mrrP8FUsi9tExPylKkO/oSRWeQEUdLE= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= -github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= -github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.11/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/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= -github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= -github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= -github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= -github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= -github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v1.2.0 h1:QK40JKJyMdUDz+h+xvCsru/bJhvG0UxvePV0ufL/AcE= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/zapr v1.2.0 h1:n4JnPI1T3Qq1SFEi/F8rwLrZERp2bso19PJZDB9dayk= -github.com/go-logr/zapr v1.2.0/go.mod h1:Qa4Bsj2Vb+FAVeAKsLD8RLQ+YRJB8YDmOAKxaBQf7Ro= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/google/cel-go v0.9.0/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSxrmI1w= -github.com/google/cel-spec v0.6.0/go.mod h1:Nwjgxy5CbjlPrtCWjeDjUyKMl8w41YBYGjsyDdqk0xA= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= -github.com/googleapis/gnostic v0.5.5 h1:9fHAtK0uDfpveeqqo1hkEZJcFvYXAiCN3UutL8F9xHw= -github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= -github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= -github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -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/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -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/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -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/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= -github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= -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 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -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/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= -github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= -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/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.11.1 h1:+4eQaD7vAZ6DsfsxB15hbE0odUjGI5ARs9yskGu1v4s= -github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.28.0 h1:vGVfV9KrDTvWt5boZO0I19g2E3CsWfpPPKZM9dt3mEw= -github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= -github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= -go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= -go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= -go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= -go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= -go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= -go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= -go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= -go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= -go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= -go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= -go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA= -go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -go.uber.org/zap v1.19.1 h1:ue41HOKd1vGURxrmeKIgELGb3jPW9DMUDGtsinblHwI= -go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -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/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -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/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/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-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f h1:Qmd2pbz05z7z6lm0DrgQVVPuBm92jqujBKMHMOlOQEw= -golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -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-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= -golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -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/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.6-0.20210820212750-d4cc65f0b2ff/go.mod h1:YD9qOF0M9xpSpdWTBbzEl5e/RnCefISl8E5Noe10jFM= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -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 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY= -gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= -google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201102152239-715cce707fb0/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -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.27.1/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/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -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.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0 h1:hjy8E9ON/egN1tAYqKb61G10WtihqetD4sz2H+8nIeA= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= -gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.23.0/go.mod h1:8wmDdLBHBNxtOIytwLstXt5E9PddnZb0GaMcqsvDBpg= -k8s.io/api v0.23.1 h1:ncu/qfBfUoClqwkTGbeRqqOqBCRoUAflMuOaOD7J0c8= -k8s.io/api v0.23.1/go.mod h1:WfXnOnwSqNtG62Y1CdjoMxh7r7u9QXGCkA1u0na2jgo= -k8s.io/apiextensions-apiserver v0.23.0 h1:uii8BYmHYiT2ZTAJxmvc3X8UhNYMxl2A0z0Xq3Pm+WY= -k8s.io/apiextensions-apiserver v0.23.0/go.mod h1:xIFAEEDlAZgpVBl/1VSjGDmLoXAWRG40+GsWhKhAxY4= -k8s.io/apimachinery v0.23.0/go.mod h1:fFCTTBKvKcwTPFzjlcxp91uPFZr+JA0FubU4fLzzFYc= -k8s.io/apimachinery v0.23.1 h1:sfBjlDFwj2onG0Ijx5C+SrAoeUscPrmghm7wHP+uXlo= -k8s.io/apimachinery v0.23.1/go.mod h1:SADt2Kl8/sttJ62RRsi9MIV4o8f5S3coArm0Iu3fBno= -k8s.io/apiserver v0.23.0/go.mod h1:Cec35u/9zAepDPPFyT+UMrgqOCjgJ5qtfVJDxjZYmt4= -k8s.io/client-go v0.23.0/go.mod h1:hrDnpnK1mSr65lHHcUuIZIXDgEbzc7/683c6hyG4jTA= -k8s.io/client-go v0.23.1 h1:Ma4Fhf/p07Nmj9yAB1H7UwbFHEBrSPg8lviR24U2GiQ= -k8s.io/client-go v0.23.1/go.mod h1:6QSI8fEuqD4zgFK0xbdwfB/PthBsIxCJMa3s17WlcO0= -k8s.io/code-generator v0.23.0/go.mod h1:vQvOhDXhuzqiVfM/YHp+dmg10WDZCchJVObc9MvowsE= -k8s.io/component-base v0.23.0 h1:UAnyzjvVZ2ZR1lF35YwtNY6VMN94WtOnArcXBu34es8= -k8s.io/component-base v0.23.0/go.mod h1:DHH5uiFvLC1edCpvcTDV++NKULdYYU6pR9Tt3HIKMKI= -k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.30.0 h1:bUO6drIvCIsvZ/XFgfxoGFQU/a4Qkh0iAlvUR7vlHJw= -k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 h1:E3J9oCLlaobFUqsjG9DfKbP2BmgwBL2p7pn0A3dG9W4= -k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= -k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b h1:wxEMGetGMur3J1xuGLQY7GEQYg9bZxKn3tKo5k/eYcs= -k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.25/go.mod h1:Mlj9PNLmG9bZ6BHFwFKDo5afkpWyUISkb9Me0GnK66I= -sigs.k8s.io/controller-runtime v0.11.0 h1:DqO+c8mywcZLFJWILq4iktoECTyn30Bkj0CwgqMpZWQ= -sigs.k8s.io/controller-runtime v0.11.0/go.mod h1:KKwLiTooNGu+JmLZGn9Sl3Gjmfj66eMbCQznLP5zcqA= -sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 h1:fD1pz4yfdADVNfFmcP2aBEtudwUQ1AlLnRBALr33v3s= -sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/structured-merge-diff/v4 v4.2.0 h1:kDvPBbnPk+qYmkHmSo8vKGp438IASWofnbbUKDE/bv0= -sigs.k8s.io/structured-merge-diff/v4 v4.2.0/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= -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/chaosmesh/model/pom.xml b/extensions/chaosmesh/model/pom.xml index d614090ab70..9ea13d58d60 100755 --- a/extensions/chaosmesh/model/pom.xml +++ b/extensions/chaosmesh/model/pom.xml @@ -42,11 +42,6 @@ - - io.sundr - builder-annotations - provided - io.sundr transform-annotations @@ -59,11 +54,6 @@ io.fabric8 kubernetes-model-core - - org.junit.jupiter - junit-jupiter-engine - test - org.projectlombok lombok @@ -76,39 +66,22 @@ - org.jsonschema2pojo - jsonschema2pojo-maven-plugin + io.fabric8 + openapi-model-generator-maven-plugin + + + + ${openapi.schema.org.chaos-mesh} + + + ^org\.chaos-mesh\..*$ + + + - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.outputDirectory}/schema/chaosmesh-schema.json - json - schema - - - - - - - - - diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/api/model/ChaosmeshSchema.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/api/model/ChaosmeshSchema.java deleted file mode 100644 index fff2cb7394f..00000000000 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/api/model/ChaosmeshSchema.java +++ /dev/null @@ -1,1821 +0,0 @@ - -package io.fabric8.chaosmesh.api.model; - -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.chaosmesh.v1alpha1.AWSChaos; -import io.fabric8.chaosmesh.v1alpha1.AWSChaosList; -import io.fabric8.chaosmesh.v1alpha1.AWSChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.AWSChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.AttrOverrideSpec; -import io.fabric8.chaosmesh.v1alpha1.BandwidthSpec; -import io.fabric8.chaosmesh.v1alpha1.BlockChaos; -import io.fabric8.chaosmesh.v1alpha1.BlockChaosList; -import io.fabric8.chaosmesh.v1alpha1.BlockChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.BlockChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.BlockDelaySpec; -import io.fabric8.chaosmesh.v1alpha1.CPUStressor; -import io.fabric8.chaosmesh.v1alpha1.ChaosCondition; -import io.fabric8.chaosmesh.v1alpha1.ClockSpec; -import io.fabric8.chaosmesh.v1alpha1.CorruptSpec; -import io.fabric8.chaosmesh.v1alpha1.DNSChaos; -import io.fabric8.chaosmesh.v1alpha1.DNSChaosList; -import io.fabric8.chaosmesh.v1alpha1.DNSChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.DNSChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.DelaySpec; -import io.fabric8.chaosmesh.v1alpha1.DiskFillSpec; -import io.fabric8.chaosmesh.v1alpha1.DiskPayloadSpec; -import io.fabric8.chaosmesh.v1alpha1.DuplicateSpec; -import io.fabric8.chaosmesh.v1alpha1.ExperimentStatus; -import io.fabric8.chaosmesh.v1alpha1.FailKernRequest; -import io.fabric8.chaosmesh.v1alpha1.Frame; -import io.fabric8.chaosmesh.v1alpha1.GCPChaos; -import io.fabric8.chaosmesh.v1alpha1.GCPChaosList; -import io.fabric8.chaosmesh.v1alpha1.GCPChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.GCPChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.HTTPChaos; -import io.fabric8.chaosmesh.v1alpha1.HTTPChaosList; -import io.fabric8.chaosmesh.v1alpha1.HTTPChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.HTTPChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.IOChaos; -import io.fabric8.chaosmesh.v1alpha1.IOChaosAction; -import io.fabric8.chaosmesh.v1alpha1.IOChaosList; -import io.fabric8.chaosmesh.v1alpha1.IOChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.IOChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.IoFault; -import io.fabric8.chaosmesh.v1alpha1.JVMChaos; -import io.fabric8.chaosmesh.v1alpha1.JVMChaosList; -import io.fabric8.chaosmesh.v1alpha1.JVMChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.JVMChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.JVMExceptionSpec; -import io.fabric8.chaosmesh.v1alpha1.JVMGCSpec; -import io.fabric8.chaosmesh.v1alpha1.JVMLatencySpec; -import io.fabric8.chaosmesh.v1alpha1.JVMReturnSpec; -import io.fabric8.chaosmesh.v1alpha1.JVMRuleDataSpec; -import io.fabric8.chaosmesh.v1alpha1.JVMStressSpec; -import io.fabric8.chaosmesh.v1alpha1.KernelChaos; -import io.fabric8.chaosmesh.v1alpha1.KernelChaosList; -import io.fabric8.chaosmesh.v1alpha1.KernelChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.KernelChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.LossSpec; -import io.fabric8.chaosmesh.v1alpha1.MemoryStressor; -import io.fabric8.chaosmesh.v1alpha1.MistakeSpec; -import io.fabric8.chaosmesh.v1alpha1.NetworkBandwidthSpec; -import io.fabric8.chaosmesh.v1alpha1.NetworkChaos; -import io.fabric8.chaosmesh.v1alpha1.NetworkChaosList; -import io.fabric8.chaosmesh.v1alpha1.NetworkChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.NetworkChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.NetworkCorruptSpec; -import io.fabric8.chaosmesh.v1alpha1.NetworkDNSSpec; -import io.fabric8.chaosmesh.v1alpha1.NetworkDelaySpec; -import io.fabric8.chaosmesh.v1alpha1.NetworkDuplicateSpec; -import io.fabric8.chaosmesh.v1alpha1.NetworkLossSpec; -import io.fabric8.chaosmesh.v1alpha1.NetworkPartitionSpec; -import io.fabric8.chaosmesh.v1alpha1.PhysicalMachineChaos; -import io.fabric8.chaosmesh.v1alpha1.PhysicalMachineChaosList; -import io.fabric8.chaosmesh.v1alpha1.PhysicalMachineChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.PhysicalMachineChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.PhysicalMachineSelectorSpec; -import io.fabric8.chaosmesh.v1alpha1.PodChaos; -import io.fabric8.chaosmesh.v1alpha1.PodChaosList; -import io.fabric8.chaosmesh.v1alpha1.PodChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.PodChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaos; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosActions; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosList; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosPatchActions; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosPatchBodyAction; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosReplaceActions; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosRule; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosSelector; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.PodHttpChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.PodIOChaos; -import io.fabric8.chaosmesh.v1alpha1.PodIOChaosList; -import io.fabric8.chaosmesh.v1alpha1.PodIOChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.PodIOChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.PodNetworkChaos; -import io.fabric8.chaosmesh.v1alpha1.PodNetworkChaosList; -import io.fabric8.chaosmesh.v1alpha1.PodNetworkChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.PodNetworkChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.PodSelector; -import io.fabric8.chaosmesh.v1alpha1.PodSelectorSpec; -import io.fabric8.chaosmesh.v1alpha1.ProcessSpec; -import io.fabric8.chaosmesh.v1alpha1.RawIPSet; -import io.fabric8.chaosmesh.v1alpha1.RawIptables; -import io.fabric8.chaosmesh.v1alpha1.RawTrafficControl; -import io.fabric8.chaosmesh.v1alpha1.Record; -import io.fabric8.chaosmesh.v1alpha1.ReorderSpec; -import io.fabric8.chaosmesh.v1alpha1.StressCPUSpec; -import io.fabric8.chaosmesh.v1alpha1.StressChaos; -import io.fabric8.chaosmesh.v1alpha1.StressChaosList; -import io.fabric8.chaosmesh.v1alpha1.StressChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.StressChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.StressInstance; -import io.fabric8.chaosmesh.v1alpha1.StressMemorySpec; -import io.fabric8.chaosmesh.v1alpha1.Stressors; -import io.fabric8.chaosmesh.v1alpha1.TimeChaos; -import io.fabric8.chaosmesh.v1alpha1.TimeChaosList; -import io.fabric8.chaosmesh.v1alpha1.TimeChaosSpec; -import io.fabric8.chaosmesh.v1alpha1.TimeChaosStatus; -import io.fabric8.chaosmesh.v1alpha1.Timespec; -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({ - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AttrOverrideSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BandwidthSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockDelaySpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_CPUStressor", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ChaosCondition", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ClockSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_CorruptSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DelaySpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DiskFillSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DiskPayloadSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DuplicateSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ExperimentStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_FailKernRequest", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Frame", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosAction", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IoFault", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMExceptionSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMGCSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMLatencySpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMReturnSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMRuleDataSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMStressSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_LossSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_MemoryStressor", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_MistakeSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkBandwidthSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkCorruptSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDNSSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDelaySpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDuplicateSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkLossSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkPartitionSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineSelectorSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosActions", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosPatchActions", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosPatchBodyAction", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosReplaceActions", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosRule", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosSelector", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodSelector", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodSelectorSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ProcessSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawIPSet", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawIptables", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawTrafficControl", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Record", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ReorderSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressCPUSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressInstance", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressMemorySpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Stressors", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaos", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosList", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosSpec", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosStatus", - "github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Timespec" -}) -@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 ChaosmeshSchema implements Editable -{ - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaos") - private AWSChaos githubComChaosMeshChaosMeshApiV1alpha1AWSChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosList") - private AWSChaosList githubComChaosMeshChaosMeshApiV1alpha1AWSChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosSpec") - private AWSChaosSpec githubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosStatus") - private AWSChaosStatus githubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AttrOverrideSpec") - private AttrOverrideSpec githubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BandwidthSpec") - private BandwidthSpec githubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaos") - private BlockChaos githubComChaosMeshChaosMeshApiV1alpha1BlockChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosList") - private BlockChaosList githubComChaosMeshChaosMeshApiV1alpha1BlockChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosSpec") - private BlockChaosSpec githubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosStatus") - private BlockChaosStatus githubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockDelaySpec") - private BlockDelaySpec githubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_CPUStressor") - private CPUStressor githubComChaosMeshChaosMeshApiV1alpha1CPUStressor; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ChaosCondition") - private ChaosCondition githubComChaosMeshChaosMeshApiV1alpha1ChaosCondition; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ClockSpec") - private ClockSpec githubComChaosMeshChaosMeshApiV1alpha1ClockSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_CorruptSpec") - private CorruptSpec githubComChaosMeshChaosMeshApiV1alpha1CorruptSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaos") - private DNSChaos githubComChaosMeshChaosMeshApiV1alpha1DNSChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosList") - private DNSChaosList githubComChaosMeshChaosMeshApiV1alpha1DNSChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosSpec") - private DNSChaosSpec githubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosStatus") - private DNSChaosStatus githubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DelaySpec") - private DelaySpec githubComChaosMeshChaosMeshApiV1alpha1DelaySpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DiskFillSpec") - private DiskFillSpec githubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DiskPayloadSpec") - private DiskPayloadSpec githubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DuplicateSpec") - private DuplicateSpec githubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ExperimentStatus") - private ExperimentStatus githubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_FailKernRequest") - private FailKernRequest githubComChaosMeshChaosMeshApiV1alpha1FailKernRequest; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Frame") - private Frame githubComChaosMeshChaosMeshApiV1alpha1Frame; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaos") - private GCPChaos githubComChaosMeshChaosMeshApiV1alpha1GCPChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosList") - private GCPChaosList githubComChaosMeshChaosMeshApiV1alpha1GCPChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosSpec") - private GCPChaosSpec githubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosStatus") - private GCPChaosStatus githubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaos") - private HTTPChaos githubComChaosMeshChaosMeshApiV1alpha1HTTPChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosList") - private HTTPChaosList githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosSpec") - private HTTPChaosSpec githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosStatus") - private HTTPChaosStatus githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaos") - private IOChaos githubComChaosMeshChaosMeshApiV1alpha1IOChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosAction") - private IOChaosAction githubComChaosMeshChaosMeshApiV1alpha1IOChaosAction; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosList") - private IOChaosList githubComChaosMeshChaosMeshApiV1alpha1IOChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosSpec") - private IOChaosSpec githubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosStatus") - private IOChaosStatus githubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IoFault") - private IoFault githubComChaosMeshChaosMeshApiV1alpha1IoFault; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaos") - private JVMChaos githubComChaosMeshChaosMeshApiV1alpha1JVMChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosList") - private JVMChaosList githubComChaosMeshChaosMeshApiV1alpha1JVMChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosSpec") - private JVMChaosSpec githubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosStatus") - private JVMChaosStatus githubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMExceptionSpec") - private JVMExceptionSpec githubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMGCSpec") - private JVMGCSpec githubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMLatencySpec") - private JVMLatencySpec githubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMReturnSpec") - private JVMReturnSpec githubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMRuleDataSpec") - private JVMRuleDataSpec githubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMStressSpec") - private JVMStressSpec githubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaos") - private KernelChaos githubComChaosMeshChaosMeshApiV1alpha1KernelChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosList") - private KernelChaosList githubComChaosMeshChaosMeshApiV1alpha1KernelChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosSpec") - private KernelChaosSpec githubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosStatus") - private KernelChaosStatus githubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_LossSpec") - private LossSpec githubComChaosMeshChaosMeshApiV1alpha1LossSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_MemoryStressor") - private MemoryStressor githubComChaosMeshChaosMeshApiV1alpha1MemoryStressor; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_MistakeSpec") - private MistakeSpec githubComChaosMeshChaosMeshApiV1alpha1MistakeSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkBandwidthSpec") - private NetworkBandwidthSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaos") - private NetworkChaos githubComChaosMeshChaosMeshApiV1alpha1NetworkChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosList") - private NetworkChaosList githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosSpec") - private NetworkChaosSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosStatus") - private NetworkChaosStatus githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkCorruptSpec") - private NetworkCorruptSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDNSSpec") - private NetworkDNSSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDelaySpec") - private NetworkDelaySpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDuplicateSpec") - private NetworkDuplicateSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkLossSpec") - private NetworkLossSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkPartitionSpec") - private NetworkPartitionSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaos") - private PhysicalMachineChaos githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosList") - private PhysicalMachineChaosList githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosSpec") - private PhysicalMachineChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosStatus") - private PhysicalMachineChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineSelectorSpec") - private PhysicalMachineSelectorSpec githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaos") - private PodChaos githubComChaosMeshChaosMeshApiV1alpha1PodChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosList") - private PodChaosList githubComChaosMeshChaosMeshApiV1alpha1PodChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosSpec") - private PodChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosStatus") - private PodChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaos") - private PodHttpChaos githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosActions") - private PodHttpChaosActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosList") - private PodHttpChaosList githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosPatchActions") - private PodHttpChaosPatchActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosPatchBodyAction") - private PodHttpChaosPatchBodyAction githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosReplaceActions") - private PodHttpChaosReplaceActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosRule") - private PodHttpChaosRule githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosSelector") - private PodHttpChaosSelector githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosSpec") - private PodHttpChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosStatus") - private PodHttpChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaos") - private PodIOChaos githubComChaosMeshChaosMeshApiV1alpha1PodIOChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosList") - private PodIOChaosList githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosSpec") - private PodIOChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosStatus") - private PodIOChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaos") - private PodNetworkChaos githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosList") - private PodNetworkChaosList githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosSpec") - private PodNetworkChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosStatus") - private PodNetworkChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodSelector") - private PodSelector githubComChaosMeshChaosMeshApiV1alpha1PodSelector; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodSelectorSpec") - private PodSelectorSpec githubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ProcessSpec") - private ProcessSpec githubComChaosMeshChaosMeshApiV1alpha1ProcessSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawIPSet") - private RawIPSet githubComChaosMeshChaosMeshApiV1alpha1RawIPSet; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawIptables") - private RawIptables githubComChaosMeshChaosMeshApiV1alpha1RawIptables; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawTrafficControl") - private RawTrafficControl githubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Record") - private Record githubComChaosMeshChaosMeshApiV1alpha1Record; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ReorderSpec") - private ReorderSpec githubComChaosMeshChaosMeshApiV1alpha1ReorderSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressCPUSpec") - private StressCPUSpec githubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaos") - private StressChaos githubComChaosMeshChaosMeshApiV1alpha1StressChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosList") - private StressChaosList githubComChaosMeshChaosMeshApiV1alpha1StressChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosSpec") - private StressChaosSpec githubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosStatus") - private StressChaosStatus githubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressInstance") - private StressInstance githubComChaosMeshChaosMeshApiV1alpha1StressInstance; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressMemorySpec") - private StressMemorySpec githubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Stressors") - private Stressors githubComChaosMeshChaosMeshApiV1alpha1Stressors; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaos") - private TimeChaos githubComChaosMeshChaosMeshApiV1alpha1TimeChaos; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosList") - private TimeChaosList githubComChaosMeshChaosMeshApiV1alpha1TimeChaosList; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosSpec") - private TimeChaosSpec githubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosStatus") - private TimeChaosStatus githubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus; - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Timespec") - private Timespec githubComChaosMeshChaosMeshApiV1alpha1Timespec; - - /** - * No args constructor for use in serialization - * - */ - public ChaosmeshSchema() { - } - - public ChaosmeshSchema(AWSChaos githubComChaosMeshChaosMeshApiV1alpha1AWSChaos, AWSChaosList githubComChaosMeshChaosMeshApiV1alpha1AWSChaosList, AWSChaosSpec githubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec, AWSChaosStatus githubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus, AttrOverrideSpec githubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec, BandwidthSpec githubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec, BlockChaos githubComChaosMeshChaosMeshApiV1alpha1BlockChaos, BlockChaosList githubComChaosMeshChaosMeshApiV1alpha1BlockChaosList, BlockChaosSpec githubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec, BlockChaosStatus githubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus, BlockDelaySpec githubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec, CPUStressor githubComChaosMeshChaosMeshApiV1alpha1CPUStressor, ChaosCondition githubComChaosMeshChaosMeshApiV1alpha1ChaosCondition, ClockSpec githubComChaosMeshChaosMeshApiV1alpha1ClockSpec, CorruptSpec githubComChaosMeshChaosMeshApiV1alpha1CorruptSpec, DNSChaos githubComChaosMeshChaosMeshApiV1alpha1DNSChaos, DNSChaosList githubComChaosMeshChaosMeshApiV1alpha1DNSChaosList, DNSChaosSpec githubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec, DNSChaosStatus githubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus, DelaySpec githubComChaosMeshChaosMeshApiV1alpha1DelaySpec, DiskFillSpec githubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec, DiskPayloadSpec githubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec, DuplicateSpec githubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec, ExperimentStatus githubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus, FailKernRequest githubComChaosMeshChaosMeshApiV1alpha1FailKernRequest, Frame githubComChaosMeshChaosMeshApiV1alpha1Frame, GCPChaos githubComChaosMeshChaosMeshApiV1alpha1GCPChaos, GCPChaosList githubComChaosMeshChaosMeshApiV1alpha1GCPChaosList, GCPChaosSpec githubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec, GCPChaosStatus githubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus, HTTPChaos githubComChaosMeshChaosMeshApiV1alpha1HTTPChaos, HTTPChaosList githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList, HTTPChaosSpec githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec, HTTPChaosStatus githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus, IOChaos githubComChaosMeshChaosMeshApiV1alpha1IOChaos, IOChaosAction githubComChaosMeshChaosMeshApiV1alpha1IOChaosAction, IOChaosList githubComChaosMeshChaosMeshApiV1alpha1IOChaosList, IOChaosSpec githubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec, IOChaosStatus githubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus, IoFault githubComChaosMeshChaosMeshApiV1alpha1IoFault, JVMChaos githubComChaosMeshChaosMeshApiV1alpha1JVMChaos, JVMChaosList githubComChaosMeshChaosMeshApiV1alpha1JVMChaosList, JVMChaosSpec githubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec, JVMChaosStatus githubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus, JVMExceptionSpec githubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec, JVMGCSpec githubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec, JVMLatencySpec githubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec, JVMReturnSpec githubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec, JVMRuleDataSpec githubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec, JVMStressSpec githubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec, KernelChaos githubComChaosMeshChaosMeshApiV1alpha1KernelChaos, KernelChaosList githubComChaosMeshChaosMeshApiV1alpha1KernelChaosList, KernelChaosSpec githubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec, KernelChaosStatus githubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus, LossSpec githubComChaosMeshChaosMeshApiV1alpha1LossSpec, MemoryStressor githubComChaosMeshChaosMeshApiV1alpha1MemoryStressor, MistakeSpec githubComChaosMeshChaosMeshApiV1alpha1MistakeSpec, NetworkBandwidthSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec, NetworkChaos githubComChaosMeshChaosMeshApiV1alpha1NetworkChaos, NetworkChaosList githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList, NetworkChaosSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec, NetworkChaosStatus githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus, NetworkCorruptSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec, NetworkDNSSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec, NetworkDelaySpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec, NetworkDuplicateSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec, NetworkLossSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec, NetworkPartitionSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec, PhysicalMachineChaos githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos, PhysicalMachineChaosList githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList, PhysicalMachineChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec, PhysicalMachineChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus, PhysicalMachineSelectorSpec githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec, PodChaos githubComChaosMeshChaosMeshApiV1alpha1PodChaos, PodChaosList githubComChaosMeshChaosMeshApiV1alpha1PodChaosList, PodChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec, PodChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus, PodHttpChaos githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos, PodHttpChaosActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions, PodHttpChaosList githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList, PodHttpChaosPatchActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions, PodHttpChaosPatchBodyAction githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction, PodHttpChaosReplaceActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions, PodHttpChaosRule githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule, PodHttpChaosSelector githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector, PodHttpChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec, PodHttpChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus, PodIOChaos githubComChaosMeshChaosMeshApiV1alpha1PodIOChaos, PodIOChaosList githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList, PodIOChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec, PodIOChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus, PodNetworkChaos githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos, PodNetworkChaosList githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList, PodNetworkChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec, PodNetworkChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus, PodSelector githubComChaosMeshChaosMeshApiV1alpha1PodSelector, PodSelectorSpec githubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec, ProcessSpec githubComChaosMeshChaosMeshApiV1alpha1ProcessSpec, RawIPSet githubComChaosMeshChaosMeshApiV1alpha1RawIPSet, RawIptables githubComChaosMeshChaosMeshApiV1alpha1RawIptables, RawTrafficControl githubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl, Record githubComChaosMeshChaosMeshApiV1alpha1Record, ReorderSpec githubComChaosMeshChaosMeshApiV1alpha1ReorderSpec, StressCPUSpec githubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec, StressChaos githubComChaosMeshChaosMeshApiV1alpha1StressChaos, StressChaosList githubComChaosMeshChaosMeshApiV1alpha1StressChaosList, StressChaosSpec githubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec, StressChaosStatus githubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus, StressInstance githubComChaosMeshChaosMeshApiV1alpha1StressInstance, StressMemorySpec githubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec, Stressors githubComChaosMeshChaosMeshApiV1alpha1Stressors, TimeChaos githubComChaosMeshChaosMeshApiV1alpha1TimeChaos, TimeChaosList githubComChaosMeshChaosMeshApiV1alpha1TimeChaosList, TimeChaosSpec githubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec, TimeChaosStatus githubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus, Timespec githubComChaosMeshChaosMeshApiV1alpha1Timespec) { - super(); - this.githubComChaosMeshChaosMeshApiV1alpha1AWSChaos = githubComChaosMeshChaosMeshApiV1alpha1AWSChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1AWSChaosList = githubComChaosMeshChaosMeshApiV1alpha1AWSChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec = githubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec = githubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1BlockChaos = githubComChaosMeshChaosMeshApiV1alpha1BlockChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1BlockChaosList = githubComChaosMeshChaosMeshApiV1alpha1BlockChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec = githubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec; - this.githubComChaosMeshChaosMeshApiV1alpha1CPUStressor = githubComChaosMeshChaosMeshApiV1alpha1CPUStressor; - this.githubComChaosMeshChaosMeshApiV1alpha1ChaosCondition = githubComChaosMeshChaosMeshApiV1alpha1ChaosCondition; - this.githubComChaosMeshChaosMeshApiV1alpha1ClockSpec = githubComChaosMeshChaosMeshApiV1alpha1ClockSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1CorruptSpec = githubComChaosMeshChaosMeshApiV1alpha1CorruptSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1DNSChaos = githubComChaosMeshChaosMeshApiV1alpha1DNSChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1DNSChaosList = githubComChaosMeshChaosMeshApiV1alpha1DNSChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1DelaySpec = githubComChaosMeshChaosMeshApiV1alpha1DelaySpec; - this.githubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec = githubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec = githubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec = githubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus = githubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1FailKernRequest = githubComChaosMeshChaosMeshApiV1alpha1FailKernRequest; - this.githubComChaosMeshChaosMeshApiV1alpha1Frame = githubComChaosMeshChaosMeshApiV1alpha1Frame; - this.githubComChaosMeshChaosMeshApiV1alpha1GCPChaos = githubComChaosMeshChaosMeshApiV1alpha1GCPChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1GCPChaosList = githubComChaosMeshChaosMeshApiV1alpha1GCPChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1HTTPChaos = githubComChaosMeshChaosMeshApiV1alpha1HTTPChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList = githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaos = githubComChaosMeshChaosMeshApiV1alpha1IOChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaosAction = githubComChaosMeshChaosMeshApiV1alpha1IOChaosAction; - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaosList = githubComChaosMeshChaosMeshApiV1alpha1IOChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1IoFault = githubComChaosMeshChaosMeshApiV1alpha1IoFault; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMChaos = githubComChaosMeshChaosMeshApiV1alpha1JVMChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMChaosList = githubComChaosMeshChaosMeshApiV1alpha1JVMChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec = githubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1KernelChaos = githubComChaosMeshChaosMeshApiV1alpha1KernelChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1KernelChaosList = githubComChaosMeshChaosMeshApiV1alpha1KernelChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1LossSpec = githubComChaosMeshChaosMeshApiV1alpha1LossSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1MemoryStressor = githubComChaosMeshChaosMeshApiV1alpha1MemoryStressor; - this.githubComChaosMeshChaosMeshApiV1alpha1MistakeSpec = githubComChaosMeshChaosMeshApiV1alpha1MistakeSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkChaos = githubComChaosMeshChaosMeshApiV1alpha1NetworkChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList = githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1PodChaos = githubComChaosMeshChaosMeshApiV1alpha1PodChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1PodChaosList = githubComChaosMeshChaosMeshApiV1alpha1PodChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1PodIOChaos = githubComChaosMeshChaosMeshApiV1alpha1PodIOChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList = githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos = githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList = githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1PodSelector = githubComChaosMeshChaosMeshApiV1alpha1PodSelector; - this.githubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec = githubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1ProcessSpec = githubComChaosMeshChaosMeshApiV1alpha1ProcessSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1RawIPSet = githubComChaosMeshChaosMeshApiV1alpha1RawIPSet; - this.githubComChaosMeshChaosMeshApiV1alpha1RawIptables = githubComChaosMeshChaosMeshApiV1alpha1RawIptables; - this.githubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl = githubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl; - this.githubComChaosMeshChaosMeshApiV1alpha1Record = githubComChaosMeshChaosMeshApiV1alpha1Record; - this.githubComChaosMeshChaosMeshApiV1alpha1ReorderSpec = githubComChaosMeshChaosMeshApiV1alpha1ReorderSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec = githubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1StressChaos = githubComChaosMeshChaosMeshApiV1alpha1StressChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1StressChaosList = githubComChaosMeshChaosMeshApiV1alpha1StressChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1StressInstance = githubComChaosMeshChaosMeshApiV1alpha1StressInstance; - this.githubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec = githubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec; - this.githubComChaosMeshChaosMeshApiV1alpha1Stressors = githubComChaosMeshChaosMeshApiV1alpha1Stressors; - this.githubComChaosMeshChaosMeshApiV1alpha1TimeChaos = githubComChaosMeshChaosMeshApiV1alpha1TimeChaos; - this.githubComChaosMeshChaosMeshApiV1alpha1TimeChaosList = githubComChaosMeshChaosMeshApiV1alpha1TimeChaosList; - this.githubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec; - this.githubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus; - this.githubComChaosMeshChaosMeshApiV1alpha1Timespec = githubComChaosMeshChaosMeshApiV1alpha1Timespec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaos") - public AWSChaos getGithubComChaosMeshChaosMeshApiV1alpha1AWSChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1AWSChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1AWSChaos(AWSChaos githubComChaosMeshChaosMeshApiV1alpha1AWSChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1AWSChaos = githubComChaosMeshChaosMeshApiV1alpha1AWSChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosList") - public AWSChaosList getGithubComChaosMeshChaosMeshApiV1alpha1AWSChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1AWSChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1AWSChaosList(AWSChaosList githubComChaosMeshChaosMeshApiV1alpha1AWSChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1AWSChaosList = githubComChaosMeshChaosMeshApiV1alpha1AWSChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosSpec") - public AWSChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec(AWSChaosSpec githubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1AWSChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosStatus") - public AWSChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AWSChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus(AWSChaosStatus githubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1AWSChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AttrOverrideSpec") - public AttrOverrideSpec getGithubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_AttrOverrideSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec(AttrOverrideSpec githubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec = githubComChaosMeshChaosMeshApiV1alpha1AttrOverrideSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BandwidthSpec") - public BandwidthSpec getGithubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BandwidthSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec(BandwidthSpec githubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec = githubComChaosMeshChaosMeshApiV1alpha1BandwidthSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaos") - public BlockChaos getGithubComChaosMeshChaosMeshApiV1alpha1BlockChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1BlockChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1BlockChaos(BlockChaos githubComChaosMeshChaosMeshApiV1alpha1BlockChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1BlockChaos = githubComChaosMeshChaosMeshApiV1alpha1BlockChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosList") - public BlockChaosList getGithubComChaosMeshChaosMeshApiV1alpha1BlockChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1BlockChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1BlockChaosList(BlockChaosList githubComChaosMeshChaosMeshApiV1alpha1BlockChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1BlockChaosList = githubComChaosMeshChaosMeshApiV1alpha1BlockChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosSpec") - public BlockChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec(BlockChaosSpec githubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1BlockChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosStatus") - public BlockChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus(BlockChaosStatus githubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1BlockChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockDelaySpec") - public BlockDelaySpec getGithubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec() { - return githubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_BlockDelaySpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec(BlockDelaySpec githubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec = githubComChaosMeshChaosMeshApiV1alpha1BlockDelaySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_CPUStressor") - public CPUStressor getGithubComChaosMeshChaosMeshApiV1alpha1CPUStressor() { - return githubComChaosMeshChaosMeshApiV1alpha1CPUStressor; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_CPUStressor") - public void setGithubComChaosMeshChaosMeshApiV1alpha1CPUStressor(CPUStressor githubComChaosMeshChaosMeshApiV1alpha1CPUStressor) { - this.githubComChaosMeshChaosMeshApiV1alpha1CPUStressor = githubComChaosMeshChaosMeshApiV1alpha1CPUStressor; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ChaosCondition") - public ChaosCondition getGithubComChaosMeshChaosMeshApiV1alpha1ChaosCondition() { - return githubComChaosMeshChaosMeshApiV1alpha1ChaosCondition; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ChaosCondition") - public void setGithubComChaosMeshChaosMeshApiV1alpha1ChaosCondition(ChaosCondition githubComChaosMeshChaosMeshApiV1alpha1ChaosCondition) { - this.githubComChaosMeshChaosMeshApiV1alpha1ChaosCondition = githubComChaosMeshChaosMeshApiV1alpha1ChaosCondition; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ClockSpec") - public ClockSpec getGithubComChaosMeshChaosMeshApiV1alpha1ClockSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1ClockSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ClockSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1ClockSpec(ClockSpec githubComChaosMeshChaosMeshApiV1alpha1ClockSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1ClockSpec = githubComChaosMeshChaosMeshApiV1alpha1ClockSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_CorruptSpec") - public CorruptSpec getGithubComChaosMeshChaosMeshApiV1alpha1CorruptSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1CorruptSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_CorruptSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1CorruptSpec(CorruptSpec githubComChaosMeshChaosMeshApiV1alpha1CorruptSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1CorruptSpec = githubComChaosMeshChaosMeshApiV1alpha1CorruptSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaos") - public DNSChaos getGithubComChaosMeshChaosMeshApiV1alpha1DNSChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1DNSChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1DNSChaos(DNSChaos githubComChaosMeshChaosMeshApiV1alpha1DNSChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1DNSChaos = githubComChaosMeshChaosMeshApiV1alpha1DNSChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosList") - public DNSChaosList getGithubComChaosMeshChaosMeshApiV1alpha1DNSChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1DNSChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1DNSChaosList(DNSChaosList githubComChaosMeshChaosMeshApiV1alpha1DNSChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1DNSChaosList = githubComChaosMeshChaosMeshApiV1alpha1DNSChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosSpec") - public DNSChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec(DNSChaosSpec githubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1DNSChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosStatus") - public DNSChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DNSChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus(DNSChaosStatus githubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1DNSChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DelaySpec") - public DelaySpec getGithubComChaosMeshChaosMeshApiV1alpha1DelaySpec() { - return githubComChaosMeshChaosMeshApiV1alpha1DelaySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DelaySpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1DelaySpec(DelaySpec githubComChaosMeshChaosMeshApiV1alpha1DelaySpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1DelaySpec = githubComChaosMeshChaosMeshApiV1alpha1DelaySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DiskFillSpec") - public DiskFillSpec getGithubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DiskFillSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec(DiskFillSpec githubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec = githubComChaosMeshChaosMeshApiV1alpha1DiskFillSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DiskPayloadSpec") - public DiskPayloadSpec getGithubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DiskPayloadSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec(DiskPayloadSpec githubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec = githubComChaosMeshChaosMeshApiV1alpha1DiskPayloadSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DuplicateSpec") - public DuplicateSpec getGithubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_DuplicateSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec(DuplicateSpec githubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec = githubComChaosMeshChaosMeshApiV1alpha1DuplicateSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ExperimentStatus") - public ExperimentStatus getGithubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ExperimentStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus(ExperimentStatus githubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus = githubComChaosMeshChaosMeshApiV1alpha1ExperimentStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_FailKernRequest") - public FailKernRequest getGithubComChaosMeshChaosMeshApiV1alpha1FailKernRequest() { - return githubComChaosMeshChaosMeshApiV1alpha1FailKernRequest; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_FailKernRequest") - public void setGithubComChaosMeshChaosMeshApiV1alpha1FailKernRequest(FailKernRequest githubComChaosMeshChaosMeshApiV1alpha1FailKernRequest) { - this.githubComChaosMeshChaosMeshApiV1alpha1FailKernRequest = githubComChaosMeshChaosMeshApiV1alpha1FailKernRequest; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Frame") - public Frame getGithubComChaosMeshChaosMeshApiV1alpha1Frame() { - return githubComChaosMeshChaosMeshApiV1alpha1Frame; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Frame") - public void setGithubComChaosMeshChaosMeshApiV1alpha1Frame(Frame githubComChaosMeshChaosMeshApiV1alpha1Frame) { - this.githubComChaosMeshChaosMeshApiV1alpha1Frame = githubComChaosMeshChaosMeshApiV1alpha1Frame; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaos") - public GCPChaos getGithubComChaosMeshChaosMeshApiV1alpha1GCPChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1GCPChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1GCPChaos(GCPChaos githubComChaosMeshChaosMeshApiV1alpha1GCPChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1GCPChaos = githubComChaosMeshChaosMeshApiV1alpha1GCPChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosList") - public GCPChaosList getGithubComChaosMeshChaosMeshApiV1alpha1GCPChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1GCPChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1GCPChaosList(GCPChaosList githubComChaosMeshChaosMeshApiV1alpha1GCPChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1GCPChaosList = githubComChaosMeshChaosMeshApiV1alpha1GCPChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosSpec") - public GCPChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec(GCPChaosSpec githubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1GCPChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosStatus") - public GCPChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_GCPChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus(GCPChaosStatus githubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1GCPChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaos") - public HTTPChaos getGithubComChaosMeshChaosMeshApiV1alpha1HTTPChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1HTTPChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1HTTPChaos(HTTPChaos githubComChaosMeshChaosMeshApiV1alpha1HTTPChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1HTTPChaos = githubComChaosMeshChaosMeshApiV1alpha1HTTPChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosList") - public HTTPChaosList getGithubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList(HTTPChaosList githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList = githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosSpec") - public HTTPChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec(HTTPChaosSpec githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosStatus") - public HTTPChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_HTTPChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus(HTTPChaosStatus githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1HTTPChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaos") - public IOChaos getGithubComChaosMeshChaosMeshApiV1alpha1IOChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1IOChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1IOChaos(IOChaos githubComChaosMeshChaosMeshApiV1alpha1IOChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaos = githubComChaosMeshChaosMeshApiV1alpha1IOChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosAction") - public IOChaosAction getGithubComChaosMeshChaosMeshApiV1alpha1IOChaosAction() { - return githubComChaosMeshChaosMeshApiV1alpha1IOChaosAction; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosAction") - public void setGithubComChaosMeshChaosMeshApiV1alpha1IOChaosAction(IOChaosAction githubComChaosMeshChaosMeshApiV1alpha1IOChaosAction) { - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaosAction = githubComChaosMeshChaosMeshApiV1alpha1IOChaosAction; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosList") - public IOChaosList getGithubComChaosMeshChaosMeshApiV1alpha1IOChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1IOChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1IOChaosList(IOChaosList githubComChaosMeshChaosMeshApiV1alpha1IOChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaosList = githubComChaosMeshChaosMeshApiV1alpha1IOChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosSpec") - public IOChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec(IOChaosSpec githubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1IOChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosStatus") - public IOChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IOChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus(IOChaosStatus githubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1IOChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IoFault") - public IoFault getGithubComChaosMeshChaosMeshApiV1alpha1IoFault() { - return githubComChaosMeshChaosMeshApiV1alpha1IoFault; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_IoFault") - public void setGithubComChaosMeshChaosMeshApiV1alpha1IoFault(IoFault githubComChaosMeshChaosMeshApiV1alpha1IoFault) { - this.githubComChaosMeshChaosMeshApiV1alpha1IoFault = githubComChaosMeshChaosMeshApiV1alpha1IoFault; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaos") - public JVMChaos getGithubComChaosMeshChaosMeshApiV1alpha1JVMChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMChaos(JVMChaos githubComChaosMeshChaosMeshApiV1alpha1JVMChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMChaos = githubComChaosMeshChaosMeshApiV1alpha1JVMChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosList") - public JVMChaosList getGithubComChaosMeshChaosMeshApiV1alpha1JVMChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMChaosList(JVMChaosList githubComChaosMeshChaosMeshApiV1alpha1JVMChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMChaosList = githubComChaosMeshChaosMeshApiV1alpha1JVMChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosSpec") - public JVMChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec(JVMChaosSpec githubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosStatus") - public JVMChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus(JVMChaosStatus githubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1JVMChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMExceptionSpec") - public JVMExceptionSpec getGithubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMExceptionSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec(JVMExceptionSpec githubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMExceptionSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMGCSpec") - public JVMGCSpec getGithubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMGCSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec(JVMGCSpec githubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMGCSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMLatencySpec") - public JVMLatencySpec getGithubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMLatencySpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec(JVMLatencySpec githubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec = githubComChaosMeshChaosMeshApiV1alpha1JVMLatencySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMReturnSpec") - public JVMReturnSpec getGithubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMReturnSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec(JVMReturnSpec githubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMReturnSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMRuleDataSpec") - public JVMRuleDataSpec getGithubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMRuleDataSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec(JVMRuleDataSpec githubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMRuleDataSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMStressSpec") - public JVMStressSpec getGithubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_JVMStressSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec(JVMStressSpec githubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec = githubComChaosMeshChaosMeshApiV1alpha1JVMStressSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaos") - public KernelChaos getGithubComChaosMeshChaosMeshApiV1alpha1KernelChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1KernelChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1KernelChaos(KernelChaos githubComChaosMeshChaosMeshApiV1alpha1KernelChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1KernelChaos = githubComChaosMeshChaosMeshApiV1alpha1KernelChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosList") - public KernelChaosList getGithubComChaosMeshChaosMeshApiV1alpha1KernelChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1KernelChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1KernelChaosList(KernelChaosList githubComChaosMeshChaosMeshApiV1alpha1KernelChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1KernelChaosList = githubComChaosMeshChaosMeshApiV1alpha1KernelChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosSpec") - public KernelChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec(KernelChaosSpec githubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1KernelChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosStatus") - public KernelChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_KernelChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus(KernelChaosStatus githubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1KernelChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_LossSpec") - public LossSpec getGithubComChaosMeshChaosMeshApiV1alpha1LossSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1LossSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_LossSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1LossSpec(LossSpec githubComChaosMeshChaosMeshApiV1alpha1LossSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1LossSpec = githubComChaosMeshChaosMeshApiV1alpha1LossSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_MemoryStressor") - public MemoryStressor getGithubComChaosMeshChaosMeshApiV1alpha1MemoryStressor() { - return githubComChaosMeshChaosMeshApiV1alpha1MemoryStressor; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_MemoryStressor") - public void setGithubComChaosMeshChaosMeshApiV1alpha1MemoryStressor(MemoryStressor githubComChaosMeshChaosMeshApiV1alpha1MemoryStressor) { - this.githubComChaosMeshChaosMeshApiV1alpha1MemoryStressor = githubComChaosMeshChaosMeshApiV1alpha1MemoryStressor; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_MistakeSpec") - public MistakeSpec getGithubComChaosMeshChaosMeshApiV1alpha1MistakeSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1MistakeSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_MistakeSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1MistakeSpec(MistakeSpec githubComChaosMeshChaosMeshApiV1alpha1MistakeSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1MistakeSpec = githubComChaosMeshChaosMeshApiV1alpha1MistakeSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkBandwidthSpec") - public NetworkBandwidthSpec getGithubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkBandwidthSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec(NetworkBandwidthSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkBandwidthSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaos") - public NetworkChaos getGithubComChaosMeshChaosMeshApiV1alpha1NetworkChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkChaos(NetworkChaos githubComChaosMeshChaosMeshApiV1alpha1NetworkChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkChaos = githubComChaosMeshChaosMeshApiV1alpha1NetworkChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosList") - public NetworkChaosList getGithubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList(NetworkChaosList githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList = githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosSpec") - public NetworkChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec(NetworkChaosSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosStatus") - public NetworkChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus(NetworkChaosStatus githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1NetworkChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkCorruptSpec") - public NetworkCorruptSpec getGithubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkCorruptSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec(NetworkCorruptSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkCorruptSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDNSSpec") - public NetworkDNSSpec getGithubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDNSSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec(NetworkDNSSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkDNSSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDelaySpec") - public NetworkDelaySpec getGithubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDelaySpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec(NetworkDelaySpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkDelaySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDuplicateSpec") - public NetworkDuplicateSpec getGithubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkDuplicateSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec(NetworkDuplicateSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkDuplicateSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkLossSpec") - public NetworkLossSpec getGithubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkLossSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec(NetworkLossSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkLossSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkPartitionSpec") - public NetworkPartitionSpec getGithubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_NetworkPartitionSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec(NetworkPartitionSpec githubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec = githubComChaosMeshChaosMeshApiV1alpha1NetworkPartitionSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaos") - public PhysicalMachineChaos getGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos(PhysicalMachineChaos githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosList") - public PhysicalMachineChaosList getGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList(PhysicalMachineChaosList githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosSpec") - public PhysicalMachineChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec(PhysicalMachineChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosStatus") - public PhysicalMachineChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus(PhysicalMachineChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineSelectorSpec") - public PhysicalMachineSelectorSpec getGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PhysicalMachineSelectorSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec(PhysicalMachineSelectorSpec githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec = githubComChaosMeshChaosMeshApiV1alpha1PhysicalMachineSelectorSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaos") - public PodChaos getGithubComChaosMeshChaosMeshApiV1alpha1PodChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1PodChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodChaos(PodChaos githubComChaosMeshChaosMeshApiV1alpha1PodChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodChaos = githubComChaosMeshChaosMeshApiV1alpha1PodChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosList") - public PodChaosList getGithubComChaosMeshChaosMeshApiV1alpha1PodChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1PodChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodChaosList(PodChaosList githubComChaosMeshChaosMeshApiV1alpha1PodChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodChaosList = githubComChaosMeshChaosMeshApiV1alpha1PodChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosSpec") - public PodChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec(PodChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PodChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosStatus") - public PodChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus(PodChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PodChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaos") - public PodHttpChaos getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos(PodHttpChaos githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosActions") - public PodHttpChaosActions getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosActions") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions(PodHttpChaosActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosActions; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosList") - public PodHttpChaosList getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList(PodHttpChaosList githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosPatchActions") - public PodHttpChaosPatchActions getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosPatchActions") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions(PodHttpChaosPatchActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchActions; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosPatchBodyAction") - public PodHttpChaosPatchBodyAction getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosPatchBodyAction") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction(PodHttpChaosPatchBodyAction githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosPatchBodyAction; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosReplaceActions") - public PodHttpChaosReplaceActions getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosReplaceActions") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions(PodHttpChaosReplaceActions githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosReplaceActions; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosRule") - public PodHttpChaosRule getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosRule") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule(PodHttpChaosRule githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosRule; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosSelector") - public PodHttpChaosSelector getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosSelector") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector(PodHttpChaosSelector githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSelector; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosSpec") - public PodHttpChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec(PodHttpChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosStatus") - public PodHttpChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodHttpChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus(PodHttpChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PodHttpChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaos") - public PodIOChaos getGithubComChaosMeshChaosMeshApiV1alpha1PodIOChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1PodIOChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodIOChaos(PodIOChaos githubComChaosMeshChaosMeshApiV1alpha1PodIOChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodIOChaos = githubComChaosMeshChaosMeshApiV1alpha1PodIOChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosList") - public PodIOChaosList getGithubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList(PodIOChaosList githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList = githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosSpec") - public PodIOChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec(PodIOChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosStatus") - public PodIOChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodIOChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus(PodIOChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PodIOChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaos") - public PodNetworkChaos getGithubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos(PodNetworkChaos githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos = githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosList") - public PodNetworkChaosList getGithubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList(PodNetworkChaosList githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList = githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosSpec") - public PodNetworkChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec(PodNetworkChaosSpec githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosStatus") - public PodNetworkChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodNetworkChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus(PodNetworkChaosStatus githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1PodNetworkChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodSelector") - public PodSelector getGithubComChaosMeshChaosMeshApiV1alpha1PodSelector() { - return githubComChaosMeshChaosMeshApiV1alpha1PodSelector; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodSelector") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodSelector(PodSelector githubComChaosMeshChaosMeshApiV1alpha1PodSelector) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodSelector = githubComChaosMeshChaosMeshApiV1alpha1PodSelector; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodSelectorSpec") - public PodSelectorSpec getGithubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_PodSelectorSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec(PodSelectorSpec githubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec = githubComChaosMeshChaosMeshApiV1alpha1PodSelectorSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ProcessSpec") - public ProcessSpec getGithubComChaosMeshChaosMeshApiV1alpha1ProcessSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1ProcessSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ProcessSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1ProcessSpec(ProcessSpec githubComChaosMeshChaosMeshApiV1alpha1ProcessSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1ProcessSpec = githubComChaosMeshChaosMeshApiV1alpha1ProcessSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawIPSet") - public RawIPSet getGithubComChaosMeshChaosMeshApiV1alpha1RawIPSet() { - return githubComChaosMeshChaosMeshApiV1alpha1RawIPSet; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawIPSet") - public void setGithubComChaosMeshChaosMeshApiV1alpha1RawIPSet(RawIPSet githubComChaosMeshChaosMeshApiV1alpha1RawIPSet) { - this.githubComChaosMeshChaosMeshApiV1alpha1RawIPSet = githubComChaosMeshChaosMeshApiV1alpha1RawIPSet; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawIptables") - public RawIptables getGithubComChaosMeshChaosMeshApiV1alpha1RawIptables() { - return githubComChaosMeshChaosMeshApiV1alpha1RawIptables; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawIptables") - public void setGithubComChaosMeshChaosMeshApiV1alpha1RawIptables(RawIptables githubComChaosMeshChaosMeshApiV1alpha1RawIptables) { - this.githubComChaosMeshChaosMeshApiV1alpha1RawIptables = githubComChaosMeshChaosMeshApiV1alpha1RawIptables; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawTrafficControl") - public RawTrafficControl getGithubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl() { - return githubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_RawTrafficControl") - public void setGithubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl(RawTrafficControl githubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl) { - this.githubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl = githubComChaosMeshChaosMeshApiV1alpha1RawTrafficControl; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Record") - public Record getGithubComChaosMeshChaosMeshApiV1alpha1Record() { - return githubComChaosMeshChaosMeshApiV1alpha1Record; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Record") - public void setGithubComChaosMeshChaosMeshApiV1alpha1Record(Record githubComChaosMeshChaosMeshApiV1alpha1Record) { - this.githubComChaosMeshChaosMeshApiV1alpha1Record = githubComChaosMeshChaosMeshApiV1alpha1Record; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ReorderSpec") - public ReorderSpec getGithubComChaosMeshChaosMeshApiV1alpha1ReorderSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1ReorderSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_ReorderSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1ReorderSpec(ReorderSpec githubComChaosMeshChaosMeshApiV1alpha1ReorderSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1ReorderSpec = githubComChaosMeshChaosMeshApiV1alpha1ReorderSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressCPUSpec") - public StressCPUSpec getGithubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressCPUSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec(StressCPUSpec githubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec = githubComChaosMeshChaosMeshApiV1alpha1StressCPUSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaos") - public StressChaos getGithubComChaosMeshChaosMeshApiV1alpha1StressChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1StressChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1StressChaos(StressChaos githubComChaosMeshChaosMeshApiV1alpha1StressChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1StressChaos = githubComChaosMeshChaosMeshApiV1alpha1StressChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosList") - public StressChaosList getGithubComChaosMeshChaosMeshApiV1alpha1StressChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1StressChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1StressChaosList(StressChaosList githubComChaosMeshChaosMeshApiV1alpha1StressChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1StressChaosList = githubComChaosMeshChaosMeshApiV1alpha1StressChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosSpec") - public StressChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec(StressChaosSpec githubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1StressChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosStatus") - public StressChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus(StressChaosStatus githubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1StressChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressInstance") - public StressInstance getGithubComChaosMeshChaosMeshApiV1alpha1StressInstance() { - return githubComChaosMeshChaosMeshApiV1alpha1StressInstance; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressInstance") - public void setGithubComChaosMeshChaosMeshApiV1alpha1StressInstance(StressInstance githubComChaosMeshChaosMeshApiV1alpha1StressInstance) { - this.githubComChaosMeshChaosMeshApiV1alpha1StressInstance = githubComChaosMeshChaosMeshApiV1alpha1StressInstance; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressMemorySpec") - public StressMemorySpec getGithubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec() { - return githubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_StressMemorySpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec(StressMemorySpec githubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec = githubComChaosMeshChaosMeshApiV1alpha1StressMemorySpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Stressors") - public Stressors getGithubComChaosMeshChaosMeshApiV1alpha1Stressors() { - return githubComChaosMeshChaosMeshApiV1alpha1Stressors; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Stressors") - public void setGithubComChaosMeshChaosMeshApiV1alpha1Stressors(Stressors githubComChaosMeshChaosMeshApiV1alpha1Stressors) { - this.githubComChaosMeshChaosMeshApiV1alpha1Stressors = githubComChaosMeshChaosMeshApiV1alpha1Stressors; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaos") - public TimeChaos getGithubComChaosMeshChaosMeshApiV1alpha1TimeChaos() { - return githubComChaosMeshChaosMeshApiV1alpha1TimeChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaos") - public void setGithubComChaosMeshChaosMeshApiV1alpha1TimeChaos(TimeChaos githubComChaosMeshChaosMeshApiV1alpha1TimeChaos) { - this.githubComChaosMeshChaosMeshApiV1alpha1TimeChaos = githubComChaosMeshChaosMeshApiV1alpha1TimeChaos; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosList") - public TimeChaosList getGithubComChaosMeshChaosMeshApiV1alpha1TimeChaosList() { - return githubComChaosMeshChaosMeshApiV1alpha1TimeChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosList") - public void setGithubComChaosMeshChaosMeshApiV1alpha1TimeChaosList(TimeChaosList githubComChaosMeshChaosMeshApiV1alpha1TimeChaosList) { - this.githubComChaosMeshChaosMeshApiV1alpha1TimeChaosList = githubComChaosMeshChaosMeshApiV1alpha1TimeChaosList; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosSpec") - public TimeChaosSpec getGithubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec() { - return githubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosSpec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec(TimeChaosSpec githubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec) { - this.githubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec = githubComChaosMeshChaosMeshApiV1alpha1TimeChaosSpec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosStatus") - public TimeChaosStatus getGithubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus() { - return githubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_TimeChaosStatus") - public void setGithubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus(TimeChaosStatus githubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus) { - this.githubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus = githubComChaosMeshChaosMeshApiV1alpha1TimeChaosStatus; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Timespec") - public Timespec getGithubComChaosMeshChaosMeshApiV1alpha1Timespec() { - return githubComChaosMeshChaosMeshApiV1alpha1Timespec; - } - - @JsonProperty("github_com_chaos-mesh_chaos-mesh_api_v1alpha1_Timespec") - public void setGithubComChaosMeshChaosMeshApiV1alpha1Timespec(Timespec githubComChaosMeshChaosMeshApiV1alpha1Timespec) { - this.githubComChaosMeshChaosMeshApiV1alpha1Timespec = githubComChaosMeshChaosMeshApiV1alpha1Timespec; - } - - @JsonIgnore - public ChaosmeshSchemaBuilder edit() { - return new ChaosmeshSchemaBuilder(this); - } - - @JsonIgnore - public ChaosmeshSchemaBuilder toBuilder() { - return edit(); - } - -} diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaos.java index 465f1a5ec8c..d77c83224c7 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class AWSChaos implements Editable , HasMetadata, Namesp @JsonProperty("kind") private String kind = "AWSChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private AWSChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class AWSChaos implements Editable , HasMetadata, Namesp public AWSChaos() { } - public AWSChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, AWSChaosSpec spec, AWSChaosStatus status) { + public AWSChaos(String apiVersion, String kind, ObjectMeta metadata, AWSChaosSpec spec, AWSChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosSpec.java index 426f52c5a6c..75b487811e9 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSChaosSpec.java @@ -41,6 +41,7 @@ "duration", "ec2Instance", "endpoint", + "remoteCluster", "secretName", "volumeID" }) @@ -70,23 +71,25 @@ public class AWSChaosSpec implements Editable , KubernetesR { @JsonProperty("action") - private java.lang.String action; + private String action; @JsonProperty("awsRegion") - private java.lang.String awsRegion; + private String awsRegion; @JsonProperty("deviceName") private String deviceName; @JsonProperty("duration") private String duration; @JsonProperty("ec2Instance") - private java.lang.String ec2Instance; + private String ec2Instance; @JsonProperty("endpoint") private String endpoint; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("secretName") private String secretName; @JsonProperty("volumeID") private String volumeID; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -95,7 +98,7 @@ public class AWSChaosSpec implements Editable , KubernetesR public AWSChaosSpec() { } - public AWSChaosSpec(java.lang.String action, java.lang.String awsRegion, String deviceName, String duration, java.lang.String ec2Instance, String endpoint, String secretName, String volumeID) { + public AWSChaosSpec(String action, String awsRegion, String deviceName, String duration, String ec2Instance, String endpoint, String remoteCluster, String secretName, String volumeID) { super(); this.action = action; this.awsRegion = awsRegion; @@ -103,27 +106,28 @@ public AWSChaosSpec(java.lang.String action, java.lang.String awsRegion, String this.duration = duration; this.ec2Instance = ec2Instance; this.endpoint = endpoint; + this.remoteCluster = remoteCluster; this.secretName = secretName; this.volumeID = volumeID; } @JsonProperty("action") - public java.lang.String getAction() { + public String getAction() { return action; } @JsonProperty("action") - public void setAction(java.lang.String action) { + public void setAction(String action) { this.action = action; } @JsonProperty("awsRegion") - public java.lang.String getAwsRegion() { + public String getAwsRegion() { return awsRegion; } @JsonProperty("awsRegion") - public void setAwsRegion(java.lang.String awsRegion) { + public void setAwsRegion(String awsRegion) { this.awsRegion = awsRegion; } @@ -148,12 +152,12 @@ public void setDuration(String duration) { } @JsonProperty("ec2Instance") - public java.lang.String getEc2Instance() { + public String getEc2Instance() { return ec2Instance; } @JsonProperty("ec2Instance") - public void setEc2Instance(java.lang.String ec2Instance) { + public void setEc2Instance(String ec2Instance) { this.ec2Instance = ec2Instance; } @@ -167,6 +171,16 @@ public void setEndpoint(String endpoint) { this.endpoint = endpoint; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("secretName") public String getSecretName() { return secretName; @@ -198,16 +212,16 @@ public AWSChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSSelector.java new file mode 100644 index 00000000000..ee494d955e6 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AWSSelector.java @@ -0,0 +1,172 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "awsRegion", + "deviceName", + "ec2Instance", + "endpoint", + "volumeID" +}) +@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 AWSSelector implements Editable , KubernetesResource +{ + + @JsonProperty("awsRegion") + private String awsRegion; + @JsonProperty("deviceName") + private String deviceName; + @JsonProperty("ec2Instance") + private String ec2Instance; + @JsonProperty("endpoint") + private String endpoint; + @JsonProperty("volumeID") + private String volumeID; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AWSSelector() { + } + + public AWSSelector(String awsRegion, String deviceName, String ec2Instance, String endpoint, String volumeID) { + super(); + this.awsRegion = awsRegion; + this.deviceName = deviceName; + this.ec2Instance = ec2Instance; + this.endpoint = endpoint; + this.volumeID = volumeID; + } + + @JsonProperty("awsRegion") + public String getAwsRegion() { + return awsRegion; + } + + @JsonProperty("awsRegion") + public void setAwsRegion(String awsRegion) { + this.awsRegion = awsRegion; + } + + @JsonProperty("deviceName") + public String getDeviceName() { + return deviceName; + } + + @JsonProperty("deviceName") + public void setDeviceName(String deviceName) { + this.deviceName = deviceName; + } + + @JsonProperty("ec2Instance") + public String getEc2Instance() { + return ec2Instance; + } + + @JsonProperty("ec2Instance") + public void setEc2Instance(String ec2Instance) { + this.ec2Instance = ec2Instance; + } + + @JsonProperty("endpoint") + public String getEndpoint() { + return endpoint; + } + + @JsonProperty("endpoint") + public void setEndpoint(String endpoint) { + this.endpoint = endpoint; + } + + @JsonProperty("volumeID") + public String getVolumeID() { + return volumeID; + } + + @JsonProperty("volumeID") + public void setVolumeID(String volumeID) { + this.volumeID = volumeID; + } + + @JsonIgnore + public AWSSelectorBuilder edit() { + return new AWSSelectorBuilder(this); + } + + @JsonIgnore + public AWSSelectorBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AttrOverrideSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AttrOverrideSpec.java index ba98c9518fa..b623419564c 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AttrOverrideSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AttrOverrideSpec.java @@ -98,7 +98,7 @@ public class AttrOverrideSpec implements Editable , Kub @JsonProperty("uid") private Long uid; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -254,16 +254,16 @@ public AttrOverrideSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaos.java new file mode 100644 index 00000000000..e504abafc9b --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaos.java @@ -0,0 +1,212 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class AzureChaos implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "AzureChaos"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private AzureChaosSpec spec; + @JsonProperty("status") + private AzureChaosStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AzureChaos() { + } + + public AzureChaos(String apiVersion, String kind, ObjectMeta metadata, AzureChaosSpec spec, AzureChaosStatus 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 AzureChaosSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(AzureChaosSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public AzureChaosStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(AzureChaosStatus status) { + this.status = status; + } + + @JsonIgnore + public AzureChaosBuilder edit() { + return new AzureChaosBuilder(this); + } + + @JsonIgnore + public AzureChaosBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosList.java new file mode 100644 index 00000000000..b4b29526257 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosList.java @@ -0,0 +1,203 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class AzureChaosList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "AzureChaosList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AzureChaosList() { + } + + public AzureChaosList(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 AzureChaosListBuilder edit() { + return new AzureChaosListBuilder(this); + } + + @JsonIgnore + public AzureChaosListBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosSpec.java new file mode 100644 index 00000000000..d79036c2928 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosSpec.java @@ -0,0 +1,228 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "action", + "diskName", + "duration", + "lun", + "remoteCluster", + "resourceGroupName", + "secretName", + "subscriptionID", + "vmName" +}) +@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 AzureChaosSpec implements Editable , KubernetesResource +{ + + @JsonProperty("action") + private String action; + @JsonProperty("diskName") + private String diskName; + @JsonProperty("duration") + private String duration; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("remoteCluster") + private String remoteCluster; + @JsonProperty("resourceGroupName") + private String resourceGroupName; + @JsonProperty("secretName") + private String secretName; + @JsonProperty("subscriptionID") + private String subscriptionID; + @JsonProperty("vmName") + private String vmName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AzureChaosSpec() { + } + + public AzureChaosSpec(String action, String diskName, String duration, Integer lun, String remoteCluster, String resourceGroupName, String secretName, String subscriptionID, String vmName) { + super(); + this.action = action; + this.diskName = diskName; + this.duration = duration; + this.lun = lun; + this.remoteCluster = remoteCluster; + this.resourceGroupName = resourceGroupName; + this.secretName = secretName; + this.subscriptionID = subscriptionID; + this.vmName = vmName; + } + + @JsonProperty("action") + public String getAction() { + return action; + } + + @JsonProperty("action") + public void setAction(String action) { + this.action = action; + } + + @JsonProperty("diskName") + public String getDiskName() { + return diskName; + } + + @JsonProperty("diskName") + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @JsonProperty("duration") + public String getDuration() { + return duration; + } + + @JsonProperty("duration") + public void setDuration(String duration) { + this.duration = duration; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + + @JsonProperty("resourceGroupName") + public String getResourceGroupName() { + return resourceGroupName; + } + + @JsonProperty("resourceGroupName") + public void setResourceGroupName(String resourceGroupName) { + this.resourceGroupName = resourceGroupName; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonProperty("subscriptionID") + public String getSubscriptionID() { + return subscriptionID; + } + + @JsonProperty("subscriptionID") + public void setSubscriptionID(String subscriptionID) { + this.subscriptionID = subscriptionID; + } + + @JsonProperty("vmName") + public String getVmName() { + return vmName; + } + + @JsonProperty("vmName") + public void setVmName(String vmName) { + this.vmName = vmName; + } + + @JsonIgnore + public AzureChaosSpecBuilder edit() { + return new AzureChaosSpecBuilder(this); + } + + @JsonIgnore + public AzureChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosStatus.java new file mode 100644 index 00000000000..397c4bb9ab5 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureChaosStatus.java @@ -0,0 +1,134 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "conditions", + "experiment" +}) +@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 AzureChaosStatus implements Editable , KubernetesResource +{ + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("experiment") + private ExperimentStatus experiment; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AzureChaosStatus() { + } + + public AzureChaosStatus(List conditions, ExperimentStatus experiment) { + super(); + this.conditions = conditions; + this.experiment = experiment; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("experiment") + public ExperimentStatus getExperiment() { + return experiment; + } + + @JsonProperty("experiment") + public void setExperiment(ExperimentStatus experiment) { + this.experiment = experiment; + } + + @JsonIgnore + public AzureChaosStatusBuilder edit() { + return new AzureChaosStatusBuilder(this); + } + + @JsonIgnore + public AzureChaosStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureSelector.java new file mode 100644 index 00000000000..e6ee8d72100 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/AzureSelector.java @@ -0,0 +1,200 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "diskName", + "lun", + "remoteCluster", + "resourceGroupName", + "secretName", + "subscriptionID", + "vmName" +}) +@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 AzureSelector implements Editable , KubernetesResource +{ + + @JsonProperty("diskName") + private String diskName; + @JsonProperty("lun") + private Integer lun; + @JsonProperty("remoteCluster") + private String remoteCluster; + @JsonProperty("resourceGroupName") + private String resourceGroupName; + @JsonProperty("secretName") + private String secretName; + @JsonProperty("subscriptionID") + private String subscriptionID; + @JsonProperty("vmName") + private String vmName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AzureSelector() { + } + + public AzureSelector(String diskName, Integer lun, String remoteCluster, String resourceGroupName, String secretName, String subscriptionID, String vmName) { + super(); + this.diskName = diskName; + this.lun = lun; + this.remoteCluster = remoteCluster; + this.resourceGroupName = resourceGroupName; + this.secretName = secretName; + this.subscriptionID = subscriptionID; + this.vmName = vmName; + } + + @JsonProperty("diskName") + public String getDiskName() { + return diskName; + } + + @JsonProperty("diskName") + public void setDiskName(String diskName) { + this.diskName = diskName; + } + + @JsonProperty("lun") + public Integer getLun() { + return lun; + } + + @JsonProperty("lun") + public void setLun(Integer lun) { + this.lun = lun; + } + + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + + @JsonProperty("resourceGroupName") + public String getResourceGroupName() { + return resourceGroupName; + } + + @JsonProperty("resourceGroupName") + public void setResourceGroupName(String resourceGroupName) { + this.resourceGroupName = resourceGroupName; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonProperty("subscriptionID") + public String getSubscriptionID() { + return subscriptionID; + } + + @JsonProperty("subscriptionID") + public void setSubscriptionID(String subscriptionID) { + this.subscriptionID = subscriptionID; + } + + @JsonProperty("vmName") + public String getVmName() { + return vmName; + } + + @JsonProperty("vmName") + public void setVmName(String vmName) { + this.vmName = vmName; + } + + @JsonIgnore + public AzureSelectorBuilder edit() { + return new AzureSelectorBuilder(this); + } + + @JsonIgnore + public AzureSelectorBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BandwidthSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BandwidthSpec.java index 6cc510da3c3..9ea639e158a 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BandwidthSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BandwidthSpec.java @@ -67,9 +67,9 @@ public class BandwidthSpec implements Editable , Kubernete { @JsonProperty("buffer") - private Integer buffer; + private Long buffer; @JsonProperty("limit") - private Integer limit; + private Long limit; @JsonProperty("minburst") private Long minburst; @JsonProperty("peakrate") @@ -86,7 +86,7 @@ public class BandwidthSpec implements Editable , Kubernete public BandwidthSpec() { } - public BandwidthSpec(Integer buffer, Integer limit, Long minburst, Long peakrate, String rate) { + public BandwidthSpec(Long buffer, Long limit, Long minburst, Long peakrate, String rate) { super(); this.buffer = buffer; this.limit = limit; @@ -96,22 +96,22 @@ public BandwidthSpec(Integer buffer, Integer limit, Long minburst, Long peakrate } @JsonProperty("buffer") - public Integer getBuffer() { + public Long getBuffer() { return buffer; } @JsonProperty("buffer") - public void setBuffer(Integer buffer) { + public void setBuffer(Long buffer) { this.buffer = buffer; } @JsonProperty("limit") - public Integer getLimit() { + public Long getLimit() { return limit; } @JsonProperty("limit") - public void setLimit(Integer limit) { + public void setLimit(Long limit) { this.limit = limit; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaos.java index ca94a9fa87b..c6b021e56d7 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class BlockChaos implements Editable , HasMetadata, Na @JsonProperty("kind") private String kind = "BlockChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private BlockChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class BlockChaos implements Editable , HasMetadata, Na public BlockChaos() { } - public BlockChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, BlockChaosSpec spec, BlockChaosStatus status) { + public BlockChaos(String apiVersion, String kind, ObjectMeta metadata, BlockChaosSpec spec, BlockChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java index 80707f05565..26c24b88e33 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosSpec.java @@ -41,8 +41,8 @@ "containerNames", "delay", "duration", - "iops", "mode", + "remoteCluster", "selector", "value", "volumeName" @@ -73,26 +73,26 @@ public class BlockChaosSpec implements Editable , Kuberne { @JsonProperty("action") - private java.lang.String action; + private String action; @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containerNames = new ArrayList<>(); + private List containerNames = new ArrayList<>(); @JsonProperty("delay") private BlockDelaySpec delay; @JsonProperty("duration") private String duration; - @JsonProperty("iops") - private Integer iops; @JsonProperty("mode") - private java.lang.String mode; + private String mode; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonProperty("volumeName") - private java.lang.String volumeName; + private String volumeName; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -101,37 +101,37 @@ public class BlockChaosSpec implements Editable , Kuberne public BlockChaosSpec() { } - public BlockChaosSpec(java.lang.String action, List containerNames, BlockDelaySpec delay, String duration, Integer iops, java.lang.String mode, PodSelectorSpec selector, java.lang.String value, java.lang.String volumeName) { + public BlockChaosSpec(String action, List containerNames, BlockDelaySpec delay, String duration, String mode, String remoteCluster, PodSelectorSpec selector, String value, String volumeName) { super(); this.action = action; this.containerNames = containerNames; this.delay = delay; this.duration = duration; - this.iops = iops; this.mode = mode; + this.remoteCluster = remoteCluster; this.selector = selector; this.value = value; this.volumeName = volumeName; } @JsonProperty("action") - public java.lang.String getAction() { + public String getAction() { return action; } @JsonProperty("action") - public void setAction(java.lang.String action) { + public void setAction(String action) { this.action = action; } @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainerNames() { + public List getContainerNames() { return containerNames; } @JsonProperty("containerNames") - public void setContainerNames(List containerNames) { + public void setContainerNames(List containerNames) { this.containerNames = containerNames; } @@ -155,26 +155,26 @@ public void setDuration(String duration) { this.duration = duration; } - @JsonProperty("iops") - public Integer getIops() { - return iops; - } - - @JsonProperty("iops") - public void setIops(Integer iops) { - this.iops = iops; - } - @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PodSelectorSpec getSelector() { return selector; @@ -186,22 +186,22 @@ public void setSelector(PodSelectorSpec selector) { } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @JsonProperty("volumeName") - public java.lang.String getVolumeName() { + public String getVolumeName() { return volumeName; } @JsonProperty("volumeName") - public void setVolumeName(java.lang.String volumeName) { + public void setVolumeName(String volumeName) { this.volumeName = volumeName; } @@ -216,16 +216,16 @@ public BlockChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosStatus.java index 344a5182999..f50f6896dee 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/BlockChaosStatus.java @@ -75,7 +75,7 @@ public class BlockChaosStatus implements Editable , Kub @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map ids = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -134,16 +134,16 @@ public BlockChaosStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java index b202bfab6ef..c83f848c41e 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CPUStressor.java @@ -72,7 +72,7 @@ public class CPUStressor implements Editable , KubernetesRes @JsonInclude(JsonInclude.Include.NON_EMPTY) private List options = new ArrayList<>(); @JsonProperty("workers") - private java.lang.Integer workers; + private Integer workers; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -83,7 +83,7 @@ public class CPUStressor implements Editable , KubernetesRes public CPUStressor() { } - public CPUStressor(Integer load, List options, java.lang.Integer workers) { + public CPUStressor(Integer load, List options, Integer workers) { super(); this.load = load; this.options = options; @@ -112,12 +112,12 @@ public void setOptions(List options) { } @JsonProperty("workers") - public java.lang.Integer getWorkers() { + public Integer getWorkers() { return workers; } @JsonProperty("workers") - public void setWorkers(java.lang.Integer workers) { + public void setWorkers(Integer workers) { this.workers = workers; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosKind.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosKind.java new file mode 100644 index 00000000000..6e23c80e832 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosKind.java @@ -0,0 +1,91 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.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({ + +}) +@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 ChaosKind implements Editable , KubernetesResource +{ + + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + @JsonIgnore + public ChaosKindBuilder edit() { + return new ChaosKindBuilder(this); + } + + @JsonIgnore + public ChaosKindBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosOnlyScheduleSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosOnlyScheduleSpec.java new file mode 100644 index 00000000000..f02e2907f82 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosOnlyScheduleSpec.java @@ -0,0 +1,368 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "awsChaos", + "azureChaos", + "blockChaos", + "concurrencyPolicy", + "dnsChaos", + "gcpChaos", + "historyLimit", + "httpChaos", + "ioChaos", + "jvmChaos", + "kernelChaos", + "networkChaos", + "physicalmachineChaos", + "podChaos", + "schedule", + "startingDeadlineSeconds", + "stressChaos", + "timeChaos", + "type" +}) +@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 ChaosOnlyScheduleSpec implements Editable , KubernetesResource +{ + + @JsonProperty("awsChaos") + private AWSChaosSpec awsChaos; + @JsonProperty("azureChaos") + private AzureChaosSpec azureChaos; + @JsonProperty("blockChaos") + private BlockChaosSpec blockChaos; + @JsonProperty("concurrencyPolicy") + private String concurrencyPolicy; + @JsonProperty("dnsChaos") + private DNSChaosSpec dnsChaos; + @JsonProperty("gcpChaos") + private GCPChaosSpec gcpChaos; + @JsonProperty("historyLimit") + private Integer historyLimit; + @JsonProperty("httpChaos") + private HTTPChaosSpec httpChaos; + @JsonProperty("ioChaos") + private IOChaosSpec ioChaos; + @JsonProperty("jvmChaos") + private JVMChaosSpec jvmChaos; + @JsonProperty("kernelChaos") + private KernelChaosSpec kernelChaos; + @JsonProperty("networkChaos") + private NetworkChaosSpec networkChaos; + @JsonProperty("physicalmachineChaos") + private PhysicalMachineChaosSpec physicalmachineChaos; + @JsonProperty("podChaos") + private PodChaosSpec podChaos; + @JsonProperty("schedule") + private String schedule; + @JsonProperty("startingDeadlineSeconds") + private Long startingDeadlineSeconds; + @JsonProperty("stressChaos") + private StressChaosSpec stressChaos; + @JsonProperty("timeChaos") + private TimeChaosSpec timeChaos; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ChaosOnlyScheduleSpec() { + } + + public ChaosOnlyScheduleSpec(AWSChaosSpec awsChaos, AzureChaosSpec azureChaos, BlockChaosSpec blockChaos, String concurrencyPolicy, DNSChaosSpec dnsChaos, GCPChaosSpec gcpChaos, Integer historyLimit, HTTPChaosSpec httpChaos, IOChaosSpec ioChaos, JVMChaosSpec jvmChaos, KernelChaosSpec kernelChaos, NetworkChaosSpec networkChaos, PhysicalMachineChaosSpec physicalmachineChaos, PodChaosSpec podChaos, String schedule, Long startingDeadlineSeconds, StressChaosSpec stressChaos, TimeChaosSpec timeChaos, String type) { + super(); + this.awsChaos = awsChaos; + this.azureChaos = azureChaos; + this.blockChaos = blockChaos; + this.concurrencyPolicy = concurrencyPolicy; + this.dnsChaos = dnsChaos; + this.gcpChaos = gcpChaos; + this.historyLimit = historyLimit; + this.httpChaos = httpChaos; + this.ioChaos = ioChaos; + this.jvmChaos = jvmChaos; + this.kernelChaos = kernelChaos; + this.networkChaos = networkChaos; + this.physicalmachineChaos = physicalmachineChaos; + this.podChaos = podChaos; + this.schedule = schedule; + this.startingDeadlineSeconds = startingDeadlineSeconds; + this.stressChaos = stressChaos; + this.timeChaos = timeChaos; + this.type = type; + } + + @JsonProperty("awsChaos") + public AWSChaosSpec getAwsChaos() { + return awsChaos; + } + + @JsonProperty("awsChaos") + public void setAwsChaos(AWSChaosSpec awsChaos) { + this.awsChaos = awsChaos; + } + + @JsonProperty("azureChaos") + public AzureChaosSpec getAzureChaos() { + return azureChaos; + } + + @JsonProperty("azureChaos") + public void setAzureChaos(AzureChaosSpec azureChaos) { + this.azureChaos = azureChaos; + } + + @JsonProperty("blockChaos") + public BlockChaosSpec getBlockChaos() { + return blockChaos; + } + + @JsonProperty("blockChaos") + public void setBlockChaos(BlockChaosSpec blockChaos) { + this.blockChaos = blockChaos; + } + + @JsonProperty("concurrencyPolicy") + public String getConcurrencyPolicy() { + return concurrencyPolicy; + } + + @JsonProperty("concurrencyPolicy") + public void setConcurrencyPolicy(String concurrencyPolicy) { + this.concurrencyPolicy = concurrencyPolicy; + } + + @JsonProperty("dnsChaos") + public DNSChaosSpec getDnsChaos() { + return dnsChaos; + } + + @JsonProperty("dnsChaos") + public void setDnsChaos(DNSChaosSpec dnsChaos) { + this.dnsChaos = dnsChaos; + } + + @JsonProperty("gcpChaos") + public GCPChaosSpec getGcpChaos() { + return gcpChaos; + } + + @JsonProperty("gcpChaos") + public void setGcpChaos(GCPChaosSpec gcpChaos) { + this.gcpChaos = gcpChaos; + } + + @JsonProperty("historyLimit") + public Integer getHistoryLimit() { + return historyLimit; + } + + @JsonProperty("historyLimit") + public void setHistoryLimit(Integer historyLimit) { + this.historyLimit = historyLimit; + } + + @JsonProperty("httpChaos") + public HTTPChaosSpec getHttpChaos() { + return httpChaos; + } + + @JsonProperty("httpChaos") + public void setHttpChaos(HTTPChaosSpec httpChaos) { + this.httpChaos = httpChaos; + } + + @JsonProperty("ioChaos") + public IOChaosSpec getIoChaos() { + return ioChaos; + } + + @JsonProperty("ioChaos") + public void setIoChaos(IOChaosSpec ioChaos) { + this.ioChaos = ioChaos; + } + + @JsonProperty("jvmChaos") + public JVMChaosSpec getJvmChaos() { + return jvmChaos; + } + + @JsonProperty("jvmChaos") + public void setJvmChaos(JVMChaosSpec jvmChaos) { + this.jvmChaos = jvmChaos; + } + + @JsonProperty("kernelChaos") + public KernelChaosSpec getKernelChaos() { + return kernelChaos; + } + + @JsonProperty("kernelChaos") + public void setKernelChaos(KernelChaosSpec kernelChaos) { + this.kernelChaos = kernelChaos; + } + + @JsonProperty("networkChaos") + public NetworkChaosSpec getNetworkChaos() { + return networkChaos; + } + + @JsonProperty("networkChaos") + public void setNetworkChaos(NetworkChaosSpec networkChaos) { + this.networkChaos = networkChaos; + } + + @JsonProperty("physicalmachineChaos") + public PhysicalMachineChaosSpec getPhysicalmachineChaos() { + return physicalmachineChaos; + } + + @JsonProperty("physicalmachineChaos") + public void setPhysicalmachineChaos(PhysicalMachineChaosSpec physicalmachineChaos) { + this.physicalmachineChaos = physicalmachineChaos; + } + + @JsonProperty("podChaos") + public PodChaosSpec getPodChaos() { + return podChaos; + } + + @JsonProperty("podChaos") + public void setPodChaos(PodChaosSpec podChaos) { + this.podChaos = podChaos; + } + + @JsonProperty("schedule") + public String getSchedule() { + return schedule; + } + + @JsonProperty("schedule") + public void setSchedule(String schedule) { + this.schedule = schedule; + } + + @JsonProperty("startingDeadlineSeconds") + public Long getStartingDeadlineSeconds() { + return startingDeadlineSeconds; + } + + @JsonProperty("startingDeadlineSeconds") + public void setStartingDeadlineSeconds(Long startingDeadlineSeconds) { + this.startingDeadlineSeconds = startingDeadlineSeconds; + } + + @JsonProperty("stressChaos") + public StressChaosSpec getStressChaos() { + return stressChaos; + } + + @JsonProperty("stressChaos") + public void setStressChaos(StressChaosSpec stressChaos) { + this.stressChaos = stressChaos; + } + + @JsonProperty("timeChaos") + public TimeChaosSpec getTimeChaos() { + return timeChaos; + } + + @JsonProperty("timeChaos") + public void setTimeChaos(TimeChaosSpec timeChaos) { + this.timeChaos = timeChaos; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ChaosOnlyScheduleSpecBuilder edit() { + return new ChaosOnlyScheduleSpecBuilder(this); + } + + @JsonIgnore + public ChaosOnlyScheduleSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosStatus.java new file mode 100644 index 00000000000..ad0326d0cc5 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ChaosStatus.java @@ -0,0 +1,134 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "conditions", + "experiment" +}) +@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 ChaosStatus implements Editable , KubernetesResource +{ + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("experiment") + private ExperimentStatus experiment; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ChaosStatus() { + } + + public ChaosStatus(List conditions, ExperimentStatus experiment) { + super(); + this.conditions = conditions; + this.experiment = experiment; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("experiment") + public ExperimentStatus getExperiment() { + return experiment; + } + + @JsonProperty("experiment") + public void setExperiment(ExperimentStatus experiment) { + this.experiment = experiment; + } + + @JsonIgnore + public ChaosStatusBuilder edit() { + return new ChaosStatusBuilder(this); + } + + @JsonIgnore + public ChaosStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CidrAndPort.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CidrAndPort.java new file mode 100644 index 00000000000..c17ce9809c4 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/CidrAndPort.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "cidr", + "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 CidrAndPort implements Editable , KubernetesResource +{ + + @JsonProperty("cidr") + private String cidr; + @JsonProperty("port") + private Integer port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CidrAndPort() { + } + + public CidrAndPort(String cidr, Integer port) { + super(); + this.cidr = cidr; + this.port = port; + } + + @JsonProperty("cidr") + public String getCidr() { + return cidr; + } + + @JsonProperty("cidr") + public void setCidr(String cidr) { + this.cidr = cidr; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonIgnore + public CidrAndPortBuilder edit() { + return new CidrAndPortBuilder(this); + } + + @JsonIgnore + public CidrAndPortBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranch.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranch.java new file mode 100644 index 00000000000..fdbd4026f0d --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranch.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "expression", + "target" +}) +@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 ConditionalBranch implements Editable , KubernetesResource +{ + + @JsonProperty("expression") + private String expression; + @JsonProperty("target") + private String target; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ConditionalBranch() { + } + + public ConditionalBranch(String expression, String target) { + super(); + this.expression = expression; + this.target = target; + } + + @JsonProperty("expression") + public String getExpression() { + return expression; + } + + @JsonProperty("expression") + public void setExpression(String expression) { + this.expression = expression; + } + + @JsonProperty("target") + public String getTarget() { + return target; + } + + @JsonProperty("target") + public void setTarget(String target) { + this.target = target; + } + + @JsonIgnore + public ConditionalBranchBuilder edit() { + return new ConditionalBranchBuilder(this); + } + + @JsonIgnore + public ConditionalBranchBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranchStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranchStatus.java new file mode 100644 index 00000000000..0372f5be149 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranchStatus.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "evaluationResult", + "target" +}) +@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 ConditionalBranchStatus implements Editable , KubernetesResource +{ + + @JsonProperty("evaluationResult") + private String evaluationResult; + @JsonProperty("target") + private String target; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ConditionalBranchStatus() { + } + + public ConditionalBranchStatus(String evaluationResult, String target) { + super(); + this.evaluationResult = evaluationResult; + this.target = target; + } + + @JsonProperty("evaluationResult") + public String getEvaluationResult() { + return evaluationResult; + } + + @JsonProperty("evaluationResult") + public void setEvaluationResult(String evaluationResult) { + this.evaluationResult = evaluationResult; + } + + @JsonProperty("target") + public String getTarget() { + return target; + } + + @JsonProperty("target") + public void setTarget(String target) { + this.target = target; + } + + @JsonIgnore + public ConditionalBranchStatusBuilder edit() { + return new ConditionalBranchStatusBuilder(this); + } + + @JsonIgnore + public ConditionalBranchStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranchesStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranchesStatus.java new file mode 100644 index 00000000000..27289f3d381 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ConditionalBranchesStatus.java @@ -0,0 +1,136 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "branches", + "context" +}) +@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 ConditionalBranchesStatus implements Editable , KubernetesResource +{ + + @JsonProperty("branches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List branches = new ArrayList<>(); + @JsonProperty("context") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List context = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ConditionalBranchesStatus() { + } + + public ConditionalBranchesStatus(List branches, List context) { + super(); + this.branches = branches; + this.context = context; + } + + @JsonProperty("branches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getBranches() { + return branches; + } + + @JsonProperty("branches") + public void setBranches(List branches) { + this.branches = branches; + } + + @JsonProperty("context") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getContext() { + return context; + } + + @JsonProperty("context") + public void setContext(List context) { + this.context = context; + } + + @JsonIgnore + public ConditionalBranchesStatusBuilder edit() { + return new ConditionalBranchesStatusBuilder(this); + } + + @JsonIgnore + public ConditionalBranchesStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ContainerNodeVolumePathSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ContainerNodeVolumePathSelector.java new file mode 100644 index 00000000000..73a5107e9ec --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ContainerNodeVolumePathSelector.java @@ -0,0 +1,176 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "containerNames", + "mode", + "selector", + "value", + "volumeName" +}) +@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 ContainerNodeVolumePathSelector implements Editable , KubernetesResource +{ + + @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List containerNames = new ArrayList<>(); + @JsonProperty("mode") + private String mode; + @JsonProperty("selector") + private PodSelectorSpec selector; + @JsonProperty("value") + private String value; + @JsonProperty("volumeName") + private String volumeName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ContainerNodeVolumePathSelector() { + } + + public ContainerNodeVolumePathSelector(List containerNames, String mode, PodSelectorSpec selector, String value, String volumeName) { + super(); + this.containerNames = containerNames; + this.mode = mode; + this.selector = selector; + this.value = value; + this.volumeName = volumeName; + } + + @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getContainerNames() { + return containerNames; + } + + @JsonProperty("containerNames") + public void setContainerNames(List containerNames) { + this.containerNames = containerNames; + } + + @JsonProperty("mode") + public String getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(String mode) { + this.mode = mode; + } + + @JsonProperty("selector") + public PodSelectorSpec getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(PodSelectorSpec selector) { + this.selector = selector; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonProperty("volumeName") + public String getVolumeName() { + return volumeName; + } + + @JsonProperty("volumeName") + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + + @JsonIgnore + public ContainerNodeVolumePathSelectorBuilder edit() { + return new ContainerNodeVolumePathSelectorBuilder(this); + } + + @JsonIgnore + public ContainerNodeVolumePathSelectorBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ContainerSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ContainerSelector.java new file mode 100644 index 00000000000..4bc387c4520 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ContainerSelector.java @@ -0,0 +1,162 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "containerNames", + "mode", + "selector", + "value" +}) +@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 ContainerSelector implements Editable , KubernetesResource +{ + + @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List containerNames = new ArrayList<>(); + @JsonProperty("mode") + private String mode; + @JsonProperty("selector") + private PodSelectorSpec selector; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ContainerSelector() { + } + + public ContainerSelector(List containerNames, String mode, PodSelectorSpec selector, String value) { + super(); + this.containerNames = containerNames; + this.mode = mode; + this.selector = selector; + this.value = value; + } + + @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getContainerNames() { + return containerNames; + } + + @JsonProperty("containerNames") + public void setContainerNames(List containerNames) { + this.containerNames = containerNames; + } + + @JsonProperty("mode") + public String getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(String mode) { + this.mode = mode; + } + + @JsonProperty("selector") + public PodSelectorSpec getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(PodSelectorSpec selector) { + this.selector = selector; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public ContainerSelectorBuilder edit() { + return new ContainerSelectorBuilder(this); + } + + @JsonIgnore + public ContainerSelectorBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaos.java index f2b1a12f6d2..1453e8bbc5f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class DNSChaos implements Editable , HasMetadata, Namesp @JsonProperty("kind") private String kind = "DNSChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private DNSChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class DNSChaos implements Editable , HasMetadata, Namesp public DNSChaos() { } - public DNSChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, DNSChaosSpec spec, DNSChaosStatus status) { + public DNSChaos(String apiVersion, String kind, ObjectMeta metadata, DNSChaosSpec spec, DNSChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java index 8626c730584..7a512aecb7b 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DNSChaosSpec.java @@ -42,6 +42,7 @@ "duration", "mode", "patterns", + "remoteCluster", "selector", "value" }) @@ -71,23 +72,25 @@ public class DNSChaosSpec implements Editable , KubernetesR { @JsonProperty("action") - private java.lang.String action; + private String action; @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containerNames = new ArrayList<>(); + private List containerNames = new ArrayList<>(); @JsonProperty("duration") private String duration; @JsonProperty("mode") - private java.lang.String mode; + private String mode; @JsonProperty("patterns") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List patterns = new ArrayList<>(); + private List patterns = new ArrayList<>(); + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -96,35 +99,36 @@ public class DNSChaosSpec implements Editable , KubernetesR public DNSChaosSpec() { } - public DNSChaosSpec(java.lang.String action, List containerNames, String duration, java.lang.String mode, List patterns, PodSelectorSpec selector, java.lang.String value) { + public DNSChaosSpec(String action, List containerNames, String duration, String mode, List patterns, String remoteCluster, PodSelectorSpec selector, String value) { super(); this.action = action; this.containerNames = containerNames; this.duration = duration; this.mode = mode; this.patterns = patterns; + this.remoteCluster = remoteCluster; this.selector = selector; this.value = value; } @JsonProperty("action") - public java.lang.String getAction() { + public String getAction() { return action; } @JsonProperty("action") - public void setAction(java.lang.String action) { + public void setAction(String action) { this.action = action; } @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainerNames() { + public List getContainerNames() { return containerNames; } @JsonProperty("containerNames") - public void setContainerNames(List containerNames) { + public void setContainerNames(List containerNames) { this.containerNames = containerNames; } @@ -139,26 +143,36 @@ public void setDuration(String duration) { } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } @JsonProperty("patterns") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPatterns() { + public List getPatterns() { return patterns; } @JsonProperty("patterns") - public void setPatterns(List patterns) { + public void setPatterns(List patterns) { this.patterns = patterns; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PodSelectorSpec getSelector() { return selector; @@ -170,12 +184,12 @@ public void setSelector(PodSelectorSpec selector) { } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @@ -190,16 +204,16 @@ public DNSChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskFileSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskFileSpec.java new file mode 100644 index 00000000000..71ae261763d --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/DiskFileSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "path", + "size" +}) +@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 DiskFileSpec implements Editable , KubernetesResource +{ + + @JsonProperty("path") + private String path; + @JsonProperty("size") + private String size; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public DiskFileSpec() { + } + + public DiskFileSpec(String path, String size) { + super(); + this.path = path; + this.size = size; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("size") + public String getSize() { + return size; + } + + @JsonProperty("size") + public void setSize(String size) { + this.size = size; + } + + @JsonIgnore + public DiskFileSpecBuilder edit() { + return new DiskFileSpecBuilder(this); + } + + @JsonIgnore + public DiskFileSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/EmbedChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/EmbedChaos.java new file mode 100644 index 00000000000..428e675de6a --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/EmbedChaos.java @@ -0,0 +1,298 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "awsChaos", + "azureChaos", + "blockChaos", + "dnsChaos", + "gcpChaos", + "httpChaos", + "ioChaos", + "jvmChaos", + "kernelChaos", + "networkChaos", + "physicalmachineChaos", + "podChaos", + "stressChaos", + "timeChaos" +}) +@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 EmbedChaos implements Editable , KubernetesResource +{ + + @JsonProperty("awsChaos") + private AWSChaosSpec awsChaos; + @JsonProperty("azureChaos") + private AzureChaosSpec azureChaos; + @JsonProperty("blockChaos") + private BlockChaosSpec blockChaos; + @JsonProperty("dnsChaos") + private DNSChaosSpec dnsChaos; + @JsonProperty("gcpChaos") + private GCPChaosSpec gcpChaos; + @JsonProperty("httpChaos") + private HTTPChaosSpec httpChaos; + @JsonProperty("ioChaos") + private IOChaosSpec ioChaos; + @JsonProperty("jvmChaos") + private JVMChaosSpec jvmChaos; + @JsonProperty("kernelChaos") + private KernelChaosSpec kernelChaos; + @JsonProperty("networkChaos") + private NetworkChaosSpec networkChaos; + @JsonProperty("physicalmachineChaos") + private PhysicalMachineChaosSpec physicalmachineChaos; + @JsonProperty("podChaos") + private PodChaosSpec podChaos; + @JsonProperty("stressChaos") + private StressChaosSpec stressChaos; + @JsonProperty("timeChaos") + private TimeChaosSpec timeChaos; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public EmbedChaos() { + } + + public EmbedChaos(AWSChaosSpec awsChaos, AzureChaosSpec azureChaos, BlockChaosSpec blockChaos, DNSChaosSpec dnsChaos, GCPChaosSpec gcpChaos, HTTPChaosSpec httpChaos, IOChaosSpec ioChaos, JVMChaosSpec jvmChaos, KernelChaosSpec kernelChaos, NetworkChaosSpec networkChaos, PhysicalMachineChaosSpec physicalmachineChaos, PodChaosSpec podChaos, StressChaosSpec stressChaos, TimeChaosSpec timeChaos) { + super(); + this.awsChaos = awsChaos; + this.azureChaos = azureChaos; + this.blockChaos = blockChaos; + this.dnsChaos = dnsChaos; + this.gcpChaos = gcpChaos; + this.httpChaos = httpChaos; + this.ioChaos = ioChaos; + this.jvmChaos = jvmChaos; + this.kernelChaos = kernelChaos; + this.networkChaos = networkChaos; + this.physicalmachineChaos = physicalmachineChaos; + this.podChaos = podChaos; + this.stressChaos = stressChaos; + this.timeChaos = timeChaos; + } + + @JsonProperty("awsChaos") + public AWSChaosSpec getAwsChaos() { + return awsChaos; + } + + @JsonProperty("awsChaos") + public void setAwsChaos(AWSChaosSpec awsChaos) { + this.awsChaos = awsChaos; + } + + @JsonProperty("azureChaos") + public AzureChaosSpec getAzureChaos() { + return azureChaos; + } + + @JsonProperty("azureChaos") + public void setAzureChaos(AzureChaosSpec azureChaos) { + this.azureChaos = azureChaos; + } + + @JsonProperty("blockChaos") + public BlockChaosSpec getBlockChaos() { + return blockChaos; + } + + @JsonProperty("blockChaos") + public void setBlockChaos(BlockChaosSpec blockChaos) { + this.blockChaos = blockChaos; + } + + @JsonProperty("dnsChaos") + public DNSChaosSpec getDnsChaos() { + return dnsChaos; + } + + @JsonProperty("dnsChaos") + public void setDnsChaos(DNSChaosSpec dnsChaos) { + this.dnsChaos = dnsChaos; + } + + @JsonProperty("gcpChaos") + public GCPChaosSpec getGcpChaos() { + return gcpChaos; + } + + @JsonProperty("gcpChaos") + public void setGcpChaos(GCPChaosSpec gcpChaos) { + this.gcpChaos = gcpChaos; + } + + @JsonProperty("httpChaos") + public HTTPChaosSpec getHttpChaos() { + return httpChaos; + } + + @JsonProperty("httpChaos") + public void setHttpChaos(HTTPChaosSpec httpChaos) { + this.httpChaos = httpChaos; + } + + @JsonProperty("ioChaos") + public IOChaosSpec getIoChaos() { + return ioChaos; + } + + @JsonProperty("ioChaos") + public void setIoChaos(IOChaosSpec ioChaos) { + this.ioChaos = ioChaos; + } + + @JsonProperty("jvmChaos") + public JVMChaosSpec getJvmChaos() { + return jvmChaos; + } + + @JsonProperty("jvmChaos") + public void setJvmChaos(JVMChaosSpec jvmChaos) { + this.jvmChaos = jvmChaos; + } + + @JsonProperty("kernelChaos") + public KernelChaosSpec getKernelChaos() { + return kernelChaos; + } + + @JsonProperty("kernelChaos") + public void setKernelChaos(KernelChaosSpec kernelChaos) { + this.kernelChaos = kernelChaos; + } + + @JsonProperty("networkChaos") + public NetworkChaosSpec getNetworkChaos() { + return networkChaos; + } + + @JsonProperty("networkChaos") + public void setNetworkChaos(NetworkChaosSpec networkChaos) { + this.networkChaos = networkChaos; + } + + @JsonProperty("physicalmachineChaos") + public PhysicalMachineChaosSpec getPhysicalmachineChaos() { + return physicalmachineChaos; + } + + @JsonProperty("physicalmachineChaos") + public void setPhysicalmachineChaos(PhysicalMachineChaosSpec physicalmachineChaos) { + this.physicalmachineChaos = physicalmachineChaos; + } + + @JsonProperty("podChaos") + public PodChaosSpec getPodChaos() { + return podChaos; + } + + @JsonProperty("podChaos") + public void setPodChaos(PodChaosSpec podChaos) { + this.podChaos = podChaos; + } + + @JsonProperty("stressChaos") + public StressChaosSpec getStressChaos() { + return stressChaos; + } + + @JsonProperty("stressChaos") + public void setStressChaos(StressChaosSpec stressChaos) { + this.stressChaos = stressChaos; + } + + @JsonProperty("timeChaos") + public TimeChaosSpec getTimeChaos() { + return timeChaos; + } + + @JsonProperty("timeChaos") + public void setTimeChaos(TimeChaosSpec timeChaos) { + this.timeChaos = timeChaos; + } + + @JsonIgnore + public EmbedChaosBuilder edit() { + return new EmbedChaosBuilder(this); + } + + @JsonIgnore + public EmbedChaosBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/EmbedStatusCheck.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/EmbedStatusCheck.java new file mode 100644 index 00000000000..fe716fbd45e --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/EmbedStatusCheck.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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" +}) +@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 EmbedStatusCheck implements Editable , KubernetesResource +{ + + @JsonProperty("http") + private HTTPStatusCheck http; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public EmbedStatusCheck() { + } + + public EmbedStatusCheck(HTTPStatusCheck http) { + super(); + this.http = http; + } + + @JsonProperty("http") + public HTTPStatusCheck getHttp() { + return http; + } + + @JsonProperty("http") + public void setHttp(HTTPStatusCheck http) { + this.http = http; + } + + @JsonIgnore + public EmbedStatusCheckBuilder edit() { + return new EmbedStatusCheckBuilder(this); + } + + @JsonIgnore + public EmbedStatusCheckBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ExpInfo.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ExpInfo.java new file mode 100644 index 00000000000..6b86b5470eb --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ExpInfo.java @@ -0,0 +1,704 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "clock", + "disk-fill", + "disk-read-payload", + "disk-write-payload", + "file-append", + "file-create", + "file-delete", + "file-modify", + "file-rename", + "file-replace", + "http-abort", + "http-config", + "http-delay", + "http-request", + "jvm-exception", + "jvm-gc", + "jvm-latency", + "jvm-mysql", + "jvm-return", + "jvm-rule-data", + "jvm-stress", + "kafka-fill", + "kafka-flood", + "kafka-io", + "network-bandwidth", + "network-corrupt", + "network-delay", + "network-dns", + "network-down", + "network-duplicate", + "network-flood", + "network-loss", + "network-partition", + "process", + "redis-cacheLimit", + "redis-expiration", + "redis-penetration", + "redis-restart", + "redis-stop", + "stress-cpu", + "stress-mem", + "user_defined", + "vm" +}) +@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 ExpInfo implements Editable , KubernetesResource +{ + + @JsonProperty("clock") + private ClockSpec clock; + @JsonProperty("disk-fill") + private DiskFillSpec diskFill; + @JsonProperty("disk-read-payload") + private DiskPayloadSpec diskReadPayload; + @JsonProperty("disk-write-payload") + private DiskPayloadSpec diskWritePayload; + @JsonProperty("file-append") + private FileAppendSpec fileAppend; + @JsonProperty("file-create") + private FileCreateSpec fileCreate; + @JsonProperty("file-delete") + private FileDeleteSpec fileDelete; + @JsonProperty("file-modify") + private FileModifyPrivilegeSpec fileModify; + @JsonProperty("file-rename") + private FileRenameSpec fileRename; + @JsonProperty("file-replace") + private FileReplaceSpec fileReplace; + @JsonProperty("http-abort") + private HTTPAbortSpec httpAbort; + @JsonProperty("http-config") + private HTTPConfigSpec httpConfig; + @JsonProperty("http-delay") + private HTTPDelaySpec httpDelay; + @JsonProperty("http-request") + private HTTPRequestSpec httpRequest; + @JsonProperty("jvm-exception") + private JVMExceptionSpec jvmException; + @JsonProperty("jvm-gc") + private JVMGCSpec jvmGc; + @JsonProperty("jvm-latency") + private JVMLatencySpec jvmLatency; + @JsonProperty("jvm-mysql") + private PMJVMMySQLSpec jvmMysql; + @JsonProperty("jvm-return") + private JVMReturnSpec jvmReturn; + @JsonProperty("jvm-rule-data") + private JVMRuleDataSpec jvmRuleData; + @JsonProperty("jvm-stress") + private JVMStressSpec jvmStress; + @JsonProperty("kafka-fill") + private KafkaFillSpec kafkaFill; + @JsonProperty("kafka-flood") + private KafkaFloodSpec kafkaFlood; + @JsonProperty("kafka-io") + private KafkaIOSpec kafkaIo; + @JsonProperty("network-bandwidth") + private NetworkBandwidthSpec networkBandwidth; + @JsonProperty("network-corrupt") + private NetworkCorruptSpec networkCorrupt; + @JsonProperty("network-delay") + private NetworkDelaySpec networkDelay; + @JsonProperty("network-dns") + private NetworkDNSSpec networkDns; + @JsonProperty("network-down") + private NetworkDownSpec networkDown; + @JsonProperty("network-duplicate") + private NetworkDuplicateSpec networkDuplicate; + @JsonProperty("network-flood") + private NetworkFloodSpec networkFlood; + @JsonProperty("network-loss") + private NetworkLossSpec networkLoss; + @JsonProperty("network-partition") + private NetworkPartitionSpec networkPartition; + @JsonProperty("process") + private ProcessSpec process; + @JsonProperty("redis-cacheLimit") + private RedisCacheLimitSpec redisCacheLimit; + @JsonProperty("redis-expiration") + private RedisExpirationSpec redisExpiration; + @JsonProperty("redis-penetration") + private RedisPenetrationSpec redisPenetration; + @JsonProperty("redis-restart") + private RedisSentinelRestartSpec redisRestart; + @JsonProperty("redis-stop") + private RedisSentinelStopSpec redisStop; + @JsonProperty("stress-cpu") + private StressCPUSpec stressCpu; + @JsonProperty("stress-mem") + private StressMemorySpec stressMem; + @JsonProperty("user_defined") + private UserDefinedSpec user_defined; + @JsonProperty("vm") + private VMSpec vm; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ExpInfo() { + } + + public ExpInfo(ClockSpec clock, DiskFillSpec diskFill, DiskPayloadSpec diskReadPayload, DiskPayloadSpec diskWritePayload, FileAppendSpec fileAppend, FileCreateSpec fileCreate, FileDeleteSpec fileDelete, FileModifyPrivilegeSpec fileModify, FileRenameSpec fileRename, FileReplaceSpec fileReplace, HTTPAbortSpec httpAbort, HTTPConfigSpec httpConfig, HTTPDelaySpec httpDelay, HTTPRequestSpec httpRequest, JVMExceptionSpec jvmException, JVMGCSpec jvmGc, JVMLatencySpec jvmLatency, PMJVMMySQLSpec jvmMysql, JVMReturnSpec jvmReturn, JVMRuleDataSpec jvmRuleData, JVMStressSpec jvmStress, KafkaFillSpec kafkaFill, KafkaFloodSpec kafkaFlood, KafkaIOSpec kafkaIo, NetworkBandwidthSpec networkBandwidth, NetworkCorruptSpec networkCorrupt, NetworkDelaySpec networkDelay, NetworkDNSSpec networkDns, NetworkDownSpec networkDown, NetworkDuplicateSpec networkDuplicate, NetworkFloodSpec networkFlood, NetworkLossSpec networkLoss, NetworkPartitionSpec networkPartition, ProcessSpec process, RedisCacheLimitSpec redisCacheLimit, RedisExpirationSpec redisExpiration, RedisPenetrationSpec redisPenetration, RedisSentinelRestartSpec redisRestart, RedisSentinelStopSpec redisStop, StressCPUSpec stressCpu, StressMemorySpec stressMem, UserDefinedSpec user_defined, VMSpec vm) { + super(); + this.clock = clock; + this.diskFill = diskFill; + this.diskReadPayload = diskReadPayload; + this.diskWritePayload = diskWritePayload; + this.fileAppend = fileAppend; + this.fileCreate = fileCreate; + this.fileDelete = fileDelete; + this.fileModify = fileModify; + this.fileRename = fileRename; + this.fileReplace = fileReplace; + this.httpAbort = httpAbort; + this.httpConfig = httpConfig; + this.httpDelay = httpDelay; + this.httpRequest = httpRequest; + this.jvmException = jvmException; + this.jvmGc = jvmGc; + this.jvmLatency = jvmLatency; + this.jvmMysql = jvmMysql; + this.jvmReturn = jvmReturn; + this.jvmRuleData = jvmRuleData; + this.jvmStress = jvmStress; + this.kafkaFill = kafkaFill; + this.kafkaFlood = kafkaFlood; + this.kafkaIo = kafkaIo; + this.networkBandwidth = networkBandwidth; + this.networkCorrupt = networkCorrupt; + this.networkDelay = networkDelay; + this.networkDns = networkDns; + this.networkDown = networkDown; + this.networkDuplicate = networkDuplicate; + this.networkFlood = networkFlood; + this.networkLoss = networkLoss; + this.networkPartition = networkPartition; + this.process = process; + this.redisCacheLimit = redisCacheLimit; + this.redisExpiration = redisExpiration; + this.redisPenetration = redisPenetration; + this.redisRestart = redisRestart; + this.redisStop = redisStop; + this.stressCpu = stressCpu; + this.stressMem = stressMem; + this.user_defined = user_defined; + this.vm = vm; + } + + @JsonProperty("clock") + public ClockSpec getClock() { + return clock; + } + + @JsonProperty("clock") + public void setClock(ClockSpec clock) { + this.clock = clock; + } + + @JsonProperty("disk-fill") + public DiskFillSpec getDiskFill() { + return diskFill; + } + + @JsonProperty("disk-fill") + public void setDiskFill(DiskFillSpec diskFill) { + this.diskFill = diskFill; + } + + @JsonProperty("disk-read-payload") + public DiskPayloadSpec getDiskReadPayload() { + return diskReadPayload; + } + + @JsonProperty("disk-read-payload") + public void setDiskReadPayload(DiskPayloadSpec diskReadPayload) { + this.diskReadPayload = diskReadPayload; + } + + @JsonProperty("disk-write-payload") + public DiskPayloadSpec getDiskWritePayload() { + return diskWritePayload; + } + + @JsonProperty("disk-write-payload") + public void setDiskWritePayload(DiskPayloadSpec diskWritePayload) { + this.diskWritePayload = diskWritePayload; + } + + @JsonProperty("file-append") + public FileAppendSpec getFileAppend() { + return fileAppend; + } + + @JsonProperty("file-append") + public void setFileAppend(FileAppendSpec fileAppend) { + this.fileAppend = fileAppend; + } + + @JsonProperty("file-create") + public FileCreateSpec getFileCreate() { + return fileCreate; + } + + @JsonProperty("file-create") + public void setFileCreate(FileCreateSpec fileCreate) { + this.fileCreate = fileCreate; + } + + @JsonProperty("file-delete") + public FileDeleteSpec getFileDelete() { + return fileDelete; + } + + @JsonProperty("file-delete") + public void setFileDelete(FileDeleteSpec fileDelete) { + this.fileDelete = fileDelete; + } + + @JsonProperty("file-modify") + public FileModifyPrivilegeSpec getFileModify() { + return fileModify; + } + + @JsonProperty("file-modify") + public void setFileModify(FileModifyPrivilegeSpec fileModify) { + this.fileModify = fileModify; + } + + @JsonProperty("file-rename") + public FileRenameSpec getFileRename() { + return fileRename; + } + + @JsonProperty("file-rename") + public void setFileRename(FileRenameSpec fileRename) { + this.fileRename = fileRename; + } + + @JsonProperty("file-replace") + public FileReplaceSpec getFileReplace() { + return fileReplace; + } + + @JsonProperty("file-replace") + public void setFileReplace(FileReplaceSpec fileReplace) { + this.fileReplace = fileReplace; + } + + @JsonProperty("http-abort") + public HTTPAbortSpec getHttpAbort() { + return httpAbort; + } + + @JsonProperty("http-abort") + public void setHttpAbort(HTTPAbortSpec httpAbort) { + this.httpAbort = httpAbort; + } + + @JsonProperty("http-config") + public HTTPConfigSpec getHttpConfig() { + return httpConfig; + } + + @JsonProperty("http-config") + public void setHttpConfig(HTTPConfigSpec httpConfig) { + this.httpConfig = httpConfig; + } + + @JsonProperty("http-delay") + public HTTPDelaySpec getHttpDelay() { + return httpDelay; + } + + @JsonProperty("http-delay") + public void setHttpDelay(HTTPDelaySpec httpDelay) { + this.httpDelay = httpDelay; + } + + @JsonProperty("http-request") + public HTTPRequestSpec getHttpRequest() { + return httpRequest; + } + + @JsonProperty("http-request") + public void setHttpRequest(HTTPRequestSpec httpRequest) { + this.httpRequest = httpRequest; + } + + @JsonProperty("jvm-exception") + public JVMExceptionSpec getJvmException() { + return jvmException; + } + + @JsonProperty("jvm-exception") + public void setJvmException(JVMExceptionSpec jvmException) { + this.jvmException = jvmException; + } + + @JsonProperty("jvm-gc") + public JVMGCSpec getJvmGc() { + return jvmGc; + } + + @JsonProperty("jvm-gc") + public void setJvmGc(JVMGCSpec jvmGc) { + this.jvmGc = jvmGc; + } + + @JsonProperty("jvm-latency") + public JVMLatencySpec getJvmLatency() { + return jvmLatency; + } + + @JsonProperty("jvm-latency") + public void setJvmLatency(JVMLatencySpec jvmLatency) { + this.jvmLatency = jvmLatency; + } + + @JsonProperty("jvm-mysql") + public PMJVMMySQLSpec getJvmMysql() { + return jvmMysql; + } + + @JsonProperty("jvm-mysql") + public void setJvmMysql(PMJVMMySQLSpec jvmMysql) { + this.jvmMysql = jvmMysql; + } + + @JsonProperty("jvm-return") + public JVMReturnSpec getJvmReturn() { + return jvmReturn; + } + + @JsonProperty("jvm-return") + public void setJvmReturn(JVMReturnSpec jvmReturn) { + this.jvmReturn = jvmReturn; + } + + @JsonProperty("jvm-rule-data") + public JVMRuleDataSpec getJvmRuleData() { + return jvmRuleData; + } + + @JsonProperty("jvm-rule-data") + public void setJvmRuleData(JVMRuleDataSpec jvmRuleData) { + this.jvmRuleData = jvmRuleData; + } + + @JsonProperty("jvm-stress") + public JVMStressSpec getJvmStress() { + return jvmStress; + } + + @JsonProperty("jvm-stress") + public void setJvmStress(JVMStressSpec jvmStress) { + this.jvmStress = jvmStress; + } + + @JsonProperty("kafka-fill") + public KafkaFillSpec getKafkaFill() { + return kafkaFill; + } + + @JsonProperty("kafka-fill") + public void setKafkaFill(KafkaFillSpec kafkaFill) { + this.kafkaFill = kafkaFill; + } + + @JsonProperty("kafka-flood") + public KafkaFloodSpec getKafkaFlood() { + return kafkaFlood; + } + + @JsonProperty("kafka-flood") + public void setKafkaFlood(KafkaFloodSpec kafkaFlood) { + this.kafkaFlood = kafkaFlood; + } + + @JsonProperty("kafka-io") + public KafkaIOSpec getKafkaIo() { + return kafkaIo; + } + + @JsonProperty("kafka-io") + public void setKafkaIo(KafkaIOSpec kafkaIo) { + this.kafkaIo = kafkaIo; + } + + @JsonProperty("network-bandwidth") + public NetworkBandwidthSpec getNetworkBandwidth() { + return networkBandwidth; + } + + @JsonProperty("network-bandwidth") + public void setNetworkBandwidth(NetworkBandwidthSpec networkBandwidth) { + this.networkBandwidth = networkBandwidth; + } + + @JsonProperty("network-corrupt") + public NetworkCorruptSpec getNetworkCorrupt() { + return networkCorrupt; + } + + @JsonProperty("network-corrupt") + public void setNetworkCorrupt(NetworkCorruptSpec networkCorrupt) { + this.networkCorrupt = networkCorrupt; + } + + @JsonProperty("network-delay") + public NetworkDelaySpec getNetworkDelay() { + return networkDelay; + } + + @JsonProperty("network-delay") + public void setNetworkDelay(NetworkDelaySpec networkDelay) { + this.networkDelay = networkDelay; + } + + @JsonProperty("network-dns") + public NetworkDNSSpec getNetworkDns() { + return networkDns; + } + + @JsonProperty("network-dns") + public void setNetworkDns(NetworkDNSSpec networkDns) { + this.networkDns = networkDns; + } + + @JsonProperty("network-down") + public NetworkDownSpec getNetworkDown() { + return networkDown; + } + + @JsonProperty("network-down") + public void setNetworkDown(NetworkDownSpec networkDown) { + this.networkDown = networkDown; + } + + @JsonProperty("network-duplicate") + public NetworkDuplicateSpec getNetworkDuplicate() { + return networkDuplicate; + } + + @JsonProperty("network-duplicate") + public void setNetworkDuplicate(NetworkDuplicateSpec networkDuplicate) { + this.networkDuplicate = networkDuplicate; + } + + @JsonProperty("network-flood") + public NetworkFloodSpec getNetworkFlood() { + return networkFlood; + } + + @JsonProperty("network-flood") + public void setNetworkFlood(NetworkFloodSpec networkFlood) { + this.networkFlood = networkFlood; + } + + @JsonProperty("network-loss") + public NetworkLossSpec getNetworkLoss() { + return networkLoss; + } + + @JsonProperty("network-loss") + public void setNetworkLoss(NetworkLossSpec networkLoss) { + this.networkLoss = networkLoss; + } + + @JsonProperty("network-partition") + public NetworkPartitionSpec getNetworkPartition() { + return networkPartition; + } + + @JsonProperty("network-partition") + public void setNetworkPartition(NetworkPartitionSpec networkPartition) { + this.networkPartition = networkPartition; + } + + @JsonProperty("process") + public ProcessSpec getProcess() { + return process; + } + + @JsonProperty("process") + public void setProcess(ProcessSpec process) { + this.process = process; + } + + @JsonProperty("redis-cacheLimit") + public RedisCacheLimitSpec getRedisCacheLimit() { + return redisCacheLimit; + } + + @JsonProperty("redis-cacheLimit") + public void setRedisCacheLimit(RedisCacheLimitSpec redisCacheLimit) { + this.redisCacheLimit = redisCacheLimit; + } + + @JsonProperty("redis-expiration") + public RedisExpirationSpec getRedisExpiration() { + return redisExpiration; + } + + @JsonProperty("redis-expiration") + public void setRedisExpiration(RedisExpirationSpec redisExpiration) { + this.redisExpiration = redisExpiration; + } + + @JsonProperty("redis-penetration") + public RedisPenetrationSpec getRedisPenetration() { + return redisPenetration; + } + + @JsonProperty("redis-penetration") + public void setRedisPenetration(RedisPenetrationSpec redisPenetration) { + this.redisPenetration = redisPenetration; + } + + @JsonProperty("redis-restart") + public RedisSentinelRestartSpec getRedisRestart() { + return redisRestart; + } + + @JsonProperty("redis-restart") + public void setRedisRestart(RedisSentinelRestartSpec redisRestart) { + this.redisRestart = redisRestart; + } + + @JsonProperty("redis-stop") + public RedisSentinelStopSpec getRedisStop() { + return redisStop; + } + + @JsonProperty("redis-stop") + public void setRedisStop(RedisSentinelStopSpec redisStop) { + this.redisStop = redisStop; + } + + @JsonProperty("stress-cpu") + public StressCPUSpec getStressCpu() { + return stressCpu; + } + + @JsonProperty("stress-cpu") + public void setStressCpu(StressCPUSpec stressCpu) { + this.stressCpu = stressCpu; + } + + @JsonProperty("stress-mem") + public StressMemorySpec getStressMem() { + return stressMem; + } + + @JsonProperty("stress-mem") + public void setStressMem(StressMemorySpec stressMem) { + this.stressMem = stressMem; + } + + @JsonProperty("user_defined") + public UserDefinedSpec getUser_defined() { + return user_defined; + } + + @JsonProperty("user_defined") + public void setUser_defined(UserDefinedSpec user_defined) { + this.user_defined = user_defined; + } + + @JsonProperty("vm") + public VMSpec getVm() { + return vm; + } + + @JsonProperty("vm") + public void setVm(VMSpec vm) { + this.vm = vm; + } + + @JsonIgnore + public ExpInfoBuilder edit() { + return new ExpInfoBuilder(this); + } + + @JsonIgnore + public ExpInfoBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java index 0899b50e7ec..10b675fe27f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FailKernRequest.java @@ -77,9 +77,9 @@ public class FailKernRequest implements Editable , Kuber @JsonInclude(JsonInclude.Include.NON_EMPTY) private List headers = new ArrayList<>(); @JsonProperty("probability") - private Integer probability; + private Long probability; @JsonProperty("times") - private Integer times; + private Long times; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -90,7 +90,7 @@ public class FailKernRequest implements Editable , Kuber public FailKernRequest() { } - public FailKernRequest(List callchain, Integer failtype, List headers, Integer probability, Integer times) { + public FailKernRequest(List callchain, Integer failtype, List headers, Long probability, Long times) { super(); this.callchain = callchain; this.failtype = failtype; @@ -132,22 +132,22 @@ public void setHeaders(List headers) { } @JsonProperty("probability") - public Integer getProbability() { + public Long getProbability() { return probability; } @JsonProperty("probability") - public void setProbability(Integer probability) { + public void setProbability(Long probability) { this.probability = probability; } @JsonProperty("times") - public Integer getTimes() { + public Long getTimes() { return times; } @JsonProperty("times") - public void setTimes(Integer times) { + public void setTimes(Long times) { this.times = times; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileAppendSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileAppendSpec.java new file mode 100644 index 00000000000..07a23603472 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileAppendSpec.java @@ -0,0 +1,144 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "count", + "data", + "file-name" +}) +@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 FileAppendSpec implements Editable , KubernetesResource +{ + + @JsonProperty("count") + private Integer count; + @JsonProperty("data") + private String data; + @JsonProperty("file-name") + private String fileName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public FileAppendSpec() { + } + + public FileAppendSpec(Integer count, String data, String fileName) { + super(); + this.count = count; + this.data = data; + this.fileName = fileName; + } + + @JsonProperty("count") + public Integer getCount() { + return count; + } + + @JsonProperty("count") + public void setCount(Integer count) { + this.count = count; + } + + @JsonProperty("data") + public String getData() { + return data; + } + + @JsonProperty("data") + public void setData(String data) { + this.data = data; + } + + @JsonProperty("file-name") + public String getFileName() { + return fileName; + } + + @JsonProperty("file-name") + public void setFileName(String fileName) { + this.fileName = fileName; + } + + @JsonIgnore + public FileAppendSpecBuilder edit() { + return new FileAppendSpecBuilder(this); + } + + @JsonIgnore + public FileAppendSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileCreateSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileCreateSpec.java new file mode 100644 index 00000000000..af8913b651a --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileCreateSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "dir-name", + "file-name" +}) +@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 FileCreateSpec implements Editable , KubernetesResource +{ + + @JsonProperty("dir-name") + private String dirName; + @JsonProperty("file-name") + private String fileName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public FileCreateSpec() { + } + + public FileCreateSpec(String dirName, String fileName) { + super(); + this.dirName = dirName; + this.fileName = fileName; + } + + @JsonProperty("dir-name") + public String getDirName() { + return dirName; + } + + @JsonProperty("dir-name") + public void setDirName(String dirName) { + this.dirName = dirName; + } + + @JsonProperty("file-name") + public String getFileName() { + return fileName; + } + + @JsonProperty("file-name") + public void setFileName(String fileName) { + this.fileName = fileName; + } + + @JsonIgnore + public FileCreateSpecBuilder edit() { + return new FileCreateSpecBuilder(this); + } + + @JsonIgnore + public FileCreateSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileDeleteSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileDeleteSpec.java new file mode 100644 index 00000000000..20164d869d1 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileDeleteSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "dir-name", + "file-name" +}) +@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 FileDeleteSpec implements Editable , KubernetesResource +{ + + @JsonProperty("dir-name") + private String dirName; + @JsonProperty("file-name") + private String fileName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public FileDeleteSpec() { + } + + public FileDeleteSpec(String dirName, String fileName) { + super(); + this.dirName = dirName; + this.fileName = fileName; + } + + @JsonProperty("dir-name") + public String getDirName() { + return dirName; + } + + @JsonProperty("dir-name") + public void setDirName(String dirName) { + this.dirName = dirName; + } + + @JsonProperty("file-name") + public String getFileName() { + return fileName; + } + + @JsonProperty("file-name") + public void setFileName(String fileName) { + this.fileName = fileName; + } + + @JsonIgnore + public FileDeleteSpecBuilder edit() { + return new FileDeleteSpecBuilder(this); + } + + @JsonIgnore + public FileDeleteSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileModifyPrivilegeSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileModifyPrivilegeSpec.java new file mode 100644 index 00000000000..c95dc8fd949 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileModifyPrivilegeSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "file-name", + "privilege" +}) +@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 FileModifyPrivilegeSpec implements Editable , KubernetesResource +{ + + @JsonProperty("file-name") + private String fileName; + @JsonProperty("privilege") + private Long privilege; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public FileModifyPrivilegeSpec() { + } + + public FileModifyPrivilegeSpec(String fileName, Long privilege) { + super(); + this.fileName = fileName; + this.privilege = privilege; + } + + @JsonProperty("file-name") + public String getFileName() { + return fileName; + } + + @JsonProperty("file-name") + public void setFileName(String fileName) { + this.fileName = fileName; + } + + @JsonProperty("privilege") + public Long getPrivilege() { + return privilege; + } + + @JsonProperty("privilege") + public void setPrivilege(Long privilege) { + this.privilege = privilege; + } + + @JsonIgnore + public FileModifyPrivilegeSpecBuilder edit() { + return new FileModifyPrivilegeSpecBuilder(this); + } + + @JsonIgnore + public FileModifyPrivilegeSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileRenameSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileRenameSpec.java new file mode 100644 index 00000000000..a3d5dcfae54 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileRenameSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "dest-file", + "source-file" +}) +@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 FileRenameSpec implements Editable , KubernetesResource +{ + + @JsonProperty("dest-file") + private String destFile; + @JsonProperty("source-file") + private String sourceFile; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public FileRenameSpec() { + } + + public FileRenameSpec(String destFile, String sourceFile) { + super(); + this.destFile = destFile; + this.sourceFile = sourceFile; + } + + @JsonProperty("dest-file") + public String getDestFile() { + return destFile; + } + + @JsonProperty("dest-file") + public void setDestFile(String destFile) { + this.destFile = destFile; + } + + @JsonProperty("source-file") + public String getSourceFile() { + return sourceFile; + } + + @JsonProperty("source-file") + public void setSourceFile(String sourceFile) { + this.sourceFile = sourceFile; + } + + @JsonIgnore + public FileRenameSpecBuilder edit() { + return new FileRenameSpecBuilder(this); + } + + @JsonIgnore + public FileRenameSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileReplaceSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileReplaceSpec.java new file mode 100644 index 00000000000..e5f52740073 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/FileReplaceSpec.java @@ -0,0 +1,158 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "dest-string", + "file-name", + "line", + "origin-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 FileReplaceSpec implements Editable , KubernetesResource +{ + + @JsonProperty("dest-string") + private String destString; + @JsonProperty("file-name") + private String fileName; + @JsonProperty("line") + private Integer line; + @JsonProperty("origin-string") + private String originString; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public FileReplaceSpec() { + } + + public FileReplaceSpec(String destString, String fileName, Integer line, String originString) { + super(); + this.destString = destString; + this.fileName = fileName; + this.line = line; + this.originString = originString; + } + + @JsonProperty("dest-string") + public String getDestString() { + return destString; + } + + @JsonProperty("dest-string") + public void setDestString(String destString) { + this.destString = destString; + } + + @JsonProperty("file-name") + public String getFileName() { + return fileName; + } + + @JsonProperty("file-name") + public void setFileName(String fileName) { + this.fileName = fileName; + } + + @JsonProperty("line") + public Integer getLine() { + return line; + } + + @JsonProperty("line") + public void setLine(Integer line) { + this.line = line; + } + + @JsonProperty("origin-string") + public String getOriginString() { + return originString; + } + + @JsonProperty("origin-string") + public void setOriginString(String originString) { + this.originString = originString; + } + + @JsonIgnore + public FileReplaceSpecBuilder edit() { + return new FileReplaceSpecBuilder(this); + } + + @JsonIgnore + public FileReplaceSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Filter.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Filter.java new file mode 100644 index 00000000000..08e855431af --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Filter.java @@ -0,0 +1,148 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "methods", + "path", + "percent" +}) +@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 Filter implements Editable , KubernetesResource +{ + + @JsonProperty("methods") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List methods = new ArrayList<>(); + @JsonProperty("path") + private String path; + @JsonProperty("percent") + private Integer percent; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Filter() { + } + + public Filter(List methods, String path, Integer percent) { + super(); + this.methods = methods; + this.path = path; + this.percent = percent; + } + + @JsonProperty("methods") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getMethods() { + return methods; + } + + @JsonProperty("methods") + public void setMethods(List methods) { + this.methods = methods; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("percent") + public Integer getPercent() { + return percent; + } + + @JsonProperty("percent") + public void setPercent(Integer percent) { + this.percent = percent; + } + + @JsonIgnore + public FilterBuilder edit() { + return new FilterBuilder(this); + } + + @JsonIgnore + public FilterBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaos.java index 754e4676684..4c9a7f89bef 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class GCPChaos implements Editable , HasMetadata, Namesp @JsonProperty("kind") private String kind = "GCPChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private GCPChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class GCPChaos implements Editable , HasMetadata, Namesp public GCPChaos() { } - public GCPChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, GCPChaosSpec spec, GCPChaosStatus status) { + public GCPChaos(String apiVersion, String kind, ObjectMeta metadata, GCPChaosSpec spec, GCPChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java index 3a59d7a6499..97eeaafbad3 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPChaosSpec.java @@ -42,6 +42,7 @@ "duration", "instance", "project", + "remoteCluster", "secretName", "zone" }) @@ -71,22 +72,24 @@ public class GCPChaosSpec implements Editable , KubernetesR { @JsonProperty("action") - private java.lang.String action; + private String action; @JsonProperty("deviceNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List deviceNames = new ArrayList<>(); + private List deviceNames = new ArrayList<>(); @JsonProperty("duration") private String duration; @JsonProperty("instance") - private java.lang.String instance; + private String instance; @JsonProperty("project") - private java.lang.String project; + private String project; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("secretName") private String secretName; @JsonProperty("zone") - private java.lang.String zone; + private String zone; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -95,35 +98,36 @@ public class GCPChaosSpec implements Editable , KubernetesR public GCPChaosSpec() { } - public GCPChaosSpec(java.lang.String action, List deviceNames, String duration, java.lang.String instance, java.lang.String project, String secretName, java.lang.String zone) { + public GCPChaosSpec(String action, List deviceNames, String duration, String instance, String project, String remoteCluster, String secretName, String zone) { super(); this.action = action; this.deviceNames = deviceNames; this.duration = duration; this.instance = instance; this.project = project; + this.remoteCluster = remoteCluster; this.secretName = secretName; this.zone = zone; } @JsonProperty("action") - public java.lang.String getAction() { + public String getAction() { return action; } @JsonProperty("action") - public void setAction(java.lang.String action) { + public void setAction(String action) { this.action = action; } @JsonProperty("deviceNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getDeviceNames() { + public List getDeviceNames() { return deviceNames; } @JsonProperty("deviceNames") - public void setDeviceNames(List deviceNames) { + public void setDeviceNames(List deviceNames) { this.deviceNames = deviceNames; } @@ -138,25 +142,35 @@ public void setDuration(String duration) { } @JsonProperty("instance") - public java.lang.String getInstance() { + public String getInstance() { return instance; } @JsonProperty("instance") - public void setInstance(java.lang.String instance) { + public void setInstance(String instance) { this.instance = instance; } @JsonProperty("project") - public java.lang.String getProject() { + public String getProject() { return project; } @JsonProperty("project") - public void setProject(java.lang.String project) { + public void setProject(String project) { this.project = project; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("secretName") public String getSecretName() { return secretName; @@ -168,12 +182,12 @@ public void setSecretName(String secretName) { } @JsonProperty("zone") - public java.lang.String getZone() { + public String getZone() { return zone; } @JsonProperty("zone") - public void setZone(java.lang.String zone) { + public void setZone(String zone) { this.zone = zone; } @@ -188,16 +202,16 @@ public GCPChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPSelector.java new file mode 100644 index 00000000000..e4acf23fcf6 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GCPSelector.java @@ -0,0 +1,162 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "deviceNames", + "instance", + "project", + "zone" +}) +@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 GCPSelector implements Editable , KubernetesResource +{ + + @JsonProperty("deviceNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List deviceNames = new ArrayList<>(); + @JsonProperty("instance") + private String instance; + @JsonProperty("project") + private String project; + @JsonProperty("zone") + private String zone; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public GCPSelector() { + } + + public GCPSelector(List deviceNames, String instance, String project, String zone) { + super(); + this.deviceNames = deviceNames; + this.instance = instance; + this.project = project; + this.zone = zone; + } + + @JsonProperty("deviceNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getDeviceNames() { + return deviceNames; + } + + @JsonProperty("deviceNames") + public void setDeviceNames(List deviceNames) { + this.deviceNames = deviceNames; + } + + @JsonProperty("instance") + public String getInstance() { + return instance; + } + + @JsonProperty("instance") + public void setInstance(String instance) { + this.instance = instance; + } + + @JsonProperty("project") + public String getProject() { + return project; + } + + @JsonProperty("project") + public void setProject(String project) { + this.project = project; + } + + @JsonProperty("zone") + public String getZone() { + return zone; + } + + @JsonProperty("zone") + public void setZone(String zone) { + this.zone = zone; + } + + @JsonIgnore + public GCPSelectorBuilder edit() { + return new GCPSelectorBuilder(this); + } + + @JsonIgnore + public GCPSelectorBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GenericSelectorSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GenericSelectorSpec.java new file mode 100644 index 00000000000..70a7874b844 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/GenericSelectorSpec.java @@ -0,0 +1,168 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "annotationSelectors", + "fieldSelectors", + "labelSelectors", + "namespaces" +}) +@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 GenericSelectorSpec implements Editable , KubernetesResource +{ + + @JsonProperty("annotationSelectors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map annotationSelectors = new LinkedHashMap<>(); + @JsonProperty("fieldSelectors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map fieldSelectors = new LinkedHashMap<>(); + @JsonProperty("labelSelectors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map labelSelectors = new LinkedHashMap<>(); + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List namespaces = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public GenericSelectorSpec() { + } + + public GenericSelectorSpec(Map annotationSelectors, Map fieldSelectors, Map labelSelectors, List namespaces) { + super(); + this.annotationSelectors = annotationSelectors; + this.fieldSelectors = fieldSelectors; + this.labelSelectors = labelSelectors; + this.namespaces = namespaces; + } + + @JsonProperty("annotationSelectors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getAnnotationSelectors() { + return annotationSelectors; + } + + @JsonProperty("annotationSelectors") + public void setAnnotationSelectors(Map annotationSelectors) { + this.annotationSelectors = annotationSelectors; + } + + @JsonProperty("fieldSelectors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getFieldSelectors() { + return fieldSelectors; + } + + @JsonProperty("fieldSelectors") + public void setFieldSelectors(Map fieldSelectors) { + this.fieldSelectors = fieldSelectors; + } + + @JsonProperty("labelSelectors") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getLabelSelectors() { + return labelSelectors; + } + + @JsonProperty("labelSelectors") + public void setLabelSelectors(Map labelSelectors) { + this.labelSelectors = labelSelectors; + } + + @JsonProperty("namespaces") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getNamespaces() { + return namespaces; + } + + @JsonProperty("namespaces") + public void setNamespaces(List namespaces) { + this.namespaces = namespaces; + } + + @JsonIgnore + public GenericSelectorSpecBuilder edit() { + return new GenericSelectorSpecBuilder(this); + } + + @JsonIgnore + public GenericSelectorSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPAbortSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPAbortSpec.java new file mode 100644 index 00000000000..51d566795a1 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPAbortSpec.java @@ -0,0 +1,190 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "code", + "method", + "path", + "port", + "proxy_ports", + "target" +}) +@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 HTTPAbortSpec implements Editable , KubernetesResource +{ + + @JsonProperty("code") + private String code; + @JsonProperty("method") + private String method; + @JsonProperty("path") + private String path; + @JsonProperty("port") + private Integer port; + @JsonProperty("proxy_ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List proxy_ports = new ArrayList<>(); + @JsonProperty("target") + private String target; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public HTTPAbortSpec() { + } + + public HTTPAbortSpec(String code, String method, String path, Integer port, List proxy_ports, String target) { + super(); + this.code = code; + this.method = method; + this.path = path; + this.port = port; + this.proxy_ports = proxy_ports; + this.target = target; + } + + @JsonProperty("code") + public String getCode() { + return code; + } + + @JsonProperty("code") + public void setCode(String code) { + this.code = code; + } + + @JsonProperty("method") + public String getMethod() { + return method; + } + + @JsonProperty("method") + public void setMethod(String method) { + this.method = method; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("proxy_ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getProxy_ports() { + return proxy_ports; + } + + @JsonProperty("proxy_ports") + public void setProxy_ports(List proxy_ports) { + this.proxy_ports = proxy_ports; + } + + @JsonProperty("target") + public String getTarget() { + return target; + } + + @JsonProperty("target") + public void setTarget(String target) { + this.target = target; + } + + @JsonIgnore + public HTTPAbortSpecBuilder edit() { + return new HTTPAbortSpecBuilder(this); + } + + @JsonIgnore + public HTTPAbortSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaos.java index e383bf9526f..49ad256c8f9 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class HTTPChaos implements Editable , HasMetadata, Name @JsonProperty("kind") private String kind = "HTTPChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private HTTPChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class HTTPChaos implements Editable , HasMetadata, Name public HTTPChaos() { } - public HTTPChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, HTTPChaosSpec spec, HTTPChaosStatus status) { + public HTTPChaos(String apiVersion, String kind, ObjectMeta metadata, HTTPChaosSpec spec, HTTPChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosSpec.java index 6ae1ebe71a4..0d7a037b84f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosSpec.java @@ -44,11 +44,13 @@ "patch", "path", "port", + "remoteCluster", "replace", "request_headers", "response_headers", "selector", "target", + "tls", "value" }) @ToString @@ -87,29 +89,33 @@ public class HTTPChaosSpec implements Editable , Kubernete @JsonProperty("method") private String method; @JsonProperty("mode") - private java.lang.String mode; + private String mode; @JsonProperty("patch") private PodHttpChaosPatchActions patch; @JsonProperty("path") private String path; @JsonProperty("port") - private java.lang.Integer port; + private Integer port; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("replace") private PodHttpChaosReplaceActions replace; @JsonProperty("request_headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map requestHeaders = new LinkedHashMap<>(); + private Map request_headers = new LinkedHashMap<>(); @JsonProperty("response_headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map responseHeaders = new LinkedHashMap<>(); + private Map response_headers = new LinkedHashMap<>(); @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("target") - private java.lang.String target; + private String target; + @JsonProperty("tls") + private PodHttpChaosTLS tls; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -118,7 +124,7 @@ public class HTTPChaosSpec implements Editable , Kubernete public HTTPChaosSpec() { } - public HTTPChaosSpec(Boolean abort, Integer code, String delay, String duration, String method, java.lang.String mode, PodHttpChaosPatchActions patch, String path, java.lang.Integer port, PodHttpChaosReplaceActions replace, Map requestHeaders, Map responseHeaders, PodSelectorSpec selector, java.lang.String target, java.lang.String value) { + public HTTPChaosSpec(Boolean abort, Integer code, String delay, String duration, String method, String mode, PodHttpChaosPatchActions patch, String path, Integer port, String remoteCluster, PodHttpChaosReplaceActions replace, Map request_headers, Map response_headers, PodSelectorSpec selector, String target, PodHttpChaosTLS tls, String value) { super(); this.abort = abort; this.code = code; @@ -129,11 +135,13 @@ public HTTPChaosSpec(Boolean abort, Integer code, String delay, String duration, this.patch = patch; this.path = path; this.port = port; + this.remoteCluster = remoteCluster; this.replace = replace; - this.requestHeaders = requestHeaders; - this.responseHeaders = responseHeaders; + this.request_headers = request_headers; + this.response_headers = response_headers; this.selector = selector; this.target = target; + this.tls = tls; this.value = value; } @@ -188,12 +196,12 @@ public void setMethod(String method) { } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } @@ -218,15 +226,25 @@ public void setPath(String path) { } @JsonProperty("port") - public java.lang.Integer getPort() { + public Integer getPort() { return port; } @JsonProperty("port") - public void setPort(java.lang.Integer port) { + public void setPort(Integer port) { this.port = port; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("replace") public PodHttpChaosReplaceActions getReplace() { return replace; @@ -239,24 +257,24 @@ public void setReplace(PodHttpChaosReplaceActions replace) { @JsonProperty("request_headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getRequestHeaders() { - return requestHeaders; + public Map getRequest_headers() { + return request_headers; } @JsonProperty("request_headers") - public void setRequestHeaders(Map requestHeaders) { - this.requestHeaders = requestHeaders; + public void setRequest_headers(Map request_headers) { + this.request_headers = request_headers; } @JsonProperty("response_headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getResponseHeaders() { - return responseHeaders; + public Map getResponse_headers() { + return response_headers; } @JsonProperty("response_headers") - public void setResponseHeaders(Map responseHeaders) { - this.responseHeaders = responseHeaders; + public void setResponse_headers(Map response_headers) { + this.response_headers = response_headers; } @JsonProperty("selector") @@ -270,22 +288,32 @@ public void setSelector(PodSelectorSpec selector) { } @JsonProperty("target") - public java.lang.String getTarget() { + public String getTarget() { return target; } @JsonProperty("target") - public void setTarget(java.lang.String target) { + public void setTarget(String target) { this.target = target; } + @JsonProperty("tls") + public PodHttpChaosTLS getTls() { + return tls; + } + + @JsonProperty("tls") + public void setTls(PodHttpChaosTLS tls) { + this.tls = tls; + } + @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @@ -300,16 +328,16 @@ public HTTPChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosStatus.java index 3217964b207..82a730f0592 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPChaosStatus.java @@ -75,7 +75,7 @@ public class HTTPChaosStatus implements Editable , Kuber @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map instances = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -134,16 +134,16 @@ public HTTPChaosStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPCommonSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPCommonSpec.java new file mode 100644 index 00000000000..695ece5800f --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPCommonSpec.java @@ -0,0 +1,190 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "code", + "method", + "path", + "port", + "proxy_ports", + "target" +}) +@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 HTTPCommonSpec implements Editable , KubernetesResource +{ + + @JsonProperty("code") + private String code; + @JsonProperty("method") + private String method; + @JsonProperty("path") + private String path; + @JsonProperty("port") + private Integer port; + @JsonProperty("proxy_ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List proxy_ports = new ArrayList<>(); + @JsonProperty("target") + private String target; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public HTTPCommonSpec() { + } + + public HTTPCommonSpec(String code, String method, String path, Integer port, List proxy_ports, String target) { + super(); + this.code = code; + this.method = method; + this.path = path; + this.port = port; + this.proxy_ports = proxy_ports; + this.target = target; + } + + @JsonProperty("code") + public String getCode() { + return code; + } + + @JsonProperty("code") + public void setCode(String code) { + this.code = code; + } + + @JsonProperty("method") + public String getMethod() { + return method; + } + + @JsonProperty("method") + public void setMethod(String method) { + this.method = method; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("proxy_ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getProxy_ports() { + return proxy_ports; + } + + @JsonProperty("proxy_ports") + public void setProxy_ports(List proxy_ports) { + this.proxy_ports = proxy_ports; + } + + @JsonProperty("target") + public String getTarget() { + return target; + } + + @JsonProperty("target") + public void setTarget(String target) { + this.target = target; + } + + @JsonIgnore + public HTTPCommonSpecBuilder edit() { + return new HTTPCommonSpecBuilder(this); + } + + @JsonIgnore + public HTTPCommonSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPConfigSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPConfigSpec.java new file mode 100644 index 00000000000..f54fb0ff0ad --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPConfigSpec.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "file_path" +}) +@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 HTTPConfigSpec implements Editable , KubernetesResource +{ + + @JsonProperty("file_path") + private String file_path; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public HTTPConfigSpec() { + } + + public HTTPConfigSpec(String file_path) { + super(); + this.file_path = file_path; + } + + @JsonProperty("file_path") + public String getFile_path() { + return file_path; + } + + @JsonProperty("file_path") + public void setFile_path(String file_path) { + this.file_path = file_path; + } + + @JsonIgnore + public HTTPConfigSpecBuilder edit() { + return new HTTPConfigSpecBuilder(this); + } + + @JsonIgnore + public HTTPConfigSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPCriteria.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPCriteria.java new file mode 100644 index 00000000000..84059943bd9 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPCriteria.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "statusCode" +}) +@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 HTTPCriteria implements Editable , KubernetesResource +{ + + @JsonProperty("statusCode") + private String statusCode; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public HTTPCriteria() { + } + + public HTTPCriteria(String statusCode) { + super(); + this.statusCode = statusCode; + } + + @JsonProperty("statusCode") + public String getStatusCode() { + return statusCode; + } + + @JsonProperty("statusCode") + public void setStatusCode(String statusCode) { + this.statusCode = statusCode; + } + + @JsonIgnore + public HTTPCriteriaBuilder edit() { + return new HTTPCriteriaBuilder(this); + } + + @JsonIgnore + public HTTPCriteriaBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPDelaySpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPDelaySpec.java new file mode 100644 index 00000000000..ffe49d91e35 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPDelaySpec.java @@ -0,0 +1,204 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "code", + "delay", + "method", + "path", + "port", + "proxy_ports", + "target" +}) +@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 HTTPDelaySpec implements Editable , KubernetesResource +{ + + @JsonProperty("code") + private String code; + @JsonProperty("delay") + private String delay; + @JsonProperty("method") + private String method; + @JsonProperty("path") + private String path; + @JsonProperty("port") + private Integer port; + @JsonProperty("proxy_ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List proxy_ports = new ArrayList<>(); + @JsonProperty("target") + private String target; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public HTTPDelaySpec() { + } + + public HTTPDelaySpec(String code, String delay, String method, String path, Integer port, List proxy_ports, String target) { + super(); + this.code = code; + this.delay = delay; + this.method = method; + this.path = path; + this.port = port; + this.proxy_ports = proxy_ports; + this.target = target; + } + + @JsonProperty("code") + public String getCode() { + return code; + } + + @JsonProperty("code") + public void setCode(String code) { + this.code = code; + } + + @JsonProperty("delay") + public String getDelay() { + return delay; + } + + @JsonProperty("delay") + public void setDelay(String delay) { + this.delay = delay; + } + + @JsonProperty("method") + public String getMethod() { + return method; + } + + @JsonProperty("method") + public void setMethod(String method) { + this.method = method; + } + + @JsonProperty("path") + public String getPath() { + return path; + } + + @JsonProperty("path") + public void setPath(String path) { + this.path = path; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("proxy_ports") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getProxy_ports() { + return proxy_ports; + } + + @JsonProperty("proxy_ports") + public void setProxy_ports(List proxy_ports) { + this.proxy_ports = proxy_ports; + } + + @JsonProperty("target") + public String getTarget() { + return target; + } + + @JsonProperty("target") + public void setTarget(String target) { + this.target = target; + } + + @JsonIgnore + public HTTPDelaySpecBuilder edit() { + return new HTTPDelaySpecBuilder(this); + } + + @JsonIgnore + public HTTPDelaySpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPRequestSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPRequestSpec.java new file mode 100644 index 00000000000..49a3340ac14 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPRequestSpec.java @@ -0,0 +1,144 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "count", + "enable-conn-pool", + "url" +}) +@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 HTTPRequestSpec implements Editable , KubernetesResource +{ + + @JsonProperty("count") + private Integer count; + @JsonProperty("enable-conn-pool") + private Boolean enableConnPool; + @JsonProperty("url") + private String url; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public HTTPRequestSpec() { + } + + public HTTPRequestSpec(Integer count, Boolean enableConnPool, String url) { + super(); + this.count = count; + this.enableConnPool = enableConnPool; + this.url = url; + } + + @JsonProperty("count") + public Integer getCount() { + return count; + } + + @JsonProperty("count") + public void setCount(Integer count) { + this.count = count; + } + + @JsonProperty("enable-conn-pool") + public Boolean getEnableConnPool() { + return enableConnPool; + } + + @JsonProperty("enable-conn-pool") + public void setEnableConnPool(Boolean enableConnPool) { + this.enableConnPool = enableConnPool; + } + + @JsonProperty("url") + public String getUrl() { + return url; + } + + @JsonProperty("url") + public void setUrl(String url) { + this.url = url; + } + + @JsonIgnore + public HTTPRequestSpecBuilder edit() { + return new HTTPRequestSpecBuilder(this); + } + + @JsonIgnore + public HTTPRequestSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPStatusCheck.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPStatusCheck.java new file mode 100644 index 00000000000..82e39dcdc2f --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/HTTPStatusCheck.java @@ -0,0 +1,175 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "body", + "criteria", + "headers", + "method", + "url" +}) +@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 HTTPStatusCheck implements Editable , KubernetesResource +{ + + @JsonProperty("body") + private String body; + @JsonProperty("criteria") + private HTTPCriteria criteria; + @JsonProperty("headers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map> headers = new LinkedHashMap<>(); + @JsonProperty("method") + private String method; + @JsonProperty("url") + private String url; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public HTTPStatusCheck() { + } + + public HTTPStatusCheck(String body, HTTPCriteria criteria, Map> headers, String method, String url) { + super(); + this.body = body; + this.criteria = criteria; + this.headers = headers; + this.method = method; + this.url = url; + } + + @JsonProperty("body") + public String getBody() { + return body; + } + + @JsonProperty("body") + public void setBody(String body) { + this.body = body; + } + + @JsonProperty("criteria") + public HTTPCriteria getCriteria() { + return criteria; + } + + @JsonProperty("criteria") + public void setCriteria(HTTPCriteria criteria) { + this.criteria = criteria; + } + + @JsonProperty("headers") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map> getHeaders() { + return headers; + } + + @JsonProperty("headers") + public void setHeaders(Map> headers) { + this.headers = headers; + } + + @JsonProperty("method") + public String getMethod() { + return method; + } + + @JsonProperty("method") + public void setMethod(String method) { + this.method = method; + } + + @JsonProperty("url") + public String getUrl() { + return url; + } + + @JsonProperty("url") + public void setUrl(String url) { + this.url = url; + } + + @JsonIgnore + public HTTPStatusCheckBuilder edit() { + return new HTTPStatusCheckBuilder(this); + } + + @JsonIgnore + public HTTPStatusCheckBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaos.java index c2f0e4db9bb..593a2929988 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class IOChaos implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "IOChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private IOChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class IOChaos implements Editable , HasMetadata, Namespac public IOChaos() { } - public IOChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, IOChaosSpec spec, IOChaosStatus status) { + public IOChaos(String apiVersion, String kind, ObjectMeta metadata, IOChaosSpec spec, IOChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosAction.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosAction.java index fb1030da6d8..9e904c26435 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosAction.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosAction.java @@ -99,10 +99,10 @@ public class IOChaosAction implements Editable , Kubernete @JsonProperty("kind") private String kind; @JsonProperty("latency") - private java.lang.String latency; + private String latency; @JsonProperty("methods") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List methods = new ArrayList<>(); + private List methods = new ArrayList<>(); @JsonProperty("mistake") private MistakeSpec mistake; @JsonProperty("mtime") @@ -110,9 +110,9 @@ public class IOChaosAction implements Editable , Kubernete @JsonProperty("nlink") private Long nlink; @JsonProperty("path") - private java.lang.String path; + private String path; @JsonProperty("percent") - private java.lang.Integer percent; + private Integer percent; @JsonProperty("perm") private Integer perm; @JsonProperty("rdev") @@ -120,13 +120,13 @@ public class IOChaosAction implements Editable , Kubernete @JsonProperty("size") private Long size; @JsonProperty("source") - private java.lang.String source; + private String source; @JsonProperty("type") - private java.lang.String type; + private String type; @JsonProperty("uid") private Long uid; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -135,7 +135,7 @@ public class IOChaosAction implements Editable , Kubernete public IOChaosAction() { } - public IOChaosAction(Timespec atime, Long blocks, Timespec ctime, List faults, Long gid, Long ino, String kind, java.lang.String latency, List methods, MistakeSpec mistake, Timespec mtime, Long nlink, java.lang.String path, java.lang.Integer percent, Integer perm, Long rdev, Long size, java.lang.String source, java.lang.String type, Long uid) { + public IOChaosAction(Timespec atime, Long blocks, Timespec ctime, List faults, Long gid, Long ino, String kind, String latency, List methods, MistakeSpec mistake, Timespec mtime, Long nlink, String path, Integer percent, Integer perm, Long rdev, Long size, String source, String type, Long uid) { super(); this.atime = atime; this.blocks = blocks; @@ -231,23 +231,23 @@ public void setKind(String kind) { } @JsonProperty("latency") - public java.lang.String getLatency() { + public String getLatency() { return latency; } @JsonProperty("latency") - public void setLatency(java.lang.String latency) { + public void setLatency(String latency) { this.latency = latency; } @JsonProperty("methods") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMethods() { + public List getMethods() { return methods; } @JsonProperty("methods") - public void setMethods(List methods) { + public void setMethods(List methods) { this.methods = methods; } @@ -282,22 +282,22 @@ public void setNlink(Long nlink) { } @JsonProperty("path") - public java.lang.String getPath() { + public String getPath() { return path; } @JsonProperty("path") - public void setPath(java.lang.String path) { + public void setPath(String path) { this.path = path; } @JsonProperty("percent") - public java.lang.Integer getPercent() { + public Integer getPercent() { return percent; } @JsonProperty("percent") - public void setPercent(java.lang.Integer percent) { + public void setPercent(Integer percent) { this.percent = percent; } @@ -332,22 +332,22 @@ public void setSize(Long size) { } @JsonProperty("source") - public java.lang.String getSource() { + public String getSource() { return source; } @JsonProperty("source") - public void setSource(java.lang.String source) { + public void setSource(String source) { this.source = source; } @JsonProperty("type") - public java.lang.String getType() { + public String getType() { return type; } @JsonProperty("type") - public void setType(java.lang.String type) { + public void setType(String type) { this.type = type; } @@ -372,16 +372,16 @@ public IOChaosActionBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java index 305784dec84..1dc5b4eb087 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosSpec.java @@ -48,6 +48,7 @@ "mode", "path", "percent", + "remoteCluster", "selector", "value", "volumePath" @@ -78,37 +79,39 @@ public class IOChaosSpec implements Editable , KubernetesRes { @JsonProperty("action") - private java.lang.String action; + private String action; @JsonProperty("attr") private AttrOverrideSpec attr; @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containerNames = new ArrayList<>(); + private List containerNames = new ArrayList<>(); @JsonProperty("delay") - private java.lang.String delay; + private String delay; @JsonProperty("duration") private String duration; @JsonProperty("errno") - private Integer errno; + private Long errno; @JsonProperty("methods") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List methods = new ArrayList<>(); + private List methods = new ArrayList<>(); @JsonProperty("mistake") private MistakeSpec mistake; @JsonProperty("mode") - private java.lang.String mode; + private String mode; @JsonProperty("path") - private java.lang.String path; + private String path; @JsonProperty("percent") private Integer percent; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonProperty("volumePath") - private java.lang.String volumePath; + private String volumePath; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -117,7 +120,7 @@ public class IOChaosSpec implements Editable , KubernetesRes public IOChaosSpec() { } - public IOChaosSpec(java.lang.String action, AttrOverrideSpec attr, List containerNames, java.lang.String delay, String duration, Integer errno, List methods, MistakeSpec mistake, java.lang.String mode, java.lang.String path, Integer percent, PodSelectorSpec selector, java.lang.String value, java.lang.String volumePath) { + public IOChaosSpec(String action, AttrOverrideSpec attr, List containerNames, String delay, String duration, Long errno, List methods, MistakeSpec mistake, String mode, String path, Integer percent, String remoteCluster, PodSelectorSpec selector, String value, String volumePath) { super(); this.action = action; this.attr = attr; @@ -130,18 +133,19 @@ public IOChaosSpec(java.lang.String action, AttrOverrideSpec attr, List getContainerNames() { + public List getContainerNames() { return containerNames; } @JsonProperty("containerNames") - public void setContainerNames(List containerNames) { + public void setContainerNames(List containerNames) { this.containerNames = containerNames; } @JsonProperty("delay") - public java.lang.String getDelay() { + public String getDelay() { return delay; } @JsonProperty("delay") - public void setDelay(java.lang.String delay) { + public void setDelay(String delay) { this.delay = delay; } @@ -187,23 +191,23 @@ public void setDuration(String duration) { } @JsonProperty("errno") - public Integer getErrno() { + public Long getErrno() { return errno; } @JsonProperty("errno") - public void setErrno(Integer errno) { + public void setErrno(Long errno) { this.errno = errno; } @JsonProperty("methods") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getMethods() { + public List getMethods() { return methods; } @JsonProperty("methods") - public void setMethods(List methods) { + public void setMethods(List methods) { this.methods = methods; } @@ -218,22 +222,22 @@ public void setMistake(MistakeSpec mistake) { } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } @JsonProperty("path") - public java.lang.String getPath() { + public String getPath() { return path; } @JsonProperty("path") - public void setPath(java.lang.String path) { + public void setPath(String path) { this.path = path; } @@ -247,6 +251,16 @@ public void setPercent(Integer percent) { this.percent = percent; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PodSelectorSpec getSelector() { return selector; @@ -258,22 +272,22 @@ public void setSelector(PodSelectorSpec selector) { } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @JsonProperty("volumePath") - public java.lang.String getVolumePath() { + public String getVolumePath() { return volumePath; } @JsonProperty("volumePath") - public void setVolumePath(java.lang.String volumePath) { + public void setVolumePath(String volumePath) { this.volumePath = volumePath; } @@ -288,16 +302,16 @@ public IOChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosStatus.java index 2697bb31f32..63c7984381d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IOChaosStatus.java @@ -75,7 +75,7 @@ public class IOChaosStatus implements Editable , Kubernete @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map instances = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -134,16 +134,16 @@ public IOChaosStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IoFault.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IoFault.java index 0be10b61dd8..a86acf19e48 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IoFault.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/IoFault.java @@ -64,7 +64,7 @@ public class IoFault implements Editable , KubernetesResource { @JsonProperty("errno") - private Integer errno; + private Long errno; @JsonProperty("weight") private Integer weight; @JsonIgnore @@ -77,19 +77,19 @@ public class IoFault implements Editable , KubernetesResource public IoFault() { } - public IoFault(Integer errno, Integer weight) { + public IoFault(Long errno, Integer weight) { super(); this.errno = errno; this.weight = weight; } @JsonProperty("errno") - public Integer getErrno() { + public Long getErrno() { return errno; } @JsonProperty("errno") - public void setErrno(Integer errno) { + public void setErrno(Long errno) { this.errno = errno; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaos.java index 9f7d61ec0b1..72f0f36dc8f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class JVMChaos implements Editable , HasMetadata, Namesp @JsonProperty("kind") private String kind = "JVMChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private JVMChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class JVMChaos implements Editable , HasMetadata, Namesp public JVMChaos() { } - public JVMChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, JVMChaosSpec spec, JVMChaosStatus status) { + public JVMChaos(String apiVersion, String kind, ObjectMeta metadata, JVMChaosSpec spec, JVMChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java index 15769714396..db9c026cb6f 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMChaosSpec.java @@ -41,16 +41,23 @@ "class", "containerNames", "cpuCount", + "database", "duration", "exception", "latency", "memType", "method", "mode", + "mysqlConnectorVersion", "name", + "pid", "port", + "remoteCluster", + "returnValue", "ruleData", "selector", + "sqlType", + "table", "value" }) @ToString @@ -79,38 +86,52 @@ public class JVMChaosSpec implements Editable , KubernetesR { @JsonProperty("action") - private java.lang.String action; + private String action; @JsonProperty("class") - private java.lang.String className; + private String className; @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containerNames = new ArrayList<>(); + private List containerNames = new ArrayList<>(); @JsonProperty("cpuCount") private Integer cpuCount; + @JsonProperty("database") + private String database; @JsonProperty("duration") private String duration; @JsonProperty("exception") - private java.lang.String exception; + private String exception; @JsonProperty("latency") private Integer latency; @JsonProperty("memType") - private java.lang.String memType; + private String memType; @JsonProperty("method") - private java.lang.String method; + private String method; @JsonProperty("mode") - private java.lang.String mode; + private String mode; + @JsonProperty("mysqlConnectorVersion") + private String mysqlConnectorVersion; @JsonProperty("name") - private java.lang.String name; + private String name; + @JsonProperty("pid") + private Integer pid; @JsonProperty("port") private Integer port; + @JsonProperty("remoteCluster") + private String remoteCluster; + @JsonProperty("returnValue") + private String returnValue; @JsonProperty("ruleData") - private java.lang.String ruleData; + private String ruleData; @JsonProperty("selector") private PodSelectorSpec selector; + @JsonProperty("sqlType") + private String sqlType; + @JsonProperty("table") + private String table; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -119,53 +140,60 @@ public class JVMChaosSpec implements Editable , KubernetesR public JVMChaosSpec() { } - public JVMChaosSpec(java.lang.String action, java.lang.String className, List containerNames, Integer cpuCount, String duration, java.lang.String exception, Integer latency, java.lang.String memType, java.lang.String method, java.lang.String mode, java.lang.String name, Integer port, java.lang.String ruleData, PodSelectorSpec selector, java.lang.String value) { + public JVMChaosSpec(String action, String className, List containerNames, Integer cpuCount, String database, String duration, String exception, Integer latency, String memType, String method, String mode, String mysqlConnectorVersion, String name, Integer pid, Integer port, String remoteCluster, String returnValue, String ruleData, PodSelectorSpec selector, String sqlType, String table, String value) { super(); this.action = action; this.className = className; this.containerNames = containerNames; this.cpuCount = cpuCount; + this.database = database; this.duration = duration; this.exception = exception; this.latency = latency; this.memType = memType; this.method = method; this.mode = mode; + this.mysqlConnectorVersion = mysqlConnectorVersion; this.name = name; + this.pid = pid; this.port = port; + this.remoteCluster = remoteCluster; + this.returnValue = returnValue; this.ruleData = ruleData; this.selector = selector; + this.sqlType = sqlType; + this.table = table; this.value = value; } @JsonProperty("action") - public java.lang.String getAction() { + public String getAction() { return action; } @JsonProperty("action") - public void setAction(java.lang.String action) { + public void setAction(String action) { this.action = action; } @JsonProperty("class") - public java.lang.String getClassName() { + public String getClassName() { return className; } @JsonProperty("class") - public void setClassName(java.lang.String className) { + public void setClassName(String className) { this.className = className; } @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainerNames() { + public List getContainerNames() { return containerNames; } @JsonProperty("containerNames") - public void setContainerNames(List containerNames) { + public void setContainerNames(List containerNames) { this.containerNames = containerNames; } @@ -179,6 +207,16 @@ public void setCpuCount(Integer cpuCount) { this.cpuCount = cpuCount; } + @JsonProperty("database") + public String getDatabase() { + return database; + } + + @JsonProperty("database") + public void setDatabase(String database) { + this.database = database; + } + @JsonProperty("duration") public String getDuration() { return duration; @@ -190,12 +228,12 @@ public void setDuration(String duration) { } @JsonProperty("exception") - public java.lang.String getException() { + public String getException() { return exception; } @JsonProperty("exception") - public void setException(java.lang.String exception) { + public void setException(String exception) { this.exception = exception; } @@ -210,45 +248,65 @@ public void setLatency(Integer latency) { } @JsonProperty("memType") - public java.lang.String getMemType() { + public String getMemType() { return memType; } @JsonProperty("memType") - public void setMemType(java.lang.String memType) { + public void setMemType(String memType) { this.memType = memType; } @JsonProperty("method") - public java.lang.String getMethod() { + public String getMethod() { return method; } @JsonProperty("method") - public void setMethod(java.lang.String method) { + public void setMethod(String method) { this.method = method; } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } + @JsonProperty("mysqlConnectorVersion") + public String getMysqlConnectorVersion() { + return mysqlConnectorVersion; + } + + @JsonProperty("mysqlConnectorVersion") + public void setMysqlConnectorVersion(String mysqlConnectorVersion) { + this.mysqlConnectorVersion = mysqlConnectorVersion; + } + @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("pid") + public Integer getPid() { + return pid; + } + + @JsonProperty("pid") + public void setPid(Integer pid) { + this.pid = pid; + } + @JsonProperty("port") public Integer getPort() { return port; @@ -259,13 +317,33 @@ public void setPort(Integer port) { this.port = port; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + + @JsonProperty("returnValue") + public String getReturnValue() { + return returnValue; + } + + @JsonProperty("returnValue") + public void setReturnValue(String returnValue) { + this.returnValue = returnValue; + } + @JsonProperty("ruleData") - public java.lang.String getRuleData() { + public String getRuleData() { return ruleData; } @JsonProperty("ruleData") - public void setRuleData(java.lang.String ruleData) { + public void setRuleData(String ruleData) { this.ruleData = ruleData; } @@ -279,13 +357,33 @@ public void setSelector(PodSelectorSpec selector) { this.selector = selector; } + @JsonProperty("sqlType") + public String getSqlType() { + return sqlType; + } + + @JsonProperty("sqlType") + public void setSqlType(String sqlType) { + this.sqlType = sqlType; + } + + @JsonProperty("table") + public String getTable() { + return table; + } + + @JsonProperty("table") + public void setTable(String table) { + this.table = table; + } + @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @@ -300,16 +398,16 @@ public JVMChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMClassMethodSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMClassMethodSpec.java new file mode 100644 index 00000000000..3371b195f9d --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMClassMethodSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "class", + "method" +}) +@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 JVMClassMethodSpec implements Editable , KubernetesResource +{ + + @JsonProperty("class") + private String className; + @JsonProperty("method") + private String method; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public JVMClassMethodSpec() { + } + + public JVMClassMethodSpec(String className, String method) { + super(); + this.className = className; + this.method = method; + } + + @JsonProperty("class") + public String getClassName() { + return className; + } + + @JsonProperty("class") + public void setClassName(String className) { + this.className = className; + } + + @JsonProperty("method") + public String getMethod() { + return method; + } + + @JsonProperty("method") + public void setMethod(String method) { + this.method = method; + } + + @JsonIgnore + public JVMClassMethodSpecBuilder edit() { + return new JVMClassMethodSpecBuilder(this); + } + + @JsonIgnore + public JVMClassMethodSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMCommonSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMCommonSpec.java new file mode 100644 index 00000000000..b2a45acc028 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMCommonSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "pid", + "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 JVMCommonSpec implements Editable , KubernetesResource +{ + + @JsonProperty("pid") + private Integer pid; + @JsonProperty("port") + private Integer port; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public JVMCommonSpec() { + } + + public JVMCommonSpec(Integer pid, Integer port) { + super(); + this.pid = pid; + this.port = port; + } + + @JsonProperty("pid") + public Integer getPid() { + return pid; + } + + @JsonProperty("pid") + public void setPid(Integer pid) { + this.pid = pid; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonIgnore + public JVMCommonSpecBuilder edit() { + return new JVMCommonSpecBuilder(this); + } + + @JsonIgnore + public JVMCommonSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMMySQLSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMMySQLSpec.java new file mode 100644 index 00000000000..e31ca55a9d8 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMMySQLSpec.java @@ -0,0 +1,158 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "database", + "mysqlConnectorVersion", + "sqlType", + "table" +}) +@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 JVMMySQLSpec implements Editable , KubernetesResource +{ + + @JsonProperty("database") + private String database; + @JsonProperty("mysqlConnectorVersion") + private String mysqlConnectorVersion; + @JsonProperty("sqlType") + private String sqlType; + @JsonProperty("table") + private String table; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public JVMMySQLSpec() { + } + + public JVMMySQLSpec(String database, String mysqlConnectorVersion, String sqlType, String table) { + super(); + this.database = database; + this.mysqlConnectorVersion = mysqlConnectorVersion; + this.sqlType = sqlType; + this.table = table; + } + + @JsonProperty("database") + public String getDatabase() { + return database; + } + + @JsonProperty("database") + public void setDatabase(String database) { + this.database = database; + } + + @JsonProperty("mysqlConnectorVersion") + public String getMysqlConnectorVersion() { + return mysqlConnectorVersion; + } + + @JsonProperty("mysqlConnectorVersion") + public void setMysqlConnectorVersion(String mysqlConnectorVersion) { + this.mysqlConnectorVersion = mysqlConnectorVersion; + } + + @JsonProperty("sqlType") + public String getSqlType() { + return sqlType; + } + + @JsonProperty("sqlType") + public void setSqlType(String sqlType) { + this.sqlType = sqlType; + } + + @JsonProperty("table") + public String getTable() { + return table; + } + + @JsonProperty("table") + public void setTable(String table) { + this.table = table; + } + + @JsonIgnore + public JVMMySQLSpecBuilder edit() { + return new JVMMySQLSpecBuilder(this); + } + + @JsonIgnore + public JVMMySQLSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMParameter.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMParameter.java new file mode 100644 index 00000000000..82547659394 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMParameter.java @@ -0,0 +1,312 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "class", + "cpuCount", + "database", + "exception", + "latency", + "memType", + "method", + "mysqlConnectorVersion", + "name", + "pid", + "port", + "returnValue", + "ruleData", + "sqlType", + "table" +}) +@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 JVMParameter implements Editable , KubernetesResource +{ + + @JsonProperty("class") + private String className; + @JsonProperty("cpuCount") + private Integer cpuCount; + @JsonProperty("database") + private String database; + @JsonProperty("exception") + private String exception; + @JsonProperty("latency") + private Integer latency; + @JsonProperty("memType") + private String memType; + @JsonProperty("method") + private String method; + @JsonProperty("mysqlConnectorVersion") + private String mysqlConnectorVersion; + @JsonProperty("name") + private String name; + @JsonProperty("pid") + private Integer pid; + @JsonProperty("port") + private Integer port; + @JsonProperty("returnValue") + private String returnValue; + @JsonProperty("ruleData") + private String ruleData; + @JsonProperty("sqlType") + private String sqlType; + @JsonProperty("table") + private String table; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public JVMParameter() { + } + + public JVMParameter(String className, Integer cpuCount, String database, String exception, Integer latency, String memType, String method, String mysqlConnectorVersion, String name, Integer pid, Integer port, String returnValue, String ruleData, String sqlType, String table) { + super(); + this.className = className; + this.cpuCount = cpuCount; + this.database = database; + this.exception = exception; + this.latency = latency; + this.memType = memType; + this.method = method; + this.mysqlConnectorVersion = mysqlConnectorVersion; + this.name = name; + this.pid = pid; + this.port = port; + this.returnValue = returnValue; + this.ruleData = ruleData; + this.sqlType = sqlType; + this.table = table; + } + + @JsonProperty("class") + public String getClassName() { + return className; + } + + @JsonProperty("class") + public void setClassName(String className) { + this.className = className; + } + + @JsonProperty("cpuCount") + public Integer getCpuCount() { + return cpuCount; + } + + @JsonProperty("cpuCount") + public void setCpuCount(Integer cpuCount) { + this.cpuCount = cpuCount; + } + + @JsonProperty("database") + public String getDatabase() { + return database; + } + + @JsonProperty("database") + public void setDatabase(String database) { + this.database = database; + } + + @JsonProperty("exception") + public String getException() { + return exception; + } + + @JsonProperty("exception") + public void setException(String exception) { + this.exception = exception; + } + + @JsonProperty("latency") + public Integer getLatency() { + return latency; + } + + @JsonProperty("latency") + public void setLatency(Integer latency) { + this.latency = latency; + } + + @JsonProperty("memType") + public String getMemType() { + return memType; + } + + @JsonProperty("memType") + public void setMemType(String memType) { + this.memType = memType; + } + + @JsonProperty("method") + public String getMethod() { + return method; + } + + @JsonProperty("method") + public void setMethod(String method) { + this.method = method; + } + + @JsonProperty("mysqlConnectorVersion") + public String getMysqlConnectorVersion() { + return mysqlConnectorVersion; + } + + @JsonProperty("mysqlConnectorVersion") + public void setMysqlConnectorVersion(String mysqlConnectorVersion) { + this.mysqlConnectorVersion = mysqlConnectorVersion; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("pid") + public Integer getPid() { + return pid; + } + + @JsonProperty("pid") + public void setPid(Integer pid) { + this.pid = pid; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("returnValue") + public String getReturnValue() { + return returnValue; + } + + @JsonProperty("returnValue") + public void setReturnValue(String returnValue) { + this.returnValue = returnValue; + } + + @JsonProperty("ruleData") + public String getRuleData() { + return ruleData; + } + + @JsonProperty("ruleData") + public void setRuleData(String ruleData) { + this.ruleData = ruleData; + } + + @JsonProperty("sqlType") + public String getSqlType() { + return sqlType; + } + + @JsonProperty("sqlType") + public void setSqlType(String sqlType) { + this.sqlType = sqlType; + } + + @JsonProperty("table") + public String getTable() { + return table; + } + + @JsonProperty("table") + public void setTable(String table) { + this.table = table; + } + + @JsonIgnore + public JVMParameterBuilder edit() { + return new JVMParameterBuilder(this); + } + + @JsonIgnore + public JVMParameterBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMStressCfgSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMStressCfgSpec.java new file mode 100644 index 00000000000..c8a18381580 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/JVMStressCfgSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "cpuCount", + "memType" +}) +@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 JVMStressCfgSpec implements Editable , KubernetesResource +{ + + @JsonProperty("cpuCount") + private Integer cpuCount; + @JsonProperty("memType") + private String memType; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public JVMStressCfgSpec() { + } + + public JVMStressCfgSpec(Integer cpuCount, String memType) { + super(); + this.cpuCount = cpuCount; + this.memType = memType; + } + + @JsonProperty("cpuCount") + public Integer getCpuCount() { + return cpuCount; + } + + @JsonProperty("cpuCount") + public void setCpuCount(Integer cpuCount) { + this.cpuCount = cpuCount; + } + + @JsonProperty("memType") + public String getMemType() { + return memType; + } + + @JsonProperty("memType") + public void setMemType(String memType) { + this.memType = memType; + } + + @JsonIgnore + public JVMStressCfgSpecBuilder edit() { + return new JVMStressCfgSpecBuilder(this); + } + + @JsonIgnore + public JVMStressCfgSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaCommonSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaCommonSpec.java new file mode 100644 index 00000000000..6ea0df8d7e6 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaCommonSpec.java @@ -0,0 +1,172 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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", + "password", + "port", + "topic", + "username" +}) +@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 KafkaCommonSpec implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("password") + private String password; + @JsonProperty("port") + private Integer port; + @JsonProperty("topic") + private String topic; + @JsonProperty("username") + private String username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public KafkaCommonSpec() { + } + + public KafkaCommonSpec(String host, String password, Integer port, String topic, String username) { + super(); + this.host = host; + this.password = password; + this.port = port; + this.topic = topic; + this.username = username; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("topic") + public String getTopic() { + return topic; + } + + @JsonProperty("topic") + public void setTopic(String topic) { + this.topic = topic; + } + + @JsonProperty("username") + public String getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(String username) { + this.username = username; + } + + @JsonIgnore + public KafkaCommonSpecBuilder edit() { + return new KafkaCommonSpecBuilder(this); + } + + @JsonIgnore + public KafkaCommonSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaFillSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaFillSpec.java new file mode 100644 index 00000000000..ca563f085a5 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaFillSpec.java @@ -0,0 +1,214 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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", + "maxBytes", + "messageSize", + "password", + "port", + "reloadCommand", + "topic", + "username" +}) +@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 KafkaFillSpec implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("maxBytes") + private Long maxBytes; + @JsonProperty("messageSize") + private Integer messageSize; + @JsonProperty("password") + private String password; + @JsonProperty("port") + private Integer port; + @JsonProperty("reloadCommand") + private String reloadCommand; + @JsonProperty("topic") + private String topic; + @JsonProperty("username") + private String username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public KafkaFillSpec() { + } + + public KafkaFillSpec(String host, Long maxBytes, Integer messageSize, String password, Integer port, String reloadCommand, String topic, String username) { + super(); + this.host = host; + this.maxBytes = maxBytes; + this.messageSize = messageSize; + this.password = password; + this.port = port; + this.reloadCommand = reloadCommand; + this.topic = topic; + this.username = username; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("maxBytes") + public Long getMaxBytes() { + return maxBytes; + } + + @JsonProperty("maxBytes") + public void setMaxBytes(Long maxBytes) { + this.maxBytes = maxBytes; + } + + @JsonProperty("messageSize") + public Integer getMessageSize() { + return messageSize; + } + + @JsonProperty("messageSize") + public void setMessageSize(Integer messageSize) { + this.messageSize = messageSize; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("reloadCommand") + public String getReloadCommand() { + return reloadCommand; + } + + @JsonProperty("reloadCommand") + public void setReloadCommand(String reloadCommand) { + this.reloadCommand = reloadCommand; + } + + @JsonProperty("topic") + public String getTopic() { + return topic; + } + + @JsonProperty("topic") + public void setTopic(String topic) { + this.topic = topic; + } + + @JsonProperty("username") + public String getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(String username) { + this.username = username; + } + + @JsonIgnore + public KafkaFillSpecBuilder edit() { + return new KafkaFillSpecBuilder(this); + } + + @JsonIgnore + public KafkaFillSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaFloodSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaFloodSpec.java new file mode 100644 index 00000000000..8f74a2c44bf --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaFloodSpec.java @@ -0,0 +1,200 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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", + "messageSize", + "password", + "port", + "threads", + "topic", + "username" +}) +@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 KafkaFloodSpec implements Editable , KubernetesResource +{ + + @JsonProperty("host") + private String host; + @JsonProperty("messageSize") + private Integer messageSize; + @JsonProperty("password") + private String password; + @JsonProperty("port") + private Integer port; + @JsonProperty("threads") + private Integer threads; + @JsonProperty("topic") + private String topic; + @JsonProperty("username") + private String username; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public KafkaFloodSpec() { + } + + public KafkaFloodSpec(String host, Integer messageSize, String password, Integer port, Integer threads, String topic, String username) { + super(); + this.host = host; + this.messageSize = messageSize; + this.password = password; + this.port = port; + this.threads = threads; + this.topic = topic; + this.username = username; + } + + @JsonProperty("host") + public String getHost() { + return host; + } + + @JsonProperty("host") + public void setHost(String host) { + this.host = host; + } + + @JsonProperty("messageSize") + public Integer getMessageSize() { + return messageSize; + } + + @JsonProperty("messageSize") + public void setMessageSize(Integer messageSize) { + this.messageSize = messageSize; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("threads") + public Integer getThreads() { + return threads; + } + + @JsonProperty("threads") + public void setThreads(Integer threads) { + this.threads = threads; + } + + @JsonProperty("topic") + public String getTopic() { + return topic; + } + + @JsonProperty("topic") + public void setTopic(String topic) { + this.topic = topic; + } + + @JsonProperty("username") + public String getUsername() { + return username; + } + + @JsonProperty("username") + public void setUsername(String username) { + this.username = username; + } + + @JsonIgnore + public KafkaFloodSpecBuilder edit() { + return new KafkaFloodSpecBuilder(this); + } + + @JsonIgnore + public KafkaFloodSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaIOSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaIOSpec.java new file mode 100644 index 00000000000..acc35ea1930 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KafkaIOSpec.java @@ -0,0 +1,158 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "configFile", + "nonReadable", + "nonWritable", + "topic" +}) +@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 KafkaIOSpec implements Editable , KubernetesResource +{ + + @JsonProperty("configFile") + private String configFile; + @JsonProperty("nonReadable") + private Boolean nonReadable; + @JsonProperty("nonWritable") + private Boolean nonWritable; + @JsonProperty("topic") + private String topic; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public KafkaIOSpec() { + } + + public KafkaIOSpec(String configFile, Boolean nonReadable, Boolean nonWritable, String topic) { + super(); + this.configFile = configFile; + this.nonReadable = nonReadable; + this.nonWritable = nonWritable; + this.topic = topic; + } + + @JsonProperty("configFile") + public String getConfigFile() { + return configFile; + } + + @JsonProperty("configFile") + public void setConfigFile(String configFile) { + this.configFile = configFile; + } + + @JsonProperty("nonReadable") + public Boolean getNonReadable() { + return nonReadable; + } + + @JsonProperty("nonReadable") + public void setNonReadable(Boolean nonReadable) { + this.nonReadable = nonReadable; + } + + @JsonProperty("nonWritable") + public Boolean getNonWritable() { + return nonWritable; + } + + @JsonProperty("nonWritable") + public void setNonWritable(Boolean nonWritable) { + this.nonWritable = nonWritable; + } + + @JsonProperty("topic") + public String getTopic() { + return topic; + } + + @JsonProperty("topic") + public void setTopic(String topic) { + this.topic = topic; + } + + @JsonIgnore + public KafkaIOSpecBuilder edit() { + return new KafkaIOSpecBuilder(this); + } + + @JsonIgnore + public KafkaIOSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaos.java index 202777550c5..15970949cba 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class KernelChaos implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "KernelChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private KernelChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class KernelChaos implements Editable , HasMetadata, public KernelChaos() { } - public KernelChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, KernelChaosSpec spec, KernelChaosStatus status) { + public KernelChaos(String apiVersion, String kind, ObjectMeta metadata, KernelChaosSpec spec, KernelChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosSpec.java index e550b9eb514..883af5262b3 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/KernelChaosSpec.java @@ -1,7 +1,9 @@ package io.fabric8.chaosmesh.v1alpha1; +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; @@ -35,9 +37,11 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "containerNames", "duration", "failKernRequest", "mode", + "remoteCluster", "selector", "value" }) @@ -66,18 +70,23 @@ public class KernelChaosSpec implements Editable , KubernetesResource { + @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List containerNames = new ArrayList<>(); @JsonProperty("duration") private String duration; @JsonProperty("failKernRequest") private FailKernRequest failKernRequest; @JsonProperty("mode") - private java.lang.String mode; + private String mode; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -86,15 +95,28 @@ public class KernelChaosSpec implements Editable , Kuber public KernelChaosSpec() { } - public KernelChaosSpec(String duration, FailKernRequest failKernRequest, java.lang.String mode, PodSelectorSpec selector, java.lang.String value) { + public KernelChaosSpec(List containerNames, String duration, FailKernRequest failKernRequest, String mode, String remoteCluster, PodSelectorSpec selector, String value) { super(); + this.containerNames = containerNames; this.duration = duration; this.failKernRequest = failKernRequest; this.mode = mode; + this.remoteCluster = remoteCluster; this.selector = selector; this.value = value; } + @JsonProperty("containerNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getContainerNames() { + return containerNames; + } + + @JsonProperty("containerNames") + public void setContainerNames(List containerNames) { + this.containerNames = containerNames; + } + @JsonProperty("duration") public String getDuration() { return duration; @@ -116,15 +138,25 @@ public void setFailKernRequest(FailKernRequest failKernRequest) { } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PodSelectorSpec getSelector() { return selector; @@ -136,12 +168,12 @@ public void setSelector(PodSelectorSpec selector) { } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @@ -156,16 +188,16 @@ public KernelChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java index 6bfd232c2aa..fe14bbf2569 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/MemoryStressor.java @@ -37,6 +37,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "oomScoreAdj", "options", "size", "workers" @@ -66,6 +67,8 @@ public class MemoryStressor implements Editable , KubernetesResource { + @JsonProperty("oomScoreAdj") + private Integer oomScoreAdj; @JsonProperty("options") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List options = new ArrayList<>(); @@ -83,13 +86,24 @@ public class MemoryStressor implements Editable , Kuberne public MemoryStressor() { } - public MemoryStressor(List options, String size, Integer workers) { + public MemoryStressor(Integer oomScoreAdj, List options, String size, Integer workers) { super(); + this.oomScoreAdj = oomScoreAdj; this.options = options; this.size = size; this.workers = workers; } + @JsonProperty("oomScoreAdj") + public Integer getOomScoreAdj() { + return oomScoreAdj; + } + + @JsonProperty("oomScoreAdj") + public void setOomScoreAdj(Integer oomScoreAdj) { + this.oomScoreAdj = oomScoreAdj; + } + @JsonProperty("options") @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getOptions() { diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkBandwidthSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkBandwidthSpec.java index 4686dfbce5e..0cd5e1a032d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkBandwidthSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkBandwidthSpec.java @@ -70,7 +70,7 @@ public class NetworkBandwidthSpec implements Editable , HasMetadata @JsonProperty("kind") private String kind = "NetworkChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private NetworkChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class NetworkChaos implements Editable , HasMetadata public NetworkChaos() { } - public NetworkChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, NetworkChaosSpec spec, NetworkChaosStatus status) { + public NetworkChaos(String apiVersion, String kind, ObjectMeta metadata, NetworkChaosSpec spec, NetworkChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java index b1e4ab9aad7..ef6d3f4c445 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosSpec.java @@ -48,6 +48,8 @@ "externalTargets", "loss", "mode", + "rate", + "remoteCluster", "selector", "target", "targetDevice", @@ -79,7 +81,7 @@ public class NetworkChaosSpec implements Editable , Kub { @JsonProperty("action") - private java.lang.String action; + private String action; @JsonProperty("bandwidth") private BandwidthSpec bandwidth; @JsonProperty("corrupt") @@ -87,30 +89,34 @@ public class NetworkChaosSpec implements Editable , Kub @JsonProperty("delay") private DelaySpec delay; @JsonProperty("device") - private java.lang.String device; + private String device; @JsonProperty("direction") - private java.lang.String direction; + private String direction; @JsonProperty("duplicate") private DuplicateSpec duplicate; @JsonProperty("duration") private String duration; @JsonProperty("externalTargets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List externalTargets = new ArrayList<>(); + private List externalTargets = new ArrayList<>(); @JsonProperty("loss") private LossSpec loss; @JsonProperty("mode") - private java.lang.String mode; + private String mode; + @JsonProperty("rate") + private RateSpec rate; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("target") private PodSelector target; @JsonProperty("targetDevice") - private java.lang.String targetDevice; + private String targetDevice; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -119,7 +125,7 @@ public class NetworkChaosSpec implements Editable , Kub public NetworkChaosSpec() { } - public NetworkChaosSpec(java.lang.String action, BandwidthSpec bandwidth, CorruptSpec corrupt, DelaySpec delay, java.lang.String device, java.lang.String direction, DuplicateSpec duplicate, String duration, List externalTargets, LossSpec loss, java.lang.String mode, PodSelectorSpec selector, PodSelector target, java.lang.String targetDevice, java.lang.String value) { + public NetworkChaosSpec(String action, BandwidthSpec bandwidth, CorruptSpec corrupt, DelaySpec delay, String device, String direction, DuplicateSpec duplicate, String duration, List externalTargets, LossSpec loss, String mode, RateSpec rate, String remoteCluster, PodSelectorSpec selector, PodSelector target, String targetDevice, String value) { super(); this.action = action; this.bandwidth = bandwidth; @@ -132,6 +138,8 @@ public NetworkChaosSpec(java.lang.String action, BandwidthSpec bandwidth, Corrup this.externalTargets = externalTargets; this.loss = loss; this.mode = mode; + this.rate = rate; + this.remoteCluster = remoteCluster; this.selector = selector; this.target = target; this.targetDevice = targetDevice; @@ -139,12 +147,12 @@ public NetworkChaosSpec(java.lang.String action, BandwidthSpec bandwidth, Corrup } @JsonProperty("action") - public java.lang.String getAction() { + public String getAction() { return action; } @JsonProperty("action") - public void setAction(java.lang.String action) { + public void setAction(String action) { this.action = action; } @@ -179,22 +187,22 @@ public void setDelay(DelaySpec delay) { } @JsonProperty("device") - public java.lang.String getDevice() { + public String getDevice() { return device; } @JsonProperty("device") - public void setDevice(java.lang.String device) { + public void setDevice(String device) { this.device = device; } @JsonProperty("direction") - public java.lang.String getDirection() { + public String getDirection() { return direction; } @JsonProperty("direction") - public void setDirection(java.lang.String direction) { + public void setDirection(String direction) { this.direction = direction; } @@ -220,12 +228,12 @@ public void setDuration(String duration) { @JsonProperty("externalTargets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getExternalTargets() { + public List getExternalTargets() { return externalTargets; } @JsonProperty("externalTargets") - public void setExternalTargets(List externalTargets) { + public void setExternalTargets(List externalTargets) { this.externalTargets = externalTargets; } @@ -240,15 +248,35 @@ public void setLoss(LossSpec loss) { } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } + @JsonProperty("rate") + public RateSpec getRate() { + return rate; + } + + @JsonProperty("rate") + public void setRate(RateSpec rate) { + this.rate = rate; + } + + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PodSelectorSpec getSelector() { return selector; @@ -270,22 +298,22 @@ public void setTarget(PodSelector target) { } @JsonProperty("targetDevice") - public java.lang.String getTargetDevice() { + public String getTargetDevice() { return targetDevice; } @JsonProperty("targetDevice") - public void setTargetDevice(java.lang.String targetDevice) { + public void setTargetDevice(String targetDevice) { this.targetDevice = targetDevice; } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @@ -300,16 +328,16 @@ public NetworkChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosStatus.java index 4eb145a8729..b3ea91d3020 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkChaosStatus.java @@ -75,7 +75,7 @@ public class NetworkChaosStatus implements Editable , @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map instances = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -134,16 +134,16 @@ public NetworkChaosStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkCommonSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkCommonSpec.java new file mode 100644 index 00000000000..582e550a2ea --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkCommonSpec.java @@ -0,0 +1,200 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "correlation", + "device", + "egress-port", + "hostname", + "ip-address", + "ip-protocol", + "source-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 NetworkCommonSpec implements Editable , KubernetesResource +{ + + @JsonProperty("correlation") + private String correlation; + @JsonProperty("device") + private String device; + @JsonProperty("egress-port") + private String egressPort; + @JsonProperty("hostname") + private String hostname; + @JsonProperty("ip-address") + private String ipAddress; + @JsonProperty("ip-protocol") + private String ipProtocol; + @JsonProperty("source-port") + private String sourcePort; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public NetworkCommonSpec() { + } + + public NetworkCommonSpec(String correlation, String device, String egressPort, String hostname, String ipAddress, String ipProtocol, String sourcePort) { + super(); + this.correlation = correlation; + this.device = device; + this.egressPort = egressPort; + this.hostname = hostname; + this.ipAddress = ipAddress; + this.ipProtocol = ipProtocol; + this.sourcePort = sourcePort; + } + + @JsonProperty("correlation") + public String getCorrelation() { + return correlation; + } + + @JsonProperty("correlation") + public void setCorrelation(String correlation) { + this.correlation = correlation; + } + + @JsonProperty("device") + public String getDevice() { + return device; + } + + @JsonProperty("device") + public void setDevice(String device) { + this.device = device; + } + + @JsonProperty("egress-port") + public String getEgressPort() { + return egressPort; + } + + @JsonProperty("egress-port") + public void setEgressPort(String egressPort) { + this.egressPort = egressPort; + } + + @JsonProperty("hostname") + public String getHostname() { + return hostname; + } + + @JsonProperty("hostname") + public void setHostname(String hostname) { + this.hostname = hostname; + } + + @JsonProperty("ip-address") + public String getIpAddress() { + return ipAddress; + } + + @JsonProperty("ip-address") + public void setIpAddress(String ipAddress) { + this.ipAddress = ipAddress; + } + + @JsonProperty("ip-protocol") + public String getIpProtocol() { + return ipProtocol; + } + + @JsonProperty("ip-protocol") + public void setIpProtocol(String ipProtocol) { + this.ipProtocol = ipProtocol; + } + + @JsonProperty("source-port") + public String getSourcePort() { + return sourcePort; + } + + @JsonProperty("source-port") + public void setSourcePort(String sourcePort) { + this.sourcePort = sourcePort; + } + + @JsonIgnore + public NetworkCommonSpecBuilder edit() { + return new NetworkCommonSpecBuilder(this); + } + + @JsonIgnore + public NetworkCommonSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDelaySpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDelaySpec.java index fef411a2a34..60d19fc5d20 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDelaySpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDelaySpec.java @@ -35,6 +35,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "accept-tcp-flags", "correlation", "device", "egress-port", @@ -70,6 +71,8 @@ public class NetworkDelaySpec implements Editable , KubernetesResource { + @JsonProperty("accept-tcp-flags") + private String acceptTcpFlags; @JsonProperty("correlation") private String correlation; @JsonProperty("device") @@ -98,8 +101,9 @@ public class NetworkDelaySpec implements Editable , Kub public NetworkDelaySpec() { } - public NetworkDelaySpec(String correlation, String device, String egressPort, String hostname, String ipAddress, String ipProtocol, String jitter, String latency, String sourcePort) { + public NetworkDelaySpec(String acceptTcpFlags, String correlation, String device, String egressPort, String hostname, String ipAddress, String ipProtocol, String jitter, String latency, String sourcePort) { super(); + this.acceptTcpFlags = acceptTcpFlags; this.correlation = correlation; this.device = device; this.egressPort = egressPort; @@ -111,6 +115,16 @@ public NetworkDelaySpec(String correlation, String device, String egressPort, St this.sourcePort = sourcePort; } + @JsonProperty("accept-tcp-flags") + public String getAcceptTcpFlags() { + return acceptTcpFlags; + } + + @JsonProperty("accept-tcp-flags") + public void setAcceptTcpFlags(String acceptTcpFlags) { + this.acceptTcpFlags = acceptTcpFlags; + } + @JsonProperty("correlation") public String getCorrelation() { return correlation; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDownSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDownSpec.java new file mode 100644 index 00000000000..c38fb2ac13d --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkDownSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "device", + "duration" +}) +@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 NetworkDownSpec implements Editable , KubernetesResource +{ + + @JsonProperty("device") + private String device; + @JsonProperty("duration") + private String duration; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public NetworkDownSpec() { + } + + public NetworkDownSpec(String device, String duration) { + super(); + this.device = device; + this.duration = duration; + } + + @JsonProperty("device") + public String getDevice() { + return device; + } + + @JsonProperty("device") + public void setDevice(String device) { + this.device = device; + } + + @JsonProperty("duration") + public String getDuration() { + return duration; + } + + @JsonProperty("duration") + public void setDuration(String duration) { + this.duration = duration; + } + + @JsonIgnore + public NetworkDownSpecBuilder edit() { + return new NetworkDownSpecBuilder(this); + } + + @JsonIgnore + public NetworkDownSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkFloodSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkFloodSpec.java new file mode 100644 index 00000000000..2499262af5a --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/NetworkFloodSpec.java @@ -0,0 +1,172 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "duration", + "ip-address", + "parallel", + "port", + "rate" +}) +@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 NetworkFloodSpec implements Editable , KubernetesResource +{ + + @JsonProperty("duration") + private String duration; + @JsonProperty("ip-address") + private String ipAddress; + @JsonProperty("parallel") + private Integer parallel; + @JsonProperty("port") + private String port; + @JsonProperty("rate") + private String rate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public NetworkFloodSpec() { + } + + public NetworkFloodSpec(String duration, String ipAddress, Integer parallel, String port, String rate) { + super(); + this.duration = duration; + this.ipAddress = ipAddress; + this.parallel = parallel; + this.port = port; + this.rate = rate; + } + + @JsonProperty("duration") + public String getDuration() { + return duration; + } + + @JsonProperty("duration") + public void setDuration(String duration) { + this.duration = duration; + } + + @JsonProperty("ip-address") + public String getIpAddress() { + return ipAddress; + } + + @JsonProperty("ip-address") + public void setIpAddress(String ipAddress) { + this.ipAddress = ipAddress; + } + + @JsonProperty("parallel") + public Integer getParallel() { + return parallel; + } + + @JsonProperty("parallel") + public void setParallel(Integer parallel) { + this.parallel = parallel; + } + + @JsonProperty("port") + public String getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(String port) { + this.port = port; + } + + @JsonProperty("rate") + public String getRate() { + return rate; + } + + @JsonProperty("rate") + public void setRate(String rate) { + this.rate = rate; + } + + @JsonIgnore + public NetworkFloodSpecBuilder edit() { + return new NetworkFloodSpecBuilder(this); + } + + @JsonIgnore + public NetworkFloodSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PMJVMMySQLSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PMJVMMySQLSpec.java new file mode 100644 index 00000000000..a2d5df0f1dd --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PMJVMMySQLSpec.java @@ -0,0 +1,214 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "database", + "exception", + "latency", + "mysqlConnectorVersion", + "pid", + "port", + "sqlType", + "table" +}) +@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 PMJVMMySQLSpec implements Editable , KubernetesResource +{ + + @JsonProperty("database") + private String database; + @JsonProperty("exception") + private String exception; + @JsonProperty("latency") + private Integer latency; + @JsonProperty("mysqlConnectorVersion") + private String mysqlConnectorVersion; + @JsonProperty("pid") + private Integer pid; + @JsonProperty("port") + private Integer port; + @JsonProperty("sqlType") + private String sqlType; + @JsonProperty("table") + private String table; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PMJVMMySQLSpec() { + } + + public PMJVMMySQLSpec(String database, String exception, Integer latency, String mysqlConnectorVersion, Integer pid, Integer port, String sqlType, String table) { + super(); + this.database = database; + this.exception = exception; + this.latency = latency; + this.mysqlConnectorVersion = mysqlConnectorVersion; + this.pid = pid; + this.port = port; + this.sqlType = sqlType; + this.table = table; + } + + @JsonProperty("database") + public String getDatabase() { + return database; + } + + @JsonProperty("database") + public void setDatabase(String database) { + this.database = database; + } + + @JsonProperty("exception") + public String getException() { + return exception; + } + + @JsonProperty("exception") + public void setException(String exception) { + this.exception = exception; + } + + @JsonProperty("latency") + public Integer getLatency() { + return latency; + } + + @JsonProperty("latency") + public void setLatency(Integer latency) { + this.latency = latency; + } + + @JsonProperty("mysqlConnectorVersion") + public String getMysqlConnectorVersion() { + return mysqlConnectorVersion; + } + + @JsonProperty("mysqlConnectorVersion") + public void setMysqlConnectorVersion(String mysqlConnectorVersion) { + this.mysqlConnectorVersion = mysqlConnectorVersion; + } + + @JsonProperty("pid") + public Integer getPid() { + return pid; + } + + @JsonProperty("pid") + public void setPid(Integer pid) { + this.pid = pid; + } + + @JsonProperty("port") + public Integer getPort() { + return port; + } + + @JsonProperty("port") + public void setPort(Integer port) { + this.port = port; + } + + @JsonProperty("sqlType") + public String getSqlType() { + return sqlType; + } + + @JsonProperty("sqlType") + public void setSqlType(String sqlType) { + this.sqlType = sqlType; + } + + @JsonProperty("table") + public String getTable() { + return table; + } + + @JsonProperty("table") + public void setTable(String table) { + this.table = table; + } + + @JsonIgnore + public PMJVMMySQLSpecBuilder edit() { + return new PMJVMMySQLSpecBuilder(this); + } + + @JsonIgnore + public PMJVMMySQLSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachine.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachine.java new file mode 100644 index 00000000000..1d7059b9f02 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachine.java @@ -0,0 +1,198 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.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" +}) +@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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class PhysicalMachine implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "PhysicalMachine"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private PhysicalMachineSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PhysicalMachine() { + } + + public PhysicalMachine(String apiVersion, String kind, ObjectMeta metadata, PhysicalMachineSpec spec) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + } + + /** + * + * (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 PhysicalMachineSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(PhysicalMachineSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public PhysicalMachineBuilder edit() { + return new PhysicalMachineBuilder(this); + } + + @JsonIgnore + public PhysicalMachineBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaos.java index 08d8e5ba4f0..728fe4c8676 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class PhysicalMachineChaos implements Editable address = new ArrayList<>(); + private List address = new ArrayList<>(); @JsonProperty("clock") private ClockSpec clock; @JsonProperty("disk-fill") @@ -105,20 +128,48 @@ public class PhysicalMachineChaosSpec implements Editable additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -155,7 +224,7 @@ public class PhysicalMachineChaosSpec implements Editable address, ClockSpec clock, DiskFillSpec diskFill, DiskPayloadSpec diskReadPayload, DiskPayloadSpec diskWritePayload, String duration, JVMExceptionSpec jvmException, JVMGCSpec jvmGc, JVMLatencySpec jvmLatency, JVMReturnSpec jvmReturn, JVMRuleDataSpec jvmRuleData, JVMStressSpec jvmStress, java.lang.String mode, NetworkBandwidthSpec networkBandwidth, NetworkCorruptSpec networkCorrupt, NetworkDelaySpec networkDelay, NetworkDNSSpec networkDns, NetworkDuplicateSpec networkDuplicate, NetworkLossSpec networkLoss, NetworkPartitionSpec networkPartition, ProcessSpec process, PhysicalMachineSelectorSpec selector, StressCPUSpec stressCpu, StressMemorySpec stressMem, java.lang.String uid, java.lang.String value) { + public PhysicalMachineChaosSpec(String action, List address, ClockSpec clock, DiskFillSpec diskFill, DiskPayloadSpec diskReadPayload, DiskPayloadSpec diskWritePayload, String duration, FileAppendSpec fileAppend, FileCreateSpec fileCreate, FileDeleteSpec fileDelete, FileModifyPrivilegeSpec fileModify, FileRenameSpec fileRename, FileReplaceSpec fileReplace, HTTPAbortSpec httpAbort, HTTPConfigSpec httpConfig, HTTPDelaySpec httpDelay, HTTPRequestSpec httpRequest, JVMExceptionSpec jvmException, JVMGCSpec jvmGc, JVMLatencySpec jvmLatency, PMJVMMySQLSpec jvmMysql, JVMReturnSpec jvmReturn, JVMRuleDataSpec jvmRuleData, JVMStressSpec jvmStress, KafkaFillSpec kafkaFill, KafkaFloodSpec kafkaFlood, KafkaIOSpec kafkaIo, String mode, NetworkBandwidthSpec networkBandwidth, NetworkCorruptSpec networkCorrupt, NetworkDelaySpec networkDelay, NetworkDNSSpec networkDns, NetworkDownSpec networkDown, NetworkDuplicateSpec networkDuplicate, NetworkFloodSpec networkFlood, NetworkLossSpec networkLoss, NetworkPartitionSpec networkPartition, ProcessSpec process, RedisCacheLimitSpec redisCacheLimit, RedisExpirationSpec redisExpiration, RedisPenetrationSpec redisPenetration, RedisSentinelRestartSpec redisRestart, RedisSentinelStopSpec redisStop, String remoteCluster, PhysicalMachineSelectorSpec selector, StressCPUSpec stressCpu, StressMemorySpec stressMem, UserDefinedSpec user_defined, String value, VMSpec vm) { super(); this.action = action; this.address = address; @@ -164,46 +233,69 @@ public PhysicalMachineChaosSpec(java.lang.String action, List this.diskReadPayload = diskReadPayload; this.diskWritePayload = diskWritePayload; this.duration = duration; + this.fileAppend = fileAppend; + this.fileCreate = fileCreate; + this.fileDelete = fileDelete; + this.fileModify = fileModify; + this.fileRename = fileRename; + this.fileReplace = fileReplace; + this.httpAbort = httpAbort; + this.httpConfig = httpConfig; + this.httpDelay = httpDelay; + this.httpRequest = httpRequest; this.jvmException = jvmException; this.jvmGc = jvmGc; this.jvmLatency = jvmLatency; + this.jvmMysql = jvmMysql; this.jvmReturn = jvmReturn; this.jvmRuleData = jvmRuleData; this.jvmStress = jvmStress; + this.kafkaFill = kafkaFill; + this.kafkaFlood = kafkaFlood; + this.kafkaIo = kafkaIo; this.mode = mode; this.networkBandwidth = networkBandwidth; this.networkCorrupt = networkCorrupt; this.networkDelay = networkDelay; this.networkDns = networkDns; + this.networkDown = networkDown; this.networkDuplicate = networkDuplicate; + this.networkFlood = networkFlood; this.networkLoss = networkLoss; this.networkPartition = networkPartition; this.process = process; + this.redisCacheLimit = redisCacheLimit; + this.redisExpiration = redisExpiration; + this.redisPenetration = redisPenetration; + this.redisRestart = redisRestart; + this.redisStop = redisStop; + this.remoteCluster = remoteCluster; this.selector = selector; this.stressCpu = stressCpu; this.stressMem = stressMem; - this.uid = uid; + this.user_defined = user_defined; this.value = value; + this.vm = vm; } @JsonProperty("action") - public java.lang.String getAction() { + public String getAction() { return action; } @JsonProperty("action") - public void setAction(java.lang.String action) { + public void setAction(String action) { this.action = action; } @JsonProperty("address") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getAddress() { + public List getAddress() { return address; } @JsonProperty("address") - public void setAddress(List address) { + public void setAddress(List address) { this.address = address; } @@ -257,6 +349,106 @@ public void setDuration(String duration) { this.duration = duration; } + @JsonProperty("file-append") + public FileAppendSpec getFileAppend() { + return fileAppend; + } + + @JsonProperty("file-append") + public void setFileAppend(FileAppendSpec fileAppend) { + this.fileAppend = fileAppend; + } + + @JsonProperty("file-create") + public FileCreateSpec getFileCreate() { + return fileCreate; + } + + @JsonProperty("file-create") + public void setFileCreate(FileCreateSpec fileCreate) { + this.fileCreate = fileCreate; + } + + @JsonProperty("file-delete") + public FileDeleteSpec getFileDelete() { + return fileDelete; + } + + @JsonProperty("file-delete") + public void setFileDelete(FileDeleteSpec fileDelete) { + this.fileDelete = fileDelete; + } + + @JsonProperty("file-modify") + public FileModifyPrivilegeSpec getFileModify() { + return fileModify; + } + + @JsonProperty("file-modify") + public void setFileModify(FileModifyPrivilegeSpec fileModify) { + this.fileModify = fileModify; + } + + @JsonProperty("file-rename") + public FileRenameSpec getFileRename() { + return fileRename; + } + + @JsonProperty("file-rename") + public void setFileRename(FileRenameSpec fileRename) { + this.fileRename = fileRename; + } + + @JsonProperty("file-replace") + public FileReplaceSpec getFileReplace() { + return fileReplace; + } + + @JsonProperty("file-replace") + public void setFileReplace(FileReplaceSpec fileReplace) { + this.fileReplace = fileReplace; + } + + @JsonProperty("http-abort") + public HTTPAbortSpec getHttpAbort() { + return httpAbort; + } + + @JsonProperty("http-abort") + public void setHttpAbort(HTTPAbortSpec httpAbort) { + this.httpAbort = httpAbort; + } + + @JsonProperty("http-config") + public HTTPConfigSpec getHttpConfig() { + return httpConfig; + } + + @JsonProperty("http-config") + public void setHttpConfig(HTTPConfigSpec httpConfig) { + this.httpConfig = httpConfig; + } + + @JsonProperty("http-delay") + public HTTPDelaySpec getHttpDelay() { + return httpDelay; + } + + @JsonProperty("http-delay") + public void setHttpDelay(HTTPDelaySpec httpDelay) { + this.httpDelay = httpDelay; + } + + @JsonProperty("http-request") + public HTTPRequestSpec getHttpRequest() { + return httpRequest; + } + + @JsonProperty("http-request") + public void setHttpRequest(HTTPRequestSpec httpRequest) { + this.httpRequest = httpRequest; + } + @JsonProperty("jvm-exception") public JVMExceptionSpec getJvmException() { return jvmException; @@ -287,6 +479,16 @@ public void setJvmLatency(JVMLatencySpec jvmLatency) { this.jvmLatency = jvmLatency; } + @JsonProperty("jvm-mysql") + public PMJVMMySQLSpec getJvmMysql() { + return jvmMysql; + } + + @JsonProperty("jvm-mysql") + public void setJvmMysql(PMJVMMySQLSpec jvmMysql) { + this.jvmMysql = jvmMysql; + } + @JsonProperty("jvm-return") public JVMReturnSpec getJvmReturn() { return jvmReturn; @@ -317,13 +519,43 @@ public void setJvmStress(JVMStressSpec jvmStress) { this.jvmStress = jvmStress; } + @JsonProperty("kafka-fill") + public KafkaFillSpec getKafkaFill() { + return kafkaFill; + } + + @JsonProperty("kafka-fill") + public void setKafkaFill(KafkaFillSpec kafkaFill) { + this.kafkaFill = kafkaFill; + } + + @JsonProperty("kafka-flood") + public KafkaFloodSpec getKafkaFlood() { + return kafkaFlood; + } + + @JsonProperty("kafka-flood") + public void setKafkaFlood(KafkaFloodSpec kafkaFlood) { + this.kafkaFlood = kafkaFlood; + } + + @JsonProperty("kafka-io") + public KafkaIOSpec getKafkaIo() { + return kafkaIo; + } + + @JsonProperty("kafka-io") + public void setKafkaIo(KafkaIOSpec kafkaIo) { + this.kafkaIo = kafkaIo; + } + @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } @@ -367,6 +599,16 @@ public void setNetworkDns(NetworkDNSSpec networkDns) { this.networkDns = networkDns; } + @JsonProperty("network-down") + public NetworkDownSpec getNetworkDown() { + return networkDown; + } + + @JsonProperty("network-down") + public void setNetworkDown(NetworkDownSpec networkDown) { + this.networkDown = networkDown; + } + @JsonProperty("network-duplicate") public NetworkDuplicateSpec getNetworkDuplicate() { return networkDuplicate; @@ -377,6 +619,16 @@ public void setNetworkDuplicate(NetworkDuplicateSpec networkDuplicate) { this.networkDuplicate = networkDuplicate; } + @JsonProperty("network-flood") + public NetworkFloodSpec getNetworkFlood() { + return networkFlood; + } + + @JsonProperty("network-flood") + public void setNetworkFlood(NetworkFloodSpec networkFlood) { + this.networkFlood = networkFlood; + } + @JsonProperty("network-loss") public NetworkLossSpec getNetworkLoss() { return networkLoss; @@ -407,6 +659,66 @@ public void setProcess(ProcessSpec process) { this.process = process; } + @JsonProperty("redis-cacheLimit") + public RedisCacheLimitSpec getRedisCacheLimit() { + return redisCacheLimit; + } + + @JsonProperty("redis-cacheLimit") + public void setRedisCacheLimit(RedisCacheLimitSpec redisCacheLimit) { + this.redisCacheLimit = redisCacheLimit; + } + + @JsonProperty("redis-expiration") + public RedisExpirationSpec getRedisExpiration() { + return redisExpiration; + } + + @JsonProperty("redis-expiration") + public void setRedisExpiration(RedisExpirationSpec redisExpiration) { + this.redisExpiration = redisExpiration; + } + + @JsonProperty("redis-penetration") + public RedisPenetrationSpec getRedisPenetration() { + return redisPenetration; + } + + @JsonProperty("redis-penetration") + public void setRedisPenetration(RedisPenetrationSpec redisPenetration) { + this.redisPenetration = redisPenetration; + } + + @JsonProperty("redis-restart") + public RedisSentinelRestartSpec getRedisRestart() { + return redisRestart; + } + + @JsonProperty("redis-restart") + public void setRedisRestart(RedisSentinelRestartSpec redisRestart) { + this.redisRestart = redisRestart; + } + + @JsonProperty("redis-stop") + public RedisSentinelStopSpec getRedisStop() { + return redisStop; + } + + @JsonProperty("redis-stop") + public void setRedisStop(RedisSentinelStopSpec redisStop) { + this.redisStop = redisStop; + } + + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PhysicalMachineSelectorSpec getSelector() { return selector; @@ -437,26 +749,36 @@ public void setStressMem(StressMemorySpec stressMem) { this.stressMem = stressMem; } - @JsonProperty("uid") - public java.lang.String getUid() { - return uid; + @JsonProperty("user_defined") + public UserDefinedSpec getUser_defined() { + return user_defined; } - @JsonProperty("uid") - public void setUid(java.lang.String uid) { - this.uid = uid; + @JsonProperty("user_defined") + public void setUser_defined(UserDefinedSpec user_defined) { + this.user_defined = user_defined; } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } + @JsonProperty("vm") + public VMSpec getVm() { + return vm; + } + + @JsonProperty("vm") + public void setVm(VMSpec vm) { + this.vm = vm; + } + @JsonIgnore public PhysicalMachineChaosSpecBuilder edit() { return new PhysicalMachineChaosSpecBuilder(this); @@ -468,16 +790,16 @@ public PhysicalMachineChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineList.java new file mode 100644 index 00000000000..fa8c34c5e8c --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineList.java @@ -0,0 +1,203 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class PhysicalMachineList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "PhysicalMachineList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PhysicalMachineList() { + } + + public PhysicalMachineList(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 PhysicalMachineListBuilder edit() { + return new PhysicalMachineListBuilder(this); + } + + @JsonIgnore + public PhysicalMachineListBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelector.java new file mode 100644 index 00000000000..946ddcae177 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelector.java @@ -0,0 +1,162 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "address", + "mode", + "selector", + "value" +}) +@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 PhysicalMachineSelector implements Editable , KubernetesResource +{ + + @JsonProperty("address") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List address = new ArrayList<>(); + @JsonProperty("mode") + private String mode; + @JsonProperty("selector") + private PhysicalMachineSelectorSpec selector; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PhysicalMachineSelector() { + } + + public PhysicalMachineSelector(List address, String mode, PhysicalMachineSelectorSpec selector, String value) { + super(); + this.address = address; + this.mode = mode; + this.selector = selector; + this.value = value; + } + + @JsonProperty("address") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAddress() { + return address; + } + + @JsonProperty("address") + public void setAddress(List address) { + this.address = address; + } + + @JsonProperty("mode") + public String getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(String mode) { + this.mode = mode; + } + + @JsonProperty("selector") + public PhysicalMachineSelectorSpec getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(PhysicalMachineSelectorSpec selector) { + this.selector = selector; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public PhysicalMachineSelectorBuilder edit() { + return new PhysicalMachineSelectorBuilder(this); + } + + @JsonIgnore + public PhysicalMachineSelectorBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java index f3bba4ffe45..7cdeaf63081 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSelectorSpec.java @@ -20,7 +20,6 @@ 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.LabelSelectorRequirement; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; @@ -39,7 +38,6 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "annotationSelectors", - "expressionSelectors", "fieldSelectors", "labelSelectors", "namespaces", @@ -73,9 +71,6 @@ public class PhysicalMachineSelectorSpec implements Editable annotationSelectors = new LinkedHashMap<>(); - @JsonProperty("expressionSelectors") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List expressionSelectors = new ArrayList<>(); @JsonProperty("fieldSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map fieldSelectors = new LinkedHashMap<>(); @@ -84,12 +79,12 @@ public class PhysicalMachineSelectorSpec implements Editable labelSelectors = new LinkedHashMap<>(); @JsonProperty("namespaces") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List namespaces = new ArrayList<>(); + private List namespaces = new ArrayList<>(); @JsonProperty("physicalMachines") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map> physicalMachines = new LinkedHashMap<>(); + private Map> physicalMachines = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -98,10 +93,9 @@ public class PhysicalMachineSelectorSpec implements Editable annotationSelectors, List expressionSelectors, Map fieldSelectors, Map labelSelectors, List namespaces, Map> physicalMachines) { + public PhysicalMachineSelectorSpec(Map annotationSelectors, Map fieldSelectors, Map labelSelectors, List namespaces, Map> physicalMachines) { super(); this.annotationSelectors = annotationSelectors; - this.expressionSelectors = expressionSelectors; this.fieldSelectors = fieldSelectors; this.labelSelectors = labelSelectors; this.namespaces = namespaces; @@ -119,17 +113,6 @@ public void setAnnotationSelectors(Map annotationSelectors) { this.annotationSelectors = annotationSelectors; } - @JsonProperty("expressionSelectors") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getExpressionSelectors() { - return expressionSelectors; - } - - @JsonProperty("expressionSelectors") - public void setExpressionSelectors(List expressionSelectors) { - this.expressionSelectors = expressionSelectors; - } - @JsonProperty("fieldSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) public Map getFieldSelectors() { @@ -154,23 +137,23 @@ public void setLabelSelectors(Map labelSelectors) { @JsonProperty("namespaces") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getNamespaces() { + public List getNamespaces() { return namespaces; } @JsonProperty("namespaces") - public void setNamespaces(List namespaces) { + public void setNamespaces(List namespaces) { this.namespaces = namespaces; } @JsonProperty("physicalMachines") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map> getPhysicalMachines() { + public Map> getPhysicalMachines() { return physicalMachines; } @JsonProperty("physicalMachines") - public void setPhysicalMachines(Map> physicalMachines) { + public void setPhysicalMachines(Map> physicalMachines) { this.physicalMachines = physicalMachines; } @@ -185,16 +168,16 @@ public PhysicalMachineSelectorSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSpec.java new file mode 100644 index 00000000000..cbe186bf0a0 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PhysicalMachineSpec.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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" +}) +@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 PhysicalMachineSpec implements Editable , KubernetesResource +{ + + @JsonProperty("address") + private String address; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PhysicalMachineSpec() { + } + + public PhysicalMachineSpec(String address) { + super(); + this.address = address; + } + + @JsonProperty("address") + public String getAddress() { + return address; + } + + @JsonProperty("address") + public void setAddress(String address) { + this.address = address; + } + + @JsonIgnore + public PhysicalMachineSpecBuilder edit() { + return new PhysicalMachineSpecBuilder(this); + } + + @JsonIgnore + public PhysicalMachineSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaos.java index a808c97d349..d4c153e693d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class PodChaos implements Editable , HasMetadata, Namesp @JsonProperty("kind") private String kind = "PodChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PodChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class PodChaos implements Editable , HasMetadata, Namesp public PodChaos() { } - public PodChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PodChaosSpec spec, PodChaosStatus status) { + public PodChaos(String apiVersion, String kind, ObjectMeta metadata, PodChaosSpec spec, PodChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java index f5b301aacf2..a035d734898 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodChaosSpec.java @@ -42,6 +42,7 @@ "duration", "gracePeriod", "mode", + "remoteCluster", "selector", "value" }) @@ -71,22 +72,24 @@ public class PodChaosSpec implements Editable , KubernetesR { @JsonProperty("action") - private java.lang.String action; + private String action; @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containerNames = new ArrayList<>(); + private List containerNames = new ArrayList<>(); @JsonProperty("duration") private String duration; @JsonProperty("gracePeriod") private Long gracePeriod; @JsonProperty("mode") - private java.lang.String mode; + private String mode; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -95,35 +98,36 @@ public class PodChaosSpec implements Editable , KubernetesR public PodChaosSpec() { } - public PodChaosSpec(java.lang.String action, List containerNames, String duration, Long gracePeriod, java.lang.String mode, PodSelectorSpec selector, java.lang.String value) { + public PodChaosSpec(String action, List containerNames, String duration, Long gracePeriod, String mode, String remoteCluster, PodSelectorSpec selector, String value) { super(); this.action = action; this.containerNames = containerNames; this.duration = duration; this.gracePeriod = gracePeriod; this.mode = mode; + this.remoteCluster = remoteCluster; this.selector = selector; this.value = value; } @JsonProperty("action") - public java.lang.String getAction() { + public String getAction() { return action; } @JsonProperty("action") - public void setAction(java.lang.String action) { + public void setAction(String action) { this.action = action; } @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainerNames() { + public List getContainerNames() { return containerNames; } @JsonProperty("containerNames") - public void setContainerNames(List containerNames) { + public void setContainerNames(List containerNames) { this.containerNames = containerNames; } @@ -148,15 +152,25 @@ public void setGracePeriod(Long gracePeriod) { } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PodSelectorSpec getSelector() { return selector; @@ -168,12 +182,12 @@ public void setSelector(PodSelectorSpec selector) { } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @@ -188,16 +202,16 @@ public PodChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaos.java index 63be830d4c4..53a07fd71a5 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class PodHttpChaos implements Editable , HasMetadata @JsonProperty("kind") private String kind = "PodHttpChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PodHttpChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class PodHttpChaos implements Editable , HasMetadata public PodHttpChaos() { } - public PodHttpChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PodHttpChaosSpec spec, PodHttpChaosStatus status) { + public PodHttpChaos(String apiVersion, String kind, ObjectMeta metadata, PodHttpChaosSpec spec, PodHttpChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosActions.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosActions.java index 586123396b5..cd3a3eb61d0 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosActions.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosActions.java @@ -74,7 +74,7 @@ public class PodHttpChaosActions implements Editable @JsonProperty("replace") private PodHttpChaosReplaceActions replace; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -142,16 +142,16 @@ public PodHttpChaosActionsBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosBaseRule.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosBaseRule.java new file mode 100644 index 00000000000..ccf2264dc3d --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosBaseRule.java @@ -0,0 +1,144 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "actions", + "selector", + "target" +}) +@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 PodHttpChaosBaseRule implements Editable , KubernetesResource +{ + + @JsonProperty("actions") + private PodHttpChaosActions actions; + @JsonProperty("selector") + private PodHttpChaosSelector selector; + @JsonProperty("target") + private String target; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodHttpChaosBaseRule() { + } + + public PodHttpChaosBaseRule(PodHttpChaosActions actions, PodHttpChaosSelector selector, String target) { + super(); + this.actions = actions; + this.selector = selector; + this.target = target; + } + + @JsonProperty("actions") + public PodHttpChaosActions getActions() { + return actions; + } + + @JsonProperty("actions") + public void setActions(PodHttpChaosActions actions) { + this.actions = actions; + } + + @JsonProperty("selector") + public PodHttpChaosSelector getSelector() { + return selector; + } + + @JsonProperty("selector") + public void setSelector(PodHttpChaosSelector selector) { + this.selector = selector; + } + + @JsonProperty("target") + public String getTarget() { + return target; + } + + @JsonProperty("target") + public void setTarget(String target) { + this.target = target; + } + + @JsonIgnore + public PodHttpChaosBaseRuleBuilder edit() { + return new PodHttpChaosBaseRuleBuilder(this); + } + + @JsonIgnore + public PodHttpChaosBaseRuleBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosReplaceActions.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosReplaceActions.java index 1fd96e16e81..7f105841706 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosReplaceActions.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosReplaceActions.java @@ -68,7 +68,7 @@ public class PodHttpChaosReplaceActions implements Editable queries = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -91,7 +91,7 @@ public class PodHttpChaosReplaceActions implements Editable headers, String method, String path, Map queries) { + public PodHttpChaosReplaceActions(String body, Integer code, Map headers, String method, String path, Map queries) { super(); this.body = body; this.code = code; @@ -102,12 +102,12 @@ public PodHttpChaosReplaceActions(java.lang.String body, Integer code, 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSelector.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSelector.java index aebb27f7c25..011f7255e4c 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSelector.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSelector.java @@ -77,12 +77,12 @@ public class PodHttpChaosSelector implements Editable requestHeaders = new LinkedHashMap<>(); + private Map request_headers = new LinkedHashMap<>(); @JsonProperty("response_headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map responseHeaders = new LinkedHashMap<>(); + private Map response_headers = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -91,14 +91,14 @@ public class PodHttpChaosSelector implements Editable requestHeaders, Map responseHeaders) { + public PodHttpChaosSelector(Integer code, String method, String path, Integer port, Map request_headers, Map response_headers) { super(); this.code = code; this.method = method; this.path = path; this.port = port; - this.requestHeaders = requestHeaders; - this.responseHeaders = responseHeaders; + this.request_headers = request_headers; + this.response_headers = response_headers; } @JsonProperty("code") @@ -143,24 +143,24 @@ public void setPort(Integer port) { @JsonProperty("request_headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getRequestHeaders() { - return requestHeaders; + public Map getRequest_headers() { + return request_headers; } @JsonProperty("request_headers") - public void setRequestHeaders(Map requestHeaders) { - this.requestHeaders = requestHeaders; + public void setRequest_headers(Map request_headers) { + this.request_headers = request_headers; } @JsonProperty("response_headers") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getResponseHeaders() { - return responseHeaders; + public Map getResponse_headers() { + return response_headers; } @JsonProperty("response_headers") - public void setResponseHeaders(Map responseHeaders) { - this.responseHeaders = responseHeaders; + public void setResponse_headers(Map response_headers) { + this.response_headers = response_headers; } @JsonIgnore @@ -174,16 +174,16 @@ public PodHttpChaosSelectorBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSpec.java index d93d9e7083f..e70209b33e8 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosSpec.java @@ -37,7 +37,8 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "rules" + "rules", + "tls" }) @ToString @EqualsAndHashCode @@ -67,6 +68,8 @@ public class PodHttpChaosSpec implements Editable , Kub @JsonProperty("rules") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List rules = new ArrayList<>(); + @JsonProperty("tls") + private PodHttpChaosTLS tls; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -77,9 +80,10 @@ public class PodHttpChaosSpec implements Editable , Kub public PodHttpChaosSpec() { } - public PodHttpChaosSpec(List rules) { + public PodHttpChaosSpec(List rules, PodHttpChaosTLS tls) { super(); this.rules = rules; + this.tls = tls; } @JsonProperty("rules") @@ -93,6 +97,16 @@ public void setRules(List rules) { this.rules = rules; } + @JsonProperty("tls") + public PodHttpChaosTLS getTls() { + return tls; + } + + @JsonProperty("tls") + public void setTls(PodHttpChaosTLS tls) { + this.tls = tls; + } + @JsonIgnore public PodHttpChaosSpecBuilder edit() { return new PodHttpChaosSpecBuilder(this); diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosTLS.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosTLS.java new file mode 100644 index 00000000000..5531c05de04 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodHttpChaosTLS.java @@ -0,0 +1,172 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "caName", + "certName", + "keyName", + "secretName", + "secretNamespace" +}) +@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 PodHttpChaosTLS implements Editable , KubernetesResource +{ + + @JsonProperty("caName") + private String caName; + @JsonProperty("certName") + private String certName; + @JsonProperty("keyName") + private String keyName; + @JsonProperty("secretName") + private String secretName; + @JsonProperty("secretNamespace") + private String secretNamespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PodHttpChaosTLS() { + } + + public PodHttpChaosTLS(String caName, String certName, String keyName, String secretName, String secretNamespace) { + super(); + this.caName = caName; + this.certName = certName; + this.keyName = keyName; + this.secretName = secretName; + this.secretNamespace = secretNamespace; + } + + @JsonProperty("caName") + public String getCaName() { + return caName; + } + + @JsonProperty("caName") + public void setCaName(String caName) { + this.caName = caName; + } + + @JsonProperty("certName") + public String getCertName() { + return certName; + } + + @JsonProperty("certName") + public void setCertName(String certName) { + this.certName = certName; + } + + @JsonProperty("keyName") + public String getKeyName() { + return keyName; + } + + @JsonProperty("keyName") + public void setKeyName(String keyName) { + this.keyName = keyName; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonProperty("secretNamespace") + public String getSecretNamespace() { + return secretNamespace; + } + + @JsonProperty("secretNamespace") + public void setSecretNamespace(String secretNamespace) { + this.secretNamespace = secretNamespace; + } + + @JsonIgnore + public PodHttpChaosTLSBuilder edit() { + return new PodHttpChaosTLSBuilder(this); + } + + @JsonIgnore + public PodHttpChaosTLSBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaos.java index 793c26973ec..13b3d00ddd6 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class PodIOChaos implements Editable , HasMetadata, Na @JsonProperty("kind") private String kind = "PodIOChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PodIOChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class PodIOChaos implements Editable , HasMetadata, Na public PodIOChaos() { } - public PodIOChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PodIOChaosSpec spec, PodIOChaosStatus status) { + public PodIOChaos(String apiVersion, String kind, ObjectMeta metadata, PodIOChaosSpec spec, PodIOChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosSpec.java index bb10851cad0..6466d484187 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodIOChaosSpec.java @@ -72,9 +72,9 @@ public class PodIOChaosSpec implements Editable , Kuberne @JsonProperty("container") private String container; @JsonProperty("volumeMountPath") - private java.lang.String volumeMountPath; + private String volumeMountPath; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -83,7 +83,7 @@ public class PodIOChaosSpec implements Editable , Kuberne public PodIOChaosSpec() { } - public PodIOChaosSpec(List actions, String container, java.lang.String volumeMountPath) { + public PodIOChaosSpec(List actions, String container, String volumeMountPath) { super(); this.actions = actions; this.container = container; @@ -112,12 +112,12 @@ public void setContainer(String container) { } @JsonProperty("volumeMountPath") - public java.lang.String getVolumeMountPath() { + public String getVolumeMountPath() { return volumeMountPath; } @JsonProperty("volumeMountPath") - public void setVolumeMountPath(java.lang.String volumeMountPath) { + public void setVolumeMountPath(String volumeMountPath) { this.volumeMountPath = volumeMountPath; } @@ -132,16 +132,16 @@ public PodIOChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaos.java index 84d2934cb27..94ec9a259c4 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodNetworkChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class PodNetworkChaos implements Editable , HasMe @JsonProperty("kind") private String kind = "PodNetworkChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PodNetworkChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class PodNetworkChaos implements Editable , HasMe public PodNetworkChaos() { } - public PodNetworkChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PodNetworkChaosSpec spec, PodNetworkChaosStatus status) { + public PodNetworkChaos(String apiVersion, String kind, ObjectMeta metadata, PodNetworkChaosSpec spec, PodNetworkChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java index c4b78f7f124..2296a8cdb3a 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/PodSelectorSpec.java @@ -20,7 +20,6 @@ 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.LabelSelectorRequirement; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; @@ -39,7 +38,6 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "annotationSelectors", - "expressionSelectors", "fieldSelectors", "labelSelectors", "namespaces", @@ -76,9 +74,6 @@ public class PodSelectorSpec implements Editable , Kuber @JsonProperty("annotationSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotationSelectors = new LinkedHashMap<>(); - @JsonProperty("expressionSelectors") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List expressionSelectors = new ArrayList<>(); @JsonProperty("fieldSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map fieldSelectors = new LinkedHashMap<>(); @@ -87,21 +82,21 @@ public class PodSelectorSpec implements Editable , Kuber private Map labelSelectors = new LinkedHashMap<>(); @JsonProperty("namespaces") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List namespaces = new ArrayList<>(); + private List namespaces = new ArrayList<>(); @JsonProperty("nodeSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map nodeSelectors = new LinkedHashMap<>(); @JsonProperty("nodes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List nodes = new ArrayList<>(); + private List nodes = new ArrayList<>(); @JsonProperty("podPhaseSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List podPhaseSelectors = new ArrayList<>(); + private List podPhaseSelectors = new ArrayList<>(); @JsonProperty("pods") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map> pods = new LinkedHashMap<>(); + private Map> pods = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -110,10 +105,9 @@ public class PodSelectorSpec implements Editable , Kuber public PodSelectorSpec() { } - public PodSelectorSpec(Map annotationSelectors, List expressionSelectors, Map fieldSelectors, Map labelSelectors, List namespaces, Map nodeSelectors, List nodes, List podPhaseSelectors, Map> pods) { + public PodSelectorSpec(Map annotationSelectors, Map fieldSelectors, Map labelSelectors, List namespaces, Map nodeSelectors, List nodes, List podPhaseSelectors, Map> pods) { super(); this.annotationSelectors = annotationSelectors; - this.expressionSelectors = expressionSelectors; this.fieldSelectors = fieldSelectors; this.labelSelectors = labelSelectors; this.namespaces = namespaces; @@ -134,17 +128,6 @@ public void setAnnotationSelectors(Map annotationSelectors) { this.annotationSelectors = annotationSelectors; } - @JsonProperty("expressionSelectors") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getExpressionSelectors() { - return expressionSelectors; - } - - @JsonProperty("expressionSelectors") - public void setExpressionSelectors(List expressionSelectors) { - this.expressionSelectors = expressionSelectors; - } - @JsonProperty("fieldSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) public Map getFieldSelectors() { @@ -169,12 +152,12 @@ public void setLabelSelectors(Map labelSelectors) { @JsonProperty("namespaces") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getNamespaces() { + public List getNamespaces() { return namespaces; } @JsonProperty("namespaces") - public void setNamespaces(List namespaces) { + public void setNamespaces(List namespaces) { this.namespaces = namespaces; } @@ -191,34 +174,34 @@ public void setNodeSelectors(Map nodeSelectors) { @JsonProperty("nodes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getNodes() { + public List getNodes() { return nodes; } @JsonProperty("nodes") - public void setNodes(List nodes) { + public void setNodes(List nodes) { this.nodes = nodes; } @JsonProperty("podPhaseSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPodPhaseSelectors() { + public List getPodPhaseSelectors() { return podPhaseSelectors; } @JsonProperty("podPhaseSelectors") - public void setPodPhaseSelectors(List podPhaseSelectors) { + public void setPodPhaseSelectors(List podPhaseSelectors) { this.podPhaseSelectors = podPhaseSelectors; } @JsonProperty("pods") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map> getPods() { + public Map> getPods() { return pods; } @JsonProperty("pods") - public void setPods(Map> pods) { + public void setPods(Map> pods) { this.pods = pods; } @@ -233,16 +216,16 @@ public PodSelectorSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ProcessSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ProcessSpec.java index 6e675cad23e..295fec66c49 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ProcessSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ProcessSpec.java @@ -36,6 +36,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "process", + "recoverCmd", "signal" }) @ToString @@ -65,6 +66,8 @@ public class ProcessSpec implements Editable , KubernetesRes @JsonProperty("process") private String process; + @JsonProperty("recoverCmd") + private String recoverCmd; @JsonProperty("signal") private Integer signal; @JsonIgnore @@ -77,9 +80,10 @@ public class ProcessSpec implements Editable , KubernetesRes public ProcessSpec() { } - public ProcessSpec(String process, Integer signal) { + public ProcessSpec(String process, String recoverCmd, Integer signal) { super(); this.process = process; + this.recoverCmd = recoverCmd; this.signal = signal; } @@ -93,6 +97,16 @@ public void setProcess(String process) { this.process = process; } + @JsonProperty("recoverCmd") + public String getRecoverCmd() { + return recoverCmd; + } + + @JsonProperty("recoverCmd") + public void setRecoverCmd(String recoverCmd) { + this.recoverCmd = recoverCmd; + } + @JsonProperty("signal") public Integer getSignal() { return signal; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RateSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RateSpec.java new file mode 100644 index 00000000000..4370d865fc0 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RateSpec.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "rate" +}) +@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 RateSpec implements Editable , KubernetesResource +{ + + @JsonProperty("rate") + private String rate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RateSpec() { + } + + public RateSpec(String rate) { + super(); + this.rate = rate; + } + + @JsonProperty("rate") + public String getRate() { + return rate; + } + + @JsonProperty("rate") + public void setRate(String rate) { + this.rate = rate; + } + + @JsonIgnore + public RateSpecBuilder edit() { + return new RateSpecBuilder(this); + } + + @JsonIgnore + public RateSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java index dd9a33c35f4..500652c0ef5 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawIPSet.java @@ -37,8 +37,11 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "cidrAndPorts", "cidrs", + "ipsetType", "name", + "setNames", "source" }) @ToString @@ -66,11 +69,19 @@ public class RawIPSet implements Editable , KubernetesResource { + @JsonProperty("cidrAndPorts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List cidrAndPorts = new ArrayList<>(); @JsonProperty("cidrs") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List cidrs = new ArrayList<>(); + @JsonProperty("ipsetType") + private String ipsetType; @JsonProperty("name") private String name; + @JsonProperty("setNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List setNames = new ArrayList<>(); @JsonProperty("source") private String source; @JsonIgnore @@ -83,13 +94,27 @@ public class RawIPSet implements Editable , KubernetesResource public RawIPSet() { } - public RawIPSet(List cidrs, String name, String source) { + public RawIPSet(List cidrAndPorts, List cidrs, String ipsetType, String name, List setNames, String source) { super(); + this.cidrAndPorts = cidrAndPorts; this.cidrs = cidrs; + this.ipsetType = ipsetType; this.name = name; + this.setNames = setNames; this.source = source; } + @JsonProperty("cidrAndPorts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCidrAndPorts() { + return cidrAndPorts; + } + + @JsonProperty("cidrAndPorts") + public void setCidrAndPorts(List cidrAndPorts) { + this.cidrAndPorts = cidrAndPorts; + } + @JsonProperty("cidrs") @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getCidrs() { @@ -101,6 +126,16 @@ public void setCidrs(List cidrs) { this.cidrs = cidrs; } + @JsonProperty("ipsetType") + public String getIpsetType() { + return ipsetType; + } + + @JsonProperty("ipsetType") + public void setIpsetType(String ipsetType) { + this.ipsetType = ipsetType; + } + @JsonProperty("name") public String getName() { return name; @@ -111,6 +146,17 @@ public void setName(String name) { this.name = name; } + @JsonProperty("setNames") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSetNames() { + return setNames; + } + + @JsonProperty("setNames") + public void setSetNames(List setNames) { + this.setNames = setNames; + } + @JsonProperty("source") public String getSource() { return source; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawRuleSource.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawRuleSource.java new file mode 100644 index 00000000000..3ed1a4aee2b --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawRuleSource.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "source" +}) +@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 RawRuleSource implements Editable , KubernetesResource +{ + + @JsonProperty("source") + private String source; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RawRuleSource() { + } + + public RawRuleSource(String source) { + super(); + this.source = source; + } + + @JsonProperty("source") + public String getSource() { + return source; + } + + @JsonProperty("source") + public void setSource(String source) { + this.source = source; + } + + @JsonIgnore + public RawRuleSourceBuilder edit() { + return new RawRuleSourceBuilder(this); + } + + @JsonIgnore + public RawRuleSourceBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawTrafficControl.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawTrafficControl.java index c95da743c37..ded6cd30752 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawTrafficControl.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RawTrafficControl.java @@ -42,6 +42,7 @@ "duplicate", "ipset", "loss", + "rate", "source", "type" }) @@ -84,6 +85,8 @@ public class RawTrafficControl implements Editable , K private String ipset; @JsonProperty("loss") private LossSpec loss; + @JsonProperty("rate") + private RateSpec rate; @JsonProperty("source") private String source; @JsonProperty("type") @@ -98,7 +101,7 @@ public class RawTrafficControl implements Editable , K public RawTrafficControl() { } - public RawTrafficControl(BandwidthSpec bandwidth, CorruptSpec corrupt, DelaySpec delay, String device, DuplicateSpec duplicate, String ipset, LossSpec loss, String source, String type) { + public RawTrafficControl(BandwidthSpec bandwidth, CorruptSpec corrupt, DelaySpec delay, String device, DuplicateSpec duplicate, String ipset, LossSpec loss, RateSpec rate, String source, String type) { super(); this.bandwidth = bandwidth; this.corrupt = corrupt; @@ -107,6 +110,7 @@ public RawTrafficControl(BandwidthSpec bandwidth, CorruptSpec corrupt, DelaySpec this.duplicate = duplicate; this.ipset = ipset; this.loss = loss; + this.rate = rate; this.source = source; this.type = type; } @@ -181,6 +185,16 @@ public void setLoss(LossSpec loss) { this.loss = loss; } + @JsonProperty("rate") + public RateSpec getRate() { + return rate; + } + + @JsonProperty("rate") + public void setRate(RateSpec rate) { + this.rate = rate; + } + @JsonProperty("source") public String getSource() { return source; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Record.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Record.java index 783ee1fbeb4..b150a180b91 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Record.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Record.java @@ -1,7 +1,9 @@ package io.fabric8.chaosmesh.v1alpha1; +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; @@ -35,8 +37,11 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "events", "id", + "injectedCount", "phase", + "recoveredCount", "selectorKey" }) @ToString @@ -64,10 +69,17 @@ public class Record implements Editable , KubernetesResource { + @JsonProperty("events") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List events = new ArrayList<>(); @JsonProperty("id") private String id; + @JsonProperty("injectedCount") + private Integer injectedCount; @JsonProperty("phase") private String phase; + @JsonProperty("recoveredCount") + private Integer recoveredCount; @JsonProperty("selectorKey") private String selectorKey; @JsonIgnore @@ -80,13 +92,27 @@ public class Record implements Editable , KubernetesResource public Record() { } - public Record(String id, String phase, String selectorKey) { + public Record(List events, String id, Integer injectedCount, String phase, Integer recoveredCount, String selectorKey) { super(); + this.events = events; this.id = id; + this.injectedCount = injectedCount; this.phase = phase; + this.recoveredCount = recoveredCount; this.selectorKey = selectorKey; } + @JsonProperty("events") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEvents() { + return events; + } + + @JsonProperty("events") + public void setEvents(List events) { + this.events = events; + } + @JsonProperty("id") public String getId() { return id; @@ -97,6 +123,16 @@ public void setId(String id) { this.id = id; } + @JsonProperty("injectedCount") + public Integer getInjectedCount() { + return injectedCount; + } + + @JsonProperty("injectedCount") + public void setInjectedCount(Integer injectedCount) { + this.injectedCount = injectedCount; + } + @JsonProperty("phase") public String getPhase() { return phase; @@ -107,6 +143,16 @@ public void setPhase(String phase) { this.phase = phase; } + @JsonProperty("recoveredCount") + public Integer getRecoveredCount() { + return recoveredCount; + } + + @JsonProperty("recoveredCount") + public void setRecoveredCount(Integer recoveredCount) { + this.recoveredCount = recoveredCount; + } + @JsonProperty("selectorKey") public String getSelectorKey() { return selectorKey; diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RecordEvent.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RecordEvent.java new file mode 100644 index 00000000000..f6cbb56474c --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RecordEvent.java @@ -0,0 +1,158 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "message", + "operation", + "timestamp", + "type" +}) +@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 RecordEvent implements Editable , KubernetesResource +{ + + @JsonProperty("message") + private String message; + @JsonProperty("operation") + private String operation; + @JsonProperty("timestamp") + private String timestamp; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RecordEvent() { + } + + public RecordEvent(String message, String operation, String timestamp, String type) { + super(); + this.message = message; + this.operation = operation; + this.timestamp = timestamp; + this.type = type; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonProperty("operation") + public String getOperation() { + return operation; + } + + @JsonProperty("operation") + public void setOperation(String operation) { + this.operation = operation; + } + + @JsonProperty("timestamp") + public String getTimestamp() { + return timestamp; + } + + @JsonProperty("timestamp") + public void setTimestamp(String timestamp) { + this.timestamp = timestamp; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public RecordEventBuilder edit() { + return new RecordEventBuilder(this); + } + + @JsonIgnore + public RecordEventBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisCacheLimitSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisCacheLimitSpec.java new file mode 100644 index 00000000000..b6dc180486f --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisCacheLimitSpec.java @@ -0,0 +1,158 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "addr", + "cacheSize", + "password", + "percent" +}) +@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 RedisCacheLimitSpec implements Editable , KubernetesResource +{ + + @JsonProperty("addr") + private String addr; + @JsonProperty("cacheSize") + private String cacheSize; + @JsonProperty("password") + private String password; + @JsonProperty("percent") + private String percent; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RedisCacheLimitSpec() { + } + + public RedisCacheLimitSpec(String addr, String cacheSize, String password, String percent) { + super(); + this.addr = addr; + this.cacheSize = cacheSize; + this.password = password; + this.percent = percent; + } + + @JsonProperty("addr") + public String getAddr() { + return addr; + } + + @JsonProperty("addr") + public void setAddr(String addr) { + this.addr = addr; + } + + @JsonProperty("cacheSize") + public String getCacheSize() { + return cacheSize; + } + + @JsonProperty("cacheSize") + public void setCacheSize(String cacheSize) { + this.cacheSize = cacheSize; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonProperty("percent") + public String getPercent() { + return percent; + } + + @JsonProperty("percent") + public void setPercent(String percent) { + this.percent = percent; + } + + @JsonIgnore + public RedisCacheLimitSpecBuilder edit() { + return new RedisCacheLimitSpecBuilder(this); + } + + @JsonIgnore + public RedisCacheLimitSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisCommonSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisCommonSpec.java new file mode 100644 index 00000000000..d2cb52276a7 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisCommonSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "addr", + "password" +}) +@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 RedisCommonSpec implements Editable , KubernetesResource +{ + + @JsonProperty("addr") + private String addr; + @JsonProperty("password") + private String password; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RedisCommonSpec() { + } + + public RedisCommonSpec(String addr, String password) { + super(); + this.addr = addr; + this.password = password; + } + + @JsonProperty("addr") + public String getAddr() { + return addr; + } + + @JsonProperty("addr") + public void setAddr(String addr) { + this.addr = addr; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonIgnore + public RedisCommonSpecBuilder edit() { + return new RedisCommonSpecBuilder(this); + } + + @JsonIgnore + public RedisCommonSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisExpirationSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisExpirationSpec.java new file mode 100644 index 00000000000..a57682386ec --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisExpirationSpec.java @@ -0,0 +1,172 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "addr", + "expiration", + "key", + "option", + "password" +}) +@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 RedisExpirationSpec implements Editable , KubernetesResource +{ + + @JsonProperty("addr") + private String addr; + @JsonProperty("expiration") + private String expiration; + @JsonProperty("key") + private String key; + @JsonProperty("option") + private String option; + @JsonProperty("password") + private String password; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RedisExpirationSpec() { + } + + public RedisExpirationSpec(String addr, String expiration, String key, String option, String password) { + super(); + this.addr = addr; + this.expiration = expiration; + this.key = key; + this.option = option; + this.password = password; + } + + @JsonProperty("addr") + public String getAddr() { + return addr; + } + + @JsonProperty("addr") + public void setAddr(String addr) { + this.addr = addr; + } + + @JsonProperty("expiration") + public String getExpiration() { + return expiration; + } + + @JsonProperty("expiration") + public void setExpiration(String expiration) { + this.expiration = expiration; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @JsonProperty("option") + public String getOption() { + return option; + } + + @JsonProperty("option") + public void setOption(String option) { + this.option = option; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonIgnore + public RedisExpirationSpecBuilder edit() { + return new RedisExpirationSpecBuilder(this); + } + + @JsonIgnore + public RedisExpirationSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisPenetrationSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisPenetrationSpec.java new file mode 100644 index 00000000000..d8f9abbc365 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisPenetrationSpec.java @@ -0,0 +1,144 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "addr", + "password", + "requestNum" +}) +@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 RedisPenetrationSpec implements Editable , KubernetesResource +{ + + @JsonProperty("addr") + private String addr; + @JsonProperty("password") + private String password; + @JsonProperty("requestNum") + private Integer requestNum; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RedisPenetrationSpec() { + } + + public RedisPenetrationSpec(String addr, String password, Integer requestNum) { + super(); + this.addr = addr; + this.password = password; + this.requestNum = requestNum; + } + + @JsonProperty("addr") + public String getAddr() { + return addr; + } + + @JsonProperty("addr") + public void setAddr(String addr) { + this.addr = addr; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonProperty("requestNum") + public Integer getRequestNum() { + return requestNum; + } + + @JsonProperty("requestNum") + public void setRequestNum(Integer requestNum) { + this.requestNum = requestNum; + } + + @JsonIgnore + public RedisPenetrationSpecBuilder edit() { + return new RedisPenetrationSpecBuilder(this); + } + + @JsonIgnore + public RedisPenetrationSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisSentinelRestartSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisSentinelRestartSpec.java new file mode 100644 index 00000000000..3b2fc1df5c7 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisSentinelRestartSpec.java @@ -0,0 +1,172 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "addr", + "conf", + "flushConfig", + "password", + "redisPath" +}) +@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 RedisSentinelRestartSpec implements Editable , KubernetesResource +{ + + @JsonProperty("addr") + private String addr; + @JsonProperty("conf") + private String conf; + @JsonProperty("flushConfig") + private Boolean flushConfig; + @JsonProperty("password") + private String password; + @JsonProperty("redisPath") + private Boolean redisPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RedisSentinelRestartSpec() { + } + + public RedisSentinelRestartSpec(String addr, String conf, Boolean flushConfig, String password, Boolean redisPath) { + super(); + this.addr = addr; + this.conf = conf; + this.flushConfig = flushConfig; + this.password = password; + this.redisPath = redisPath; + } + + @JsonProperty("addr") + public String getAddr() { + return addr; + } + + @JsonProperty("addr") + public void setAddr(String addr) { + this.addr = addr; + } + + @JsonProperty("conf") + public String getConf() { + return conf; + } + + @JsonProperty("conf") + public void setConf(String conf) { + this.conf = conf; + } + + @JsonProperty("flushConfig") + public Boolean getFlushConfig() { + return flushConfig; + } + + @JsonProperty("flushConfig") + public void setFlushConfig(Boolean flushConfig) { + this.flushConfig = flushConfig; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonProperty("redisPath") + public Boolean getRedisPath() { + return redisPath; + } + + @JsonProperty("redisPath") + public void setRedisPath(Boolean redisPath) { + this.redisPath = redisPath; + } + + @JsonIgnore + public RedisSentinelRestartSpecBuilder edit() { + return new RedisSentinelRestartSpecBuilder(this); + } + + @JsonIgnore + public RedisSentinelRestartSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisSentinelStopSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisSentinelStopSpec.java new file mode 100644 index 00000000000..a4b66d22c62 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RedisSentinelStopSpec.java @@ -0,0 +1,172 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "addr", + "conf", + "flushConfig", + "password", + "redisPath" +}) +@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 RedisSentinelStopSpec implements Editable , KubernetesResource +{ + + @JsonProperty("addr") + private String addr; + @JsonProperty("conf") + private String conf; + @JsonProperty("flushConfig") + private Boolean flushConfig; + @JsonProperty("password") + private String password; + @JsonProperty("redisPath") + private Boolean redisPath; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RedisSentinelStopSpec() { + } + + public RedisSentinelStopSpec(String addr, String conf, Boolean flushConfig, String password, Boolean redisPath) { + super(); + this.addr = addr; + this.conf = conf; + this.flushConfig = flushConfig; + this.password = password; + this.redisPath = redisPath; + } + + @JsonProperty("addr") + public String getAddr() { + return addr; + } + + @JsonProperty("addr") + public void setAddr(String addr) { + this.addr = addr; + } + + @JsonProperty("conf") + public String getConf() { + return conf; + } + + @JsonProperty("conf") + public void setConf(String conf) { + this.conf = conf; + } + + @JsonProperty("flushConfig") + public Boolean getFlushConfig() { + return flushConfig; + } + + @JsonProperty("flushConfig") + public void setFlushConfig(Boolean flushConfig) { + this.flushConfig = flushConfig; + } + + @JsonProperty("password") + public String getPassword() { + return password; + } + + @JsonProperty("password") + public void setPassword(String password) { + this.password = password; + } + + @JsonProperty("redisPath") + public Boolean getRedisPath() { + return redisPath; + } + + @JsonProperty("redisPath") + public void setRedisPath(Boolean redisPath) { + this.redisPath = redisPath; + } + + @JsonIgnore + public RedisSentinelStopSpecBuilder edit() { + return new RedisSentinelStopSpecBuilder(this); + } + + @JsonIgnore + public RedisSentinelStopSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteCluster.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteCluster.java new file mode 100644 index 00000000000..0b71973643f --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteCluster.java @@ -0,0 +1,212 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class RemoteCluster implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "RemoteCluster"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private RemoteClusterSpec spec; + @JsonProperty("status") + private RemoteClusterStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RemoteCluster() { + } + + public RemoteCluster(String apiVersion, String kind, ObjectMeta metadata, RemoteClusterSpec spec, RemoteClusterStatus 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 RemoteClusterSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(RemoteClusterSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public RemoteClusterStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(RemoteClusterStatus status) { + this.status = status; + } + + @JsonIgnore + public RemoteClusterBuilder edit() { + return new RemoteClusterBuilder(this); + } + + @JsonIgnore + public RemoteClusterBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterCondition.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterCondition.java new file mode 100644 index 00000000000..e810d4e3b89 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterCondition.java @@ -0,0 +1,144 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "reason", + "status", + "type" +}) +@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 RemoteClusterCondition implements Editable , KubernetesResource +{ + + @JsonProperty("reason") + private String reason; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RemoteClusterCondition() { + } + + public RemoteClusterCondition(String reason, String status, String type) { + super(); + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public RemoteClusterConditionBuilder edit() { + return new RemoteClusterConditionBuilder(this); + } + + @JsonIgnore + public RemoteClusterConditionBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterKubeConfig.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterKubeConfig.java new file mode 100644 index 00000000000..0d7cc6a5658 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterKubeConfig.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "secretRef" +}) +@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 RemoteClusterKubeConfig implements Editable , KubernetesResource +{ + + @JsonProperty("secretRef") + private RemoteClusterSecretRef secretRef; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RemoteClusterKubeConfig() { + } + + public RemoteClusterKubeConfig(RemoteClusterSecretRef secretRef) { + super(); + this.secretRef = secretRef; + } + + @JsonProperty("secretRef") + public RemoteClusterSecretRef getSecretRef() { + return secretRef; + } + + @JsonProperty("secretRef") + public void setSecretRef(RemoteClusterSecretRef secretRef) { + this.secretRef = secretRef; + } + + @JsonIgnore + public RemoteClusterKubeConfigBuilder edit() { + return new RemoteClusterKubeConfigBuilder(this); + } + + @JsonIgnore + public RemoteClusterKubeConfigBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterList.java new file mode 100644 index 00000000000..f15d2d00b07 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterList.java @@ -0,0 +1,203 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class RemoteClusterList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "RemoteClusterList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RemoteClusterList() { + } + + public RemoteClusterList(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 RemoteClusterListBuilder edit() { + return new RemoteClusterListBuilder(this); + } + + @JsonIgnore + public RemoteClusterListBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterSecretRef.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterSecretRef.java new file mode 100644 index 00000000000..65a685c3fb3 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterSecretRef.java @@ -0,0 +1,144 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "key", + "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 RemoteClusterSecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("key") + private String key; + @JsonProperty("name") + private String name; + @JsonProperty("namespace") + private String namespace; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RemoteClusterSecretRef() { + } + + public RemoteClusterSecretRef(String key, String name, String namespace) { + super(); + this.key = key; + this.name = name; + this.namespace = namespace; + } + + @JsonProperty("key") + public String getKey() { + return key; + } + + @JsonProperty("key") + public void setKey(String key) { + this.key = key; + } + + @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 RemoteClusterSecretRefBuilder edit() { + return new RemoteClusterSecretRefBuilder(this); + } + + @JsonIgnore + public RemoteClusterSecretRefBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterSpec.java new file mode 100644 index 00000000000..6d9a47a863b --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterSpec.java @@ -0,0 +1,158 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "configOverride", + "kubeConfig", + "namespace", + "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 RemoteClusterSpec implements Editable , KubernetesResource +{ + + @JsonProperty("configOverride") + private String configOverride; + @JsonProperty("kubeConfig") + private RemoteClusterKubeConfig kubeConfig; + @JsonProperty("namespace") + private String namespace; + @JsonProperty("version") + private String version; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RemoteClusterSpec() { + } + + public RemoteClusterSpec(String configOverride, RemoteClusterKubeConfig kubeConfig, String namespace, String version) { + super(); + this.configOverride = configOverride; + this.kubeConfig = kubeConfig; + this.namespace = namespace; + this.version = version; + } + + @JsonProperty("configOverride") + public String getConfigOverride() { + return configOverride; + } + + @JsonProperty("configOverride") + public void setConfigOverride(String configOverride) { + this.configOverride = configOverride; + } + + @JsonProperty("kubeConfig") + public RemoteClusterKubeConfig getKubeConfig() { + return kubeConfig; + } + + @JsonProperty("kubeConfig") + public void setKubeConfig(RemoteClusterKubeConfig kubeConfig) { + this.kubeConfig = kubeConfig; + } + + @JsonProperty("namespace") + public String getNamespace() { + return namespace; + } + + @JsonProperty("namespace") + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + @JsonProperty("version") + public String getVersion() { + return version; + } + + @JsonProperty("version") + public void setVersion(String version) { + this.version = version; + } + + @JsonIgnore + public RemoteClusterSpecBuilder edit() { + return new RemoteClusterSpecBuilder(this); + } + + @JsonIgnore + public RemoteClusterSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterStatus.java new file mode 100644 index 00000000000..963ac5093fc --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/RemoteClusterStatus.java @@ -0,0 +1,148 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "conditions", + "currentVersion", + "observedGeneration" +}) +@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 RemoteClusterStatus implements Editable , KubernetesResource +{ + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("currentVersion") + private String currentVersion; + @JsonProperty("observedGeneration") + private Long observedGeneration; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RemoteClusterStatus() { + } + + public RemoteClusterStatus(List conditions, String currentVersion, Long observedGeneration) { + super(); + this.conditions = conditions; + this.currentVersion = currentVersion; + this.observedGeneration = observedGeneration; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("currentVersion") + public String getCurrentVersion() { + return currentVersion; + } + + @JsonProperty("currentVersion") + public void setCurrentVersion(String currentVersion) { + this.currentVersion = currentVersion; + } + + @JsonProperty("observedGeneration") + public Long getObservedGeneration() { + return observedGeneration; + } + + @JsonProperty("observedGeneration") + public void setObservedGeneration(Long observedGeneration) { + this.observedGeneration = observedGeneration; + } + + @JsonIgnore + public RemoteClusterStatusBuilder edit() { + return new RemoteClusterStatusBuilder(this); + } + + @JsonIgnore + public RemoteClusterStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Schedule.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Schedule.java new file mode 100644 index 00000000000..d0c3c68d573 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Schedule.java @@ -0,0 +1,212 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class Schedule implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "Schedule"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private ScheduleSpec spec; + @JsonProperty("status") + private ScheduleStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Schedule() { + } + + public Schedule(String apiVersion, String kind, ObjectMeta metadata, ScheduleSpec spec, ScheduleStatus 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 ScheduleSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(ScheduleSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public ScheduleStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(ScheduleStatus status) { + this.status = status; + } + + @JsonIgnore + public ScheduleBuilder edit() { + return new ScheduleBuilder(this); + } + + @JsonIgnore + public ScheduleBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleItem.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleItem.java new file mode 100644 index 00000000000..cab20bcfe89 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleItem.java @@ -0,0 +1,312 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "awsChaos", + "azureChaos", + "blockChaos", + "dnsChaos", + "gcpChaos", + "httpChaos", + "ioChaos", + "jvmChaos", + "kernelChaos", + "networkChaos", + "physicalmachineChaos", + "podChaos", + "stressChaos", + "timeChaos", + "workflow" +}) +@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 ScheduleItem implements Editable , KubernetesResource +{ + + @JsonProperty("awsChaos") + private AWSChaosSpec awsChaos; + @JsonProperty("azureChaos") + private AzureChaosSpec azureChaos; + @JsonProperty("blockChaos") + private BlockChaosSpec blockChaos; + @JsonProperty("dnsChaos") + private DNSChaosSpec dnsChaos; + @JsonProperty("gcpChaos") + private GCPChaosSpec gcpChaos; + @JsonProperty("httpChaos") + private HTTPChaosSpec httpChaos; + @JsonProperty("ioChaos") + private IOChaosSpec ioChaos; + @JsonProperty("jvmChaos") + private JVMChaosSpec jvmChaos; + @JsonProperty("kernelChaos") + private KernelChaosSpec kernelChaos; + @JsonProperty("networkChaos") + private NetworkChaosSpec networkChaos; + @JsonProperty("physicalmachineChaos") + private PhysicalMachineChaosSpec physicalmachineChaos; + @JsonProperty("podChaos") + private PodChaosSpec podChaos; + @JsonProperty("stressChaos") + private StressChaosSpec stressChaos; + @JsonProperty("timeChaos") + private TimeChaosSpec timeChaos; + @JsonProperty("workflow") + private WorkflowSpec workflow; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ScheduleItem() { + } + + public ScheduleItem(AWSChaosSpec awsChaos, AzureChaosSpec azureChaos, BlockChaosSpec blockChaos, DNSChaosSpec dnsChaos, GCPChaosSpec gcpChaos, HTTPChaosSpec httpChaos, IOChaosSpec ioChaos, JVMChaosSpec jvmChaos, KernelChaosSpec kernelChaos, NetworkChaosSpec networkChaos, PhysicalMachineChaosSpec physicalmachineChaos, PodChaosSpec podChaos, StressChaosSpec stressChaos, TimeChaosSpec timeChaos, WorkflowSpec workflow) { + super(); + this.awsChaos = awsChaos; + this.azureChaos = azureChaos; + this.blockChaos = blockChaos; + this.dnsChaos = dnsChaos; + this.gcpChaos = gcpChaos; + this.httpChaos = httpChaos; + this.ioChaos = ioChaos; + this.jvmChaos = jvmChaos; + this.kernelChaos = kernelChaos; + this.networkChaos = networkChaos; + this.physicalmachineChaos = physicalmachineChaos; + this.podChaos = podChaos; + this.stressChaos = stressChaos; + this.timeChaos = timeChaos; + this.workflow = workflow; + } + + @JsonProperty("awsChaos") + public AWSChaosSpec getAwsChaos() { + return awsChaos; + } + + @JsonProperty("awsChaos") + public void setAwsChaos(AWSChaosSpec awsChaos) { + this.awsChaos = awsChaos; + } + + @JsonProperty("azureChaos") + public AzureChaosSpec getAzureChaos() { + return azureChaos; + } + + @JsonProperty("azureChaos") + public void setAzureChaos(AzureChaosSpec azureChaos) { + this.azureChaos = azureChaos; + } + + @JsonProperty("blockChaos") + public BlockChaosSpec getBlockChaos() { + return blockChaos; + } + + @JsonProperty("blockChaos") + public void setBlockChaos(BlockChaosSpec blockChaos) { + this.blockChaos = blockChaos; + } + + @JsonProperty("dnsChaos") + public DNSChaosSpec getDnsChaos() { + return dnsChaos; + } + + @JsonProperty("dnsChaos") + public void setDnsChaos(DNSChaosSpec dnsChaos) { + this.dnsChaos = dnsChaos; + } + + @JsonProperty("gcpChaos") + public GCPChaosSpec getGcpChaos() { + return gcpChaos; + } + + @JsonProperty("gcpChaos") + public void setGcpChaos(GCPChaosSpec gcpChaos) { + this.gcpChaos = gcpChaos; + } + + @JsonProperty("httpChaos") + public HTTPChaosSpec getHttpChaos() { + return httpChaos; + } + + @JsonProperty("httpChaos") + public void setHttpChaos(HTTPChaosSpec httpChaos) { + this.httpChaos = httpChaos; + } + + @JsonProperty("ioChaos") + public IOChaosSpec getIoChaos() { + return ioChaos; + } + + @JsonProperty("ioChaos") + public void setIoChaos(IOChaosSpec ioChaos) { + this.ioChaos = ioChaos; + } + + @JsonProperty("jvmChaos") + public JVMChaosSpec getJvmChaos() { + return jvmChaos; + } + + @JsonProperty("jvmChaos") + public void setJvmChaos(JVMChaosSpec jvmChaos) { + this.jvmChaos = jvmChaos; + } + + @JsonProperty("kernelChaos") + public KernelChaosSpec getKernelChaos() { + return kernelChaos; + } + + @JsonProperty("kernelChaos") + public void setKernelChaos(KernelChaosSpec kernelChaos) { + this.kernelChaos = kernelChaos; + } + + @JsonProperty("networkChaos") + public NetworkChaosSpec getNetworkChaos() { + return networkChaos; + } + + @JsonProperty("networkChaos") + public void setNetworkChaos(NetworkChaosSpec networkChaos) { + this.networkChaos = networkChaos; + } + + @JsonProperty("physicalmachineChaos") + public PhysicalMachineChaosSpec getPhysicalmachineChaos() { + return physicalmachineChaos; + } + + @JsonProperty("physicalmachineChaos") + public void setPhysicalmachineChaos(PhysicalMachineChaosSpec physicalmachineChaos) { + this.physicalmachineChaos = physicalmachineChaos; + } + + @JsonProperty("podChaos") + public PodChaosSpec getPodChaos() { + return podChaos; + } + + @JsonProperty("podChaos") + public void setPodChaos(PodChaosSpec podChaos) { + this.podChaos = podChaos; + } + + @JsonProperty("stressChaos") + public StressChaosSpec getStressChaos() { + return stressChaos; + } + + @JsonProperty("stressChaos") + public void setStressChaos(StressChaosSpec stressChaos) { + this.stressChaos = stressChaos; + } + + @JsonProperty("timeChaos") + public TimeChaosSpec getTimeChaos() { + return timeChaos; + } + + @JsonProperty("timeChaos") + public void setTimeChaos(TimeChaosSpec timeChaos) { + this.timeChaos = timeChaos; + } + + @JsonProperty("workflow") + public WorkflowSpec getWorkflow() { + return workflow; + } + + @JsonProperty("workflow") + public void setWorkflow(WorkflowSpec workflow) { + this.workflow = workflow; + } + + @JsonIgnore + public ScheduleItemBuilder edit() { + return new ScheduleItemBuilder(this); + } + + @JsonIgnore + public ScheduleItemBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleList.java new file mode 100644 index 00000000000..559906a83b3 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleList.java @@ -0,0 +1,203 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class ScheduleList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "ScheduleList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ScheduleList() { + } + + public ScheduleList(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 ScheduleListBuilder edit() { + return new ScheduleListBuilder(this); + } + + @JsonIgnore + public ScheduleListBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleSpec.java new file mode 100644 index 00000000000..4731e0e84b2 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleSpec.java @@ -0,0 +1,382 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "awsChaos", + "azureChaos", + "blockChaos", + "concurrencyPolicy", + "dnsChaos", + "gcpChaos", + "historyLimit", + "httpChaos", + "ioChaos", + "jvmChaos", + "kernelChaos", + "networkChaos", + "physicalmachineChaos", + "podChaos", + "schedule", + "startingDeadlineSeconds", + "stressChaos", + "timeChaos", + "type", + "workflow" +}) +@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 ScheduleSpec implements Editable , KubernetesResource +{ + + @JsonProperty("awsChaos") + private AWSChaosSpec awsChaos; + @JsonProperty("azureChaos") + private AzureChaosSpec azureChaos; + @JsonProperty("blockChaos") + private BlockChaosSpec blockChaos; + @JsonProperty("concurrencyPolicy") + private String concurrencyPolicy; + @JsonProperty("dnsChaos") + private DNSChaosSpec dnsChaos; + @JsonProperty("gcpChaos") + private GCPChaosSpec gcpChaos; + @JsonProperty("historyLimit") + private Integer historyLimit; + @JsonProperty("httpChaos") + private HTTPChaosSpec httpChaos; + @JsonProperty("ioChaos") + private IOChaosSpec ioChaos; + @JsonProperty("jvmChaos") + private JVMChaosSpec jvmChaos; + @JsonProperty("kernelChaos") + private KernelChaosSpec kernelChaos; + @JsonProperty("networkChaos") + private NetworkChaosSpec networkChaos; + @JsonProperty("physicalmachineChaos") + private PhysicalMachineChaosSpec physicalmachineChaos; + @JsonProperty("podChaos") + private PodChaosSpec podChaos; + @JsonProperty("schedule") + private String schedule; + @JsonProperty("startingDeadlineSeconds") + private Long startingDeadlineSeconds; + @JsonProperty("stressChaos") + private StressChaosSpec stressChaos; + @JsonProperty("timeChaos") + private TimeChaosSpec timeChaos; + @JsonProperty("type") + private String type; + @JsonProperty("workflow") + private WorkflowSpec workflow; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ScheduleSpec() { + } + + public ScheduleSpec(AWSChaosSpec awsChaos, AzureChaosSpec azureChaos, BlockChaosSpec blockChaos, String concurrencyPolicy, DNSChaosSpec dnsChaos, GCPChaosSpec gcpChaos, Integer historyLimit, HTTPChaosSpec httpChaos, IOChaosSpec ioChaos, JVMChaosSpec jvmChaos, KernelChaosSpec kernelChaos, NetworkChaosSpec networkChaos, PhysicalMachineChaosSpec physicalmachineChaos, PodChaosSpec podChaos, String schedule, Long startingDeadlineSeconds, StressChaosSpec stressChaos, TimeChaosSpec timeChaos, String type, WorkflowSpec workflow) { + super(); + this.awsChaos = awsChaos; + this.azureChaos = azureChaos; + this.blockChaos = blockChaos; + this.concurrencyPolicy = concurrencyPolicy; + this.dnsChaos = dnsChaos; + this.gcpChaos = gcpChaos; + this.historyLimit = historyLimit; + this.httpChaos = httpChaos; + this.ioChaos = ioChaos; + this.jvmChaos = jvmChaos; + this.kernelChaos = kernelChaos; + this.networkChaos = networkChaos; + this.physicalmachineChaos = physicalmachineChaos; + this.podChaos = podChaos; + this.schedule = schedule; + this.startingDeadlineSeconds = startingDeadlineSeconds; + this.stressChaos = stressChaos; + this.timeChaos = timeChaos; + this.type = type; + this.workflow = workflow; + } + + @JsonProperty("awsChaos") + public AWSChaosSpec getAwsChaos() { + return awsChaos; + } + + @JsonProperty("awsChaos") + public void setAwsChaos(AWSChaosSpec awsChaos) { + this.awsChaos = awsChaos; + } + + @JsonProperty("azureChaos") + public AzureChaosSpec getAzureChaos() { + return azureChaos; + } + + @JsonProperty("azureChaos") + public void setAzureChaos(AzureChaosSpec azureChaos) { + this.azureChaos = azureChaos; + } + + @JsonProperty("blockChaos") + public BlockChaosSpec getBlockChaos() { + return blockChaos; + } + + @JsonProperty("blockChaos") + public void setBlockChaos(BlockChaosSpec blockChaos) { + this.blockChaos = blockChaos; + } + + @JsonProperty("concurrencyPolicy") + public String getConcurrencyPolicy() { + return concurrencyPolicy; + } + + @JsonProperty("concurrencyPolicy") + public void setConcurrencyPolicy(String concurrencyPolicy) { + this.concurrencyPolicy = concurrencyPolicy; + } + + @JsonProperty("dnsChaos") + public DNSChaosSpec getDnsChaos() { + return dnsChaos; + } + + @JsonProperty("dnsChaos") + public void setDnsChaos(DNSChaosSpec dnsChaos) { + this.dnsChaos = dnsChaos; + } + + @JsonProperty("gcpChaos") + public GCPChaosSpec getGcpChaos() { + return gcpChaos; + } + + @JsonProperty("gcpChaos") + public void setGcpChaos(GCPChaosSpec gcpChaos) { + this.gcpChaos = gcpChaos; + } + + @JsonProperty("historyLimit") + public Integer getHistoryLimit() { + return historyLimit; + } + + @JsonProperty("historyLimit") + public void setHistoryLimit(Integer historyLimit) { + this.historyLimit = historyLimit; + } + + @JsonProperty("httpChaos") + public HTTPChaosSpec getHttpChaos() { + return httpChaos; + } + + @JsonProperty("httpChaos") + public void setHttpChaos(HTTPChaosSpec httpChaos) { + this.httpChaos = httpChaos; + } + + @JsonProperty("ioChaos") + public IOChaosSpec getIoChaos() { + return ioChaos; + } + + @JsonProperty("ioChaos") + public void setIoChaos(IOChaosSpec ioChaos) { + this.ioChaos = ioChaos; + } + + @JsonProperty("jvmChaos") + public JVMChaosSpec getJvmChaos() { + return jvmChaos; + } + + @JsonProperty("jvmChaos") + public void setJvmChaos(JVMChaosSpec jvmChaos) { + this.jvmChaos = jvmChaos; + } + + @JsonProperty("kernelChaos") + public KernelChaosSpec getKernelChaos() { + return kernelChaos; + } + + @JsonProperty("kernelChaos") + public void setKernelChaos(KernelChaosSpec kernelChaos) { + this.kernelChaos = kernelChaos; + } + + @JsonProperty("networkChaos") + public NetworkChaosSpec getNetworkChaos() { + return networkChaos; + } + + @JsonProperty("networkChaos") + public void setNetworkChaos(NetworkChaosSpec networkChaos) { + this.networkChaos = networkChaos; + } + + @JsonProperty("physicalmachineChaos") + public PhysicalMachineChaosSpec getPhysicalmachineChaos() { + return physicalmachineChaos; + } + + @JsonProperty("physicalmachineChaos") + public void setPhysicalmachineChaos(PhysicalMachineChaosSpec physicalmachineChaos) { + this.physicalmachineChaos = physicalmachineChaos; + } + + @JsonProperty("podChaos") + public PodChaosSpec getPodChaos() { + return podChaos; + } + + @JsonProperty("podChaos") + public void setPodChaos(PodChaosSpec podChaos) { + this.podChaos = podChaos; + } + + @JsonProperty("schedule") + public String getSchedule() { + return schedule; + } + + @JsonProperty("schedule") + public void setSchedule(String schedule) { + this.schedule = schedule; + } + + @JsonProperty("startingDeadlineSeconds") + public Long getStartingDeadlineSeconds() { + return startingDeadlineSeconds; + } + + @JsonProperty("startingDeadlineSeconds") + public void setStartingDeadlineSeconds(Long startingDeadlineSeconds) { + this.startingDeadlineSeconds = startingDeadlineSeconds; + } + + @JsonProperty("stressChaos") + public StressChaosSpec getStressChaos() { + return stressChaos; + } + + @JsonProperty("stressChaos") + public void setStressChaos(StressChaosSpec stressChaos) { + this.stressChaos = stressChaos; + } + + @JsonProperty("timeChaos") + public TimeChaosSpec getTimeChaos() { + return timeChaos; + } + + @JsonProperty("timeChaos") + public void setTimeChaos(TimeChaosSpec timeChaos) { + this.timeChaos = timeChaos; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("workflow") + public WorkflowSpec getWorkflow() { + return workflow; + } + + @JsonProperty("workflow") + public void setWorkflow(WorkflowSpec workflow) { + this.workflow = workflow; + } + + @JsonIgnore + public ScheduleSpecBuilder edit() { + return new ScheduleSpecBuilder(this); + } + + @JsonIgnore + public ScheduleSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleStatus.java new file mode 100644 index 00000000000..8af79237724 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/ScheduleStatus.java @@ -0,0 +1,134 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "active", + "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 ScheduleStatus implements Editable , KubernetesResource +{ + + @JsonProperty("active") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List active = new ArrayList<>(); + @JsonProperty("time") + private String time; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ScheduleStatus() { + } + + public ScheduleStatus(List active, String time) { + super(); + this.active = active; + this.time = time; + } + + @JsonProperty("active") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getActive() { + return active; + } + + @JsonProperty("active") + public void setActive(List active) { + this.active = active; + } + + @JsonProperty("time") + public String getTime() { + return time; + } + + @JsonProperty("time") + public void setTime(String time) { + this.time = time; + } + + @JsonIgnore + public ScheduleStatusBuilder edit() { + return new ScheduleStatusBuilder(this); + } + + @JsonIgnore + public ScheduleStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheck.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheck.java new file mode 100644 index 00000000000..f0e6bbac876 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheck.java @@ -0,0 +1,212 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class StatusCheck implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "StatusCheck"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private StatusCheckSpec spec; + @JsonProperty("status") + private StatusCheckStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusCheck() { + } + + public StatusCheck(String apiVersion, String kind, ObjectMeta metadata, StatusCheckSpec spec, StatusCheckStatus 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 StatusCheckSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(StatusCheckSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public StatusCheckStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(StatusCheckStatus status) { + this.status = status; + } + + @JsonIgnore + public StatusCheckBuilder edit() { + return new StatusCheckBuilder(this); + } + + @JsonIgnore + public StatusCheckBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckCondition.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckCondition.java new file mode 100644 index 00000000000..9cc3dc0e064 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckCondition.java @@ -0,0 +1,172 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "lastProbeTime", + "lastTransitionTime", + "reason", + "status", + "type" +}) +@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 StatusCheckCondition implements Editable , KubernetesResource +{ + + @JsonProperty("lastProbeTime") + private String lastProbeTime; + @JsonProperty("lastTransitionTime") + private String lastTransitionTime; + @JsonProperty("reason") + private String reason; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusCheckCondition() { + } + + public StatusCheckCondition(String lastProbeTime, String lastTransitionTime, String reason, String status, String type) { + super(); + this.lastProbeTime = lastProbeTime; + this.lastTransitionTime = lastTransitionTime; + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("lastProbeTime") + public String getLastProbeTime() { + return lastProbeTime; + } + + @JsonProperty("lastProbeTime") + public void setLastProbeTime(String lastProbeTime) { + this.lastProbeTime = lastProbeTime; + } + + @JsonProperty("lastTransitionTime") + public String getLastTransitionTime() { + return lastTransitionTime; + } + + @JsonProperty("lastTransitionTime") + public void setLastTransitionTime(String lastTransitionTime) { + this.lastTransitionTime = lastTransitionTime; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public StatusCheckConditionBuilder edit() { + return new StatusCheckConditionBuilder(this); + } + + @JsonIgnore + public StatusCheckConditionBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckList.java new file mode 100644 index 00000000000..e9a6f193ff4 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckList.java @@ -0,0 +1,203 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class StatusCheckList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "StatusCheckList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusCheckList() { + } + + public StatusCheckList(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 StatusCheckListBuilder edit() { + return new StatusCheckListBuilder(this); + } + + @JsonIgnore + public StatusCheckListBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckRecord.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckRecord.java new file mode 100644 index 00000000000..aae907e1ec0 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckRecord.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "outcome", + "startTime" +}) +@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 StatusCheckRecord implements Editable , KubernetesResource +{ + + @JsonProperty("outcome") + private String outcome; + @JsonProperty("startTime") + private String startTime; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusCheckRecord() { + } + + public StatusCheckRecord(String outcome, String startTime) { + super(); + this.outcome = outcome; + this.startTime = startTime; + } + + @JsonProperty("outcome") + public String getOutcome() { + return outcome; + } + + @JsonProperty("outcome") + public void setOutcome(String outcome) { + this.outcome = outcome; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonIgnore + public StatusCheckRecordBuilder edit() { + return new StatusCheckRecordBuilder(this); + } + + @JsonIgnore + public StatusCheckRecordBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckSpec.java new file mode 100644 index 00000000000..f9a19566ea4 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckSpec.java @@ -0,0 +1,228 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "duration", + "failureThreshold", + "http", + "intervalSeconds", + "mode", + "recordsHistoryLimit", + "successThreshold", + "timeoutSeconds", + "type" +}) +@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 StatusCheckSpec implements Editable , KubernetesResource +{ + + @JsonProperty("duration") + private String duration; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("http") + private HTTPStatusCheck http; + @JsonProperty("intervalSeconds") + private Integer intervalSeconds; + @JsonProperty("mode") + private String mode; + @JsonProperty("recordsHistoryLimit") + private Integer recordsHistoryLimit; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusCheckSpec() { + } + + public StatusCheckSpec(String duration, Integer failureThreshold, HTTPStatusCheck http, Integer intervalSeconds, String mode, Integer recordsHistoryLimit, Integer successThreshold, Integer timeoutSeconds, String type) { + super(); + this.duration = duration; + this.failureThreshold = failureThreshold; + this.http = http; + this.intervalSeconds = intervalSeconds; + this.mode = mode; + this.recordsHistoryLimit = recordsHistoryLimit; + this.successThreshold = successThreshold; + this.timeoutSeconds = timeoutSeconds; + this.type = type; + } + + @JsonProperty("duration") + public String getDuration() { + return duration; + } + + @JsonProperty("duration") + public void setDuration(String duration) { + this.duration = duration; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("http") + public HTTPStatusCheck getHttp() { + return http; + } + + @JsonProperty("http") + public void setHttp(HTTPStatusCheck http) { + this.http = http; + } + + @JsonProperty("intervalSeconds") + public Integer getIntervalSeconds() { + return intervalSeconds; + } + + @JsonProperty("intervalSeconds") + public void setIntervalSeconds(Integer intervalSeconds) { + this.intervalSeconds = intervalSeconds; + } + + @JsonProperty("mode") + public String getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(String mode) { + this.mode = mode; + } + + @JsonProperty("recordsHistoryLimit") + public Integer getRecordsHistoryLimit() { + return recordsHistoryLimit; + } + + @JsonProperty("recordsHistoryLimit") + public void setRecordsHistoryLimit(Integer recordsHistoryLimit) { + this.recordsHistoryLimit = recordsHistoryLimit; + } + + @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; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public StatusCheckSpecBuilder edit() { + return new StatusCheckSpecBuilder(this); + } + + @JsonIgnore + public StatusCheckSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckStatus.java new file mode 100644 index 00000000000..0e735839a93 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckStatus.java @@ -0,0 +1,178 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "completionTime", + "conditions", + "count", + "records", + "startTime" +}) +@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 StatusCheckStatus implements Editable , KubernetesResource +{ + + @JsonProperty("completionTime") + private String completionTime; + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("count") + private Long count; + @JsonProperty("records") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List records = new ArrayList<>(); + @JsonProperty("startTime") + private String startTime; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusCheckStatus() { + } + + public StatusCheckStatus(String completionTime, List conditions, Long count, List records, String startTime) { + super(); + this.completionTime = completionTime; + this.conditions = conditions; + this.count = count; + this.records = records; + this.startTime = startTime; + } + + @JsonProperty("completionTime") + public String getCompletionTime() { + return completionTime; + } + + @JsonProperty("completionTime") + public void setCompletionTime(String completionTime) { + this.completionTime = completionTime; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("count") + public Long getCount() { + return count; + } + + @JsonProperty("count") + public void setCount(Long count) { + this.count = count; + } + + @JsonProperty("records") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRecords() { + return records; + } + + @JsonProperty("records") + public void setRecords(List records) { + this.records = records; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonIgnore + public StatusCheckStatusBuilder edit() { + return new StatusCheckStatusBuilder(this); + } + + @JsonIgnore + public StatusCheckStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckTemplate.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckTemplate.java new file mode 100644 index 00000000000..e44419cb4be --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StatusCheckTemplate.java @@ -0,0 +1,228 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "duration", + "failureThreshold", + "http", + "intervalSeconds", + "mode", + "recordsHistoryLimit", + "successThreshold", + "timeoutSeconds", + "type" +}) +@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 StatusCheckTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("duration") + private String duration; + @JsonProperty("failureThreshold") + private Integer failureThreshold; + @JsonProperty("http") + private HTTPStatusCheck http; + @JsonProperty("intervalSeconds") + private Integer intervalSeconds; + @JsonProperty("mode") + private String mode; + @JsonProperty("recordsHistoryLimit") + private Integer recordsHistoryLimit; + @JsonProperty("successThreshold") + private Integer successThreshold; + @JsonProperty("timeoutSeconds") + private Integer timeoutSeconds; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusCheckTemplate() { + } + + public StatusCheckTemplate(String duration, Integer failureThreshold, HTTPStatusCheck http, Integer intervalSeconds, String mode, Integer recordsHistoryLimit, Integer successThreshold, Integer timeoutSeconds, String type) { + super(); + this.duration = duration; + this.failureThreshold = failureThreshold; + this.http = http; + this.intervalSeconds = intervalSeconds; + this.mode = mode; + this.recordsHistoryLimit = recordsHistoryLimit; + this.successThreshold = successThreshold; + this.timeoutSeconds = timeoutSeconds; + this.type = type; + } + + @JsonProperty("duration") + public String getDuration() { + return duration; + } + + @JsonProperty("duration") + public void setDuration(String duration) { + this.duration = duration; + } + + @JsonProperty("failureThreshold") + public Integer getFailureThreshold() { + return failureThreshold; + } + + @JsonProperty("failureThreshold") + public void setFailureThreshold(Integer failureThreshold) { + this.failureThreshold = failureThreshold; + } + + @JsonProperty("http") + public HTTPStatusCheck getHttp() { + return http; + } + + @JsonProperty("http") + public void setHttp(HTTPStatusCheck http) { + this.http = http; + } + + @JsonProperty("intervalSeconds") + public Integer getIntervalSeconds() { + return intervalSeconds; + } + + @JsonProperty("intervalSeconds") + public void setIntervalSeconds(Integer intervalSeconds) { + this.intervalSeconds = intervalSeconds; + } + + @JsonProperty("mode") + public String getMode() { + return mode; + } + + @JsonProperty("mode") + public void setMode(String mode) { + this.mode = mode; + } + + @JsonProperty("recordsHistoryLimit") + public Integer getRecordsHistoryLimit() { + return recordsHistoryLimit; + } + + @JsonProperty("recordsHistoryLimit") + public void setRecordsHistoryLimit(Integer recordsHistoryLimit) { + this.recordsHistoryLimit = recordsHistoryLimit; + } + + @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; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public StatusCheckTemplateBuilder edit() { + return new StatusCheckTemplateBuilder(this); + } + + @JsonIgnore + public StatusCheckTemplateBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressCPUSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressCPUSpec.java index 11dd6a73ad6..2c565e7d54d 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressCPUSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressCPUSpec.java @@ -1,7 +1,9 @@ package io.fabric8.chaosmesh.v1alpha1; +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; @@ -67,7 +69,8 @@ public class StressCPUSpec implements Editable , Kubernete @JsonProperty("load") private Integer load; @JsonProperty("options") - private String options; + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List options = new ArrayList<>(); @JsonProperty("workers") private Integer workers; @JsonIgnore @@ -80,7 +83,7 @@ public class StressCPUSpec implements Editable , Kubernete public StressCPUSpec() { } - public StressCPUSpec(Integer load, String options, Integer workers) { + public StressCPUSpec(Integer load, List options, Integer workers) { super(); this.load = load; this.options = options; @@ -98,12 +101,13 @@ public void setLoad(Integer load) { } @JsonProperty("options") - public String getOptions() { + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOptions() { return options; } @JsonProperty("options") - public void setOptions(String options) { + public void setOptions(List options) { this.options = options; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaos.java index 8fc48974627..9ae6463c2ae 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class StressChaos implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "StressChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private StressChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class StressChaos implements Editable , HasMetadata, public StressChaos() { } - public StressChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, StressChaosSpec spec, StressChaosStatus status) { + public StressChaos(String apiVersion, String kind, ObjectMeta metadata, StressChaosSpec spec, StressChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java index 70a6b1f0fd0..7a443c9483c 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosSpec.java @@ -40,6 +40,7 @@ "containerNames", "duration", "mode", + "remoteCluster", "selector", "stressngStressors", "stressors", @@ -72,21 +73,23 @@ public class StressChaosSpec implements Editable , Kuber @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containerNames = new ArrayList<>(); + private List containerNames = new ArrayList<>(); @JsonProperty("duration") private String duration; @JsonProperty("mode") - private java.lang.String mode; + private String mode; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("stressngStressors") - private java.lang.String stressngStressors; + private String stressngStressors; @JsonProperty("stressors") private Stressors stressors; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -95,11 +98,12 @@ public class StressChaosSpec implements Editable , Kuber public StressChaosSpec() { } - public StressChaosSpec(List containerNames, String duration, java.lang.String mode, PodSelectorSpec selector, java.lang.String stressngStressors, Stressors stressors, java.lang.String value) { + public StressChaosSpec(List containerNames, String duration, String mode, String remoteCluster, PodSelectorSpec selector, String stressngStressors, Stressors stressors, String value) { super(); this.containerNames = containerNames; this.duration = duration; this.mode = mode; + this.remoteCluster = remoteCluster; this.selector = selector; this.stressngStressors = stressngStressors; this.stressors = stressors; @@ -108,12 +112,12 @@ public StressChaosSpec(List containerNames, String duration, j @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainerNames() { + public List getContainerNames() { return containerNames; } @JsonProperty("containerNames") - public void setContainerNames(List containerNames) { + public void setContainerNames(List containerNames) { this.containerNames = containerNames; } @@ -128,15 +132,25 @@ public void setDuration(String duration) { } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PodSelectorSpec getSelector() { return selector; @@ -148,12 +162,12 @@ public void setSelector(PodSelectorSpec selector) { } @JsonProperty("stressngStressors") - public java.lang.String getStressngStressors() { + public String getStressngStressors() { return stressngStressors; } @JsonProperty("stressngStressors") - public void setStressngStressors(java.lang.String stressngStressors) { + public void setStressngStressors(String stressngStressors) { this.stressngStressors = stressngStressors; } @@ -168,12 +182,12 @@ public void setStressors(Stressors stressors) { } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @@ -188,16 +202,16 @@ public StressChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosStatus.java index 7f1f22c0915..15fefcb1156 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosStatus.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressChaosStatus.java @@ -75,7 +75,7 @@ public class StressChaosStatus implements Editable , K @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map instances = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -134,16 +134,16 @@ public StressChaosStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressMemorySpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressMemorySpec.java index 6da0ef6291e..0f521bef640 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressMemorySpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/StressMemorySpec.java @@ -1,7 +1,9 @@ package io.fabric8.chaosmesh.v1alpha1; +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; @@ -64,7 +66,8 @@ public class StressMemorySpec implements Editable , Kub { @JsonProperty("options") - private String options; + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List options = new ArrayList<>(); @JsonProperty("size") private String size; @JsonIgnore @@ -77,19 +80,20 @@ public class StressMemorySpec implements Editable , Kub public StressMemorySpec() { } - public StressMemorySpec(String options, String size) { + public StressMemorySpec(List options, String size) { super(); this.options = options; this.size = size; } @JsonProperty("options") - public String getOptions() { + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOptions() { return options; } @JsonProperty("options") - public void setOptions(String options) { + public void setOptions(List options) { this.options = options; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Stressor.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Stressor.java new file mode 100644 index 00000000000..4c2530bf876 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Stressor.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "workers" +}) +@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 Stressor implements Editable , KubernetesResource +{ + + @JsonProperty("workers") + private Integer workers; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Stressor() { + } + + public Stressor(Integer workers) { + super(); + this.workers = workers; + } + + @JsonProperty("workers") + public Integer getWorkers() { + return workers; + } + + @JsonProperty("workers") + public void setWorkers(Integer workers) { + this.workers = workers; + } + + @JsonIgnore + public StressorBuilder edit() { + return new StressorBuilder(this); + } + + @JsonIgnore + public StressorBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Task.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Task.java new file mode 100644 index 00000000000..094408d4f9b --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Task.java @@ -0,0 +1,134 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "container", + "volumes" +}) +@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 Task implements Editable , KubernetesResource +{ + + @JsonProperty("container") + private Container container; + @JsonProperty("volumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumes = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Task() { + } + + public Task(Container container, List volumes) { + super(); + this.container = container; + this.volumes = volumes; + } + + @JsonProperty("container") + public Container getContainer() { + return container; + } + + @JsonProperty("container") + public void setContainer(Container container) { + this.container = container; + } + + @JsonProperty("volumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumes() { + return volumes; + } + + @JsonProperty("volumes") + public void setVolumes(List volumes) { + this.volumes = volumes; + } + + @JsonIgnore + public TaskBuilder edit() { + return new TaskBuilder(this); + } + + @JsonIgnore + public TaskBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TcParameter.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TcParameter.java new file mode 100644 index 00000000000..bf678c25b15 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TcParameter.java @@ -0,0 +1,186 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "bandwidth", + "corrupt", + "delay", + "duplicate", + "loss", + "rate" +}) +@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 TcParameter implements Editable , KubernetesResource +{ + + @JsonProperty("bandwidth") + private BandwidthSpec bandwidth; + @JsonProperty("corrupt") + private CorruptSpec corrupt; + @JsonProperty("delay") + private DelaySpec delay; + @JsonProperty("duplicate") + private DuplicateSpec duplicate; + @JsonProperty("loss") + private LossSpec loss; + @JsonProperty("rate") + private RateSpec rate; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TcParameter() { + } + + public TcParameter(BandwidthSpec bandwidth, CorruptSpec corrupt, DelaySpec delay, DuplicateSpec duplicate, LossSpec loss, RateSpec rate) { + super(); + this.bandwidth = bandwidth; + this.corrupt = corrupt; + this.delay = delay; + this.duplicate = duplicate; + this.loss = loss; + this.rate = rate; + } + + @JsonProperty("bandwidth") + public BandwidthSpec getBandwidth() { + return bandwidth; + } + + @JsonProperty("bandwidth") + public void setBandwidth(BandwidthSpec bandwidth) { + this.bandwidth = bandwidth; + } + + @JsonProperty("corrupt") + public CorruptSpec getCorrupt() { + return corrupt; + } + + @JsonProperty("corrupt") + public void setCorrupt(CorruptSpec corrupt) { + this.corrupt = corrupt; + } + + @JsonProperty("delay") + public DelaySpec getDelay() { + return delay; + } + + @JsonProperty("delay") + public void setDelay(DelaySpec delay) { + this.delay = delay; + } + + @JsonProperty("duplicate") + public DuplicateSpec getDuplicate() { + return duplicate; + } + + @JsonProperty("duplicate") + public void setDuplicate(DuplicateSpec duplicate) { + this.duplicate = duplicate; + } + + @JsonProperty("loss") + public LossSpec getLoss() { + return loss; + } + + @JsonProperty("loss") + public void setLoss(LossSpec loss) { + this.loss = loss; + } + + @JsonProperty("rate") + public RateSpec getRate() { + return rate; + } + + @JsonProperty("rate") + public void setRate(RateSpec rate) { + this.rate = rate; + } + + @JsonIgnore + public TcParameterBuilder edit() { + return new TcParameterBuilder(this); + } + + @JsonIgnore + public TcParameterBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Template.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Template.java new file mode 100644 index 00000000000..682eecdeed9 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Template.java @@ -0,0 +1,430 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "abortWithStatusCheck", + "awsChaos", + "azureChaos", + "blockChaos", + "children", + "conditionalBranches", + "deadline", + "dnsChaos", + "gcpChaos", + "httpChaos", + "ioChaos", + "jvmChaos", + "kernelChaos", + "name", + "networkChaos", + "physicalmachineChaos", + "podChaos", + "schedule", + "statusCheck", + "stressChaos", + "task", + "templateType", + "timeChaos" +}) +@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 Template implements Editable , KubernetesResource +{ + + @JsonProperty("abortWithStatusCheck") + private Boolean abortWithStatusCheck; + @JsonProperty("awsChaos") + private AWSChaosSpec awsChaos; + @JsonProperty("azureChaos") + private AzureChaosSpec azureChaos; + @JsonProperty("blockChaos") + private BlockChaosSpec blockChaos; + @JsonProperty("children") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List children = new ArrayList<>(); + @JsonProperty("conditionalBranches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditionalBranches = new ArrayList<>(); + @JsonProperty("deadline") + private String deadline; + @JsonProperty("dnsChaos") + private DNSChaosSpec dnsChaos; + @JsonProperty("gcpChaos") + private GCPChaosSpec gcpChaos; + @JsonProperty("httpChaos") + private HTTPChaosSpec httpChaos; + @JsonProperty("ioChaos") + private IOChaosSpec ioChaos; + @JsonProperty("jvmChaos") + private JVMChaosSpec jvmChaos; + @JsonProperty("kernelChaos") + private KernelChaosSpec kernelChaos; + @JsonProperty("name") + private String name; + @JsonProperty("networkChaos") + private NetworkChaosSpec networkChaos; + @JsonProperty("physicalmachineChaos") + private PhysicalMachineChaosSpec physicalmachineChaos; + @JsonProperty("podChaos") + private PodChaosSpec podChaos; + @JsonProperty("schedule") + private ChaosOnlyScheduleSpec schedule; + @JsonProperty("statusCheck") + private StatusCheckSpec statusCheck; + @JsonProperty("stressChaos") + private StressChaosSpec stressChaos; + @JsonProperty("task") + private Task task; + @JsonProperty("templateType") + private String templateType; + @JsonProperty("timeChaos") + private TimeChaosSpec timeChaos; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Template() { + } + + public Template(Boolean abortWithStatusCheck, AWSChaosSpec awsChaos, AzureChaosSpec azureChaos, BlockChaosSpec blockChaos, List children, List conditionalBranches, String deadline, DNSChaosSpec dnsChaos, GCPChaosSpec gcpChaos, HTTPChaosSpec httpChaos, IOChaosSpec ioChaos, JVMChaosSpec jvmChaos, KernelChaosSpec kernelChaos, String name, NetworkChaosSpec networkChaos, PhysicalMachineChaosSpec physicalmachineChaos, PodChaosSpec podChaos, ChaosOnlyScheduleSpec schedule, StatusCheckSpec statusCheck, StressChaosSpec stressChaos, Task task, String templateType, TimeChaosSpec timeChaos) { + super(); + this.abortWithStatusCheck = abortWithStatusCheck; + this.awsChaos = awsChaos; + this.azureChaos = azureChaos; + this.blockChaos = blockChaos; + this.children = children; + this.conditionalBranches = conditionalBranches; + this.deadline = deadline; + this.dnsChaos = dnsChaos; + this.gcpChaos = gcpChaos; + this.httpChaos = httpChaos; + this.ioChaos = ioChaos; + this.jvmChaos = jvmChaos; + this.kernelChaos = kernelChaos; + this.name = name; + this.networkChaos = networkChaos; + this.physicalmachineChaos = physicalmachineChaos; + this.podChaos = podChaos; + this.schedule = schedule; + this.statusCheck = statusCheck; + this.stressChaos = stressChaos; + this.task = task; + this.templateType = templateType; + this.timeChaos = timeChaos; + } + + @JsonProperty("abortWithStatusCheck") + public Boolean getAbortWithStatusCheck() { + return abortWithStatusCheck; + } + + @JsonProperty("abortWithStatusCheck") + public void setAbortWithStatusCheck(Boolean abortWithStatusCheck) { + this.abortWithStatusCheck = abortWithStatusCheck; + } + + @JsonProperty("awsChaos") + public AWSChaosSpec getAwsChaos() { + return awsChaos; + } + + @JsonProperty("awsChaos") + public void setAwsChaos(AWSChaosSpec awsChaos) { + this.awsChaos = awsChaos; + } + + @JsonProperty("azureChaos") + public AzureChaosSpec getAzureChaos() { + return azureChaos; + } + + @JsonProperty("azureChaos") + public void setAzureChaos(AzureChaosSpec azureChaos) { + this.azureChaos = azureChaos; + } + + @JsonProperty("blockChaos") + public BlockChaosSpec getBlockChaos() { + return blockChaos; + } + + @JsonProperty("blockChaos") + public void setBlockChaos(BlockChaosSpec blockChaos) { + this.blockChaos = blockChaos; + } + + @JsonProperty("children") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getChildren() { + return children; + } + + @JsonProperty("children") + public void setChildren(List children) { + this.children = children; + } + + @JsonProperty("conditionalBranches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditionalBranches() { + return conditionalBranches; + } + + @JsonProperty("conditionalBranches") + public void setConditionalBranches(List conditionalBranches) { + this.conditionalBranches = conditionalBranches; + } + + @JsonProperty("deadline") + public String getDeadline() { + return deadline; + } + + @JsonProperty("deadline") + public void setDeadline(String deadline) { + this.deadline = deadline; + } + + @JsonProperty("dnsChaos") + public DNSChaosSpec getDnsChaos() { + return dnsChaos; + } + + @JsonProperty("dnsChaos") + public void setDnsChaos(DNSChaosSpec dnsChaos) { + this.dnsChaos = dnsChaos; + } + + @JsonProperty("gcpChaos") + public GCPChaosSpec getGcpChaos() { + return gcpChaos; + } + + @JsonProperty("gcpChaos") + public void setGcpChaos(GCPChaosSpec gcpChaos) { + this.gcpChaos = gcpChaos; + } + + @JsonProperty("httpChaos") + public HTTPChaosSpec getHttpChaos() { + return httpChaos; + } + + @JsonProperty("httpChaos") + public void setHttpChaos(HTTPChaosSpec httpChaos) { + this.httpChaos = httpChaos; + } + + @JsonProperty("ioChaos") + public IOChaosSpec getIoChaos() { + return ioChaos; + } + + @JsonProperty("ioChaos") + public void setIoChaos(IOChaosSpec ioChaos) { + this.ioChaos = ioChaos; + } + + @JsonProperty("jvmChaos") + public JVMChaosSpec getJvmChaos() { + return jvmChaos; + } + + @JsonProperty("jvmChaos") + public void setJvmChaos(JVMChaosSpec jvmChaos) { + this.jvmChaos = jvmChaos; + } + + @JsonProperty("kernelChaos") + public KernelChaosSpec getKernelChaos() { + return kernelChaos; + } + + @JsonProperty("kernelChaos") + public void setKernelChaos(KernelChaosSpec kernelChaos) { + this.kernelChaos = kernelChaos; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("networkChaos") + public NetworkChaosSpec getNetworkChaos() { + return networkChaos; + } + + @JsonProperty("networkChaos") + public void setNetworkChaos(NetworkChaosSpec networkChaos) { + this.networkChaos = networkChaos; + } + + @JsonProperty("physicalmachineChaos") + public PhysicalMachineChaosSpec getPhysicalmachineChaos() { + return physicalmachineChaos; + } + + @JsonProperty("physicalmachineChaos") + public void setPhysicalmachineChaos(PhysicalMachineChaosSpec physicalmachineChaos) { + this.physicalmachineChaos = physicalmachineChaos; + } + + @JsonProperty("podChaos") + public PodChaosSpec getPodChaos() { + return podChaos; + } + + @JsonProperty("podChaos") + public void setPodChaos(PodChaosSpec podChaos) { + this.podChaos = podChaos; + } + + @JsonProperty("schedule") + public ChaosOnlyScheduleSpec getSchedule() { + return schedule; + } + + @JsonProperty("schedule") + public void setSchedule(ChaosOnlyScheduleSpec schedule) { + this.schedule = schedule; + } + + @JsonProperty("statusCheck") + public StatusCheckSpec getStatusCheck() { + return statusCheck; + } + + @JsonProperty("statusCheck") + public void setStatusCheck(StatusCheckSpec statusCheck) { + this.statusCheck = statusCheck; + } + + @JsonProperty("stressChaos") + public StressChaosSpec getStressChaos() { + return stressChaos; + } + + @JsonProperty("stressChaos") + public void setStressChaos(StressChaosSpec stressChaos) { + this.stressChaos = stressChaos; + } + + @JsonProperty("task") + public Task getTask() { + return task; + } + + @JsonProperty("task") + public void setTask(Task task) { + this.task = task; + } + + @JsonProperty("templateType") + public String getTemplateType() { + return templateType; + } + + @JsonProperty("templateType") + public void setTemplateType(String templateType) { + this.templateType = templateType; + } + + @JsonProperty("timeChaos") + public TimeChaosSpec getTimeChaos() { + return timeChaos; + } + + @JsonProperty("timeChaos") + public void setTimeChaos(TimeChaosSpec timeChaos) { + this.timeChaos = timeChaos; + } + + @JsonIgnore + public TemplateBuilder edit() { + return new TemplateBuilder(this); + } + + @JsonIgnore + public TemplateBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaos.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaos.java index 9383a347a60..9c0278d88da 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaos.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaos.java @@ -20,6 +20,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; @@ -52,7 +53,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), @@ -90,7 +91,7 @@ public class TimeChaos implements Editable , HasMetadata, Name @JsonProperty("kind") private String kind = "TimeChaos"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TimeChaosSpec spec; @JsonProperty("status") @@ -105,7 +106,7 @@ public class TimeChaos implements Editable , HasMetadata, Name public TimeChaos() { } - public TimeChaos(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TimeChaosSpec spec, TimeChaosStatus status) { + public TimeChaos(String apiVersion, String kind, ObjectMeta metadata, TimeChaosSpec spec, TimeChaosStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +156,12 @@ 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; } diff --git a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java index e7a74b258ba..a6a00eebfb2 100644 --- a/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/TimeChaosSpec.java @@ -41,6 +41,7 @@ "containerNames", "duration", "mode", + "remoteCluster", "selector", "timeOffset", "value" @@ -72,22 +73,24 @@ public class TimeChaosSpec implements Editable , Kubernete @JsonProperty("clockIds") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List clockIds = new ArrayList<>(); + private List clockIds = new ArrayList<>(); @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List containerNames = new ArrayList<>(); + private List containerNames = new ArrayList<>(); @JsonProperty("duration") private String duration; @JsonProperty("mode") - private java.lang.String mode; + private String mode; + @JsonProperty("remoteCluster") + private String remoteCluster; @JsonProperty("selector") private PodSelectorSpec selector; @JsonProperty("timeOffset") - private java.lang.String timeOffset; + private String timeOffset; @JsonProperty("value") - private java.lang.String value; + private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -96,12 +99,13 @@ public class TimeChaosSpec implements Editable , Kubernete public TimeChaosSpec() { } - public TimeChaosSpec(List clockIds, List containerNames, String duration, java.lang.String mode, PodSelectorSpec selector, java.lang.String timeOffset, java.lang.String value) { + public TimeChaosSpec(List clockIds, List containerNames, String duration, String mode, String remoteCluster, PodSelectorSpec selector, String timeOffset, String value) { super(); this.clockIds = clockIds; this.containerNames = containerNames; this.duration = duration; this.mode = mode; + this.remoteCluster = remoteCluster; this.selector = selector; this.timeOffset = timeOffset; this.value = value; @@ -109,23 +113,23 @@ public TimeChaosSpec(List clockIds, List con @JsonProperty("clockIds") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getClockIds() { + public List getClockIds() { return clockIds; } @JsonProperty("clockIds") - public void setClockIds(List clockIds) { + public void setClockIds(List clockIds) { this.clockIds = clockIds; } @JsonProperty("containerNames") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getContainerNames() { + public List getContainerNames() { return containerNames; } @JsonProperty("containerNames") - public void setContainerNames(List containerNames) { + public void setContainerNames(List containerNames) { this.containerNames = containerNames; } @@ -140,15 +144,25 @@ public void setDuration(String duration) { } @JsonProperty("mode") - public java.lang.String getMode() { + public String getMode() { return mode; } @JsonProperty("mode") - public void setMode(java.lang.String mode) { + public void setMode(String mode) { this.mode = mode; } + @JsonProperty("remoteCluster") + public String getRemoteCluster() { + return remoteCluster; + } + + @JsonProperty("remoteCluster") + public void setRemoteCluster(String remoteCluster) { + this.remoteCluster = remoteCluster; + } + @JsonProperty("selector") public PodSelectorSpec getSelector() { return selector; @@ -160,22 +174,22 @@ public void setSelector(PodSelectorSpec selector) { } @JsonProperty("timeOffset") - public java.lang.String getTimeOffset() { + public String getTimeOffset() { return timeOffset; } @JsonProperty("timeOffset") - public void setTimeOffset(java.lang.String timeOffset) { + public void setTimeOffset(String timeOffset) { this.timeOffset = timeOffset; } @JsonProperty("value") - public java.lang.String getValue() { + public String getValue() { return value; } @JsonProperty("value") - public void setValue(java.lang.String value) { + public void setValue(String value) { this.value = value; } @@ -190,16 +204,16 @@ public TimeChaosSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/UserDefinedSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/UserDefinedSpec.java new file mode 100644 index 00000000000..9d302296b3c --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/UserDefinedSpec.java @@ -0,0 +1,130 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "attackCmd", + "recoverCmd" +}) +@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 UserDefinedSpec implements Editable , KubernetesResource +{ + + @JsonProperty("attackCmd") + private String attackCmd; + @JsonProperty("recoverCmd") + private String recoverCmd; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public UserDefinedSpec() { + } + + public UserDefinedSpec(String attackCmd, String recoverCmd) { + super(); + this.attackCmd = attackCmd; + this.recoverCmd = recoverCmd; + } + + @JsonProperty("attackCmd") + public String getAttackCmd() { + return attackCmd; + } + + @JsonProperty("attackCmd") + public void setAttackCmd(String attackCmd) { + this.attackCmd = attackCmd; + } + + @JsonProperty("recoverCmd") + public String getRecoverCmd() { + return recoverCmd; + } + + @JsonProperty("recoverCmd") + public void setRecoverCmd(String recoverCmd) { + this.recoverCmd = recoverCmd; + } + + @JsonIgnore + public UserDefinedSpecBuilder edit() { + return new UserDefinedSpecBuilder(this); + } + + @JsonIgnore + public UserDefinedSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/VMSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/VMSpec.java new file mode 100644 index 00000000000..169c0841889 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/VMSpec.java @@ -0,0 +1,116 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "vm-name" +}) +@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 VMSpec implements Editable , KubernetesResource +{ + + @JsonProperty("vm-name") + private String vmName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public VMSpec() { + } + + public VMSpec(String vmName) { + super(); + this.vmName = vmName; + } + + @JsonProperty("vm-name") + public String getVmName() { + return vmName; + } + + @JsonProperty("vm-name") + public void setVmName(String vmName) { + this.vmName = vmName; + } + + @JsonIgnore + public VMSpecBuilder edit() { + return new VMSpecBuilder(this); + } + + @JsonIgnore + public VMSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Workflow.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Workflow.java new file mode 100644 index 00000000000..041505600ee --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/Workflow.java @@ -0,0 +1,212 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class Workflow implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "Workflow"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private WorkflowSpec spec; + @JsonProperty("status") + private WorkflowStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Workflow() { + } + + public Workflow(String apiVersion, String kind, ObjectMeta metadata, WorkflowSpec spec, WorkflowStatus 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 WorkflowSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(WorkflowSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public WorkflowStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(WorkflowStatus status) { + this.status = status; + } + + @JsonIgnore + public WorkflowBuilder edit() { + return new WorkflowBuilder(this); + } + + @JsonIgnore + public WorkflowBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowCondition.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowCondition.java new file mode 100644 index 00000000000..33ea4d3a9db --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowCondition.java @@ -0,0 +1,158 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "reason", + "startTime", + "status", + "type" +}) +@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 WorkflowCondition implements Editable , KubernetesResource +{ + + @JsonProperty("reason") + private String reason; + @JsonProperty("startTime") + private String startTime; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkflowCondition() { + } + + public WorkflowCondition(String reason, String startTime, String status, String type) { + super(); + this.reason = reason; + this.startTime = startTime; + this.status = status; + this.type = type; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public WorkflowConditionBuilder edit() { + return new WorkflowConditionBuilder(this); + } + + @JsonIgnore + public WorkflowConditionBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowList.java new file mode 100644 index 00000000000..f2d8a395671 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowList.java @@ -0,0 +1,203 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class WorkflowList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "WorkflowList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkflowList() { + } + + public WorkflowList(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 WorkflowListBuilder edit() { + return new WorkflowListBuilder(this); + } + + @JsonIgnore + public WorkflowListBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNode.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNode.java new file mode 100644 index 00000000000..9d6938bd74a --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNode.java @@ -0,0 +1,212 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class WorkflowNode implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "WorkflowNode"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private WorkflowNodeSpec spec; + @JsonProperty("status") + private WorkflowNodeStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkflowNode() { + } + + public WorkflowNode(String apiVersion, String kind, ObjectMeta metadata, WorkflowNodeSpec spec, WorkflowNodeStatus 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 WorkflowNodeSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(WorkflowNodeSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public WorkflowNodeStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(WorkflowNodeStatus status) { + this.status = status; + } + + @JsonIgnore + public WorkflowNodeBuilder edit() { + return new WorkflowNodeBuilder(this); + } + + @JsonIgnore + public WorkflowNodeBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeCondition.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeCondition.java new file mode 100644 index 00000000000..44002029e21 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeCondition.java @@ -0,0 +1,144 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "reason", + "status", + "type" +}) +@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 WorkflowNodeCondition implements Editable , KubernetesResource +{ + + @JsonProperty("reason") + private String reason; + @JsonProperty("status") + private String status; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkflowNodeCondition() { + } + + public WorkflowNodeCondition(String reason, String status, String type) { + super(); + this.reason = reason; + this.status = status; + this.type = type; + } + + @JsonProperty("reason") + public String getReason() { + return reason; + } + + @JsonProperty("reason") + public void setReason(String reason) { + this.reason = reason; + } + + @JsonProperty("status") + public String getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(String status) { + this.status = status; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public WorkflowNodeConditionBuilder edit() { + return new WorkflowNodeConditionBuilder(this); + } + + @JsonIgnore + public WorkflowNodeConditionBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeList.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeList.java new file mode 100644 index 00000000000..2ccf8f5b52d --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeList.java @@ -0,0 +1,203 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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("v1alpha1") +@Group("chaos-mesh.org") +@Generated("jsonschema2pojo") +public class WorkflowNodeList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "chaos-mesh.org/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "WorkflowNodeList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkflowNodeList() { + } + + public WorkflowNodeList(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 WorkflowNodeListBuilder edit() { + return new WorkflowNodeListBuilder(this); + } + + @JsonIgnore + public WorkflowNodeListBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeSpec.java new file mode 100644 index 00000000000..ab28529c59a --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeSpec.java @@ -0,0 +1,458 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "abortWithStatusCheck", + "awsChaos", + "azureChaos", + "blockChaos", + "children", + "conditionalBranches", + "deadline", + "dnsChaos", + "gcpChaos", + "httpChaos", + "ioChaos", + "jvmChaos", + "kernelChaos", + "networkChaos", + "physicalmachineChaos", + "podChaos", + "schedule", + "startTime", + "statusCheck", + "stressChaos", + "task", + "templateName", + "timeChaos", + "type", + "workflowName" +}) +@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 WorkflowNodeSpec implements Editable , KubernetesResource +{ + + @JsonProperty("abortWithStatusCheck") + private Boolean abortWithStatusCheck; + @JsonProperty("awsChaos") + private AWSChaosSpec awsChaos; + @JsonProperty("azureChaos") + private AzureChaosSpec azureChaos; + @JsonProperty("blockChaos") + private BlockChaosSpec blockChaos; + @JsonProperty("children") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List children = new ArrayList<>(); + @JsonProperty("conditionalBranches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditionalBranches = new ArrayList<>(); + @JsonProperty("deadline") + private String deadline; + @JsonProperty("dnsChaos") + private DNSChaosSpec dnsChaos; + @JsonProperty("gcpChaos") + private GCPChaosSpec gcpChaos; + @JsonProperty("httpChaos") + private HTTPChaosSpec httpChaos; + @JsonProperty("ioChaos") + private IOChaosSpec ioChaos; + @JsonProperty("jvmChaos") + private JVMChaosSpec jvmChaos; + @JsonProperty("kernelChaos") + private KernelChaosSpec kernelChaos; + @JsonProperty("networkChaos") + private NetworkChaosSpec networkChaos; + @JsonProperty("physicalmachineChaos") + private PhysicalMachineChaosSpec physicalmachineChaos; + @JsonProperty("podChaos") + private PodChaosSpec podChaos; + @JsonProperty("schedule") + private ScheduleSpec schedule; + @JsonProperty("startTime") + private String startTime; + @JsonProperty("statusCheck") + private StatusCheckSpec statusCheck; + @JsonProperty("stressChaos") + private StressChaosSpec stressChaos; + @JsonProperty("task") + private Task task; + @JsonProperty("templateName") + private String templateName; + @JsonProperty("timeChaos") + private TimeChaosSpec timeChaos; + @JsonProperty("type") + private String type; + @JsonProperty("workflowName") + private String workflowName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkflowNodeSpec() { + } + + public WorkflowNodeSpec(Boolean abortWithStatusCheck, AWSChaosSpec awsChaos, AzureChaosSpec azureChaos, BlockChaosSpec blockChaos, List children, List conditionalBranches, String deadline, DNSChaosSpec dnsChaos, GCPChaosSpec gcpChaos, HTTPChaosSpec httpChaos, IOChaosSpec ioChaos, JVMChaosSpec jvmChaos, KernelChaosSpec kernelChaos, NetworkChaosSpec networkChaos, PhysicalMachineChaosSpec physicalmachineChaos, PodChaosSpec podChaos, ScheduleSpec schedule, String startTime, StatusCheckSpec statusCheck, StressChaosSpec stressChaos, Task task, String templateName, TimeChaosSpec timeChaos, String type, String workflowName) { + super(); + this.abortWithStatusCheck = abortWithStatusCheck; + this.awsChaos = awsChaos; + this.azureChaos = azureChaos; + this.blockChaos = blockChaos; + this.children = children; + this.conditionalBranches = conditionalBranches; + this.deadline = deadline; + this.dnsChaos = dnsChaos; + this.gcpChaos = gcpChaos; + this.httpChaos = httpChaos; + this.ioChaos = ioChaos; + this.jvmChaos = jvmChaos; + this.kernelChaos = kernelChaos; + this.networkChaos = networkChaos; + this.physicalmachineChaos = physicalmachineChaos; + this.podChaos = podChaos; + this.schedule = schedule; + this.startTime = startTime; + this.statusCheck = statusCheck; + this.stressChaos = stressChaos; + this.task = task; + this.templateName = templateName; + this.timeChaos = timeChaos; + this.type = type; + this.workflowName = workflowName; + } + + @JsonProperty("abortWithStatusCheck") + public Boolean getAbortWithStatusCheck() { + return abortWithStatusCheck; + } + + @JsonProperty("abortWithStatusCheck") + public void setAbortWithStatusCheck(Boolean abortWithStatusCheck) { + this.abortWithStatusCheck = abortWithStatusCheck; + } + + @JsonProperty("awsChaos") + public AWSChaosSpec getAwsChaos() { + return awsChaos; + } + + @JsonProperty("awsChaos") + public void setAwsChaos(AWSChaosSpec awsChaos) { + this.awsChaos = awsChaos; + } + + @JsonProperty("azureChaos") + public AzureChaosSpec getAzureChaos() { + return azureChaos; + } + + @JsonProperty("azureChaos") + public void setAzureChaos(AzureChaosSpec azureChaos) { + this.azureChaos = azureChaos; + } + + @JsonProperty("blockChaos") + public BlockChaosSpec getBlockChaos() { + return blockChaos; + } + + @JsonProperty("blockChaos") + public void setBlockChaos(BlockChaosSpec blockChaos) { + this.blockChaos = blockChaos; + } + + @JsonProperty("children") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getChildren() { + return children; + } + + @JsonProperty("children") + public void setChildren(List children) { + this.children = children; + } + + @JsonProperty("conditionalBranches") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditionalBranches() { + return conditionalBranches; + } + + @JsonProperty("conditionalBranches") + public void setConditionalBranches(List conditionalBranches) { + this.conditionalBranches = conditionalBranches; + } + + @JsonProperty("deadline") + public String getDeadline() { + return deadline; + } + + @JsonProperty("deadline") + public void setDeadline(String deadline) { + this.deadline = deadline; + } + + @JsonProperty("dnsChaos") + public DNSChaosSpec getDnsChaos() { + return dnsChaos; + } + + @JsonProperty("dnsChaos") + public void setDnsChaos(DNSChaosSpec dnsChaos) { + this.dnsChaos = dnsChaos; + } + + @JsonProperty("gcpChaos") + public GCPChaosSpec getGcpChaos() { + return gcpChaos; + } + + @JsonProperty("gcpChaos") + public void setGcpChaos(GCPChaosSpec gcpChaos) { + this.gcpChaos = gcpChaos; + } + + @JsonProperty("httpChaos") + public HTTPChaosSpec getHttpChaos() { + return httpChaos; + } + + @JsonProperty("httpChaos") + public void setHttpChaos(HTTPChaosSpec httpChaos) { + this.httpChaos = httpChaos; + } + + @JsonProperty("ioChaos") + public IOChaosSpec getIoChaos() { + return ioChaos; + } + + @JsonProperty("ioChaos") + public void setIoChaos(IOChaosSpec ioChaos) { + this.ioChaos = ioChaos; + } + + @JsonProperty("jvmChaos") + public JVMChaosSpec getJvmChaos() { + return jvmChaos; + } + + @JsonProperty("jvmChaos") + public void setJvmChaos(JVMChaosSpec jvmChaos) { + this.jvmChaos = jvmChaos; + } + + @JsonProperty("kernelChaos") + public KernelChaosSpec getKernelChaos() { + return kernelChaos; + } + + @JsonProperty("kernelChaos") + public void setKernelChaos(KernelChaosSpec kernelChaos) { + this.kernelChaos = kernelChaos; + } + + @JsonProperty("networkChaos") + public NetworkChaosSpec getNetworkChaos() { + return networkChaos; + } + + @JsonProperty("networkChaos") + public void setNetworkChaos(NetworkChaosSpec networkChaos) { + this.networkChaos = networkChaos; + } + + @JsonProperty("physicalmachineChaos") + public PhysicalMachineChaosSpec getPhysicalmachineChaos() { + return physicalmachineChaos; + } + + @JsonProperty("physicalmachineChaos") + public void setPhysicalmachineChaos(PhysicalMachineChaosSpec physicalmachineChaos) { + this.physicalmachineChaos = physicalmachineChaos; + } + + @JsonProperty("podChaos") + public PodChaosSpec getPodChaos() { + return podChaos; + } + + @JsonProperty("podChaos") + public void setPodChaos(PodChaosSpec podChaos) { + this.podChaos = podChaos; + } + + @JsonProperty("schedule") + public ScheduleSpec getSchedule() { + return schedule; + } + + @JsonProperty("schedule") + public void setSchedule(ScheduleSpec schedule) { + this.schedule = schedule; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonProperty("statusCheck") + public StatusCheckSpec getStatusCheck() { + return statusCheck; + } + + @JsonProperty("statusCheck") + public void setStatusCheck(StatusCheckSpec statusCheck) { + this.statusCheck = statusCheck; + } + + @JsonProperty("stressChaos") + public StressChaosSpec getStressChaos() { + return stressChaos; + } + + @JsonProperty("stressChaos") + public void setStressChaos(StressChaosSpec stressChaos) { + this.stressChaos = stressChaos; + } + + @JsonProperty("task") + public Task getTask() { + return task; + } + + @JsonProperty("task") + public void setTask(Task task) { + this.task = task; + } + + @JsonProperty("templateName") + public String getTemplateName() { + return templateName; + } + + @JsonProperty("templateName") + public void setTemplateName(String templateName) { + this.templateName = templateName; + } + + @JsonProperty("timeChaos") + public TimeChaosSpec getTimeChaos() { + return timeChaos; + } + + @JsonProperty("timeChaos") + public void setTimeChaos(TimeChaosSpec timeChaos) { + this.timeChaos = timeChaos; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonProperty("workflowName") + public String getWorkflowName() { + return workflowName; + } + + @JsonProperty("workflowName") + public void setWorkflowName(String workflowName) { + this.workflowName = workflowName; + } + + @JsonIgnore + public WorkflowNodeSpecBuilder edit() { + return new WorkflowNodeSpecBuilder(this); + } + + @JsonIgnore + public WorkflowNodeSpecBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeStatus.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeStatus.java new file mode 100644 index 00000000000..9320b7ef6d3 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowNodeStatus.java @@ -0,0 +1,181 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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.TypedLocalObjectReference; +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({ + "activeChildren", + "chaosResource", + "conditionalBranchesStatus", + "conditions", + "finishedChildren" +}) +@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 WorkflowNodeStatus implements Editable , KubernetesResource +{ + + @JsonProperty("activeChildren") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List activeChildren = new ArrayList<>(); + @JsonProperty("chaosResource") + private TypedLocalObjectReference chaosResource; + @JsonProperty("conditionalBranchesStatus") + private ConditionalBranchesStatus conditionalBranchesStatus; + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List conditions = new ArrayList<>(); + @JsonProperty("finishedChildren") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List finishedChildren = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public WorkflowNodeStatus() { + } + + public WorkflowNodeStatus(List activeChildren, TypedLocalObjectReference chaosResource, ConditionalBranchesStatus conditionalBranchesStatus, List conditions, List finishedChildren) { + super(); + this.activeChildren = activeChildren; + this.chaosResource = chaosResource; + this.conditionalBranchesStatus = conditionalBranchesStatus; + this.conditions = conditions; + this.finishedChildren = finishedChildren; + } + + @JsonProperty("activeChildren") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getActiveChildren() { + return activeChildren; + } + + @JsonProperty("activeChildren") + public void setActiveChildren(List activeChildren) { + this.activeChildren = activeChildren; + } + + @JsonProperty("chaosResource") + public TypedLocalObjectReference getChaosResource() { + return chaosResource; + } + + @JsonProperty("chaosResource") + public void setChaosResource(TypedLocalObjectReference chaosResource) { + this.chaosResource = chaosResource; + } + + @JsonProperty("conditionalBranchesStatus") + public ConditionalBranchesStatus getConditionalBranchesStatus() { + return conditionalBranchesStatus; + } + + @JsonProperty("conditionalBranchesStatus") + public void setConditionalBranchesStatus(ConditionalBranchesStatus conditionalBranchesStatus) { + this.conditionalBranchesStatus = conditionalBranchesStatus; + } + + @JsonProperty("conditions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getConditions() { + return conditions; + } + + @JsonProperty("conditions") + public void setConditions(List conditions) { + this.conditions = conditions; + } + + @JsonProperty("finishedChildren") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getFinishedChildren() { + return finishedChildren; + } + + @JsonProperty("finishedChildren") + public void setFinishedChildren(List finishedChildren) { + this.finishedChildren = finishedChildren; + } + + @JsonIgnore + public WorkflowNodeStatusBuilder edit() { + return new WorkflowNodeStatusBuilder(this); + } + + @JsonIgnore + public WorkflowNodeStatusBuilder 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/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowSpec.java b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowSpec.java new file mode 100644 index 00000000000..6ba2093fd19 --- /dev/null +++ b/extensions/chaosmesh/model/src/generated/java/io/fabric8/chaosmesh/v1alpha1/WorkflowSpec.java @@ -0,0 +1,134 @@ + +package io.fabric8.chaosmesh.v1alpha1; + +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({ + "entry", + "templates" +}) +@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 WorkflowSpec implements Editable , KubernetesResource +{ + + @JsonProperty("entry") + private String entry; + @JsonProperty("templates") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List