kubevirt 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.openapi-config.json +9 -0
- data/.openapi-generator/FILES +1120 -0
- data/.openapi-generator/VERSION +1 -0
- data/.openapi-generator-ignore +28 -0
- data/.rspec +2 -0
- data/.rubocop.yml +148 -0
- data/.whitesource +3 -0
- data/CHANGELOG.md +11 -1
- data/README.md +75 -46
- data/docs/DefaultApi.md +824 -130
- data/docs/K8sIoApiCoreV1PodAffinityTerm.md +2 -2
- data/docs/K8sIoApiCoreV1PodDNSConfigOption.md +2 -2
- data/docs/K8sIoApiCoreV1PodResourceClaim.md +22 -0
- data/docs/K8sIoApiCoreV1ResourceFieldSelector.md +1 -1
- data/docs/K8sIoApiCoreV1TopologySpreadConstraint.md +2 -2
- data/docs/K8sIoApiCoreV1VolumeResourceRequirements.md +2 -2
- data/docs/K8sIoApimachineryPkgApisMetaV1DeleteOptions.md +2 -0
- data/docs/V1ACPI.md +2 -0
- data/docs/V1ArchConfiguration.md +3 -1
- data/docs/V1ChangedBlockTrackingSelectors.md +20 -0
- data/docs/V1ChangedBlockTrackingStatus.md +18 -0
- data/docs/V1ControllerRevisionRef.md +18 -0
- data/docs/V1CustomBlockSize.md +4 -2
- data/docs/V1DeveloperConfiguration.md +2 -0
- data/docs/V1DeviceAttribute.md +20 -0
- data/docs/V1DeviceResourceClaimStatus.md +22 -0
- data/docs/V1DeviceStatus.md +20 -0
- data/docs/V1DeviceStatusInfo.md +20 -0
- data/docs/V1Devices.md +4 -0
- data/docs/V1Diag288Watchdog.md +18 -0
- data/docs/V1Disk.md +3 -1
- data/docs/V1DiskIOThreads.md +18 -0
- data/docs/V1DiskVerification.md +1 -1
- data/docs/V1DomainSpec.md +3 -1
- data/docs/V1EmptyDiskSource.md +1 -1
- data/docs/V1EvacuateCancelOptions.md +24 -0
- data/docs/V1GPU.md +5 -1
- data/docs/V1HostDevice.md +5 -1
- data/docs/V1HostDisk.md +1 -1
- data/docs/V1InstancetypeStatusRef.md +26 -0
- data/docs/V1Interface.md +1 -1
- data/docs/V1KubeVirtConfiguration.md +5 -3
- data/docs/V1KubeVirtSpec.md +2 -0
- data/docs/V1KubeVirtStatus.md +2 -0
- data/docs/V1LaunchSecurity.md +5 -1
- data/docs/V1LiveUpdateConfiguration.md +1 -1
- data/docs/V1LogVerbosity.md +3 -1
- data/docs/V1Memory.md +2 -2
- data/docs/V1MemoryStatus.md +3 -3
- data/docs/V1MigrateOptions.md +2 -0
- data/docs/V1MigrationConfiguration.md +1 -1
- data/docs/V1ObjectGraphNode.md +28 -0
- data/docs/V1ObjectGraphOptions.md +20 -0
- data/docs/V1PanicDevice.md +18 -0
- data/docs/V1PersistentVolumeClaimInfo.md +2 -2
- data/docs/V1ResourceRequirements.md +2 -2
- data/docs/V1ResourceRequirementsWithoutClaims.md +2 -2
- data/docs/V1TPMDevice.md +2 -0
- data/docs/V1VideoDevice.md +18 -0
- data/docs/V1VirtualMachineInstanceGuestAgentInfo.md +1 -1
- data/docs/V1VirtualMachineInstanceGuestOSUser.md +1 -1
- data/docs/V1VirtualMachineInstanceMigrationSource.md +20 -0
- data/docs/V1VirtualMachineInstanceMigrationSourceState.md +36 -0
- data/docs/V1VirtualMachineInstanceMigrationSpec.md +8 -0
- data/docs/V1VirtualMachineInstanceMigrationState.md +7 -1
- data/docs/V1VirtualMachineInstanceMigrationStatus.md +3 -1
- data/docs/V1VirtualMachineInstanceMigrationTarget.md +18 -0
- data/docs/V1VirtualMachineInstanceMigrationTargetState.md +48 -0
- data/docs/V1VirtualMachineInstanceNetworkInterface.md +2 -0
- data/docs/V1VirtualMachineInstanceSpec.md +3 -1
- data/docs/V1VirtualMachineInstanceStatus.md +5 -1
- data/docs/V1VirtualMachineStatus.md +6 -0
- data/docs/V1Watchdog.md +2 -0
- data/docs/V1alpha1MigrationPolicySpec.md +1 -1
- data/docs/V1beta1DataVolumeSourceRegistry.md +2 -0
- data/docs/V1beta1DataVolumeSourceVDDK.md +2 -0
- data/docs/V1beta1DevicePreferences.md +2 -0
- data/docs/V1beta1MemoryInstancetype.md +2 -2
- data/docs/V1beta1MemoryPreferenceRequirement.md +1 -1
- data/docs/V1beta1PlatformOptions.md +18 -0
- data/docs/V1beta1PreferenceRequirements.md +2 -0
- data/docs/V1beta1SourceIndication.md +20 -0
- data/docs/{V1alpha1VirtualMachinePool.md → V1beta1VirtualMachineClone.md} +4 -4
- data/docs/{V1alpha1VirtualMachinePoolList.md → V1beta1VirtualMachineCloneList.md} +3 -3
- data/docs/{V1alpha1VirtualMachineCloneSpec.md → V1beta1VirtualMachineCloneSpec.md} +5 -3
- data/docs/{V1alpha1VirtualMachineCloneStatus.md → V1beta1VirtualMachineCloneStatus.md} +3 -3
- data/docs/{V1alpha1VirtualMachineCloneTemplateFilters.md → V1beta1VirtualMachineCloneTemplateFilters.md} +2 -2
- data/docs/V1beta1VirtualMachineInstancetypeSpec.md +2 -0
- data/docs/{V1alpha1VirtualMachineClone.md → V1beta1VirtualMachinePool.md} +4 -4
- data/docs/V1beta1VirtualMachinePoolAutohealingStrategy.md +20 -0
- data/docs/{V1alpha1Condition.md → V1beta1VirtualMachinePoolCondition.md} +2 -2
- data/docs/{V1alpha1VirtualMachineCloneList.md → V1beta1VirtualMachinePoolList.md} +3 -3
- data/docs/V1beta1VirtualMachinePoolNameGeneration.md +20 -0
- data/docs/V1beta1VirtualMachinePoolOpportunisticScaleInStrategy.md +18 -0
- data/docs/V1beta1VirtualMachinePoolProactiveScaleInStrategy.md +20 -0
- data/docs/V1beta1VirtualMachinePoolProactiveUpdateStrategy.md +18 -0
- data/docs/V1beta1VirtualMachinePoolScaleInStrategy.md +22 -0
- data/docs/V1beta1VirtualMachinePoolSelectionPolicy.md +20 -0
- data/docs/V1beta1VirtualMachinePoolSelectors.md +20 -0
- data/docs/V1beta1VirtualMachinePoolSpec.md +34 -0
- data/docs/{V1alpha1VirtualMachinePoolStatus.md → V1beta1VirtualMachinePoolStatus.md} +3 -3
- data/docs/V1beta1VirtualMachinePoolUpdateStrategy.md +22 -0
- data/docs/V1beta1VirtualMachinePreferenceSpec.md +2 -0
- data/docs/V1beta1VirtualMachineRestoreSpec.md +7 -1
- data/docs/V1beta1VirtualMachineSnapshotStatus.md +3 -1
- data/docs/{V1alpha1VirtualMachineTemplateSpec.md → V1beta1VirtualMachineTemplateSpec.md} +2 -2
- data/docs/V1beta1VolumeRestoreOverride.md +24 -0
- data/lib/kubevirt/api/default_api.rb +842 -98
- data/lib/kubevirt/api_client.rb +8 -9
- data/lib/kubevirt/api_error.rb +1 -1
- data/lib/kubevirt/api_model_base.rb +88 -0
- data/lib/kubevirt/configuration.rb +1 -1
- data/lib/kubevirt/models/k8s_io_api_core_v1_affinity.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_downward_api_volume_file.rb +21 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_exec_action.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_http_get_action.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_http_header.rb +31 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_local_object_reference.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_node_affinity.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_node_selector.rb +21 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_node_selector_requirement.rb +21 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_node_selector_term.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_object_field_selector.rb +21 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_persistent_volume_claim_spec.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_persistent_volume_claim_volume_source.rb +21 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_affinity.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_affinity_term.rb +23 -80
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_anti_affinity.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_dns_config.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_dns_config_option.rb +13 -79
- data/lib/kubevirt/models/k8s_io_api_core_v1_pod_resource_claim.rb +186 -0
- data/lib/kubevirt/models/k8s_io_api_core_v1_preferred_scheduling_term.rb +31 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_resource_field_selector.rb +22 -79
- data/lib/kubevirt/models/k8s_io_api_core_v1_tcp_socket_action.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_toleration.rb +11 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_topology_spread_constraint.rb +33 -80
- data/lib/kubevirt/models/k8s_io_api_core_v1_typed_local_object_reference.rb +31 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_typed_object_reference.rb +32 -78
- data/lib/kubevirt/models/k8s_io_api_core_v1_volume_resource_requirements.rb +13 -80
- data/lib/kubevirt/models/k8s_io_api_core_v1_weighted_pod_affinity_term.rb +31 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_group.rb +31 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_group_list.rb +21 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_resource.rb +61 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_resource_list.rb +31 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_delete_options.rb +22 -79
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_group_version_for_discovery.rb +31 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_label_selector.rb +11 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_label_selector_requirement.rb +31 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_list_meta.rb +11 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_managed_fields_entry.rb +11 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_object_meta.rb +11 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_owner_reference.rb +51 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_preconditions.rb +11 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_root_paths.rb +21 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_server_address_by_client_cidr.rb +31 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_status.rb +11 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_cause.rb +11 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_details.rb +11 -78
- data/lib/kubevirt/models/k8s_io_apimachinery_pkg_apis_meta_v1_watch_event.rb +31 -78
- data/lib/kubevirt/models/v1_access_credential.rb +11 -78
- data/lib/kubevirt/models/v1_access_credential_secret_source.rb +21 -78
- data/lib/kubevirt/models/v1_acpi.rb +22 -79
- data/lib/kubevirt/models/v1_add_volume_options.rb +41 -78
- data/lib/kubevirt/models/v1_arch_configuration.rb +24 -82
- data/lib/kubevirt/models/v1_arch_specific_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_bios.rb +11 -78
- data/lib/kubevirt/models/v1_block_size.rb +11 -78
- data/lib/kubevirt/models/v1_bootloader.rb +11 -78
- data/lib/kubevirt/models/v1_cd_rom_target.rb +11 -78
- data/lib/kubevirt/models/v1_cert_config.rb +11 -78
- data/lib/kubevirt/models/v1_changed_block_tracking_selectors.rb +156 -0
- data/lib/kubevirt/models/v1_changed_block_tracking_status.rb +166 -0
- data/lib/kubevirt/models/v1_chassis.rb +11 -78
- data/lib/kubevirt/models/v1_clock.rb +11 -78
- data/lib/kubevirt/models/v1_clock_offset.rb +11 -78
- data/lib/kubevirt/models/v1_clock_offset_utc.rb +11 -78
- data/lib/kubevirt/models/v1_cloud_init_config_drive_source.rb +11 -78
- data/lib/kubevirt/models/v1_cloud_init_no_cloud_source.rb +11 -78
- data/lib/kubevirt/models/v1_common_instancetypes_deployment.rb +11 -78
- data/lib/kubevirt/models/v1_component_config.rb +11 -78
- data/lib/kubevirt/models/v1_config_map_volume_source.rb +11 -78
- data/lib/kubevirt/models/v1_container_disk_info.rb +11 -78
- data/lib/kubevirt/models/v1_container_disk_source.rb +21 -78
- data/lib/kubevirt/models/v1_controller_revision_ref.rb +148 -0
- data/lib/kubevirt/models/v1_cpu.rb +11 -78
- data/lib/kubevirt/models/v1_cpu_feature.rb +21 -78
- data/lib/kubevirt/models/v1_cpu_topology.rb +11 -78
- data/lib/kubevirt/models/v1_custom_block_size.rb +21 -93
- data/lib/kubevirt/models/v1_custom_profile.rb +11 -78
- data/lib/kubevirt/models/v1_customize_components.rb +11 -78
- data/lib/kubevirt/models/v1_customize_components_patch.rb +51 -78
- data/lib/kubevirt/models/v1_data_volume_source.rb +21 -78
- data/lib/kubevirt/models/v1_data_volume_template_spec.rb +21 -78
- data/lib/kubevirt/models/v1_developer_configuration.rb +22 -79
- data/lib/kubevirt/models/v1_device_attribute.rb +159 -0
- data/lib/kubevirt/models/v1_device_resource_claim_status.rb +168 -0
- data/lib/kubevirt/models/v1_device_status.rb +163 -0
- data/lib/kubevirt/models/v1_device_status_info.rb +174 -0
- data/lib/kubevirt/models/v1_devices.rb +33 -79
- data/lib/kubevirt/models/v1_dhcp_options.rb +11 -78
- data/lib/kubevirt/models/v1_dhcp_private_options.rb +31 -78
- data/lib/kubevirt/models/v1_diag288_watchdog.rb +149 -0
- data/lib/kubevirt/models/v1_disk.rb +33 -80
- data/lib/kubevirt/models/v1_disk_io_threads.rb +148 -0
- data/lib/kubevirt/models/v1_disk_target.rb +11 -78
- data/lib/kubevirt/models/v1_disk_verification.rb +22 -79
- data/lib/kubevirt/models/v1_domain_memory_dump_info.rb +11 -78
- data/lib/kubevirt/models/v1_domain_spec.rb +32 -80
- data/lib/kubevirt/models/v1_downward_api_volume_source.rb +11 -78
- data/lib/kubevirt/models/v1_efi.rb +11 -78
- data/lib/kubevirt/models/v1_empty_disk_source.rb +22 -79
- data/lib/kubevirt/models/v1_ephemeral_volume_source.rb +11 -78
- data/lib/kubevirt/models/v1_evacuate_cancel_options.rb +197 -0
- data/lib/kubevirt/models/v1_feature_apic.rb +11 -78
- data/lib/kubevirt/models/v1_feature_hyperv.rb +11 -78
- data/lib/kubevirt/models/v1_feature_kvm.rb +11 -78
- data/lib/kubevirt/models/v1_feature_spinlocks.rb +11 -78
- data/lib/kubevirt/models/v1_feature_state.rb +11 -78
- data/lib/kubevirt/models/v1_feature_vendor_id.rb +11 -78
- data/lib/kubevirt/models/v1_features.rb +11 -78
- data/lib/kubevirt/models/v1_filesystem.rb +31 -78
- data/lib/kubevirt/models/v1_firmware.rb +11 -78
- data/lib/kubevirt/models/v1_flags.rb +11 -78
- data/lib/kubevirt/models/v1_freeze_unfreeze_timeout.rb +21 -78
- data/lib/kubevirt/models/v1_generation_status.rb +51 -78
- data/lib/kubevirt/models/v1_gpu.rb +43 -86
- data/lib/kubevirt/models/v1_guest_agent_command_info.rb +21 -78
- data/lib/kubevirt/models/v1_host_device.rb +43 -87
- data/lib/kubevirt/models/v1_host_disk.rb +32 -79
- data/lib/kubevirt/models/v1_hotplug_volume_source.rb +11 -78
- data/lib/kubevirt/models/v1_hotplug_volume_status.rb +11 -78
- data/lib/kubevirt/models/v1_hpet_timer.rb +11 -78
- data/lib/kubevirt/models/v1_hugepages.rb +11 -78
- data/lib/kubevirt/models/v1_hyper_v_passthrough.rb +11 -78
- data/lib/kubevirt/models/v1_hyperv_timer.rb +11 -78
- data/lib/kubevirt/models/v1_i6300_esb_watchdog.rb +11 -78
- data/lib/kubevirt/models/v1_initrd_info.rb +11 -78
- data/lib/kubevirt/models/v1_input.rb +31 -78
- data/lib/kubevirt/models/v1_instancetype_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_instancetype_matcher.rb +11 -78
- data/lib/kubevirt/models/v1_instancetype_status_ref.rb +187 -0
- data/lib/kubevirt/models/v1_interface.rb +22 -79
- data/lib/kubevirt/models/v1_interface_binding_migration.rb +11 -78
- data/lib/kubevirt/models/v1_interface_binding_plugin.rb +11 -78
- data/lib/kubevirt/models/v1_kernel_boot.rb +11 -78
- data/lib/kubevirt/models/v1_kernel_boot_container.rb +21 -78
- data/lib/kubevirt/models/v1_kernel_boot_status.rb +11 -78
- data/lib/kubevirt/models/v1_kernel_info.rb +11 -78
- data/lib/kubevirt/models/v1_ksm_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_kube_virt.rb +21 -78
- data/lib/kubevirt/models/v1_kube_virt_certificate_rotate_strategy.rb +11 -78
- data/lib/kubevirt/models/v1_kube_virt_condition.rb +31 -78
- data/lib/kubevirt/models/v1_kube_virt_configuration.rb +24 -81
- data/lib/kubevirt/models/v1_kube_virt_list.rb +21 -78
- data/lib/kubevirt/models/v1_kube_virt_self_sign_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_kube_virt_spec.rb +22 -79
- data/lib/kubevirt/models/v1_kube_virt_status.rb +23 -79
- data/lib/kubevirt/models/v1_kube_virt_workload_update_strategy.rb +11 -78
- data/lib/kubevirt/models/v1_kvm_timer.rb +11 -78
- data/lib/kubevirt/models/v1_launch_security.rb +33 -82
- data/lib/kubevirt/models/v1_live_update_configuration.rb +12 -79
- data/lib/kubevirt/models/v1_log_verbosity.rb +24 -82
- data/lib/kubevirt/models/v1_lun_target.rb +11 -78
- data/lib/kubevirt/models/v1_machine.rb +11 -78
- data/lib/kubevirt/models/v1_mediated_devices_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_mediated_host_device.rb +31 -78
- data/lib/kubevirt/models/v1_memory.rb +13 -80
- data/lib/kubevirt/models/v1_memory_dump_volume_source.rb +21 -78
- data/lib/kubevirt/models/v1_memory_status.rb +14 -81
- data/lib/kubevirt/models/v1_migrate_options.rb +24 -79
- data/lib/kubevirt/models/v1_migration_configuration.rb +12 -79
- data/lib/kubevirt/models/v1_multus_network.rb +21 -78
- data/lib/kubevirt/models/v1_network.rb +21 -78
- data/lib/kubevirt/models/v1_network_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_node_mediated_device_types_config.rb +21 -78
- data/lib/kubevirt/models/v1_node_placement.rb +11 -78
- data/lib/kubevirt/models/v1_numa.rb +11 -78
- data/lib/kubevirt/models/v1_object_graph_node.rb +216 -0
- data/lib/kubevirt/models/v1_object_graph_options.rb +158 -0
- data/lib/kubevirt/models/v1_panic_device.rb +148 -0
- data/lib/kubevirt/models/v1_pause_options.rb +11 -78
- data/lib/kubevirt/models/v1_pci_host_device.rb +31 -78
- data/lib/kubevirt/models/v1_permitted_host_devices.rb +11 -78
- data/lib/kubevirt/models/v1_persistent_volume_claim_info.rb +13 -80
- data/lib/kubevirt/models/v1_persistent_volume_claim_volume_source.rb +21 -78
- data/lib/kubevirt/models/v1_pit_timer.rb +11 -78
- data/lib/kubevirt/models/v1_plugin_binding.rb +21 -78
- data/lib/kubevirt/models/v1_pod_network.rb +11 -78
- data/lib/kubevirt/models/v1_port.rb +21 -78
- data/lib/kubevirt/models/v1_preference_matcher.rb +11 -78
- data/lib/kubevirt/models/v1_probe.rb +11 -78
- data/lib/kubevirt/models/v1_qemu_guest_agent_ssh_public_key_access_credential_propagation.rb +21 -78
- data/lib/kubevirt/models/v1_rate_limiter.rb +11 -78
- data/lib/kubevirt/models/v1_realtime.rb +11 -78
- data/lib/kubevirt/models/v1_reloadable_component_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_remove_volume_options.rb +21 -78
- data/lib/kubevirt/models/v1_resource_requirements.rb +19 -82
- data/lib/kubevirt/models/v1_resource_requirements_without_claims.rb +13 -80
- data/lib/kubevirt/models/v1_rest_client_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_restart_options.rb +11 -78
- data/lib/kubevirt/models/v1_rtc_timer.rb +11 -78
- data/lib/kubevirt/models/v1_seccomp_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_secret_volume_source.rb +11 -78
- data/lib/kubevirt/models/v1_service_account_volume_source.rb +11 -78
- data/lib/kubevirt/models/v1_sev.rb +11 -78
- data/lib/kubevirt/models/v1_sev_measurement_info.rb +11 -78
- data/lib/kubevirt/models/v1_sev_platform_info.rb +11 -78
- data/lib/kubevirt/models/v1_sev_policy.rb +11 -78
- data/lib/kubevirt/models/v1_sev_secret_options.rb +11 -78
- data/lib/kubevirt/models/v1_sev_session_options.rb +11 -78
- data/lib/kubevirt/models/v1_sm_bios_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_sound_device.rb +21 -78
- data/lib/kubevirt/models/v1_ssh_public_key_access_credential.rb +31 -78
- data/lib/kubevirt/models/v1_ssh_public_key_access_credential_propagation_method.rb +11 -78
- data/lib/kubevirt/models/v1_ssh_public_key_access_credential_source.rb +11 -78
- data/lib/kubevirt/models/v1_start_options.rb +11 -78
- data/lib/kubevirt/models/v1_stop_options.rb +11 -78
- data/lib/kubevirt/models/v1_storage_migrated_volume_info.rb +21 -78
- data/lib/kubevirt/models/v1_support_container_resources.rb +31 -78
- data/lib/kubevirt/models/v1_sy_nic_timer.rb +11 -78
- data/lib/kubevirt/models/v1_sysprep_source.rb +11 -78
- data/lib/kubevirt/models/v1_timer.rb +11 -78
- data/lib/kubevirt/models/v1_tls_configuration.rb +11 -78
- data/lib/kubevirt/models/v1_token_bucket_rate_limiter.rb +31 -78
- data/lib/kubevirt/models/v1_topology_hints.rb +11 -78
- data/lib/kubevirt/models/v1_tpm_device.rb +22 -79
- data/lib/kubevirt/models/v1_unpause_options.rb +11 -78
- data/lib/kubevirt/models/v1_usb_host_device.rb +21 -78
- data/lib/kubevirt/models/v1_usb_selector.rb +31 -78
- data/lib/kubevirt/models/v1_user_password_access_credential.rb +31 -78
- data/lib/kubevirt/models/v1_user_password_access_credential_propagation_method.rb +11 -78
- data/lib/kubevirt/models/v1_user_password_access_credential_source.rb +11 -78
- data/lib/kubevirt/models/v1_vgpu_display_options.rb +11 -78
- data/lib/kubevirt/models/v1_vgpu_options.rb +11 -78
- data/lib/kubevirt/models/v1_video_device.rb +148 -0
- data/lib/kubevirt/models/v1_virtual_machine.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_condition.rb +31 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_condition.rb +31 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_file_system.rb +61 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_file_system_disk.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_file_system_info.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_file_system_list.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_guest_agent_info.rb +12 -79
- data/lib/kubevirt/models/v1_virtual_machine_instance_guest_os_info.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_guest_os_user.rb +22 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_guest_os_user_list.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_list.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_condition.rb +31 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_list.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_phase_transition_timestamp.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_source.rb +192 -0
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_source_state.rb +240 -0
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_spec.rb +52 -79
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_state.rb +43 -82
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_status.rb +27 -82
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_target.rb +165 -0
- data/lib/kubevirt/models/v1_virtual_machine_instance_migration_target_state.rb +302 -0
- data/lib/kubevirt/models/v1_virtual_machine_instance_network_interface.rb +22 -79
- data/lib/kubevirt/models/v1_virtual_machine_instance_phase_transition_timestamp.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_preset.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_preset_list.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_preset_spec.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_profile.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set_condition.rb +31 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set_list.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set_spec.rb +31 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_replica_set_status.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_instance_spec.rb +35 -80
- data/lib/kubevirt/models/v1_virtual_machine_instance_status.rb +31 -80
- data/lib/kubevirt/models/v1_virtual_machine_instance_template_spec.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_list.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_memory_dump_request.rb +31 -78
- data/lib/kubevirt/models/v1_virtual_machine_options.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_spec.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_start_failure.rb +11 -78
- data/lib/kubevirt/models/v1_virtual_machine_state_change_request.rb +21 -78
- data/lib/kubevirt/models/v1_virtual_machine_status.rb +39 -79
- data/lib/kubevirt/models/v1_virtual_machine_volume_request.rb +11 -78
- data/lib/kubevirt/models/v1_volume.rb +21 -78
- data/lib/kubevirt/models/v1_volume_migration_state.rb +11 -78
- data/lib/kubevirt/models/v1_volume_snapshot_status.rb +31 -78
- data/lib/kubevirt/models/v1_volume_status.rb +31 -78
- data/lib/kubevirt/models/v1_volume_update_state.rb +11 -78
- data/lib/kubevirt/models/v1_watchdog.rb +31 -79
- data/lib/kubevirt/models/v1alpha1_migration_policy.rb +21 -78
- data/lib/kubevirt/models/v1alpha1_migration_policy_list.rb +21 -78
- data/lib/kubevirt/models/v1alpha1_migration_policy_spec.rb +22 -79
- data/lib/kubevirt/models/v1alpha1_selectors.rb +11 -78
- data/lib/kubevirt/models/v1beta1_clock_preferences.rb +11 -78
- data/lib/kubevirt/models/v1beta1_condition.rb +31 -78
- data/lib/kubevirt/models/v1beta1_cpu_instancetype.rb +21 -78
- data/lib/kubevirt/models/v1beta1_cpu_preference_requirement.rb +21 -78
- data/lib/kubevirt/models/v1beta1_cpu_preferences.rb +11 -78
- data/lib/kubevirt/models/v1beta1_data_volume_checkpoint.rb +31 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source.rb +11 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source_gcs.rb +21 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source_http.rb +21 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source_image_io.rb +31 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source_pvc.rb +31 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source_ref.rb +31 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source_registry.rb +21 -79
- data/lib/kubevirt/models/v1beta1_data_volume_source_s3.rb +21 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source_snapshot.rb +31 -78
- data/lib/kubevirt/models/v1beta1_data_volume_source_vddk.rb +22 -79
- data/lib/kubevirt/models/v1beta1_data_volume_spec.rb +11 -78
- data/lib/kubevirt/models/v1beta1_device_preferences.rb +22 -79
- data/lib/kubevirt/models/v1beta1_error.rb +11 -78
- data/lib/kubevirt/models/v1beta1_feature_preferences.rb +11 -78
- data/lib/kubevirt/models/v1beta1_firmware_preferences.rb +11 -78
- data/lib/kubevirt/models/v1beta1_machine_preferences.rb +11 -78
- data/lib/kubevirt/models/v1beta1_memory_instancetype.rb +23 -80
- data/lib/kubevirt/models/v1beta1_memory_preference_requirement.rb +22 -79
- data/lib/kubevirt/models/v1beta1_persistent_volume_claim.rb +11 -78
- data/lib/kubevirt/models/v1beta1_platform_options.rb +148 -0
- data/lib/kubevirt/models/v1beta1_preference_requirements.rb +22 -79
- data/lib/kubevirt/models/v1beta1_snapshot_volumes_lists.rb +11 -78
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_pool_condition.rb → v1beta1_source_indication.rb} +56 -118
- data/lib/kubevirt/models/v1beta1_source_spec.rb +11 -78
- data/lib/kubevirt/models/v1beta1_spread_options.rb +11 -78
- data/lib/kubevirt/models/v1beta1_storage_spec.rb +11 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine.rb +11 -78
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_clone.rb → v1beta1_virtual_machine_clone.rb} +24 -81
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_clone_list.rb → v1beta1_virtual_machine_clone_list.rb} +23 -80
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_clone_spec.rb → v1beta1_virtual_machine_clone_spec.rb} +36 -81
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_clone_status.rb → v1beta1_virtual_machine_clone_status.rb} +13 -80
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_clone_template_filters.rb → v1beta1_virtual_machine_clone_template_filters.rb} +12 -79
- data/lib/kubevirt/models/v1beta1_virtual_machine_cluster_instancetype.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_cluster_instancetype_list.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_cluster_preference.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_cluster_preference_list.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export_link.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export_links.rb +11 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export_list.rb +31 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export_manifest.rb +31 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export_spec.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export_status.rb +11 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export_volume.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_export_volume_format.rb +31 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_instancetype.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_instancetype_list.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_instancetype_spec.rb +41 -79
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_pool.rb → v1beta1_virtual_machine_pool.rb} +24 -81
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_autohealing_strategy.rb +158 -0
- data/lib/kubevirt/models/{v1alpha1_condition.rb → v1beta1_virtual_machine_pool_condition.rb} +32 -80
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_pool_list.rb → v1beta1_virtual_machine_pool_list.rb} +23 -80
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_name_generation.rb +156 -0
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_opportunistic_scale_in_strategy.rb +149 -0
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_proactive_scale_in_strategy.rb +158 -0
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_proactive_update_strategy.rb +148 -0
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_scale_in_strategy.rb +166 -0
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_selection_policy.rb +158 -0
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_selectors.rb +160 -0
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_pool_spec.rb → v1beta1_virtual_machine_pool_spec.rb} +80 -81
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_pool_status.rb → v1beta1_virtual_machine_pool_status.rb} +13 -80
- data/lib/kubevirt/models/v1beta1_virtual_machine_pool_update_strategy.rb +166 -0
- data/lib/kubevirt/models/v1beta1_virtual_machine_preference.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_preference_list.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_preference_spec.rb +22 -79
- data/lib/kubevirt/models/v1beta1_virtual_machine_restore.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_restore_list.rb +31 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_restore_spec.rb +66 -83
- data/lib/kubevirt/models/v1beta1_virtual_machine_restore_status.rb +12 -79
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_content.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_content_list.rb +31 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_content_spec.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_content_status.rb +11 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_list.rb +31 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_spec.rb +21 -78
- data/lib/kubevirt/models/v1beta1_virtual_machine_snapshot_status.rb +24 -79
- data/lib/kubevirt/models/{v1alpha1_virtual_machine_template_spec.rb → v1beta1_virtual_machine_template_spec.rb} +12 -79
- data/lib/kubevirt/models/v1beta1_volume_backup.rb +31 -78
- data/lib/kubevirt/models/v1beta1_volume_preferences.rb +11 -78
- data/lib/kubevirt/models/v1beta1_volume_restore.rb +42 -79
- data/lib/kubevirt/models/v1beta1_volume_restore_override.rb +179 -0
- data/lib/kubevirt/models/v1beta1_volume_snapshot_status.rb +21 -78
- data/lib/kubevirt/version.rb +2 -2
- data/lib/kubevirt.rb +371 -339
- metadata +98 -709
- data/Gemfile +0 -9
- data/bin/console +0 -15
- data/docs/V1alpha1VirtualMachinePoolCondition.md +0 -24
- data/docs/V1alpha1VirtualMachinePoolSpec.md +0 -24
- data/kubevirt.gemspec +0 -39
- data/spec/api/default_api_spec.rb +0 -3768
- data/spec/models/k8s_io_api_core_v1_affinity_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_downward_api_volume_file_spec.rb +0 -54
- data/spec/models/k8s_io_api_core_v1_exec_action_spec.rb +0 -36
- data/spec/models/k8s_io_api_core_v1_http_get_action_spec.rb +0 -58
- data/spec/models/k8s_io_api_core_v1_http_header_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_local_object_reference_spec.rb +0 -36
- data/spec/models/k8s_io_api_core_v1_node_affinity_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_node_selector_requirement_spec.rb +0 -52
- data/spec/models/k8s_io_api_core_v1_node_selector_spec.rb +0 -36
- data/spec/models/k8s_io_api_core_v1_node_selector_term_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_object_field_selector_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_persistent_volume_claim_spec_spec.rb +0 -92
- data/spec/models/k8s_io_api_core_v1_persistent_volume_claim_volume_source_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_pod_affinity_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_pod_affinity_term_spec.rb +0 -66
- data/spec/models/k8s_io_api_core_v1_pod_anti_affinity_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_pod_dns_config_option_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_pod_dns_config_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_preferred_scheduling_term_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_resource_field_selector_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_tcp_socket_action_spec.rb +0 -36
- data/spec/models/k8s_io_api_core_v1_toleration_spec.rb +0 -68
- data/spec/models/k8s_io_api_core_v1_topology_spread_constraint_spec.rb +0 -90
- data/spec/models/k8s_io_api_core_v1_typed_local_object_reference_spec.rb +0 -48
- data/spec/models/k8s_io_api_core_v1_typed_object_reference_spec.rb +0 -54
- data/spec/models/k8s_io_api_core_v1_volume_resource_requirements_spec.rb +0 -42
- data/spec/models/k8s_io_api_core_v1_weighted_pod_affinity_term_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_group_list_spec.rb +0 -48
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_group_spec.rb +0 -66
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_resource_list_spec.rb +0 -54
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_api_resource_spec.rb +0 -90
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_delete_options_spec.rb +0 -72
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_group_version_for_discovery_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_label_selector_requirement_spec.rb +0 -48
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_label_selector_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_list_meta_spec.rb +0 -54
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_managed_fields_entry_spec.rb +0 -72
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_object_meta_spec.rb +0 -114
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_owner_reference_spec.rb +0 -66
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_preconditions_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_root_paths_spec.rb +0 -36
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_server_address_by_client_cidr_spec.rb +0 -42
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_cause_spec.rb +0 -48
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_details_spec.rb +0 -66
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_status_spec.rb +0 -78
- data/spec/models/k8s_io_apimachinery_pkg_apis_meta_v1_watch_event_spec.rb +0 -42
- data/spec/models/v1_access_credential_secret_source_spec.rb +0 -36
- data/spec/models/v1_access_credential_spec.rb +0 -42
- data/spec/models/v1_acpi_spec.rb +0 -36
- data/spec/models/v1_add_volume_options_spec.rb +0 -54
- data/spec/models/v1_arch_configuration_spec.rb +0 -54
- data/spec/models/v1_arch_specific_configuration_spec.rb +0 -48
- data/spec/models/v1_bios_spec.rb +0 -36
- data/spec/models/v1_block_size_spec.rb +0 -42
- data/spec/models/v1_bootloader_spec.rb +0 -42
- data/spec/models/v1_cd_rom_target_spec.rb +0 -48
- data/spec/models/v1_cert_config_spec.rb +0 -42
- data/spec/models/v1_chassis_spec.rb +0 -60
- data/spec/models/v1_clock_offset_spec.rb +0 -42
- data/spec/models/v1_clock_offset_utc_spec.rb +0 -36
- data/spec/models/v1_clock_spec.rb +0 -48
- data/spec/models/v1_cloud_init_config_drive_source_spec.rb +0 -66
- data/spec/models/v1_cloud_init_no_cloud_source_spec.rb +0 -66
- data/spec/models/v1_common_instancetypes_deployment_spec.rb +0 -36
- data/spec/models/v1_component_config_spec.rb +0 -42
- data/spec/models/v1_config_map_volume_source_spec.rb +0 -48
- data/spec/models/v1_container_disk_info_spec.rb +0 -36
- data/spec/models/v1_container_disk_source_spec.rb +0 -58
- data/spec/models/v1_cpu_feature_spec.rb +0 -42
- data/spec/models/v1_cpu_spec.rb +0 -90
- data/spec/models/v1_cpu_topology_spec.rb +0 -48
- data/spec/models/v1_custom_block_size_spec.rb +0 -42
- data/spec/models/v1_custom_profile_spec.rb +0 -42
- data/spec/models/v1_customize_components_patch_spec.rb +0 -54
- data/spec/models/v1_customize_components_spec.rb +0 -42
- data/spec/models/v1_data_volume_source_spec.rb +0 -42
- data/spec/models/v1_data_volume_template_spec_spec.rb +0 -60
- data/spec/models/v1_developer_configuration_spec.rb +0 -90
- data/spec/models/v1_devices_spec.rb +0 -168
- data/spec/models/v1_dhcp_options_spec.rb +0 -54
- data/spec/models/v1_dhcp_private_options_spec.rb +0 -42
- data/spec/models/v1_disk_spec.rb +0 -108
- data/spec/models/v1_disk_target_spec.rb +0 -48
- data/spec/models/v1_disk_verification_spec.rb +0 -36
- data/spec/models/v1_domain_memory_dump_info_spec.rb +0 -54
- data/spec/models/v1_domain_spec_spec.rb +0 -96
- data/spec/models/v1_downward_api_volume_source_spec.rb +0 -42
- data/spec/models/v1_efi_spec.rb +0 -42
- data/spec/models/v1_empty_disk_source_spec.rb +0 -36
- data/spec/models/v1_ephemeral_volume_source_spec.rb +0 -36
- data/spec/models/v1_feature_apic_spec.rb +0 -42
- data/spec/models/v1_feature_hyperv_spec.rb +0 -114
- data/spec/models/v1_feature_kvm_spec.rb +0 -36
- data/spec/models/v1_feature_spinlocks_spec.rb +0 -42
- data/spec/models/v1_feature_state_spec.rb +0 -36
- data/spec/models/v1_feature_vendor_id_spec.rb +0 -42
- data/spec/models/v1_features_spec.rb +0 -72
- data/spec/models/v1_filesystem_spec.rb +0 -42
- data/spec/models/v1_firmware_spec.rb +0 -60
- data/spec/models/v1_flags_spec.rb +0 -48
- data/spec/models/v1_freeze_unfreeze_timeout_spec.rb +0 -36
- data/spec/models/v1_generation_status_spec.rb +0 -66
- data/spec/models/v1_gpu_spec.rb +0 -54
- data/spec/models/v1_guest_agent_command_info_spec.rb +0 -42
- data/spec/models/v1_host_device_spec.rb +0 -48
- data/spec/models/v1_host_disk_spec.rb +0 -54
- data/spec/models/v1_hotplug_volume_source_spec.rb +0 -42
- data/spec/models/v1_hotplug_volume_status_spec.rb +0 -42
- data/spec/models/v1_hpet_timer_spec.rb +0 -42
- data/spec/models/v1_hugepages_spec.rb +0 -36
- data/spec/models/v1_hyper_v_passthrough_spec.rb +0 -36
- data/spec/models/v1_hyperv_timer_spec.rb +0 -36
- data/spec/models/v1_i6300_esb_watchdog_spec.rb +0 -36
- data/spec/models/v1_initrd_info_spec.rb +0 -36
- data/spec/models/v1_input_spec.rb +0 -48
- data/spec/models/v1_instancetype_configuration_spec.rb +0 -36
- data/spec/models/v1_instancetype_matcher_spec.rb +0 -60
- data/spec/models/v1_interface_binding_migration_spec.rb +0 -36
- data/spec/models/v1_interface_binding_plugin_spec.rb +0 -66
- data/spec/models/v1_interface_spec.rb +0 -132
- data/spec/models/v1_kernel_boot_container_spec.rb +0 -64
- data/spec/models/v1_kernel_boot_spec.rb +0 -42
- data/spec/models/v1_kernel_boot_status_spec.rb +0 -42
- data/spec/models/v1_kernel_info_spec.rb +0 -36
- data/spec/models/v1_ksm_configuration_spec.rb +0 -36
- data/spec/models/v1_kube_virt_certificate_rotate_strategy_spec.rb +0 -36
- data/spec/models/v1_kube_virt_condition_spec.rb +0 -54
- data/spec/models/v1_kube_virt_configuration_spec.rb +0 -256
- data/spec/models/v1_kube_virt_list_spec.rb +0 -54
- data/spec/models/v1_kube_virt_self_sign_configuration_spec.rb +0 -60
- data/spec/models/v1_kube_virt_spec.rb +0 -60
- data/spec/models/v1_kube_virt_spec_spec.rb +0 -136
- data/spec/models/v1_kube_virt_status_spec.rb +0 -120
- data/spec/models/v1_kube_virt_workload_update_strategy_spec.rb +0 -48
- data/spec/models/v1_kvm_timer_spec.rb +0 -36
- data/spec/models/v1_launch_security_spec.rb +0 -36
- data/spec/models/v1_live_update_configuration_spec.rb +0 -48
- data/spec/models/v1_log_verbosity_spec.rb +0 -66
- data/spec/models/v1_lun_target_spec.rb +0 -48
- data/spec/models/v1_machine_spec.rb +0 -36
- data/spec/models/v1_mediated_devices_configuration_spec.rb +0 -48
- data/spec/models/v1_mediated_host_device_spec.rb +0 -48
- data/spec/models/v1_memory_dump_volume_source_spec.rb +0 -48
- data/spec/models/v1_memory_spec.rb +0 -48
- data/spec/models/v1_memory_status_spec.rb +0 -48
- data/spec/models/v1_migrate_options_spec.rb +0 -48
- data/spec/models/v1_migration_configuration_spec.rb +0 -108
- data/spec/models/v1_multus_network_spec.rb +0 -42
- data/spec/models/v1_network_configuration_spec.rb +0 -54
- data/spec/models/v1_network_spec.rb +0 -48
- data/spec/models/v1_node_mediated_device_types_config_spec.rb +0 -48
- data/spec/models/v1_node_placement_spec.rb +0 -48
- data/spec/models/v1_numa_spec.rb +0 -36
- data/spec/models/v1_pause_options_spec.rb +0 -48
- data/spec/models/v1_pci_host_device_spec.rb +0 -48
- data/spec/models/v1_permitted_host_devices_spec.rb +0 -48
- data/spec/models/v1_persistent_volume_claim_info_spec.rb +0 -80
- data/spec/models/v1_persistent_volume_claim_volume_source_spec.rb +0 -48
- data/spec/models/v1_pit_timer_spec.rb +0 -42
- data/spec/models/v1_plugin_binding_spec.rb +0 -36
- data/spec/models/v1_pod_network_spec.rb +0 -42
- data/spec/models/v1_port_spec.rb +0 -48
- data/spec/models/v1_preference_matcher_spec.rb +0 -60
- data/spec/models/v1_probe_spec.rb +0 -84
- data/spec/models/v1_qemu_guest_agent_ssh_public_key_access_credential_propagation_spec.rb +0 -36
- data/spec/models/v1_rate_limiter_spec.rb +0 -36
- data/spec/models/v1_realtime_spec.rb +0 -36
- data/spec/models/v1_reloadable_component_configuration_spec.rb +0 -36
- data/spec/models/v1_remove_volume_options_spec.rb +0 -42
- data/spec/models/v1_resource_requirements_spec.rb +0 -48
- data/spec/models/v1_resource_requirements_without_claims_spec.rb +0 -42
- data/spec/models/v1_rest_client_configuration_spec.rb +0 -36
- data/spec/models/v1_restart_options_spec.rb +0 -54
- data/spec/models/v1_rtc_timer_spec.rb +0 -48
- data/spec/models/v1_seccomp_configuration_spec.rb +0 -36
- data/spec/models/v1_secret_volume_source_spec.rb +0 -48
- data/spec/models/v1_service_account_volume_source_spec.rb +0 -36
- data/spec/models/v1_sev_measurement_info_spec.rb +0 -78
- data/spec/models/v1_sev_platform_info_spec.rb +0 -54
- data/spec/models/v1_sev_policy_spec.rb +0 -36
- data/spec/models/v1_sev_secret_options_spec.rb +0 -42
- data/spec/models/v1_sev_session_options_spec.rb +0 -42
- data/spec/models/v1_sev_spec.rb +0 -54
- data/spec/models/v1_sm_bios_configuration_spec.rb +0 -60
- data/spec/models/v1_sound_device_spec.rb +0 -42
- data/spec/models/v1_ssh_public_key_access_credential_propagation_method_spec.rb +0 -48
- data/spec/models/v1_ssh_public_key_access_credential_source_spec.rb +0 -36
- data/spec/models/v1_ssh_public_key_access_credential_spec.rb +0 -42
- data/spec/models/v1_start_options_spec.rb +0 -54
- data/spec/models/v1_stop_options_spec.rb +0 -54
- data/spec/models/v1_storage_migrated_volume_info_spec.rb +0 -48
- data/spec/models/v1_support_container_resources_spec.rb +0 -42
- data/spec/models/v1_sy_nic_timer_spec.rb +0 -42
- data/spec/models/v1_sysprep_source_spec.rb +0 -42
- data/spec/models/v1_timer_spec.rb +0 -60
- data/spec/models/v1_tls_configuration_spec.rb +0 -42
- data/spec/models/v1_token_bucket_rate_limiter_spec.rb +0 -42
- data/spec/models/v1_topology_hints_spec.rb +0 -36
- data/spec/models/v1_tpm_device_spec.rb +0 -36
- data/spec/models/v1_unpause_options_spec.rb +0 -48
- data/spec/models/v1_usb_host_device_spec.rb +0 -48
- data/spec/models/v1_usb_selector_spec.rb +0 -42
- data/spec/models/v1_user_password_access_credential_propagation_method_spec.rb +0 -36
- data/spec/models/v1_user_password_access_credential_source_spec.rb +0 -36
- data/spec/models/v1_user_password_access_credential_spec.rb +0 -42
- data/spec/models/v1_vgpu_display_options_spec.rb +0 -42
- data/spec/models/v1_vgpu_options_spec.rb +0 -36
- data/spec/models/v1_virtual_machine_condition_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_condition_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_file_system_disk_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_file_system_info_spec.rb +0 -36
- data/spec/models/v1_virtual_machine_instance_file_system_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_file_system_spec.rb +0 -66
- data/spec/models/v1_virtual_machine_instance_guest_agent_info_spec.rb +0 -90
- data/spec/models/v1_virtual_machine_instance_guest_os_info_spec.rb +0 -78
- data/spec/models/v1_virtual_machine_instance_guest_os_user_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_guest_os_user_spec.rb +0 -48
- data/spec/models/v1_virtual_machine_instance_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_migration_condition_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_migration_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_migration_phase_transition_timestamp_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_migration_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_instance_migration_spec_spec.rb +0 -36
- data/spec/models/v1_virtual_machine_instance_migration_state_spec.rb +0 -174
- data/spec/models/v1_virtual_machine_instance_migration_status_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_network_interface_spec.rb +0 -78
- data/spec/models/v1_virtual_machine_instance_phase_transition_timestamp_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_preset_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_preset_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_preset_spec_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_instance_profile_spec.rb +0 -36
- data/spec/models/v1_virtual_machine_instance_replica_set_condition_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_replica_set_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_replica_set_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_instance_replica_set_spec_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_replica_set_status_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_instance_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_instance_spec_spec.rb +0 -154
- data/spec/models/v1_virtual_machine_instance_status_spec.rb +0 -190
- data/spec/models/v1_virtual_machine_instance_template_spec_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_list_spec.rb +0 -54
- data/spec/models/v1_virtual_machine_memory_dump_request_spec.rb +0 -72
- data/spec/models/v1_virtual_machine_options_spec.rb +0 -42
- data/spec/models/v1_virtual_machine_spec.rb +0 -60
- data/spec/models/v1_virtual_machine_spec_spec.rb +0 -72
- data/spec/models/v1_virtual_machine_start_failure_spec.rb +0 -48
- data/spec/models/v1_virtual_machine_state_change_request_spec.rb +0 -48
- data/spec/models/v1_virtual_machine_status_spec.rb +0 -120
- data/spec/models/v1_virtual_machine_volume_request_spec.rb +0 -42
- data/spec/models/v1_volume_migration_state_spec.rb +0 -36
- data/spec/models/v1_volume_snapshot_status_spec.rb +0 -48
- data/spec/models/v1_volume_spec.rb +0 -126
- data/spec/models/v1_volume_status_spec.rb +0 -90
- data/spec/models/v1_volume_update_state_spec.rb +0 -36
- data/spec/models/v1_watchdog_spec.rb +0 -42
- data/spec/models/v1alpha1_condition_spec.rb +0 -54
- data/spec/models/v1alpha1_migration_policy_list_spec.rb +0 -54
- data/spec/models/v1alpha1_migration_policy_spec.rb +0 -60
- data/spec/models/v1alpha1_migration_policy_spec_spec.rb +0 -66
- data/spec/models/v1alpha1_selectors_spec.rb +0 -42
- data/spec/models/v1alpha1_virtual_machine_clone_list_spec.rb +0 -54
- data/spec/models/v1alpha1_virtual_machine_clone_spec.rb +0 -60
- data/spec/models/v1alpha1_virtual_machine_clone_spec_spec.rb +0 -72
- data/spec/models/v1alpha1_virtual_machine_clone_status_spec.rb +0 -66
- data/spec/models/v1alpha1_virtual_machine_clone_template_filters_spec.rb +0 -42
- data/spec/models/v1alpha1_virtual_machine_pool_condition_spec.rb +0 -54
- data/spec/models/v1alpha1_virtual_machine_pool_list_spec.rb +0 -54
- data/spec/models/v1alpha1_virtual_machine_pool_spec.rb +0 -60
- data/spec/models/v1alpha1_virtual_machine_pool_spec_spec.rb +0 -54
- data/spec/models/v1alpha1_virtual_machine_pool_status_spec.rb +0 -54
- data/spec/models/v1alpha1_virtual_machine_template_spec_spec.rb +0 -42
- data/spec/models/v1beta1_clock_preferences_spec.rb +0 -42
- data/spec/models/v1beta1_condition_spec.rb +0 -54
- data/spec/models/v1beta1_cpu_instancetype_spec.rb +0 -72
- data/spec/models/v1beta1_cpu_preference_requirement_spec.rb +0 -36
- data/spec/models/v1beta1_cpu_preferences_spec.rb +0 -48
- data/spec/models/v1beta1_data_volume_checkpoint_spec.rb +0 -42
- data/spec/models/v1beta1_data_volume_source_gcs_spec.rb +0 -42
- data/spec/models/v1beta1_data_volume_source_http_spec.rb +0 -60
- data/spec/models/v1beta1_data_volume_source_image_io_spec.rb +0 -54
- data/spec/models/v1beta1_data_volume_source_pvc_spec.rb +0 -42
- data/spec/models/v1beta1_data_volume_source_ref_spec.rb +0 -48
- data/spec/models/v1beta1_data_volume_source_registry_spec.rb +0 -60
- data/spec/models/v1beta1_data_volume_source_s3_spec.rb +0 -48
- data/spec/models/v1beta1_data_volume_source_snapshot_spec.rb +0 -42
- data/spec/models/v1beta1_data_volume_source_spec.rb +0 -90
- data/spec/models/v1beta1_data_volume_source_vddk_spec.rb +0 -66
- data/spec/models/v1beta1_data_volume_spec_spec.rb +0 -84
- data/spec/models/v1beta1_device_preferences_spec.rb +0 -174
- data/spec/models/v1beta1_error_spec.rb +0 -42
- data/spec/models/v1beta1_feature_preferences_spec.rb +0 -66
- data/spec/models/v1beta1_firmware_preferences_spec.rb +0 -60
- data/spec/models/v1beta1_machine_preferences_spec.rb +0 -36
- data/spec/models/v1beta1_memory_instancetype_spec.rb +0 -54
- data/spec/models/v1beta1_memory_preference_requirement_spec.rb +0 -36
- data/spec/models/v1beta1_persistent_volume_claim_spec.rb +0 -42
- data/spec/models/v1beta1_preference_requirements_spec.rb +0 -42
- data/spec/models/v1beta1_snapshot_volumes_lists_spec.rb +0 -42
- data/spec/models/v1beta1_source_spec_spec.rb +0 -36
- data/spec/models/v1beta1_spread_options_spec.rb +0 -42
- data/spec/models/v1beta1_storage_spec_spec.rb +0 -86
- data/spec/models/v1beta1_virtual_machine_cluster_instancetype_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_cluster_instancetype_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_cluster_preference_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_cluster_preference_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_export_link_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_export_links_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_export_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_export_manifest_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_export_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_export_spec_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_export_status_spec.rb +0 -72
- data/spec/models/v1beta1_virtual_machine_export_volume_format_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_export_volume_spec.rb +0 -42
- data/spec/models/v1beta1_virtual_machine_instancetype_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_instancetype_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_instancetype_spec_spec.rb +0 -84
- data/spec/models/v1beta1_virtual_machine_preference_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_preference_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_preference_spec_spec.rb +0 -102
- data/spec/models/v1beta1_virtual_machine_restore_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_restore_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_restore_spec_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_restore_status_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_snapshot_content_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_snapshot_content_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_snapshot_content_spec_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_snapshot_content_status_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_snapshot_list_spec.rb +0 -54
- data/spec/models/v1beta1_virtual_machine_snapshot_spec.rb +0 -60
- data/spec/models/v1beta1_virtual_machine_snapshot_spec_spec.rb +0 -48
- data/spec/models/v1beta1_virtual_machine_snapshot_status_spec.rb +0 -84
- data/spec/models/v1beta1_virtual_machine_spec.rb +0 -48
- data/spec/models/v1beta1_volume_backup_spec.rb +0 -48
- data/spec/models/v1beta1_volume_preferences_spec.rb +0 -36
- data/spec/models/v1beta1_volume_restore_spec.rb +0 -54
- data/spec/models/v1beta1_volume_snapshot_status_spec.rb +0 -54
- data/spec/spec_helper.rb +0 -111
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: kubevirt-dev@googlegroups.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -663,9 +663,9 @@ module Kubevirt
|
|
|
663
663
|
|
|
664
664
|
# Create a VirtualMachinePool object.
|
|
665
665
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
666
|
-
# @param body [
|
|
666
|
+
# @param body [V1beta1VirtualMachinePool]
|
|
667
667
|
# @param [Hash] opts the optional parameters
|
|
668
|
-
# @return [
|
|
668
|
+
# @return [V1beta1VirtualMachinePool]
|
|
669
669
|
def create_namespaced_virtual_machine_pool(namespace, body, opts = {})
|
|
670
670
|
data, _status_code, _headers = create_namespaced_virtual_machine_pool_with_http_info(namespace, body, opts)
|
|
671
671
|
data
|
|
@@ -673,9 +673,9 @@ module Kubevirt
|
|
|
673
673
|
|
|
674
674
|
# Create a VirtualMachinePool object.
|
|
675
675
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
676
|
-
# @param body [
|
|
676
|
+
# @param body [V1beta1VirtualMachinePool]
|
|
677
677
|
# @param [Hash] opts the optional parameters
|
|
678
|
-
# @return [Array<(
|
|
678
|
+
# @return [Array<(V1beta1VirtualMachinePool, Integer, Hash)>] V1beta1VirtualMachinePool data, response status code and response headers
|
|
679
679
|
def create_namespaced_virtual_machine_pool_with_http_info(namespace, body, opts = {})
|
|
680
680
|
if @api_client.config.debugging
|
|
681
681
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_namespaced_virtual_machine_pool ...'
|
|
@@ -689,7 +689,7 @@ module Kubevirt
|
|
|
689
689
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_namespaced_virtual_machine_pool"
|
|
690
690
|
end
|
|
691
691
|
# resource path
|
|
692
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
692
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools'.sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
693
693
|
|
|
694
694
|
# query parameters
|
|
695
695
|
query_params = opts[:query_params] || {}
|
|
@@ -711,7 +711,7 @@ module Kubevirt
|
|
|
711
711
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
712
712
|
|
|
713
713
|
# return_type
|
|
714
|
-
return_type = opts[:debug_return_type] || '
|
|
714
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachinePool'
|
|
715
715
|
|
|
716
716
|
# auth_names
|
|
717
717
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1022,18 +1022,18 @@ module Kubevirt
|
|
|
1022
1022
|
end
|
|
1023
1023
|
|
|
1024
1024
|
# Create a VirtualMachineClone object.
|
|
1025
|
-
# @param body [
|
|
1025
|
+
# @param body [V1beta1VirtualMachineClone]
|
|
1026
1026
|
# @param [Hash] opts the optional parameters
|
|
1027
|
-
# @return [
|
|
1027
|
+
# @return [V1beta1VirtualMachineClone]
|
|
1028
1028
|
def create_virtual_machine_clone(body, opts = {})
|
|
1029
1029
|
data, _status_code, _headers = create_virtual_machine_clone_with_http_info(body, opts)
|
|
1030
1030
|
data
|
|
1031
1031
|
end
|
|
1032
1032
|
|
|
1033
1033
|
# Create a VirtualMachineClone object.
|
|
1034
|
-
# @param body [
|
|
1034
|
+
# @param body [V1beta1VirtualMachineClone]
|
|
1035
1035
|
# @param [Hash] opts the optional parameters
|
|
1036
|
-
# @return [Array<(
|
|
1036
|
+
# @return [Array<(V1beta1VirtualMachineClone, Integer, Hash)>] V1beta1VirtualMachineClone data, response status code and response headers
|
|
1037
1037
|
def create_virtual_machine_clone_with_http_info(body, opts = {})
|
|
1038
1038
|
if @api_client.config.debugging
|
|
1039
1039
|
@api_client.config.logger.debug 'Calling API: DefaultApi.create_virtual_machine_clone ...'
|
|
@@ -1043,7 +1043,7 @@ module Kubevirt
|
|
|
1043
1043
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.create_virtual_machine_clone"
|
|
1044
1044
|
end
|
|
1045
1045
|
# resource path
|
|
1046
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
1046
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones'
|
|
1047
1047
|
|
|
1048
1048
|
# query parameters
|
|
1049
1049
|
query_params = opts[:query_params] || {}
|
|
@@ -1065,7 +1065,7 @@ module Kubevirt
|
|
|
1065
1065
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
1066
1066
|
|
|
1067
1067
|
# return_type
|
|
1068
|
-
return_type = opts[:debug_return_type] || '
|
|
1068
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachineClone'
|
|
1069
1069
|
|
|
1070
1070
|
# auth_names
|
|
1071
1071
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -1962,7 +1962,7 @@ module Kubevirt
|
|
|
1962
1962
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_collection_namespaced_virtual_machine_pool ...'
|
|
1963
1963
|
end
|
|
1964
1964
|
# resource path
|
|
1965
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
1965
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools'
|
|
1966
1966
|
|
|
1967
1967
|
# query parameters
|
|
1968
1968
|
query_params = opts[:query_params] || {}
|
|
@@ -2357,7 +2357,7 @@ module Kubevirt
|
|
|
2357
2357
|
@api_client.config.logger.debug 'Calling API: DefaultApi.delete_collection_virtual_machine_clone ...'
|
|
2358
2358
|
end
|
|
2359
2359
|
# resource path
|
|
2360
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
2360
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones'
|
|
2361
2361
|
|
|
2362
2362
|
# query parameters
|
|
2363
2363
|
query_params = opts[:query_params] || {}
|
|
@@ -3379,7 +3379,7 @@ module Kubevirt
|
|
|
3379
3379
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_namespaced_virtual_machine_pool"
|
|
3380
3380
|
end
|
|
3381
3381
|
# resource path
|
|
3382
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
3382
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
3383
3383
|
|
|
3384
3384
|
# query parameters
|
|
3385
3385
|
query_params = opts[:query_params] || {}
|
|
@@ -3808,7 +3808,7 @@ module Kubevirt
|
|
|
3808
3808
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.delete_virtual_machine_clone"
|
|
3809
3809
|
end
|
|
3810
3810
|
# resource path
|
|
3811
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
3811
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
3812
3812
|
|
|
3813
3813
|
# query parameters
|
|
3814
3814
|
query_params = opts[:query_params] || {}
|
|
@@ -4020,17 +4020,17 @@ module Kubevirt
|
|
|
4020
4020
|
# Health endpoint
|
|
4021
4021
|
# @param [Hash] opts the optional parameters
|
|
4022
4022
|
# @return [nil]
|
|
4023
|
-
def
|
|
4024
|
-
|
|
4023
|
+
def func15(opts = {})
|
|
4024
|
+
func15_with_http_info(opts)
|
|
4025
4025
|
nil
|
|
4026
4026
|
end
|
|
4027
4027
|
|
|
4028
4028
|
# Health endpoint
|
|
4029
4029
|
# @param [Hash] opts the optional parameters
|
|
4030
4030
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
4031
|
-
def
|
|
4031
|
+
def func15_with_http_info(opts = {})
|
|
4032
4032
|
if @api_client.config.debugging
|
|
4033
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
4033
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.func15 ...'
|
|
4034
4034
|
end
|
|
4035
4035
|
# resource path
|
|
4036
4036
|
local_var_path = '/healthz'
|
|
@@ -4054,7 +4054,7 @@ module Kubevirt
|
|
|
4054
4054
|
auth_names = opts[:debug_auth_names] || []
|
|
4055
4055
|
|
|
4056
4056
|
new_options = opts.merge(
|
|
4057
|
-
:operation => :"DefaultApi.
|
|
4057
|
+
:operation => :"DefaultApi.func15",
|
|
4058
4058
|
:header_params => header_params,
|
|
4059
4059
|
:query_params => query_params,
|
|
4060
4060
|
:form_params => form_params,
|
|
@@ -4065,7 +4065,7 @@ module Kubevirt
|
|
|
4065
4065
|
|
|
4066
4066
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4067
4067
|
if @api_client.config.debugging
|
|
4068
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
4068
|
+
@api_client.config.logger.debug "API called: DefaultApi#func15\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4069
4069
|
end
|
|
4070
4070
|
return data, status_code, headers
|
|
4071
4071
|
end
|
|
@@ -4564,20 +4564,20 @@ module Kubevirt
|
|
|
4564
4564
|
# Get KubeVirt API Resources
|
|
4565
4565
|
# @param [Hash] opts the optional parameters
|
|
4566
4566
|
# @return [K8sIoApimachineryPkgApisMetaV1APIResourceList]
|
|
4567
|
-
def
|
|
4568
|
-
data, _status_code, _headers =
|
|
4567
|
+
def get_api_resources_clone_kubevirt_io_v1beta1(opts = {})
|
|
4568
|
+
data, _status_code, _headers = get_api_resources_clone_kubevirt_io_v1beta1_with_http_info(opts)
|
|
4569
4569
|
data
|
|
4570
4570
|
end
|
|
4571
4571
|
|
|
4572
4572
|
# Get KubeVirt API Resources
|
|
4573
4573
|
# @param [Hash] opts the optional parameters
|
|
4574
4574
|
# @return [Array<(K8sIoApimachineryPkgApisMetaV1APIResourceList, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1APIResourceList data, response status code and response headers
|
|
4575
|
-
def
|
|
4575
|
+
def get_api_resources_clone_kubevirt_io_v1beta1_with_http_info(opts = {})
|
|
4576
4576
|
if @api_client.config.debugging
|
|
4577
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
4577
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_api_resources_clone_kubevirt_io_v1beta1 ...'
|
|
4578
4578
|
end
|
|
4579
4579
|
# resource path
|
|
4580
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
4580
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/'
|
|
4581
4581
|
|
|
4582
4582
|
# query parameters
|
|
4583
4583
|
query_params = opts[:query_params] || {}
|
|
@@ -4600,7 +4600,7 @@ module Kubevirt
|
|
|
4600
4600
|
auth_names = opts[:debug_auth_names] || []
|
|
4601
4601
|
|
|
4602
4602
|
new_options = opts.merge(
|
|
4603
|
-
:operation => :"DefaultApi.
|
|
4603
|
+
:operation => :"DefaultApi.get_api_resources_clone_kubevirt_io_v1beta1",
|
|
4604
4604
|
:header_params => header_params,
|
|
4605
4605
|
:query_params => query_params,
|
|
4606
4606
|
:form_params => form_params,
|
|
@@ -4611,7 +4611,7 @@ module Kubevirt
|
|
|
4611
4611
|
|
|
4612
4612
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4613
4613
|
if @api_client.config.debugging
|
|
4614
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
4614
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_api_resources_clone_kubevirt_io_v1beta1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4615
4615
|
end
|
|
4616
4616
|
return data, status_code, headers
|
|
4617
4617
|
end
|
|
@@ -4839,20 +4839,20 @@ module Kubevirt
|
|
|
4839
4839
|
# Get KubeVirt API Resources
|
|
4840
4840
|
# @param [Hash] opts the optional parameters
|
|
4841
4841
|
# @return [K8sIoApimachineryPkgApisMetaV1APIResourceList]
|
|
4842
|
-
def
|
|
4843
|
-
data, _status_code, _headers =
|
|
4842
|
+
def get_api_resources_pool_kubevirt_io_v1beta1(opts = {})
|
|
4843
|
+
data, _status_code, _headers = get_api_resources_pool_kubevirt_io_v1beta1_with_http_info(opts)
|
|
4844
4844
|
data
|
|
4845
4845
|
end
|
|
4846
4846
|
|
|
4847
4847
|
# Get KubeVirt API Resources
|
|
4848
4848
|
# @param [Hash] opts the optional parameters
|
|
4849
4849
|
# @return [Array<(K8sIoApimachineryPkgApisMetaV1APIResourceList, Integer, Hash)>] K8sIoApimachineryPkgApisMetaV1APIResourceList data, response status code and response headers
|
|
4850
|
-
def
|
|
4850
|
+
def get_api_resources_pool_kubevirt_io_v1beta1_with_http_info(opts = {})
|
|
4851
4851
|
if @api_client.config.debugging
|
|
4852
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
4852
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_api_resources_pool_kubevirt_io_v1beta1 ...'
|
|
4853
4853
|
end
|
|
4854
4854
|
# resource path
|
|
4855
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
4855
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/'
|
|
4856
4856
|
|
|
4857
4857
|
# query parameters
|
|
4858
4858
|
query_params = opts[:query_params] || {}
|
|
@@ -4875,7 +4875,7 @@ module Kubevirt
|
|
|
4875
4875
|
auth_names = opts[:debug_auth_names] || []
|
|
4876
4876
|
|
|
4877
4877
|
new_options = opts.merge(
|
|
4878
|
-
:operation => :"DefaultApi.
|
|
4878
|
+
:operation => :"DefaultApi.get_api_resources_pool_kubevirt_io_v1beta1",
|
|
4879
4879
|
:header_params => header_params,
|
|
4880
4880
|
:query_params => query_params,
|
|
4881
4881
|
:form_params => form_params,
|
|
@@ -4886,7 +4886,7 @@ module Kubevirt
|
|
|
4886
4886
|
|
|
4887
4887
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
4888
4888
|
if @api_client.config.debugging
|
|
4889
|
-
@api_client.config.logger.debug "API called: DefaultApi#
|
|
4889
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_api_resources_pool_kubevirt_io_v1beta1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4890
4890
|
end
|
|
4891
4891
|
return data, status_code, headers
|
|
4892
4892
|
end
|
|
@@ -6009,7 +6009,7 @@ module Kubevirt
|
|
|
6009
6009
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
6010
6010
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
6011
6011
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
6012
|
-
# @return [
|
|
6012
|
+
# @return [V1beta1VirtualMachinePoolList]
|
|
6013
6013
|
def list_namespaced_virtual_machine_pool(namespace, opts = {})
|
|
6014
6014
|
data, _status_code, _headers = list_namespaced_virtual_machine_pool_with_http_info(namespace, opts)
|
|
6015
6015
|
data
|
|
@@ -6026,7 +6026,7 @@ module Kubevirt
|
|
|
6026
6026
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
6027
6027
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
6028
6028
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
6029
|
-
# @return [Array<(
|
|
6029
|
+
# @return [Array<(V1beta1VirtualMachinePoolList, Integer, Hash)>] V1beta1VirtualMachinePoolList data, response status code and response headers
|
|
6030
6030
|
def list_namespaced_virtual_machine_pool_with_http_info(namespace, opts = {})
|
|
6031
6031
|
if @api_client.config.debugging
|
|
6032
6032
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_namespaced_virtual_machine_pool ...'
|
|
@@ -6036,7 +6036,7 @@ module Kubevirt
|
|
|
6036
6036
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.list_namespaced_virtual_machine_pool"
|
|
6037
6037
|
end
|
|
6038
6038
|
# resource path
|
|
6039
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
6039
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools'.sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
6040
6040
|
|
|
6041
6041
|
# query parameters
|
|
6042
6042
|
query_params = opts[:query_params] || {}
|
|
@@ -6061,7 +6061,7 @@ module Kubevirt
|
|
|
6061
6061
|
post_body = opts[:debug_body]
|
|
6062
6062
|
|
|
6063
6063
|
# return_type
|
|
6064
|
-
return_type = opts[:debug_return_type] || '
|
|
6064
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachinePoolList'
|
|
6065
6065
|
|
|
6066
6066
|
# auth_names
|
|
6067
6067
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -6433,7 +6433,7 @@ module Kubevirt
|
|
|
6433
6433
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
6434
6434
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
6435
6435
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
6436
|
-
# @return [
|
|
6436
|
+
# @return [V1beta1VirtualMachineCloneList]
|
|
6437
6437
|
def list_virtual_machine_clone(opts = {})
|
|
6438
6438
|
data, _status_code, _headers = list_virtual_machine_clone_with_http_info(opts)
|
|
6439
6439
|
data
|
|
@@ -6449,13 +6449,13 @@ module Kubevirt
|
|
|
6449
6449
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
6450
6450
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
6451
6451
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
6452
|
-
# @return [Array<(
|
|
6452
|
+
# @return [Array<(V1beta1VirtualMachineCloneList, Integer, Hash)>] V1beta1VirtualMachineCloneList data, response status code and response headers
|
|
6453
6453
|
def list_virtual_machine_clone_with_http_info(opts = {})
|
|
6454
6454
|
if @api_client.config.debugging
|
|
6455
6455
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_virtual_machine_clone ...'
|
|
6456
6456
|
end
|
|
6457
6457
|
# resource path
|
|
6458
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
6458
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones'
|
|
6459
6459
|
|
|
6460
6460
|
# query parameters
|
|
6461
6461
|
query_params = opts[:query_params] || {}
|
|
@@ -6480,7 +6480,7 @@ module Kubevirt
|
|
|
6480
6480
|
post_body = opts[:debug_body]
|
|
6481
6481
|
|
|
6482
6482
|
# return_type
|
|
6483
|
-
return_type = opts[:debug_return_type] || '
|
|
6483
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachineCloneList'
|
|
6484
6484
|
|
|
6485
6485
|
# auth_names
|
|
6486
6486
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -7223,7 +7223,7 @@ module Kubevirt
|
|
|
7223
7223
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
7224
7224
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
7225
7225
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
7226
|
-
# @return [
|
|
7226
|
+
# @return [V1beta1VirtualMachinePoolList]
|
|
7227
7227
|
def list_virtual_machine_pool_for_all_namespaces(opts = {})
|
|
7228
7228
|
data, _status_code, _headers = list_virtual_machine_pool_for_all_namespaces_with_http_info(opts)
|
|
7229
7229
|
data
|
|
@@ -7239,13 +7239,13 @@ module Kubevirt
|
|
|
7239
7239
|
# @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.
|
|
7240
7240
|
# @option opts [Integer] :timeout_seconds TimeoutSeconds for the list/watch call.
|
|
7241
7241
|
# @option opts [Boolean] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
|
|
7242
|
-
# @return [Array<(
|
|
7242
|
+
# @return [Array<(V1beta1VirtualMachinePoolList, Integer, Hash)>] V1beta1VirtualMachinePoolList data, response status code and response headers
|
|
7243
7243
|
def list_virtual_machine_pool_for_all_namespaces_with_http_info(opts = {})
|
|
7244
7244
|
if @api_client.config.debugging
|
|
7245
7245
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_virtual_machine_pool_for_all_namespaces ...'
|
|
7246
7246
|
end
|
|
7247
7247
|
# resource path
|
|
7248
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
7248
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/virtualmachinepools'
|
|
7249
7249
|
|
|
7250
7250
|
# query parameters
|
|
7251
7251
|
query_params = opts[:query_params] || {}
|
|
@@ -7270,7 +7270,7 @@ module Kubevirt
|
|
|
7270
7270
|
post_body = opts[:debug_body]
|
|
7271
7271
|
|
|
7272
7272
|
# return_type
|
|
7273
|
-
return_type = opts[:debug_return_type] || '
|
|
7273
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachinePoolList'
|
|
7274
7274
|
|
|
7275
7275
|
# auth_names
|
|
7276
7276
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -8309,7 +8309,7 @@ module Kubevirt
|
|
|
8309
8309
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
8310
8310
|
# @param body [Object]
|
|
8311
8311
|
# @param [Hash] opts the optional parameters
|
|
8312
|
-
# @return [
|
|
8312
|
+
# @return [V1beta1VirtualMachinePool]
|
|
8313
8313
|
def patch_namespaced_virtual_machine_pool(name, namespace, body, opts = {})
|
|
8314
8314
|
data, _status_code, _headers = patch_namespaced_virtual_machine_pool_with_http_info(name, namespace, body, opts)
|
|
8315
8315
|
data
|
|
@@ -8320,7 +8320,7 @@ module Kubevirt
|
|
|
8320
8320
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
8321
8321
|
# @param body [Object]
|
|
8322
8322
|
# @param [Hash] opts the optional parameters
|
|
8323
|
-
# @return [Array<(
|
|
8323
|
+
# @return [Array<(V1beta1VirtualMachinePool, Integer, Hash)>] V1beta1VirtualMachinePool data, response status code and response headers
|
|
8324
8324
|
def patch_namespaced_virtual_machine_pool_with_http_info(name, namespace, body, opts = {})
|
|
8325
8325
|
if @api_client.config.debugging
|
|
8326
8326
|
@api_client.config.logger.debug 'Calling API: DefaultApi.patch_namespaced_virtual_machine_pool ...'
|
|
@@ -8338,7 +8338,7 @@ module Kubevirt
|
|
|
8338
8338
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_namespaced_virtual_machine_pool"
|
|
8339
8339
|
end
|
|
8340
8340
|
# resource path
|
|
8341
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
8341
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
8342
8342
|
|
|
8343
8343
|
# query parameters
|
|
8344
8344
|
query_params = opts[:query_params] || {}
|
|
@@ -8360,7 +8360,7 @@ module Kubevirt
|
|
|
8360
8360
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
8361
8361
|
|
|
8362
8362
|
# return_type
|
|
8363
|
-
return_type = opts[:debug_return_type] || '
|
|
8363
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachinePool'
|
|
8364
8364
|
|
|
8365
8365
|
# auth_names
|
|
8366
8366
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -8698,7 +8698,7 @@ module Kubevirt
|
|
|
8698
8698
|
# @param name [String] Name of the resource
|
|
8699
8699
|
# @param body [Object]
|
|
8700
8700
|
# @param [Hash] opts the optional parameters
|
|
8701
|
-
# @return [
|
|
8701
|
+
# @return [V1beta1VirtualMachineClone]
|
|
8702
8702
|
def patch_virtual_machine_clone(name, body, opts = {})
|
|
8703
8703
|
data, _status_code, _headers = patch_virtual_machine_clone_with_http_info(name, body, opts)
|
|
8704
8704
|
data
|
|
@@ -8708,7 +8708,7 @@ module Kubevirt
|
|
|
8708
8708
|
# @param name [String] Name of the resource
|
|
8709
8709
|
# @param body [Object]
|
|
8710
8710
|
# @param [Hash] opts the optional parameters
|
|
8711
|
-
# @return [Array<(
|
|
8711
|
+
# @return [Array<(V1beta1VirtualMachineClone, Integer, Hash)>] V1beta1VirtualMachineClone data, response status code and response headers
|
|
8712
8712
|
def patch_virtual_machine_clone_with_http_info(name, body, opts = {})
|
|
8713
8713
|
if @api_client.config.debugging
|
|
8714
8714
|
@api_client.config.logger.debug 'Calling API: DefaultApi.patch_virtual_machine_clone ...'
|
|
@@ -8722,7 +8722,7 @@ module Kubevirt
|
|
|
8722
8722
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.patch_virtual_machine_clone"
|
|
8723
8723
|
end
|
|
8724
8724
|
# resource path
|
|
8725
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
8725
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
8726
8726
|
|
|
8727
8727
|
# query parameters
|
|
8728
8728
|
query_params = opts[:query_params] || {}
|
|
@@ -8744,7 +8744,7 @@ module Kubevirt
|
|
|
8744
8744
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
8745
8745
|
|
|
8746
8746
|
# return_type
|
|
8747
|
-
return_type = opts[:debug_return_type] || '
|
|
8747
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachineClone'
|
|
8748
8748
|
|
|
8749
8749
|
# auth_names
|
|
8750
8750
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -9567,7 +9567,7 @@ module Kubevirt
|
|
|
9567
9567
|
# @param [Hash] opts the optional parameters
|
|
9568
9568
|
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9569
9569
|
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9570
|
-
# @return [
|
|
9570
|
+
# @return [V1beta1VirtualMachinePool]
|
|
9571
9571
|
def read_namespaced_virtual_machine_pool(name, namespace, opts = {})
|
|
9572
9572
|
data, _status_code, _headers = read_namespaced_virtual_machine_pool_with_http_info(name, namespace, opts)
|
|
9573
9573
|
data
|
|
@@ -9579,7 +9579,7 @@ module Kubevirt
|
|
|
9579
9579
|
# @param [Hash] opts the optional parameters
|
|
9580
9580
|
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9581
9581
|
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9582
|
-
# @return [Array<(
|
|
9582
|
+
# @return [Array<(V1beta1VirtualMachinePool, Integer, Hash)>] V1beta1VirtualMachinePool data, response status code and response headers
|
|
9583
9583
|
def read_namespaced_virtual_machine_pool_with_http_info(name, namespace, opts = {})
|
|
9584
9584
|
if @api_client.config.debugging
|
|
9585
9585
|
@api_client.config.logger.debug 'Calling API: DefaultApi.read_namespaced_virtual_machine_pool ...'
|
|
@@ -9593,7 +9593,7 @@ module Kubevirt
|
|
|
9593
9593
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.read_namespaced_virtual_machine_pool"
|
|
9594
9594
|
end
|
|
9595
9595
|
# resource path
|
|
9596
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
9596
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
9597
9597
|
|
|
9598
9598
|
# query parameters
|
|
9599
9599
|
query_params = opts[:query_params] || {}
|
|
@@ -9612,7 +9612,7 @@ module Kubevirt
|
|
|
9612
9612
|
post_body = opts[:debug_body]
|
|
9613
9613
|
|
|
9614
9614
|
# return_type
|
|
9615
|
-
return_type = opts[:debug_return_type] || '
|
|
9615
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachinePool'
|
|
9616
9616
|
|
|
9617
9617
|
# auth_names
|
|
9618
9618
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -9931,7 +9931,7 @@ module Kubevirt
|
|
|
9931
9931
|
# @param [Hash] opts the optional parameters
|
|
9932
9932
|
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9933
9933
|
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9934
|
-
# @return [
|
|
9934
|
+
# @return [V1beta1VirtualMachineClone]
|
|
9935
9935
|
def read_virtual_machine_clone(name, opts = {})
|
|
9936
9936
|
data, _status_code, _headers = read_virtual_machine_clone_with_http_info(name, opts)
|
|
9937
9937
|
data
|
|
@@ -9942,7 +9942,7 @@ module Kubevirt
|
|
|
9942
9942
|
# @param [Hash] opts the optional parameters
|
|
9943
9943
|
# @option opts [Boolean] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
|
|
9944
9944
|
# @option opts [Boolean] :export Should this value be exported. Export strips fields that a user can not specify.
|
|
9945
|
-
# @return [Array<(
|
|
9945
|
+
# @return [Array<(V1beta1VirtualMachineClone, Integer, Hash)>] V1beta1VirtualMachineClone data, response status code and response headers
|
|
9946
9946
|
def read_virtual_machine_clone_with_http_info(name, opts = {})
|
|
9947
9947
|
if @api_client.config.debugging
|
|
9948
9948
|
@api_client.config.logger.debug 'Calling API: DefaultApi.read_virtual_machine_clone ...'
|
|
@@ -9952,7 +9952,7 @@ module Kubevirt
|
|
|
9952
9952
|
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.read_virtual_machine_clone"
|
|
9953
9953
|
end
|
|
9954
9954
|
# resource path
|
|
9955
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
9955
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
9956
9956
|
|
|
9957
9957
|
# query parameters
|
|
9958
9958
|
query_params = opts[:query_params] || {}
|
|
@@ -9971,7 +9971,7 @@ module Kubevirt
|
|
|
9971
9971
|
post_body = opts[:debug_body]
|
|
9972
9972
|
|
|
9973
9973
|
# return_type
|
|
9974
|
-
return_type = opts[:debug_return_type] || '
|
|
9974
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachineClone'
|
|
9975
9975
|
|
|
9976
9976
|
# auth_names
|
|
9977
9977
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -10826,9 +10826,9 @@ module Kubevirt
|
|
|
10826
10826
|
# Update a VirtualMachinePool object.
|
|
10827
10827
|
# @param name [String] Name of the resource
|
|
10828
10828
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
10829
|
-
# @param body [
|
|
10829
|
+
# @param body [V1beta1VirtualMachinePool]
|
|
10830
10830
|
# @param [Hash] opts the optional parameters
|
|
10831
|
-
# @return [
|
|
10831
|
+
# @return [V1beta1VirtualMachinePool]
|
|
10832
10832
|
def replace_namespaced_virtual_machine_pool(name, namespace, body, opts = {})
|
|
10833
10833
|
data, _status_code, _headers = replace_namespaced_virtual_machine_pool_with_http_info(name, namespace, body, opts)
|
|
10834
10834
|
data
|
|
@@ -10837,9 +10837,9 @@ module Kubevirt
|
|
|
10837
10837
|
# Update a VirtualMachinePool object.
|
|
10838
10838
|
# @param name [String] Name of the resource
|
|
10839
10839
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
10840
|
-
# @param body [
|
|
10840
|
+
# @param body [V1beta1VirtualMachinePool]
|
|
10841
10841
|
# @param [Hash] opts the optional parameters
|
|
10842
|
-
# @return [Array<(
|
|
10842
|
+
# @return [Array<(V1beta1VirtualMachinePool, Integer, Hash)>] V1beta1VirtualMachinePool data, response status code and response headers
|
|
10843
10843
|
def replace_namespaced_virtual_machine_pool_with_http_info(name, namespace, body, opts = {})
|
|
10844
10844
|
if @api_client.config.debugging
|
|
10845
10845
|
@api_client.config.logger.debug 'Calling API: DefaultApi.replace_namespaced_virtual_machine_pool ...'
|
|
@@ -10857,7 +10857,7 @@ module Kubevirt
|
|
|
10857
10857
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_namespaced_virtual_machine_pool"
|
|
10858
10858
|
end
|
|
10859
10859
|
# resource path
|
|
10860
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
10860
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/namespaces/{namespace}/virtualmachinepools/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
10861
10861
|
|
|
10862
10862
|
# query parameters
|
|
10863
10863
|
query_params = opts[:query_params] || {}
|
|
@@ -10879,7 +10879,7 @@ module Kubevirt
|
|
|
10879
10879
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
10880
10880
|
|
|
10881
10881
|
# return_type
|
|
10882
|
-
return_type = opts[:debug_return_type] || '
|
|
10882
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachinePool'
|
|
10883
10883
|
|
|
10884
10884
|
# auth_names
|
|
10885
10885
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -11215,9 +11215,9 @@ module Kubevirt
|
|
|
11215
11215
|
|
|
11216
11216
|
# Update a VirtualMachineClone object.
|
|
11217
11217
|
# @param name [String] Name of the resource
|
|
11218
|
-
# @param body [
|
|
11218
|
+
# @param body [V1beta1VirtualMachineClone]
|
|
11219
11219
|
# @param [Hash] opts the optional parameters
|
|
11220
|
-
# @return [
|
|
11220
|
+
# @return [V1beta1VirtualMachineClone]
|
|
11221
11221
|
def replace_virtual_machine_clone(name, body, opts = {})
|
|
11222
11222
|
data, _status_code, _headers = replace_virtual_machine_clone_with_http_info(name, body, opts)
|
|
11223
11223
|
data
|
|
@@ -11225,9 +11225,9 @@ module Kubevirt
|
|
|
11225
11225
|
|
|
11226
11226
|
# Update a VirtualMachineClone object.
|
|
11227
11227
|
# @param name [String] Name of the resource
|
|
11228
|
-
# @param body [
|
|
11228
|
+
# @param body [V1beta1VirtualMachineClone]
|
|
11229
11229
|
# @param [Hash] opts the optional parameters
|
|
11230
|
-
# @return [Array<(
|
|
11230
|
+
# @return [Array<(V1beta1VirtualMachineClone, Integer, Hash)>] V1beta1VirtualMachineClone data, response status code and response headers
|
|
11231
11231
|
def replace_virtual_machine_clone_with_http_info(name, body, opts = {})
|
|
11232
11232
|
if @api_client.config.debugging
|
|
11233
11233
|
@api_client.config.logger.debug 'Calling API: DefaultApi.replace_virtual_machine_clone ...'
|
|
@@ -11241,7 +11241,7 @@ module Kubevirt
|
|
|
11241
11241
|
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.replace_virtual_machine_clone"
|
|
11242
11242
|
end
|
|
11243
11243
|
# resource path
|
|
11244
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
11244
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/virtualmachineclones/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
|
|
11245
11245
|
|
|
11246
11246
|
# query parameters
|
|
11247
11247
|
query_params = opts[:query_params] || {}
|
|
@@ -11263,7 +11263,7 @@ module Kubevirt
|
|
|
11263
11263
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
11264
11264
|
|
|
11265
11265
|
# return_type
|
|
11266
|
-
return_type = opts[:debug_return_type] || '
|
|
11266
|
+
return_type = opts[:debug_return_type] || 'V1beta1VirtualMachineClone'
|
|
11267
11267
|
|
|
11268
11268
|
# auth_names
|
|
11269
11269
|
auth_names = opts[:debug_auth_names] || []
|
|
@@ -12211,6 +12211,73 @@ module Kubevirt
|
|
|
12211
12211
|
return data, status_code, headers
|
|
12212
12212
|
end
|
|
12213
12213
|
|
|
12214
|
+
# Reset a VirtualMachineInstance object.
|
|
12215
|
+
# @param name [String] Name of the resource
|
|
12216
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
12217
|
+
# @param [Hash] opts the optional parameters
|
|
12218
|
+
# @return [String]
|
|
12219
|
+
def v1_reset(name, namespace, opts = {})
|
|
12220
|
+
data, _status_code, _headers = v1_reset_with_http_info(name, namespace, opts)
|
|
12221
|
+
data
|
|
12222
|
+
end
|
|
12223
|
+
|
|
12224
|
+
# Reset a VirtualMachineInstance object.
|
|
12225
|
+
# @param name [String] Name of the resource
|
|
12226
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
12227
|
+
# @param [Hash] opts the optional parameters
|
|
12228
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
12229
|
+
def v1_reset_with_http_info(name, namespace, opts = {})
|
|
12230
|
+
if @api_client.config.debugging
|
|
12231
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1_reset ...'
|
|
12232
|
+
end
|
|
12233
|
+
# verify the required parameter 'name' is set
|
|
12234
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
12235
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1_reset"
|
|
12236
|
+
end
|
|
12237
|
+
# verify the required parameter 'namespace' is set
|
|
12238
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
12239
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1_reset"
|
|
12240
|
+
end
|
|
12241
|
+
# resource path
|
|
12242
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/reset'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
12243
|
+
|
|
12244
|
+
# query parameters
|
|
12245
|
+
query_params = opts[:query_params] || {}
|
|
12246
|
+
|
|
12247
|
+
# header parameters
|
|
12248
|
+
header_params = opts[:header_params] || {}
|
|
12249
|
+
# HTTP header 'Accept' (if needed)
|
|
12250
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
12251
|
+
|
|
12252
|
+
# form parameters
|
|
12253
|
+
form_params = opts[:form_params] || {}
|
|
12254
|
+
|
|
12255
|
+
# http body (model)
|
|
12256
|
+
post_body = opts[:debug_body]
|
|
12257
|
+
|
|
12258
|
+
# return_type
|
|
12259
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
12260
|
+
|
|
12261
|
+
# auth_names
|
|
12262
|
+
auth_names = opts[:debug_auth_names] || []
|
|
12263
|
+
|
|
12264
|
+
new_options = opts.merge(
|
|
12265
|
+
:operation => :"DefaultApi.v1_reset",
|
|
12266
|
+
:header_params => header_params,
|
|
12267
|
+
:query_params => query_params,
|
|
12268
|
+
:form_params => form_params,
|
|
12269
|
+
:body => post_body,
|
|
12270
|
+
:auth_names => auth_names,
|
|
12271
|
+
:return_type => return_type
|
|
12272
|
+
)
|
|
12273
|
+
|
|
12274
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
12275
|
+
if @api_client.config.debugging
|
|
12276
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1_reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
12277
|
+
end
|
|
12278
|
+
return data, status_code, headers
|
|
12279
|
+
end
|
|
12280
|
+
|
|
12214
12281
|
# Restart a VirtualMachine object.
|
|
12215
12282
|
# @param name [String] Name of the resource
|
|
12216
12283
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -13031,6 +13098,7 @@ module Kubevirt
|
|
|
13031
13098
|
# @param name [String] Name of the resource
|
|
13032
13099
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
13033
13100
|
# @param [Hash] opts the optional parameters
|
|
13101
|
+
# @option opts [Boolean] :preserve_session Connect only if ongoing session is not disturbed.
|
|
13034
13102
|
# @return [nil]
|
|
13035
13103
|
def v1_vnc(name, namespace, opts = {})
|
|
13036
13104
|
v1_vnc_with_http_info(name, namespace, opts)
|
|
@@ -13041,6 +13109,7 @@ module Kubevirt
|
|
|
13041
13109
|
# @param name [String] Name of the resource
|
|
13042
13110
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
13043
13111
|
# @param [Hash] opts the optional parameters
|
|
13112
|
+
# @option opts [Boolean] :preserve_session Connect only if ongoing session is not disturbed.
|
|
13044
13113
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
13045
13114
|
def v1_vnc_with_http_info(name, namespace, opts = {})
|
|
13046
13115
|
if @api_client.config.debugging
|
|
@@ -13059,6 +13128,7 @@ module Kubevirt
|
|
|
13059
13128
|
|
|
13060
13129
|
# query parameters
|
|
13061
13130
|
query_params = opts[:query_params] || {}
|
|
13131
|
+
query_params[:'preserveSession'] = opts[:'preserve_session'] if !opts[:'preserve_session'].nil?
|
|
13062
13132
|
|
|
13063
13133
|
# header parameters
|
|
13064
13134
|
header_params = opts[:header_params] || {}
|
|
@@ -13962,6 +14032,73 @@ module Kubevirt
|
|
|
13962
14032
|
return data, status_code, headers
|
|
13963
14033
|
end
|
|
13964
14034
|
|
|
14035
|
+
# Reset a VirtualMachineInstance object.
|
|
14036
|
+
# @param name [String] Name of the resource
|
|
14037
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
14038
|
+
# @param [Hash] opts the optional parameters
|
|
14039
|
+
# @return [String]
|
|
14040
|
+
def v1alpha3_reset(name, namespace, opts = {})
|
|
14041
|
+
data, _status_code, _headers = v1alpha3_reset_with_http_info(name, namespace, opts)
|
|
14042
|
+
data
|
|
14043
|
+
end
|
|
14044
|
+
|
|
14045
|
+
# Reset a VirtualMachineInstance object.
|
|
14046
|
+
# @param name [String] Name of the resource
|
|
14047
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
14048
|
+
# @param [Hash] opts the optional parameters
|
|
14049
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
14050
|
+
def v1alpha3_reset_with_http_info(name, namespace, opts = {})
|
|
14051
|
+
if @api_client.config.debugging
|
|
14052
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1alpha3_reset ...'
|
|
14053
|
+
end
|
|
14054
|
+
# verify the required parameter 'name' is set
|
|
14055
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
14056
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1alpha3_reset"
|
|
14057
|
+
end
|
|
14058
|
+
# verify the required parameter 'namespace' is set
|
|
14059
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
14060
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3_reset"
|
|
14061
|
+
end
|
|
14062
|
+
# resource path
|
|
14063
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/reset'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
14064
|
+
|
|
14065
|
+
# query parameters
|
|
14066
|
+
query_params = opts[:query_params] || {}
|
|
14067
|
+
|
|
14068
|
+
# header parameters
|
|
14069
|
+
header_params = opts[:header_params] || {}
|
|
14070
|
+
# HTTP header 'Accept' (if needed)
|
|
14071
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
14072
|
+
|
|
14073
|
+
# form parameters
|
|
14074
|
+
form_params = opts[:form_params] || {}
|
|
14075
|
+
|
|
14076
|
+
# http body (model)
|
|
14077
|
+
post_body = opts[:debug_body]
|
|
14078
|
+
|
|
14079
|
+
# return_type
|
|
14080
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
14081
|
+
|
|
14082
|
+
# auth_names
|
|
14083
|
+
auth_names = opts[:debug_auth_names] || []
|
|
14084
|
+
|
|
14085
|
+
new_options = opts.merge(
|
|
14086
|
+
:operation => :"DefaultApi.v1alpha3_reset",
|
|
14087
|
+
:header_params => header_params,
|
|
14088
|
+
:query_params => query_params,
|
|
14089
|
+
:form_params => form_params,
|
|
14090
|
+
:body => post_body,
|
|
14091
|
+
:auth_names => auth_names,
|
|
14092
|
+
:return_type => return_type
|
|
14093
|
+
)
|
|
14094
|
+
|
|
14095
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
14096
|
+
if @api_client.config.debugging
|
|
14097
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1alpha3_reset\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
14098
|
+
end
|
|
14099
|
+
return data, status_code, headers
|
|
14100
|
+
end
|
|
14101
|
+
|
|
13965
14102
|
# Restart a VirtualMachine object.
|
|
13966
14103
|
# @param name [String] Name of the resource
|
|
13967
14104
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -14782,6 +14919,7 @@ module Kubevirt
|
|
|
14782
14919
|
# @param name [String] Name of the resource
|
|
14783
14920
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
14784
14921
|
# @param [Hash] opts the optional parameters
|
|
14922
|
+
# @option opts [Boolean] :preserve_session Connect only if ongoing session is not disturbed.
|
|
14785
14923
|
# @return [nil]
|
|
14786
14924
|
def v1alpha3_vnc(name, namespace, opts = {})
|
|
14787
14925
|
v1alpha3_vnc_with_http_info(name, namespace, opts)
|
|
@@ -14792,6 +14930,7 @@ module Kubevirt
|
|
|
14792
14930
|
# @param name [String] Name of the resource
|
|
14793
14931
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
14794
14932
|
# @param [Hash] opts the optional parameters
|
|
14933
|
+
# @option opts [Boolean] :preserve_session Connect only if ongoing session is not disturbed.
|
|
14795
14934
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
14796
14935
|
def v1alpha3_vnc_with_http_info(name, namespace, opts = {})
|
|
14797
14936
|
if @api_client.config.debugging
|
|
@@ -14810,6 +14949,7 @@ module Kubevirt
|
|
|
14810
14949
|
|
|
14811
14950
|
# query parameters
|
|
14812
14951
|
query_params = opts[:query_params] || {}
|
|
14952
|
+
query_params[:'preserveSession'] = opts[:'preserve_session'] if !opts[:'preserve_session'].nil?
|
|
14813
14953
|
|
|
14814
14954
|
# header parameters
|
|
14815
14955
|
header_params = opts[:header_params] || {}
|
|
@@ -15332,6 +15472,79 @@ module Kubevirt
|
|
|
15332
15472
|
return data, status_code, headers
|
|
15333
15473
|
end
|
|
15334
15474
|
|
|
15475
|
+
# Cancel evacuation Virtual Machine
|
|
15476
|
+
# @param name [String] Name of the resource
|
|
15477
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
15478
|
+
# @param body [V1EvacuateCancelOptions]
|
|
15479
|
+
# @param [Hash] opts the optional parameters
|
|
15480
|
+
# @return [String]
|
|
15481
|
+
def v1alpha3vm_evacuatecancel(name, namespace, body, opts = {})
|
|
15482
|
+
data, _status_code, _headers = v1alpha3vm_evacuatecancel_with_http_info(name, namespace, body, opts)
|
|
15483
|
+
data
|
|
15484
|
+
end
|
|
15485
|
+
|
|
15486
|
+
# Cancel evacuation Virtual Machine
|
|
15487
|
+
# @param name [String] Name of the resource
|
|
15488
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
15489
|
+
# @param body [V1EvacuateCancelOptions]
|
|
15490
|
+
# @param [Hash] opts the optional parameters
|
|
15491
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
15492
|
+
def v1alpha3vm_evacuatecancel_with_http_info(name, namespace, body, opts = {})
|
|
15493
|
+
if @api_client.config.debugging
|
|
15494
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1alpha3vm_evacuatecancel ...'
|
|
15495
|
+
end
|
|
15496
|
+
# verify the required parameter 'name' is set
|
|
15497
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
15498
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1alpha3vm_evacuatecancel"
|
|
15499
|
+
end
|
|
15500
|
+
# verify the required parameter 'namespace' is set
|
|
15501
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
15502
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3vm_evacuatecancel"
|
|
15503
|
+
end
|
|
15504
|
+
# verify the required parameter 'body' is set
|
|
15505
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
15506
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vm_evacuatecancel"
|
|
15507
|
+
end
|
|
15508
|
+
# resource path
|
|
15509
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/evacuate/cancel'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
15510
|
+
|
|
15511
|
+
# query parameters
|
|
15512
|
+
query_params = opts[:query_params] || {}
|
|
15513
|
+
|
|
15514
|
+
# header parameters
|
|
15515
|
+
header_params = opts[:header_params] || {}
|
|
15516
|
+
# HTTP header 'Accept' (if needed)
|
|
15517
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
15518
|
+
|
|
15519
|
+
# form parameters
|
|
15520
|
+
form_params = opts[:form_params] || {}
|
|
15521
|
+
|
|
15522
|
+
# http body (model)
|
|
15523
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
15524
|
+
|
|
15525
|
+
# return_type
|
|
15526
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
15527
|
+
|
|
15528
|
+
# auth_names
|
|
15529
|
+
auth_names = opts[:debug_auth_names] || []
|
|
15530
|
+
|
|
15531
|
+
new_options = opts.merge(
|
|
15532
|
+
:operation => :"DefaultApi.v1alpha3vm_evacuatecancel",
|
|
15533
|
+
:header_params => header_params,
|
|
15534
|
+
:query_params => query_params,
|
|
15535
|
+
:form_params => form_params,
|
|
15536
|
+
:body => post_body,
|
|
15537
|
+
:auth_names => auth_names,
|
|
15538
|
+
:return_type => return_type
|
|
15539
|
+
)
|
|
15540
|
+
|
|
15541
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
15542
|
+
if @api_client.config.debugging
|
|
15543
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1alpha3vm_evacuatecancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15544
|
+
end
|
|
15545
|
+
return data, status_code, headers
|
|
15546
|
+
end
|
|
15547
|
+
|
|
15335
15548
|
# Get VirtualMachine object with expanded instancetype and preference.
|
|
15336
15549
|
# @param name [String] Name of the resource
|
|
15337
15550
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -15399,6 +15612,84 @@ module Kubevirt
|
|
|
15399
15612
|
return data, status_code, headers
|
|
15400
15613
|
end
|
|
15401
15614
|
|
|
15615
|
+
# Get graph of objects related to a Virtual Machine
|
|
15616
|
+
# @param name [String] Name of the resource
|
|
15617
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
15618
|
+
# @param body [V1ObjectGraphOptions]
|
|
15619
|
+
# @param [Hash] opts the optional parameters
|
|
15620
|
+
# @return [V1ObjectGraphNode]
|
|
15621
|
+
def v1alpha3vm_objectgraph(name, namespace, body, opts = {})
|
|
15622
|
+
data, _status_code, _headers = v1alpha3vm_objectgraph_with_http_info(name, namespace, body, opts)
|
|
15623
|
+
data
|
|
15624
|
+
end
|
|
15625
|
+
|
|
15626
|
+
# Get graph of objects related to a Virtual Machine
|
|
15627
|
+
# @param name [String] Name of the resource
|
|
15628
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
15629
|
+
# @param body [V1ObjectGraphOptions]
|
|
15630
|
+
# @param [Hash] opts the optional parameters
|
|
15631
|
+
# @return [Array<(V1ObjectGraphNode, Integer, Hash)>] V1ObjectGraphNode data, response status code and response headers
|
|
15632
|
+
def v1alpha3vm_objectgraph_with_http_info(name, namespace, body, opts = {})
|
|
15633
|
+
if @api_client.config.debugging
|
|
15634
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1alpha3vm_objectgraph ...'
|
|
15635
|
+
end
|
|
15636
|
+
# verify the required parameter 'name' is set
|
|
15637
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
15638
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1alpha3vm_objectgraph"
|
|
15639
|
+
end
|
|
15640
|
+
# verify the required parameter 'namespace' is set
|
|
15641
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
15642
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3vm_objectgraph"
|
|
15643
|
+
end
|
|
15644
|
+
# verify the required parameter 'body' is set
|
|
15645
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
15646
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vm_objectgraph"
|
|
15647
|
+
end
|
|
15648
|
+
# resource path
|
|
15649
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachines/{name}/objectgraph'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
15650
|
+
|
|
15651
|
+
# query parameters
|
|
15652
|
+
query_params = opts[:query_params] || {}
|
|
15653
|
+
|
|
15654
|
+
# header parameters
|
|
15655
|
+
header_params = opts[:header_params] || {}
|
|
15656
|
+
# HTTP header 'Accept' (if needed)
|
|
15657
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
15658
|
+
# HTTP header 'Content-Type'
|
|
15659
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
15660
|
+
if !content_type.nil?
|
|
15661
|
+
header_params['Content-Type'] = content_type
|
|
15662
|
+
end
|
|
15663
|
+
|
|
15664
|
+
# form parameters
|
|
15665
|
+
form_params = opts[:form_params] || {}
|
|
15666
|
+
|
|
15667
|
+
# http body (model)
|
|
15668
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
15669
|
+
|
|
15670
|
+
# return_type
|
|
15671
|
+
return_type = opts[:debug_return_type] || 'V1ObjectGraphNode'
|
|
15672
|
+
|
|
15673
|
+
# auth_names
|
|
15674
|
+
auth_names = opts[:debug_auth_names] || []
|
|
15675
|
+
|
|
15676
|
+
new_options = opts.merge(
|
|
15677
|
+
:operation => :"DefaultApi.v1alpha3vm_objectgraph",
|
|
15678
|
+
:header_params => header_params,
|
|
15679
|
+
:query_params => query_params,
|
|
15680
|
+
:form_params => form_params,
|
|
15681
|
+
:body => post_body,
|
|
15682
|
+
:auth_names => auth_names,
|
|
15683
|
+
:return_type => return_type
|
|
15684
|
+
)
|
|
15685
|
+
|
|
15686
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
15687
|
+
if @api_client.config.debugging
|
|
15688
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1alpha3vm_objectgraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
15689
|
+
end
|
|
15690
|
+
return data, status_code, headers
|
|
15691
|
+
end
|
|
15692
|
+
|
|
15402
15693
|
# Open a websocket connection forwarding traffic to the running VMI for the specified VirtualMachine and port.
|
|
15403
15694
|
# @param name [String] Name of the resource
|
|
15404
15695
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -15693,53 +15984,204 @@ module Kubevirt
|
|
|
15693
15984
|
return data, status_code, headers
|
|
15694
15985
|
end
|
|
15695
15986
|
|
|
15696
|
-
#
|
|
15987
|
+
# Cancel evacuation Virtual Machine Instance
|
|
15697
15988
|
# @param name [String] Name of the resource
|
|
15698
15989
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
15699
|
-
# @param
|
|
15990
|
+
# @param body [V1EvacuateCancelOptions]
|
|
15700
15991
|
# @param [Hash] opts the optional parameters
|
|
15701
|
-
# @return [
|
|
15702
|
-
def
|
|
15703
|
-
|
|
15704
|
-
|
|
15992
|
+
# @return [String]
|
|
15993
|
+
def v1alpha3vmi_evacuatecancel(name, namespace, body, opts = {})
|
|
15994
|
+
data, _status_code, _headers = v1alpha3vmi_evacuatecancel_with_http_info(name, namespace, body, opts)
|
|
15995
|
+
data
|
|
15705
15996
|
end
|
|
15706
15997
|
|
|
15707
|
-
#
|
|
15998
|
+
# Cancel evacuation Virtual Machine Instance
|
|
15708
15999
|
# @param name [String] Name of the resource
|
|
15709
16000
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
15710
|
-
# @param
|
|
16001
|
+
# @param body [V1EvacuateCancelOptions]
|
|
15711
16002
|
# @param [Hash] opts the optional parameters
|
|
15712
|
-
# @return [Array<(
|
|
15713
|
-
def
|
|
16003
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
16004
|
+
def v1alpha3vmi_evacuatecancel_with_http_info(name, namespace, body, opts = {})
|
|
15714
16005
|
if @api_client.config.debugging
|
|
15715
|
-
@api_client.config.logger.debug 'Calling API: DefaultApi.
|
|
16006
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1alpha3vmi_evacuatecancel ...'
|
|
15716
16007
|
end
|
|
15717
16008
|
# verify the required parameter 'name' is set
|
|
15718
16009
|
if @api_client.config.client_side_validation && name.nil?
|
|
15719
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.
|
|
16010
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1alpha3vmi_evacuatecancel"
|
|
15720
16011
|
end
|
|
15721
16012
|
# verify the required parameter 'namespace' is set
|
|
15722
16013
|
if @api_client.config.client_side_validation && namespace.nil?
|
|
15723
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.
|
|
16014
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3vmi_evacuatecancel"
|
|
15724
16015
|
end
|
|
15725
|
-
# verify the required parameter '
|
|
15726
|
-
if @api_client.config.client_side_validation &&
|
|
15727
|
-
fail ArgumentError, "Missing the required parameter '
|
|
16016
|
+
# verify the required parameter 'body' is set
|
|
16017
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
16018
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vmi_evacuatecancel"
|
|
15728
16019
|
end
|
|
15729
16020
|
# resource path
|
|
15730
|
-
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/
|
|
16021
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/evacuate/cancel'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
15731
16022
|
|
|
15732
16023
|
# query parameters
|
|
15733
16024
|
query_params = opts[:query_params] || {}
|
|
15734
16025
|
|
|
15735
16026
|
# header parameters
|
|
15736
16027
|
header_params = opts[:header_params] || {}
|
|
16028
|
+
# HTTP header 'Accept' (if needed)
|
|
16029
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
15737
16030
|
|
|
15738
16031
|
# form parameters
|
|
15739
16032
|
form_params = opts[:form_params] || {}
|
|
15740
16033
|
|
|
15741
16034
|
# http body (model)
|
|
15742
|
-
post_body = opts[:debug_body]
|
|
16035
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
16036
|
+
|
|
16037
|
+
# return_type
|
|
16038
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
16039
|
+
|
|
16040
|
+
# auth_names
|
|
16041
|
+
auth_names = opts[:debug_auth_names] || []
|
|
16042
|
+
|
|
16043
|
+
new_options = opts.merge(
|
|
16044
|
+
:operation => :"DefaultApi.v1alpha3vmi_evacuatecancel",
|
|
16045
|
+
:header_params => header_params,
|
|
16046
|
+
:query_params => query_params,
|
|
16047
|
+
:form_params => form_params,
|
|
16048
|
+
:body => post_body,
|
|
16049
|
+
:auth_names => auth_names,
|
|
16050
|
+
:return_type => return_type
|
|
16051
|
+
)
|
|
16052
|
+
|
|
16053
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
16054
|
+
if @api_client.config.debugging
|
|
16055
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1alpha3vmi_evacuatecancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16056
|
+
end
|
|
16057
|
+
return data, status_code, headers
|
|
16058
|
+
end
|
|
16059
|
+
|
|
16060
|
+
# Get graph of objects related to a Virtual Machine Instance
|
|
16061
|
+
# @param name [String] Name of the resource
|
|
16062
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
16063
|
+
# @param body [V1ObjectGraphOptions]
|
|
16064
|
+
# @param [Hash] opts the optional parameters
|
|
16065
|
+
# @return [V1ObjectGraphNode]
|
|
16066
|
+
def v1alpha3vmi_objectgraph(name, namespace, body, opts = {})
|
|
16067
|
+
data, _status_code, _headers = v1alpha3vmi_objectgraph_with_http_info(name, namespace, body, opts)
|
|
16068
|
+
data
|
|
16069
|
+
end
|
|
16070
|
+
|
|
16071
|
+
# Get graph of objects related to a Virtual Machine Instance
|
|
16072
|
+
# @param name [String] Name of the resource
|
|
16073
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
16074
|
+
# @param body [V1ObjectGraphOptions]
|
|
16075
|
+
# @param [Hash] opts the optional parameters
|
|
16076
|
+
# @return [Array<(V1ObjectGraphNode, Integer, Hash)>] V1ObjectGraphNode data, response status code and response headers
|
|
16077
|
+
def v1alpha3vmi_objectgraph_with_http_info(name, namespace, body, opts = {})
|
|
16078
|
+
if @api_client.config.debugging
|
|
16079
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1alpha3vmi_objectgraph ...'
|
|
16080
|
+
end
|
|
16081
|
+
# verify the required parameter 'name' is set
|
|
16082
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
16083
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1alpha3vmi_objectgraph"
|
|
16084
|
+
end
|
|
16085
|
+
# verify the required parameter 'namespace' is set
|
|
16086
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
16087
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3vmi_objectgraph"
|
|
16088
|
+
end
|
|
16089
|
+
# verify the required parameter 'body' is set
|
|
16090
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
16091
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1alpha3vmi_objectgraph"
|
|
16092
|
+
end
|
|
16093
|
+
# resource path
|
|
16094
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/objectgraph'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
16095
|
+
|
|
16096
|
+
# query parameters
|
|
16097
|
+
query_params = opts[:query_params] || {}
|
|
16098
|
+
|
|
16099
|
+
# header parameters
|
|
16100
|
+
header_params = opts[:header_params] || {}
|
|
16101
|
+
# HTTP header 'Accept' (if needed)
|
|
16102
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
16103
|
+
# HTTP header 'Content-Type'
|
|
16104
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
16105
|
+
if !content_type.nil?
|
|
16106
|
+
header_params['Content-Type'] = content_type
|
|
16107
|
+
end
|
|
16108
|
+
|
|
16109
|
+
# form parameters
|
|
16110
|
+
form_params = opts[:form_params] || {}
|
|
16111
|
+
|
|
16112
|
+
# http body (model)
|
|
16113
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
16114
|
+
|
|
16115
|
+
# return_type
|
|
16116
|
+
return_type = opts[:debug_return_type] || 'V1ObjectGraphNode'
|
|
16117
|
+
|
|
16118
|
+
# auth_names
|
|
16119
|
+
auth_names = opts[:debug_auth_names] || []
|
|
16120
|
+
|
|
16121
|
+
new_options = opts.merge(
|
|
16122
|
+
:operation => :"DefaultApi.v1alpha3vmi_objectgraph",
|
|
16123
|
+
:header_params => header_params,
|
|
16124
|
+
:query_params => query_params,
|
|
16125
|
+
:form_params => form_params,
|
|
16126
|
+
:body => post_body,
|
|
16127
|
+
:auth_names => auth_names,
|
|
16128
|
+
:return_type => return_type
|
|
16129
|
+
)
|
|
16130
|
+
|
|
16131
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
16132
|
+
if @api_client.config.debugging
|
|
16133
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1alpha3vmi_objectgraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16134
|
+
end
|
|
16135
|
+
return data, status_code, headers
|
|
16136
|
+
end
|
|
16137
|
+
|
|
16138
|
+
# Open a websocket connection forwarding traffic to the specified VirtualMachineInstance and port.
|
|
16139
|
+
# @param name [String] Name of the resource
|
|
16140
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
16141
|
+
# @param port [String] The target port for portforward on the VirtualMachineInstance.
|
|
16142
|
+
# @param [Hash] opts the optional parameters
|
|
16143
|
+
# @return [nil]
|
|
16144
|
+
def v1alpha3vmi_port_forward(name, namespace, port, opts = {})
|
|
16145
|
+
v1alpha3vmi_port_forward_with_http_info(name, namespace, port, opts)
|
|
16146
|
+
nil
|
|
16147
|
+
end
|
|
16148
|
+
|
|
16149
|
+
# Open a websocket connection forwarding traffic to the specified VirtualMachineInstance and port.
|
|
16150
|
+
# @param name [String] Name of the resource
|
|
16151
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
16152
|
+
# @param port [String] The target port for portforward on the VirtualMachineInstance.
|
|
16153
|
+
# @param [Hash] opts the optional parameters
|
|
16154
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
16155
|
+
def v1alpha3vmi_port_forward_with_http_info(name, namespace, port, opts = {})
|
|
16156
|
+
if @api_client.config.debugging
|
|
16157
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1alpha3vmi_port_forward ...'
|
|
16158
|
+
end
|
|
16159
|
+
# verify the required parameter 'name' is set
|
|
16160
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
16161
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1alpha3vmi_port_forward"
|
|
16162
|
+
end
|
|
16163
|
+
# verify the required parameter 'namespace' is set
|
|
16164
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
16165
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1alpha3vmi_port_forward"
|
|
16166
|
+
end
|
|
16167
|
+
# verify the required parameter 'port' is set
|
|
16168
|
+
if @api_client.config.client_side_validation && port.nil?
|
|
16169
|
+
fail ArgumentError, "Missing the required parameter 'port' when calling DefaultApi.v1alpha3vmi_port_forward"
|
|
16170
|
+
end
|
|
16171
|
+
# resource path
|
|
16172
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1alpha3/namespaces/{namespace}/virtualmachineinstances/{name}/portforward/{port}'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s)).sub('{' + 'port' + '}', CGI.escape(port.to_s))
|
|
16173
|
+
|
|
16174
|
+
# query parameters
|
|
16175
|
+
query_params = opts[:query_params] || {}
|
|
16176
|
+
|
|
16177
|
+
# header parameters
|
|
16178
|
+
header_params = opts[:header_params] || {}
|
|
16179
|
+
|
|
16180
|
+
# form parameters
|
|
16181
|
+
form_params = opts[:form_params] || {}
|
|
16182
|
+
|
|
16183
|
+
# http body (model)
|
|
16184
|
+
post_body = opts[:debug_body]
|
|
15743
16185
|
|
|
15744
16186
|
# return_type
|
|
15745
16187
|
return_type = opts[:debug_return_type]
|
|
@@ -16260,6 +16702,79 @@ module Kubevirt
|
|
|
16260
16702
|
return data, status_code, headers
|
|
16261
16703
|
end
|
|
16262
16704
|
|
|
16705
|
+
# Cancel evacuation Virtual Machine
|
|
16706
|
+
# @param name [String] Name of the resource
|
|
16707
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
16708
|
+
# @param body [V1EvacuateCancelOptions]
|
|
16709
|
+
# @param [Hash] opts the optional parameters
|
|
16710
|
+
# @return [String]
|
|
16711
|
+
def v1vm_evacuatecancel(name, namespace, body, opts = {})
|
|
16712
|
+
data, _status_code, _headers = v1vm_evacuatecancel_with_http_info(name, namespace, body, opts)
|
|
16713
|
+
data
|
|
16714
|
+
end
|
|
16715
|
+
|
|
16716
|
+
# Cancel evacuation Virtual Machine
|
|
16717
|
+
# @param name [String] Name of the resource
|
|
16718
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
16719
|
+
# @param body [V1EvacuateCancelOptions]
|
|
16720
|
+
# @param [Hash] opts the optional parameters
|
|
16721
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
16722
|
+
def v1vm_evacuatecancel_with_http_info(name, namespace, body, opts = {})
|
|
16723
|
+
if @api_client.config.debugging
|
|
16724
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1vm_evacuatecancel ...'
|
|
16725
|
+
end
|
|
16726
|
+
# verify the required parameter 'name' is set
|
|
16727
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
16728
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1vm_evacuatecancel"
|
|
16729
|
+
end
|
|
16730
|
+
# verify the required parameter 'namespace' is set
|
|
16731
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
16732
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1vm_evacuatecancel"
|
|
16733
|
+
end
|
|
16734
|
+
# verify the required parameter 'body' is set
|
|
16735
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
16736
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vm_evacuatecancel"
|
|
16737
|
+
end
|
|
16738
|
+
# resource path
|
|
16739
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/evacuate/cancel'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
16740
|
+
|
|
16741
|
+
# query parameters
|
|
16742
|
+
query_params = opts[:query_params] || {}
|
|
16743
|
+
|
|
16744
|
+
# header parameters
|
|
16745
|
+
header_params = opts[:header_params] || {}
|
|
16746
|
+
# HTTP header 'Accept' (if needed)
|
|
16747
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
16748
|
+
|
|
16749
|
+
# form parameters
|
|
16750
|
+
form_params = opts[:form_params] || {}
|
|
16751
|
+
|
|
16752
|
+
# http body (model)
|
|
16753
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
16754
|
+
|
|
16755
|
+
# return_type
|
|
16756
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
16757
|
+
|
|
16758
|
+
# auth_names
|
|
16759
|
+
auth_names = opts[:debug_auth_names] || []
|
|
16760
|
+
|
|
16761
|
+
new_options = opts.merge(
|
|
16762
|
+
:operation => :"DefaultApi.v1vm_evacuatecancel",
|
|
16763
|
+
:header_params => header_params,
|
|
16764
|
+
:query_params => query_params,
|
|
16765
|
+
:form_params => form_params,
|
|
16766
|
+
:body => post_body,
|
|
16767
|
+
:auth_names => auth_names,
|
|
16768
|
+
:return_type => return_type
|
|
16769
|
+
)
|
|
16770
|
+
|
|
16771
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
16772
|
+
if @api_client.config.debugging
|
|
16773
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1vm_evacuatecancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16774
|
+
end
|
|
16775
|
+
return data, status_code, headers
|
|
16776
|
+
end
|
|
16777
|
+
|
|
16263
16778
|
# Get VirtualMachine object with expanded instancetype and preference.
|
|
16264
16779
|
# @param name [String] Name of the resource
|
|
16265
16780
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -16327,6 +16842,84 @@ module Kubevirt
|
|
|
16327
16842
|
return data, status_code, headers
|
|
16328
16843
|
end
|
|
16329
16844
|
|
|
16845
|
+
# Get graph of objects related to a Virtual Machine
|
|
16846
|
+
# @param name [String] Name of the resource
|
|
16847
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
16848
|
+
# @param body [V1ObjectGraphOptions]
|
|
16849
|
+
# @param [Hash] opts the optional parameters
|
|
16850
|
+
# @return [V1ObjectGraphNode]
|
|
16851
|
+
def v1vm_objectgraph(name, namespace, body, opts = {})
|
|
16852
|
+
data, _status_code, _headers = v1vm_objectgraph_with_http_info(name, namespace, body, opts)
|
|
16853
|
+
data
|
|
16854
|
+
end
|
|
16855
|
+
|
|
16856
|
+
# Get graph of objects related to a Virtual Machine
|
|
16857
|
+
# @param name [String] Name of the resource
|
|
16858
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
16859
|
+
# @param body [V1ObjectGraphOptions]
|
|
16860
|
+
# @param [Hash] opts the optional parameters
|
|
16861
|
+
# @return [Array<(V1ObjectGraphNode, Integer, Hash)>] V1ObjectGraphNode data, response status code and response headers
|
|
16862
|
+
def v1vm_objectgraph_with_http_info(name, namespace, body, opts = {})
|
|
16863
|
+
if @api_client.config.debugging
|
|
16864
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1vm_objectgraph ...'
|
|
16865
|
+
end
|
|
16866
|
+
# verify the required parameter 'name' is set
|
|
16867
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
16868
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1vm_objectgraph"
|
|
16869
|
+
end
|
|
16870
|
+
# verify the required parameter 'namespace' is set
|
|
16871
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
16872
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1vm_objectgraph"
|
|
16873
|
+
end
|
|
16874
|
+
# verify the required parameter 'body' is set
|
|
16875
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
16876
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vm_objectgraph"
|
|
16877
|
+
end
|
|
16878
|
+
# resource path
|
|
16879
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachines/{name}/objectgraph'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
16880
|
+
|
|
16881
|
+
# query parameters
|
|
16882
|
+
query_params = opts[:query_params] || {}
|
|
16883
|
+
|
|
16884
|
+
# header parameters
|
|
16885
|
+
header_params = opts[:header_params] || {}
|
|
16886
|
+
# HTTP header 'Accept' (if needed)
|
|
16887
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
16888
|
+
# HTTP header 'Content-Type'
|
|
16889
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
16890
|
+
if !content_type.nil?
|
|
16891
|
+
header_params['Content-Type'] = content_type
|
|
16892
|
+
end
|
|
16893
|
+
|
|
16894
|
+
# form parameters
|
|
16895
|
+
form_params = opts[:form_params] || {}
|
|
16896
|
+
|
|
16897
|
+
# http body (model)
|
|
16898
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
16899
|
+
|
|
16900
|
+
# return_type
|
|
16901
|
+
return_type = opts[:debug_return_type] || 'V1ObjectGraphNode'
|
|
16902
|
+
|
|
16903
|
+
# auth_names
|
|
16904
|
+
auth_names = opts[:debug_auth_names] || []
|
|
16905
|
+
|
|
16906
|
+
new_options = opts.merge(
|
|
16907
|
+
:operation => :"DefaultApi.v1vm_objectgraph",
|
|
16908
|
+
:header_params => header_params,
|
|
16909
|
+
:query_params => query_params,
|
|
16910
|
+
:form_params => form_params,
|
|
16911
|
+
:body => post_body,
|
|
16912
|
+
:auth_names => auth_names,
|
|
16913
|
+
:return_type => return_type
|
|
16914
|
+
)
|
|
16915
|
+
|
|
16916
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
16917
|
+
if @api_client.config.debugging
|
|
16918
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1vm_objectgraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
16919
|
+
end
|
|
16920
|
+
return data, status_code, headers
|
|
16921
|
+
end
|
|
16922
|
+
|
|
16330
16923
|
# Open a websocket connection forwarding traffic to the running VMI for the specified VirtualMachine and port.
|
|
16331
16924
|
# @param name [String] Name of the resource
|
|
16332
16925
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -16621,6 +17214,157 @@ module Kubevirt
|
|
|
16621
17214
|
return data, status_code, headers
|
|
16622
17215
|
end
|
|
16623
17216
|
|
|
17217
|
+
# Cancel evacuation Virtual Machine Instance
|
|
17218
|
+
# @param name [String] Name of the resource
|
|
17219
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
17220
|
+
# @param body [V1EvacuateCancelOptions]
|
|
17221
|
+
# @param [Hash] opts the optional parameters
|
|
17222
|
+
# @return [String]
|
|
17223
|
+
def v1vmi_evacuatecancel(name, namespace, body, opts = {})
|
|
17224
|
+
data, _status_code, _headers = v1vmi_evacuatecancel_with_http_info(name, namespace, body, opts)
|
|
17225
|
+
data
|
|
17226
|
+
end
|
|
17227
|
+
|
|
17228
|
+
# Cancel evacuation Virtual Machine Instance
|
|
17229
|
+
# @param name [String] Name of the resource
|
|
17230
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
17231
|
+
# @param body [V1EvacuateCancelOptions]
|
|
17232
|
+
# @param [Hash] opts the optional parameters
|
|
17233
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
|
17234
|
+
def v1vmi_evacuatecancel_with_http_info(name, namespace, body, opts = {})
|
|
17235
|
+
if @api_client.config.debugging
|
|
17236
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1vmi_evacuatecancel ...'
|
|
17237
|
+
end
|
|
17238
|
+
# verify the required parameter 'name' is set
|
|
17239
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
17240
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1vmi_evacuatecancel"
|
|
17241
|
+
end
|
|
17242
|
+
# verify the required parameter 'namespace' is set
|
|
17243
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
17244
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1vmi_evacuatecancel"
|
|
17245
|
+
end
|
|
17246
|
+
# verify the required parameter 'body' is set
|
|
17247
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
17248
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vmi_evacuatecancel"
|
|
17249
|
+
end
|
|
17250
|
+
# resource path
|
|
17251
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/evacuate/cancel'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
17252
|
+
|
|
17253
|
+
# query parameters
|
|
17254
|
+
query_params = opts[:query_params] || {}
|
|
17255
|
+
|
|
17256
|
+
# header parameters
|
|
17257
|
+
header_params = opts[:header_params] || {}
|
|
17258
|
+
# HTTP header 'Accept' (if needed)
|
|
17259
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*']) unless header_params['Accept']
|
|
17260
|
+
|
|
17261
|
+
# form parameters
|
|
17262
|
+
form_params = opts[:form_params] || {}
|
|
17263
|
+
|
|
17264
|
+
# http body (model)
|
|
17265
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
17266
|
+
|
|
17267
|
+
# return_type
|
|
17268
|
+
return_type = opts[:debug_return_type] || 'String'
|
|
17269
|
+
|
|
17270
|
+
# auth_names
|
|
17271
|
+
auth_names = opts[:debug_auth_names] || []
|
|
17272
|
+
|
|
17273
|
+
new_options = opts.merge(
|
|
17274
|
+
:operation => :"DefaultApi.v1vmi_evacuatecancel",
|
|
17275
|
+
:header_params => header_params,
|
|
17276
|
+
:query_params => query_params,
|
|
17277
|
+
:form_params => form_params,
|
|
17278
|
+
:body => post_body,
|
|
17279
|
+
:auth_names => auth_names,
|
|
17280
|
+
:return_type => return_type
|
|
17281
|
+
)
|
|
17282
|
+
|
|
17283
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
17284
|
+
if @api_client.config.debugging
|
|
17285
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1vmi_evacuatecancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
17286
|
+
end
|
|
17287
|
+
return data, status_code, headers
|
|
17288
|
+
end
|
|
17289
|
+
|
|
17290
|
+
# Get graph of objects related to a Virtual Machine Instance
|
|
17291
|
+
# @param name [String] Name of the resource
|
|
17292
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
17293
|
+
# @param body [V1ObjectGraphOptions]
|
|
17294
|
+
# @param [Hash] opts the optional parameters
|
|
17295
|
+
# @return [V1ObjectGraphNode]
|
|
17296
|
+
def v1vmi_objectgraph(name, namespace, body, opts = {})
|
|
17297
|
+
data, _status_code, _headers = v1vmi_objectgraph_with_http_info(name, namespace, body, opts)
|
|
17298
|
+
data
|
|
17299
|
+
end
|
|
17300
|
+
|
|
17301
|
+
# Get graph of objects related to a Virtual Machine Instance
|
|
17302
|
+
# @param name [String] Name of the resource
|
|
17303
|
+
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
17304
|
+
# @param body [V1ObjectGraphOptions]
|
|
17305
|
+
# @param [Hash] opts the optional parameters
|
|
17306
|
+
# @return [Array<(V1ObjectGraphNode, Integer, Hash)>] V1ObjectGraphNode data, response status code and response headers
|
|
17307
|
+
def v1vmi_objectgraph_with_http_info(name, namespace, body, opts = {})
|
|
17308
|
+
if @api_client.config.debugging
|
|
17309
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1vmi_objectgraph ...'
|
|
17310
|
+
end
|
|
17311
|
+
# verify the required parameter 'name' is set
|
|
17312
|
+
if @api_client.config.client_side_validation && name.nil?
|
|
17313
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling DefaultApi.v1vmi_objectgraph"
|
|
17314
|
+
end
|
|
17315
|
+
# verify the required parameter 'namespace' is set
|
|
17316
|
+
if @api_client.config.client_side_validation && namespace.nil?
|
|
17317
|
+
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.v1vmi_objectgraph"
|
|
17318
|
+
end
|
|
17319
|
+
# verify the required parameter 'body' is set
|
|
17320
|
+
if @api_client.config.client_side_validation && body.nil?
|
|
17321
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling DefaultApi.v1vmi_objectgraph"
|
|
17322
|
+
end
|
|
17323
|
+
# resource path
|
|
17324
|
+
local_var_path = '/apis/subresources.kubevirt.io/v1/namespaces/{namespace}/virtualmachineinstances/{name}/objectgraph'.sub('{' + 'name' + '}', CGI.escape(name.to_s)).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
17325
|
+
|
|
17326
|
+
# query parameters
|
|
17327
|
+
query_params = opts[:query_params] || {}
|
|
17328
|
+
|
|
17329
|
+
# header parameters
|
|
17330
|
+
header_params = opts[:header_params] || {}
|
|
17331
|
+
# HTTP header 'Accept' (if needed)
|
|
17332
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
17333
|
+
# HTTP header 'Content-Type'
|
|
17334
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
17335
|
+
if !content_type.nil?
|
|
17336
|
+
header_params['Content-Type'] = content_type
|
|
17337
|
+
end
|
|
17338
|
+
|
|
17339
|
+
# form parameters
|
|
17340
|
+
form_params = opts[:form_params] || {}
|
|
17341
|
+
|
|
17342
|
+
# http body (model)
|
|
17343
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
|
17344
|
+
|
|
17345
|
+
# return_type
|
|
17346
|
+
return_type = opts[:debug_return_type] || 'V1ObjectGraphNode'
|
|
17347
|
+
|
|
17348
|
+
# auth_names
|
|
17349
|
+
auth_names = opts[:debug_auth_names] || []
|
|
17350
|
+
|
|
17351
|
+
new_options = opts.merge(
|
|
17352
|
+
:operation => :"DefaultApi.v1vmi_objectgraph",
|
|
17353
|
+
:header_params => header_params,
|
|
17354
|
+
:query_params => query_params,
|
|
17355
|
+
:form_params => form_params,
|
|
17356
|
+
:body => post_body,
|
|
17357
|
+
:auth_names => auth_names,
|
|
17358
|
+
:return_type => return_type
|
|
17359
|
+
)
|
|
17360
|
+
|
|
17361
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
17362
|
+
if @api_client.config.debugging
|
|
17363
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1vmi_objectgraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
17364
|
+
end
|
|
17365
|
+
return data, status_code, headers
|
|
17366
|
+
end
|
|
17367
|
+
|
|
16624
17368
|
# Open a websocket connection forwarding traffic to the specified VirtualMachineInstance and port.
|
|
16625
17369
|
# @param name [String] Name of the resource
|
|
16626
17370
|
# @param namespace [String] Object name and auth scope, such as for teams and projects
|
|
@@ -17718,7 +18462,7 @@ module Kubevirt
|
|
|
17718
18462
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling DefaultApi.watch_namespaced_virtual_machine_pool"
|
|
17719
18463
|
end
|
|
17720
18464
|
# resource path
|
|
17721
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
18465
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/watch/namespaces/{namespace}/virtualmachinepools'.sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s))
|
|
17722
18466
|
|
|
17723
18467
|
# query parameters
|
|
17724
18468
|
query_params = opts[:query_params] || {}
|
|
@@ -18137,7 +18881,7 @@ module Kubevirt
|
|
|
18137
18881
|
@api_client.config.logger.debug 'Calling API: DefaultApi.watch_virtual_machine_clone_list_for_all_namespaces ...'
|
|
18138
18882
|
end
|
|
18139
18883
|
# resource path
|
|
18140
|
-
local_var_path = '/apis/clone.kubevirt.io/
|
|
18884
|
+
local_var_path = '/apis/clone.kubevirt.io/v1beta1/watch/virtualmachineclones'
|
|
18141
18885
|
|
|
18142
18886
|
# query parameters
|
|
18143
18887
|
query_params = opts[:query_params] || {}
|
|
@@ -18927,7 +19671,7 @@ module Kubevirt
|
|
|
18927
19671
|
@api_client.config.logger.debug 'Calling API: DefaultApi.watch_virtual_machine_pool_list_for_all_namespaces ...'
|
|
18928
19672
|
end
|
|
18929
19673
|
# resource path
|
|
18930
|
-
local_var_path = '/apis/pool.kubevirt.io/
|
|
19674
|
+
local_var_path = '/apis/pool.kubevirt.io/v1beta1/watch/virtualmachinepools'
|
|
18931
19675
|
|
|
18932
19676
|
# query parameters
|
|
18933
19677
|
query_params = opts[:query_params] || {}
|